This template creates a notification rule for a resource. The rule specifies the events you want notifications about and the targets where you want to receive them. The example creates a notification rule named 'My Notification Rule for Comments on Commits' for a CodeCommit repository. It specifies the event type 'codecommit-repository-comments-on-commits' and sets the target as an SNS topic with the a subscription to email address email@example.com. The notification rule is also tagged with a key-value pair indicating the team that owns the rule.

CloudFormation Template