Amazon SNS grows the set of message filtering operators
Share
Services
[Amazon Simple Notification Service (Amazon SNS)](/sns/) message filtering lets you simplify your pub/sub messaging architecture by offloading message filtering logic from your subscriber systems as well as message routing logic from your publisher systems. Amazon SNS message filtering offers a set of matching operators, which enables you to filter messages based on their attribute keys or attribute values.
Amazon SNS is introducing the following matching operators:
* \[{"exists": false}\] - Use this operator to deliver only the messages that don't carry the specified attribute key. For more information, see [Attribute key matching](https://docs.aws.amazon.com/sns/latest/dg/sns-subscription-filter-policies.html#attribute-key-matching) in the _Amazon SNS Developer Guide_.
* \[{"anything-but": {"prefix":"..."}}\] - Use this operator to deliver only the messages that carry an attribute with the specified key and whose string value doesn't start with the given prefix. For more information, see [Using a prefix with the anything-but operator](https://docs.aws.amazon.com/sns/latest/dg/sns-subscription-filter-policies.html#string-anything-but-matching-prefix) in the _Amazon SNS Developer Guide_.
* \[{"cidr": "..."}\] - Use this operator to deliver only the messages that carry an attribute with the specified key and whose string value matches IP addresses in the provided network. This operator follows to the Classless Inter-Domain Routing (CIDR) notation. For more information, see [IP address matching](https://docs.aws.amazon.com/sns/latest/dg/sns-subscription-filter-policies.html#ip-address-matching) in the _Amazon SNS Developer Guide_.
With [Amazon SNS](/sns/), you can use message filtering operators for [application-to-application](https://docs.aws.amazon.com/sns/latest/dg/sns-system-to-system-messaging.html) (A2A) and [application-to-person](https://docs.aws.amazon.com/sns/latest/dg/sns-user-notifications.html) (A2P) communication workloads. For more information, see [Message filtering](https://docs.aws.amazon.com/sns/latest/dg/sns-message-filtering.html) and [Subscription filter policies](https://docs.aws.amazon.com/sns/latest/dg/sns-subscription-filter-policies.html) in the _Amazon SNS Developer Guide_.
What else is happening at Amazon Web Services?
Read update
Services
Share
Read update
Services
Share
Amazon Managed Service for Prometheus now supports configuring a minimum firing period for alerts
October 16th, 2024
Services
Share