Posted On: Nov 22, 2022
HAQM Simple Notification Service (HAQM SNS) now supports payload-based message filtering, expanding the feature set that already supported attribute-based message filtering. With this release, you can apply subscription filter policies to filter out messages based on their contents, unlocking a variety of workloads. You may use this new capability to filter events from 60+ AWS services that publish events to HAQM SNS, including HAQM S3, HAQM EC2, HAQM CloudFront, and HAQM CloudWatch. You may also use payload-based message filtering for your cross-account workloads, where subscribers may not be able to influence a given publisher to have its messages published with attributes to HAQM SNS.
HAQM SNS is a messaging service for Application-to-Application (A2A) and Application-to-Person (A2P) communication. The A2A functionality provides high-throughput, push-based, many-to-many messaging between distributed systems, microservices, and event-driven serverless applications. These applications include HAQM Simple Queue Service, HAQM Kinesis Data Firehose, AWS Lambda, and HTTP/S endpoints. The A2P functionality enables you to communicate with your customers via mobile text messages (SMS), mobile push notifications, and email notifications. Now, with payload-based message filtering, you can further simplify your application architecture by offloading additional message filtering logic from your subscriber systems, as well as message routing logic from your publisher systems.
HAQM SNS payload-based message filtering is available in all public AWS Regions and AWS GovCloud (US). You can start using this new capability today, via the AWS Management Console, AWS Software Development Kit (SDK), HAQM SNS Command Line Interface (CLI), and the HAQM SNS Application Programming Interface (API). You may also provision your HAQM SNS subscription filter policies via AWS CloudFormation.
To learn more about HAQM SNS payload-based message filtering, see the following: