Database
Amazon DynamoDB Streams
Amazon DynamoDB Streams captures a time-ordered sequence of item-level changes for up to 24 hours. It lets GenAI workflows react to state transitions without polling the table.
Key points
- Each item modification appears once in its item-specific stream order
- Stream views can include keys and old or new images
- Lambda event-source mappings checkpoint and retry record batches
When to use it
- Trigger embedding refresh when a product record changes
- Publish an audit enrichment job after a conversation state update
Exam tips
- Use Streams for DynamoDB change data; EventBridge is broader event routing
- Handle partial batch failures and idempotency so one poison record does not replay successful side effects