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).
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- 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.