How does SNS message filtering work?
IntermediateConceptDNS, CDN and Messaging
Answer
A subscription filter policy on message attributes (or on the message body, with FilterPolicyScope: MessageBody) delivers only matching messages to that subscriber, so one topic serves many consumers without each filtering in code.
{"eventType":["order_created"],"amount":[{"numeric":[">=",100]}]}
Messages that match no subscription are simply dropped for those subscribers.
More on DNS, CDN and Messaging
What are the Route 53 record types and why use Alias instead of CNAME?BeginnerDescribe Route 53 routing policies.IntermediateHow do Route 53 health checks and DNS failover work?AdvancedWhat is a Route 53 private hosted zone?IntermediateHow does DNS TTL relate to failover and migrations?BeginnerWhat are Route 53 Resolver endpoints and rules?Advanced