Amazon SNS subscription filter policy scope - Amazon Simple Notification Service

Amazon SNS subscription filter policy scope

The FilterPolicyScope subscription attribute lets you choose the filtering scope by setting one of the following values:

  • MessageAttributes – The filter policy is applied to the message attributes. This is the default.

  • MessageBody – The filter policy is applied to the message body.

Note

If no filter policy scope is defined for an existing filter policy, the scope defaults to MessageAttributes.