- Language:
- Python
- Framework:
- AWS SAM
Download this pattern (.zip)
View this pattern on GitHub
Clone repo
git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/apigw-domain-edge-lambda
Deploy
sam deploy
Testing
1. Enter the ARN of the certificate (which is in us-east-1) and the custom domain name in the parameters of the template.
2. Create a new record in your Hosted zone in route53 with an alias to the API Edge-Optimized endpoint
3. Paste the custom domain name into a browser to make requests
Cleanup
Delete the stack: sam delete.