Ravi Sir's Cards › AWS
SNS filters
This revision card explains SNS filters. It starts from the need that publish with MessageAttributes. It describes filterPolicy on the subscription. The how-to section notes string and numeric match. An example on the card is rawMessageDelivery drops the envelope.
Read card text
What this card says
Why do we need it?
Publish with MessageAttributes.
What is it?
FilterPolicy on the subscription.
How to do it
String and numeric match.
{"numeric": [">", 10]}
Example
RawMessageDelivery drops the envelope.