I am working on a task to create Email notifications for the Cloud-Formation stacks e.g. CREATE_COMPLETE, DELETE_COMPLETE. Currently using Cloud-Formation advance options to send Notifications by using SNS topic. I have created a SNS topic and configured my email as an endpoint with Protocol "Email". After attaching it with Cloud-Formation Stack, I am getting email notifications. Now I am getting approximately 50-60 emails during stack creation and deletion. I want to restrict these emails only for stack resource status as CREATE_COMPLETE, DELETE_COMPLETE.
I am trying to add filter policy in Topic Subscription but after setting filter policy as "FilterPolicy": {"ResourceStatus": ["CREATE_COMPLETE"]}, all the email notifications are blocked.
Does anyone has idea about how to setup the filter policy with SNS subscription to receive restricted email notifications for Cloud-Formation stack ?
Note: I have seen examples of using Lambda to restrict notifications but I don't want to use lambda function.