Amazon SNS subscription filter policy scope - Amazon Simple Notification Service
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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.