Configure Amazon DynamoDB triggers with AWS Lambda


506 students completed the lab in ~36m

Total available time: 1h:0m

300 students rated this lab!

How to process DynamoDB updates and define custom triggers

Amazon DynamoDB is a fully managed NoSQL database service, built for highly-scalable systems.

DynamoDB Streams enable event-driven programming with AWS Lambda to define triggers in order to augment your database behavior or implement 3rd-party integrations.

In this Lab, we will learn how to process batches of DynamoDB updates with a Lambda Function. As a simple example, we will use Python to create and sync generated fields. The same mechanism could be used to store operations logs, send SNS notifications, synchronize 3rd-party services, or any custom logic.

If you want to learn the basics of DynamoDB, you can start from our Introduction to DynamoDB Lab.


Do you have questions about this Lab? Contact our cloud experts by sending an email to

Follow these steps to learn by building helpful cloud resources

Logging in to the Amazon Web Services Console

Your first step to start the Lab experience

DynamoDB Streams background

Learn how to capture DynamoDB table activities in real-time.

Enable Streams on a DynamoDB Table

Learn how to manage streams and enable table updates.

Implement Lambda Function batch processing logic

AWS Lambda implementation of the processing logic.

Test the DynamoDB Trigger

Create new DynamoDB records and verify the trigger output.