Amazon API Gateway direct integration to Amazon DynamoDB

Amazon API Gateway REST API → Amazon DynamoDB

Direct integration from Amazon API Gateway to Amazon DynamoDB with transformation using VTL and CDK and examples for Amazon Cognito, AWS Lambda authorizer and API keys.

This pattern shows how to create an API Gateway with direct integration to DynamoDB.
The pettern showcase transformation of request/response using VTL and CDK and implement examples for using Cognito, Lambda authorizer and API keys.

< 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-dynamodb-python-cdk

Deploy

cdk deploy


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: cdk delete.

Additional resources

Created by:

Maya Morav Freiman

Maya Morav Freiman

Technical Account Manager at AWS

Follow on LinkedIn