- Language:
- Node.js
- Framework:
- AWS SAM
Download this pattern (.zip)
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"