Serverless test app. Static website in S3 that communicates with an API Gateway endpoint that triggers a Lambda. We will use Step Functions also. The diagram of the solution is the following:
Things to consider:
- The email needs to be registered first in Simple Email Service (SES)
- We need to create an S3 bucket to host our static website
- Create Step Functions State Machine from the template. This just sends a remainder with a method of our choice
- We need to create an API Gateway Endpoint, a Resource with CORS enabled and a POST method (Use Lambda Proxy Integration to run the api_handler.py Lambda)