Serverless AWS DynamoDB Stream to Lamba Function
Configure AWS DynamoDB Streams to trigger an AWS Lambda Function. Include a filter pattern to only trigger on Modify events.
Add the following to your YAML Serverless Template:
The sample uses a "filterPatterns" key to only process 'MODIFY' stream events. The three lifecycle stream events are "INSERT", "MODIFY", "REMOVE".