DynamoDB Streams
- Ordered stream of item-level modifications (create/update/delete) in a DynamoDB table
- Can be
- Sent to Kinesis Data Streams
- Read by AWS Lambda
- Read by Kinesis Client Library applications
- Data retention for up to 24 hours
- Choose information that will written to stream
KEYS_ONLY
: only key attributes of the modified itemNEW_IMAGE
: the entire item after modifiedOLD_IMAGE
: entire item before modifiedNEW_AND_OLD_IMAGES
: both the above
- DynamoDB streams are made of shards, like Kinesis Data Streams
- AWS will provision shards
- When you enable the streams, only then you will receive record update
- Use cases
- Analytics
- React to changes in real-time