I have a lambda which handles SNS Events.
I would like to block specific events in SNS. For example, if event contains specific ID, I want SNS topic to reject it. Basically, I do not want that message to be in topic/queue.
I checked the AWS documentation which only allows filtering. However, instead of allowing specific attributes(for my case it is ID) to pass, I would like to block specific events to be in SNS topic/queue.
Do you have any idea to do it ?