1 Answer
- Newest
- Most votes
- Most comments
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
Relevant content
- Accepted Answerasked 2 years ago
- Accepted Answerasked a year ago
- asked 2 years ago
- AWS OFFICIALUpdated 12 days ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
I can't see anything in the SNS filter policy docs that suggest transformation. They all appear to be matching rules where "the message matches this rule" means that the whole message gets passed to the subscriber, rather than it only passing the fields that you matched on.