Posted On: Mar 27, 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, Amazon Lambda functions, HTTP endpoints, and email addresses.

Amazon SNS filtering operators are available now, in all Amazon Web Services regions. Get started by going to the Amazon Web Services Management Console, selecting Amazon SNS, and adding filter policies to your Amazon SNS subscriptions. You can also use the Amazon SDK (Software Development Kit), Amazon 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 or refer to Filtering Messages with Amazon SNS in the SNS Developer Guide.