Amazon CloudFront to Amazon API Gateway to AWS Lambda

CloudFront → API Gateway → AWS Lambda

CloudFront to API Gateway HTTP API to Lambda

This pattern creates an Amazon Cloudfront distribution on front of an Amazon API Gateway HTTP API and an AWS Lambda function.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/cloudfront-apigw-http-api-lambda-rust

Deploy

sam deploy --guided


Testing

See the GitHub repo for testing instructions.

Cleanup

1. In the source folder, from the command line enter:
sam delete
2. See additional notes in the repo.

Additional resources

Created by:

Daniele Frasca

Daniele Frasca

I am Daniele Frasca serverless enthusiast. I build and architect serverless applications at scale.