Amazon DynamoDB Stream to Amazon EventBridge Bus using Amazon EventBridge Pipes

Amazon DynamoDB → EventBridge Pipes → Amazon EventBridge

EventBridge Pipe to connect DynamoDB Stream directly into EventBridge bus

EventBridge Pipe used to connect DynamoDB stream (new and old images) directly into EventBridge with custom source and detail-type
Why use this pattern?
Use events from DynamoDB to trigger EventBridge events directly, you can use TargetParameters to define what source and detail-type you want to specify
This can be a great pattern to raise business events when information changes in your database, and have downstream consumers react to these changes
This example raises an event anytime a Users details are changed or added to the database and a custom `UserDetailsChanged` event is raised

< 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-ddbstream-to-eventbridge

Deploy

sam deploy --guided


Testing

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

Cleanup

Delete the stack: sam delete.

Created by:

David Boyne

David Boyne

Helping people learn about event-driven architectures and serverless

Follow on LinkedIn