- A Cloud Guru
Creating an AWS CodeCommit Repository That Triggers Email Notifications
This lab will consist of creating a new AWS CodeCommit repository and adding source control. We will use a trigger in CodeCommit to listen for any new commit to our source code to trigger an email notification via Amazon Simple Notification Service (SNS).
Table of Contents
Create a CodeCommit Repository
Navigate to CodeCommit and create a repository.
Create an Amazon SNS Topic
Navigate to Amazon Simple Notification Service and create a topic.
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.
Test the Event
Return to CodeCommit and upload a file to the repository. Check your email to ensure you've received a notification.
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.