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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南