Posted On: Nov 22, 2017
You can now use message filtering on Amazon Simple Notification Service (SNS) to build simpler and more streamlined pub/sub architectures. Message filtering enables Amazon SNS topic subscribers to selectively receive only a subset of the messages they are interested in, as opposed to receiving all messages published to a topic. This new approach removes the design complexity of implementing message filtering logic in your subscribers, or message routing logic in your publisher systems.
Amazon SNS is a fully managed pub/sub messaging service. With Amazon SNS, you can use topics to 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 message filtering is available now, in all commercial AWS regions. Get started by going to the AWS Management Console, selecting Amazon SNS, and adding message filtering policies to your Amazon SNS subscriptions. You can also use the AWS SDK (Software Development Kit), CLI (Command Line Interface) and API (Application Programming Interface). Message filtering is available at no extra charge. For more information on Amazon SNS and pricing details, visit http://aws.amazon.com/sns/.
To learn more:
- Refer to the "Message Filtering" section of the Amazon SNS Developer Guide
- Read the blog, Simplify Your Pub/Sub Messaging with Amazon SNS Message Filtering
- Try the 10-minute tutorial, Filter Messages Published to Topics