Amazon API Gateway REST API to Amazon DynamoDB to Amazon Kinesis to AWS Lambda
API Gateway → DynamoDB → Kinesis Data Streams → Lambda
Create an Amazon API Gateway REST API that integrates with Kinesis via a DynamoDB table
This pattern will help you to deploy Amazon API Gateway API integration with Amazon DynamoDB. Additionally, the Amazon DynamoDB table has an Amazon Kinesis Data Stream to capture item-level changes in your table and replicates the changes to a Kinesis Data Stream.
Lastly, AWS Lambda will consume those changes from Amazon Kinesis to log the decoded message which was received from the Amazon Kinesis Stream.