Amazon API Gateway REST API to Amazon DynamoDB to Amazon Kinesis to AWS Lambda

API Gateway → DynamoDB → Kinesis Data Streams → Lambda

Create an Amazon API Gateway REST API that integrates with Kinesis via a DynamoDB table

This pattern will help you to deploy Amazon API Gateway API integration with Amazon DynamoDB. Additionally, the Amazon DynamoDB table has an Amazon Kinesis Data Stream to capture item-level changes in your table and replicates the changes to a Kinesis Data Stream.
Lastly, AWS Lambda will consume those changes from Amazon Kinesis to log the decoded message which was received from the Amazon Kinesis Stream.

< 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-kinesis-lambda

Deploy

sam deploy --guided


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: sam delete.

Created by:

Vijay Konade

Vijay Konade

Cloud Support Eng @ AWS

Follow on LinkedIn