aws_lambda_event_source_mapping: add support for event filtering #21921
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
service/lambda
Issues and PRs that pertain to the lambda service.
Milestone
Community Note
Description
Add support for the recently announced event filtering feature of Lambda event source mappings.
New or Affected Resource(s)
Potential Terraform Configuration
According to https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-syntax, "For filter rules, Lambda supports the same set of syntax and rules as Amazon EventBridge". As the
aws_cloudwatch_event_rule
resource uses a string to represent individual patterns despite the JSON syntax, the same choice is made here -- this also aligns with the underlying API.References
The text was updated successfully, but these errors were encountered: