@aws-cdk/aws-lambda-event-sources: Lambda event filtering
See original GitHub issueDescription
Support the newly released event filtering feature for Amazon SQS, Amazon DynamoDB, and Amazon Kinesis.
https://aws.amazon.com/about-aws/whats-new/2021/11/aws-lambda-event-filtering-amazon-sqs-dynamodb-kinesis-sources/ https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html
Use Case
For filtering event source.
Proposed Solution
Add a filters
to SqsEventSourceProps
, KinesisEventSourceProps
and DynamoEventSourceProps
.
Other information
No response
Acknowledge
- I may be able to implement this feature request
- This feature might incur a breaking change
Issue Analytics
- State:
- Created 2 years ago
- Reactions:58
- Comments:20 (10 by maintainers)
Top Results From Across the Web
Lambda event filtering - AWS Documentation
Use event filtering with a Lambda event source mapping to filter out stream and queue events to your Lambda function based on certain...
Read more >Kirk Kirkconnell on Twitter: "Lambda's event filters are easily ...
Lambda's event filters are easily my favorite AWS feature released in the last year. So very useful!! If you are using DynamoDB streams...
Read more >aws-cdk/aws-lambda-event-sources/README.md - UNPKG
The CDN for @aws-cdk/aws-lambda-event-sources. ... This library provides a uniform API for all Lambda event. 22, sources regardless of the underlying ...
Read more >AWS Lambda Event Filtering - Towards AWS
AWS Lambda provides a feature to filter events that come from Amazon SQS, Amazon Kinesis, and Amazon DynamoDB. With this feature, Lambda only...
Read more >@aws-cdk/aws-lambda-event-sources - Package Manager
@aws-cdk/aws-lambda-event-sources ... Event sources for AWS Lambda ... Lambda provides event source mappings for the following services.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Hashnode Post
No results found
As long as this issue is open: CloudFormation natively supports this. You can always write an escape hatch for that.
I wrote a blog post on how to do this for filtering lambda events.
@dgoetsch I think so. I really like your idea. However i think it should only be additionally given the amount of flexibility you have with all the possible filter criteria. Do you think cdk should also validate the filter json?
I can give this a go this week