‫So, here is a very quick lecture
‫on CloudFormation Stack Notifications.
‫So, you can set up a way for you to have all
‫the Stack events being sent to an SNS Topic,
‫from which you can hook it up to your email
‫or Lambda and so on.
‫So, what you're to do is that whenever you
‫create a CloudFormation Stack,
‫you go in the Stack Options and you enable SNS Integration.
‫And from that point forward, any event happening
‫to your CloudFormation Stack, such as what is being created,
‫updated, deleted, or anything happening to it
‫will be sent as a notification into the designated
‫SNS Topic and if you wanted to filter the events,
‫the way you could do it or one way you could do it
‫is that because CloudFormation Stack sends all the events
‫to your SNS Topic no matter what,
‫you could, for example, have a Lambda function
‫that reads from your SNS Topic
‫and then is going to filter only for specific
‫kind of events.
‫For example, ROLLBACK_IN_PROGRESS and then send
‫these events into another SNS topic
‫from which you can, for example, send an email notification
‫to users saying that hey, there's a rollback happening
‫for your CloudFormation Stack.
‫Okay, so that's it for this lecture.
‫I hope you liked it and I will see you in the next lecture.