SNS FilterPolicy with LIKE ou REGEX.

0

Can I somehow create a SNS subscription with FilterPolicy using LIKE or REGEX expression? { "attributeSample": { "like": "*textinside*" } }

It would allow messages with "textinside" anywhere in the "attributeSample" attribute. Thanks.

1 回答
1

Hello.

As of March 2024, SNS subscription filters do not include LIKE or REGEX.
Partial matches are not possible, but prefix matches and suffix matches are possible.
https://docs.aws.amazon.com/sns/latest/dg/string-value-matching.html#string-equals-ignore

profile picture
专家
已回答 2 个月前
profile picture
专家
已审核 2 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则