SNS Topic Source
See SNS Topic sample for an example of how to use the SNS Topic source.
Topic: String|Expression Filters: JSON
Filterssection specifies the filter conditions when subscribing to an SNS topic. See Amazon SNS Filtering for more details.
Topicattribute specifies the name of a resource parameter of type
AWS::SNS::Topicthat the Lambda function subscribes to.
Type: String or Expression
Receive all SNS notifications
Sources: - Topic: SnsTopic
Receive only the SNS notification that meet the filter condition
Sources: - Topic: SnsTopic Filters: source: - shopping-cart