AWS Lambda from Amazon Kinesis Data Stream

Amazon Kinesis → AWS Lambda → AWS Lambda

Filter Kinesis Data Stream events so only a subset is sent to a Lambda function for processing, using Event Source Mapping.

This pattern creates a new Amazon Kinesis Data Stream with two AWS Lambda functions that subscribe to the stream with different filter settings.
This way it demonstrate how various filtering settings affect which Amazon Kinesis Data Stream events are sent to each AWS Lambda function for processing.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/lambda-esm-kinesis-filters-terraform

Deploy

terraform initterraform planterraform apply


Testing

See the README in the GitHub repo for detailed testing instructions.

Cleanup

terraform destroy
terraform show

Created by:

Naresh Rajaram

Naresh Rajaram

Cloud Infrastructure Architect, AWS

Follow on LinkedIn