Configure Amazon DynamoDB triggers with AWS Lambda
138 students completed the lab in ~30m
Total available time: 1h:0m
60+ 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.
Follow these steps to learn by building helpful cloud resources
Log In to the Amazon Web Service Console
Your first step to start the laboratory 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.