- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud
- Data

Processing DynamoDB Streams Using Lambda
In this lab, we will create a Lambda function to process DynamoDB stream data from an existing table that is actively being written to. Once processed, the data from the stream will be aggregated and written to a second DynamoDB table.

Lab Info
Table of Contents
-
Challenge
Create Lambda Function to Process Stream Events
- Log in to the AWS Management Console for the lab environment using the credentials provided.
- Navigate to Lambda.
- Create a new Lambda function and write/paste the code (found on GitHub) to process DynamoDB Streams events.
-
Challenge
Create DynamoDB Streams Trigger
- Create a new trigger for your function, setting DynamoDB as the trigger type, and provide the appropriate configuration information.
- Enable trigger on creation to start processing stream events into stats aggregation table.
-
Challenge
Verify Stream Processing
Navigate to DynamoDB to verify statistics are correctly aggregated and written to the stats table.
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.