Creating an AWS CodeCommit Repository That Triggers Email Notifications
Create a CodeCommit Repository
Navigate to CodeCommit and create a repository.

Give repository name a name and click create.


Create an Amazon SNS Topic
Navigate to Amazon Simple Notification Service and create a topic. Click 'Next Step'. Keep all values to the default.

Subscribe to the Topic
Create a subscription using the Email protocol and enter your email address. Note: You will need to confirm your subscription, so make sure you have access to the email you provide.


Create an Event
Create an Event in EventBridge to monitor for changes to AWS CodeCommit.



Fill this part out and then click next until the rule is created.


Test the Event
Return to CodeCommit and upload a file to the repository. Check your email to ensure you've received a notification.

Email sent.

Last updated