1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
-1
I would recommend sending it to event bridge parsing it there and then only sending the requests that match to the lambda. However you can use SNS filtering. It should work.
Event bridge https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-transform-target-input.html
SNS Filtering https://docs.aws.amazon.com/sns/latest/dg/example-filter-policies.html
Take a look at the JSON being sent to SNS and use the example to parse it out.
beantwortet vor 3 Jahren
The SNS filtering example does not show how to filter on array elements in the message, which is the topic of this question. I don't believe this response is accurate.

Why not send the events to event bridge and parse it out through rules?