Delete notifications - Amazon CodeCommit
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Delete notifications

If you no longer want to use notifications, you can delete the Amazon CloudWatch Events rule associated with the notification. That will automatically delete the notification. It does not delete any subscriptions or the Amazon SNS topic used for notifications.


If you change the name of a repository from the console, notifications continue to work without modification. However, if you change the name of your repository from the command line or by using the API, notifications no longer work. The easiest way to restore notifications is to delete the notification settings and then configure them again.

To delete notification settings
  1. Open the CodeCommit console at

  2. In Repositories, choose the name of the repository where you want to remove notifications.

  3. In the navigation pane, choose Settings, and then choose Notifications. If you see a banner informing you that you have notifications instead of notification rules, choose Manage existing notifications.

  4. In CloudWatch event rule, copy the name of the rule that was created for the notification.

  5. Sign in to the Amazon Web Services Management Console and open the CloudWatch console at

  6. In Events, choose Rules. In Name, paste the name of the rule created for the notification. Choose the rule, and in Actions, choose Delete.

  7. (Optional) To change or delete the Amazon SNS topic used for notifications after you delete notification settings, go to the Amazon SNS console at For more information, see Clean Up in Amazon Simple Notification Service Developer Guide.