Amazon DynamoDB
Developer Guide (API Version 2012-08-10)

Walkthrough: Using the AWS Management Console to Create a DynamoDB Trigger

In this walkthrough, you will use the AWS Management Console to create and manage a DynamoDB trigger. This walkthrough shows a very basic use case, with an AWS Lambda function that ingests records from a stream and writes data to Amazon CloudWatch Logs.

You will begin by creating a DynamoDB table with a stream enabled. Next, you will create a simple Lambda function that outputs the contents of a single stream record. After that, you will make changes to data in the table. This will cause new stream records to be written, and trigger execution of the Lambda function. Finally, you will view the output from the function in CloudWatch Logs.