AWS Lambda Event Filtering with DynamoDB Stream

Filter DynamoDB stream events without invocation

Key Features

IaC for full PoC (Proof-of-Concept)
Example Lambda Event Filters for DynamoDB
DynamoDB table with stream enabled

Detailed Overview

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.

Serverless Framework
AWS CloudFormation

Ryan Jones

Ryan Jones is the founder of Serverless Guru, author of the Serverless Zero to Paid Professional course, an avid blogger, and surfer.