Amazon SQS to Amazon DynamoDB via Amazon EventBridge Pipes using CDK/Python

Amazon SQS → EventBridge Pipes → Amazon API Gateway → Amazon DynamoDB

Send messages from an SQS queue to a DynamoDB table via API Gateway using EventBridge Pipes. Implemented with CDK/Python.

Messages sent to the Amazon SQS queue are polled by Amazon EventBridge Pipe.
Amazon EventBridge Pipe processes the messages and sends them to the Amazon API Gateway endpoint.
Amazon API Gateway transforms the message and writes the data to the Amazon DynamoDB table using direct integration.

< 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/eventbridge-pipes-sqs-to-dynamodb

Deploy

cdk deploy


Testing

See the README in the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: cdk destroy.

Created by:

Michele Scarimbolo

Michele Scarimbolo

Technical Account Manager at AWS. Serverless specialist and enthusiast.

Follow on LinkedIn