- A Cloud Guru
Tracking CodeCommit Metadata with DynamoDB
In this lab, we will complete a system to track CodeCommit commit metadata in the same table it is being logged to.
Table of Contents
Examine the `PrometheusMeta` DynamoDB Table
PrometheusMetatable should begin to have records written to it shortly after starting the lab. Once some data has arrived in the table, examine the attributes to plan how to satisfy the provided metadata requirements.
Modify the `PrometheusMetaStreamProcessor` Lambda Function
Make the necessary changes to the
PrometheusMetaStreamProcessorLambda function to process the DynamoDB Stream records and update the
PrometheusMetaDynamoDB table appropriately.
Enable the DynamoDB Stream Trigger
In the Lambda interface for the
PrometheusMetaStreamProcessorfunction, select the DynamoDB Stream trigger and change the disabled/enabled toggle to Enabled. Save your changes.
Verify Metadata Record Creation
Return to the DynamoDB web console and verify that metadata records are being generated as expected (this may take a couple minutes).
What's a lab?
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.