Message Transformation in SNS

0

I need to apply payload filters and transform the message payload before posting to SQS targets.

How can this be done? Any related blogs?

TIA

pj-2024
已提问 1 个月前275 查看次数
1 回答
0
已接受的回答

Hello.

It may depend on the content of the message, but I think you can use the SNS filter policy to change the content before sending it to SQS.
https://docs.aws.amazon.com/sns/latest/dg/sns-subscription-filter-policies.html

Alternatively, you can also use a configuration where Lambda is launched from SNS, the message is edited, and then the message is sent to SQS.
https://docs.aws.amazon.com/lambda/latest/dg/with-sns-example.html

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

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

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

回答问题的准则