Deleting a resource group - Amazon Network Firewall
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).

Deleting a resource group

You can delete your resource group in the Network Firewall console or the Amazon Resource Groups DeleteGroup API. To delete a resource group in the Network Firewall console, perform the following procedure.

Deleting a resource group

You can't delete a resource group that's referenced in a rule group. When you try to delete a resource group, Amazon Network Firewall checks to see if it's currently being referenced. A resource group can be referenced by a rule group. If Network Firewall determines that the resource is being referenced, it warns you. Network Firewall is almost always able to determine whether a resource is being referenced. However, in rare cases, it might not be able to do so. If you need to be sure that the resource that you want to delete isn't in use, check all of your rule groups before deleting it. Note that policies that have associations can't be deleted.

To delete a resource group
  1. Sign in to the Amazon Web Services Management Console and open the Amazon VPC console at

  2. In the navigation pane, under Network Firewall, choose Network Firewall resource groups.

  3. In the Resource group page, select the resource group that you want to delete.

  4. Choose Delete, and confirm your request.

Your resource group is removed from the list in the Resource group page.