In this lab, we will complete a system to track CodeCommit commit metadata in the same table it is being logged to.
Successfully complete this lab by achieving the following learning objectives:
- 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).