Posted On: Mar 12, 2018
Amazon SNS message filtering now supports both numeric and string matching. Specifically, string matching operators allow for exact, prefix, and “anything-but” comparisons, while numeric matching operators allow for exact and range comparisons. You can leverage this new set of operators to further simplify pub/sub messaging architectures by offloading to SNS message filtering logic from subscribers, as well as routing logic from publishers.
Amazon SNS is a fully managed pub/sub messaging service. With Amazon SNS, you can use topics to decouple message producers and consumers, and simultaneously distribute messages to multiple subscribing endpoints, such as Amazon SQS queues, AWS Lambda functions, HTTP endpoints, email addresses, and mobile devices (SMS, push).
Amazon SNS filtering operators are available in all commercial AWS regions. Get started by going to the AWS Management Console, selecting Amazon SNS, and adding filter policies to your Amazon SNS subscriptions. You can also use the AWS SDK (Software Development Kit), AWS CLI (Command Line Interface), and SNS API (Application Programming Interface). The new set of filtering operators are available at no extra charge. For more information on Amazon SNS and pricing details, visit the Amazon SNS Website.
To learn more:
- Read the blog: Amazon SNS Introduces Filtering Operators for Numeric Matching, Prefix Matching, and Blacklisting
- Refer to the Developer Guide: Filtering Messages with Amazon SNS
- Try the 10-minute Tutorial: Filter Messages Published to Topics with Amazon SNS