Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Delete a notification rule

Focus mode
Delete a notification rule - Developer Tools console

There can be only 10 notification rules configured for a resource, so consider deleting rules you no longer need. You can use the Developer Tools console or the AWS CLI to delete a notification rule.

Note

You cannot undo the deletion of a notification rule, but you can recreate it. Deleting a notification rule does not delete the target.

To delete a notification rule (console)

  1. Open the AWS Developer Tools console at https://console.aws.amazon.com/codesuite/settings/notifications.

  2. In the navigation bar, expand Settings, and then choose Notification rules.

  3. In Notification rules, review the rules configured for resources in your AWS account in the AWS Region where you are currently signed in. Use the selector to change the AWS Region.

  4. Choose the notification rule, and then choose Delete.

  5. Type delete, and then choose Delete.

To delete a notification rule (AWS CLI)

  1. At a terminal or command prompt, run the delete-notification-rule command, specifying the ARN of the notification rule.

    aws codestar-notifications delete-notification-rule --arn arn:aws:codestar-notifications:us-east-1:123456789012:notificationrule/dc82df7a-EXAMPLE
  2. If successful, the command returns the ARN of the deleted notification rule, similar to the following.

    { "Arn": "arn:aws:codestar-notifications:us-east-1:123456789012:notificationrule/dc82df7a-EXAMPLE" }
PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.