This template will setup an Amazon DynamoDB table with stream enabled, two AWS Lambda functions, two AWS Lambda Event Source Mappings with filters that have conditions related to Amazon DynamoDB events, and an IAM policy with the appropriate permissions. You can find the associated article on our blog.
Everything you need to understand how to pre-filter events coming from an Amazon DynamoDB stream to multiple AWS Lambda functions without having that filter logic mixed into your application code on the AWS Lambda function itself.
Ryan Jones is the founder of Serverless Guru, author of the Serverless Zero to Paid Professional course, an avid blogger, and surfer.
Prevent DDos Attack on API Gateway Using AWS WAF
Learn how to deploy AWS Lambda Function URLs