3. React to changes using CloudWatch Rules

Enable Cloudwatch Rules

  • Login to the CloudWatch Console
  • Ensure you are in the Sydney Region
  • Navigate to the Rules page, select create rule.
  • Complete the details as below

  • Service Name CodePipeline
  • Event Type CodePipeline Pipeline Execution State Change
  • Target SNS Topic
  • Topic Select the topic you created earlier
  • Select a name and save the rule

Release the CodePipeline to ensure you are recieving the Notifications

Login to the CodePipeline Console AWS CodePipeline Console Select the Pipleline we created and click on Release Change You should recieve a notfcation as soon as the pipeline is triggered.