I want to create a SNS filter policy for a single topic like this. So event A has no tag, but event B C do.
{
event = [
"A",
],
},
{
event = [
"B",
"C"
],
tags = [
"tag"
],
}
But it doesn't seem like it supports multiple criteria like this fashion. Is where a way to do this?
When I checked the documentation, https://docs.aws.amazon.com/sns/latest/dg/sns-subscription-filter-policies.html#and-or-logic
It does not mention case where one use separate criterion using both OR and AND.
Thank you
Not sure if this is still relevant, however, you can't do AND/OR
with " filter policy ".
You will have to create multiple subscriptions with a different endpoint for each subscription.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.