Amazon DynamoDB Streams to AWS Lambda to Amazon EventBridge

Amazon DynamoDB → AWS Lambda → Amazon EventBridge

Send DynamoDB changes to EventBridge via Lambda.

The changes are sent to a stream when items are written in a DynamoDB table. This pattern configures a Lambda function to poll this stream. The function is invoked with a payload containing the table item that has been inserted. The Lambda function will then emit an event to Amazon EventBridge.

< 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/dynamodb-streams-lambda-eventbridge-sam-rust

Deploy

sam deploy


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: make delete.

Created by:

Daniele Frasca

Daniele Frasca

I am Daniele Frasca serverless enthusiast. I build and architect serverless applications at scale.