Amazon API Gateway to AWS Lambda with SnapStart deployed with Terraform

API Gateway → AWS Lambda with SnapStart → Amazon DynamoDB

Create a Java Lambda function with SnapStart deployed with Terraform

This sample project demonstrates how to use an API Gateway, Lambda and DynamoDB with Lambda SnapStart for Java, and deploy it with Terraform.

< 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/apigw-lambda-snapstart-terraform

Deploy

See the GitHub repo for detailed deployment instructions.


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: terraform destroy.
Confirm the stack has been deleted: terraform show.

Additional resources

Created by:

Michele Ricciardi

Senior Specialist Solutions Architect, DevAx