Amazon DynamoDB to Amazon Kinesis

Amazon DynamoDB → Kinesis Data Streams

Stream DynamoDB table changes to Kinesis

When new items are added to the DynamoDB table, the item-level changes in the table will be streamed to the Kinesis Data Stream.

< 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-kinesis

Deploy

sam deploy --guided


Testing

1. After deployment, add an item to the DynamoDB table.
2. Go to CloudWatch Metrics for the deployed Kinesis Data Stream. You will see incoming record metrics for the item data.

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:

Rohan Mehta

Rohan Mehta

Associate Cloud Application Architect at AWS.