Change data capture events into multiple Amazon EventBridge pipes

Amazon DynamoDB → EventBridge Pipes → Amazon EventBridge

Change data capture events from DynamoDB stream into EventBridge using multiple EventBridge pipes and filters

Two EventBridge pipes are connected to the same DynamoDB stream. Each pipe filters out changes and raises CDC events into EventBridge, creating OrderCreated, OrderUpdated events.
How this pattern works?
Two EventBridge pipes are connected to the same DDB stream. Each pipe filters by `eventName`, and filters when items are added or modified
When an item is added the `OrderCreated` event is raised, when item is modified the `OrderUpdated` 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-with-filters-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