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 allows you define the filtering scope by setting one of the following values:

  • MessageAttributes – Applies the filter policy to message attributes (default setting).

  • MessageBody – Applies the filter policy to the message body.

Note

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