Skip to content

Filter policy support for SNS events #261

@joshm91

Description

@joshm91

Hi guys,

It'd be great to be able to support the new(-ish) Filter Policy feature in SNS when specifying an SNS event on a Lambda function.

Something like this would be perfect:

  myLambda:
    Type: AWS::Serverless::Function
    Properties:
      Handler: lambda_handlers.handler
      ...
      Events:
        SNS:
          Type: SNS
          Properties:
            Topic: !GetAtt someSnsTopic.Arn
            FilterPolicy:
              AttributeName1:
                - value1
                - value2
              AttributeName2:
                - value3

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions