From the course: AWS Certified Developer - Associate (DVA-C02) Cert Prep

Unlock this course with a free trial

Join today to access over 24,800 courses taught by industry experts.

Amazon DynamoDB Streams

Amazon DynamoDB Streams

- [Instructor] In this session, we're going to be looking at DynamoDB streams. DynamoDB Streams is a feature of Amazon DynamoDB that captures item level changes that occurs on a DynamoDB table. Once you enable it, anytime you perform a right operation, such as put, update or delete, DynamoDB will detect that as an event and send a modified record to a DynamoDB stream. The condition is that a change must be made to an item for it to be considered as an event. If you insert an item using an update or put operation, but do not actually change any data in that item, DynamoDB will ignore that and it won't create a stream record of that event. So in some way, it'll prevent duplicate records if ever a change is accidentally applied twice to one item. You can then set a Lambda function to process the records from the stream in batches. The records are set as an event object to your Lambda function, which causes it to be invoked…

Contents