Amazon DynamoDB to AWS Lambda to Amazon EventBridge

Amazon DynamoDB → AWS Lambda → EventBridge

Send DynamoDB table changes to EventBridge via Lambda.

The SAM template deploys a Lambda function that capture data in DynamoDB streams and sends to EventBridge.
When new items are added, updated or deleted on the DynamoDB table, the item-level changes in the table are streamed to the EventBridge custom bus.

< 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-eventbridge-java

Deploy

sam deploy --guided


Testing

See repo for testing instructions.

Cleanup

1. Delete the stack: sam delete --stack-name STACK_NAME.
2. Confirm the stack has been deleted: aws cloudformation list-stacks --query "StackSummaries[?contains(StackName,'STACK_NAME')].StackStatus"

Created by:

Tadeu Mendonça

Tadeu Mendonça

Cloud Application Architect, AWS.

Steven Cook

Senior Solutions Architect at AWS.