Menu
AWS WAF and AWS Shield Advanced
Developer Guide (API Version 2015-08-24)

Deleting a Rule

If you want to delete a rule, you need to first remove the rule from the web ACLs that are using it and remove the conditions that are included in the rule.

To delete a rule

  1. Sign in to the AWS Management Console and open the AWS WAF console at https://console.aws.amazon.com/waf/.

  2. To remove the rule from the web ACLs that are using it, perform the following steps:

    1. In the navigation pane, choose Web ACLs.

    2. Choose the name of a web ACL that is using the rule that you want to delete.

    3. Choose Edit web ACL.

    4. Choose the X to the right of the rule that you want to remove from the web ACL, and then choose Update.

    5. Repeat for all of the remaining web ACLs that are using the rule that you want to delete.

  3. In the navigation pane, choose Rules.

  4. Select the name of the rule you want to delete.

  5. Choose Delete.