Synchronous REST API with AWS Lambda SnapStart

Amazon API Gateway → AWS Lambda → Amazon DynamoDB

This pattern demonstrates how to create a synchronous REST API using API Gateway, AWS Lambda and DynamoDB.

This pattern is built using Spring Boot 3 and leverages the AWS Serverless Java Container for seamless integration with AWS Lambda.
This pattern also demonstrates the usage of SnapStart to improve startup performance.

< 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

Deploy

sam buildsam deploy --stack-name unicorn-store --guided


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: sam delete.

Created by:

Mark Sailes

Mark Sailes

Senior Specialist SA, Serverless at AWS and Java fan.

Follow on LinkedIn