- I have cloudtrail setup and i am sending trail events to cloudwatch logs group and i setup cloudwatch alarm with metrics filter
{ ($.eventName = RebootInstances) || ($.eventName = StopInstances) || ($.eventName = TerminateInstances) }
to invoke SNS to send email notifications.
But I am not getting email notification every time instance is terminated. I am getting email notification only sometimes when instance is terminated.