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 resource groups from Amazon Resource Groups
You can use the Amazon Resource Groups console or the Amazon CLI to delete resource groups from Amazon Resource Groups.
Deleting a resource group does not delete the resources that are members of the group or
tags on member resources. It deletes only the group structure and any group-level
tags.
- Console
-
To delete resource groups
-
Sign in to the Amazon Resource Groups console.
-
In the navigation pane, choose Saved Resource
Groups.
-
Choose the name of the resource group that you want to delete, and then
choose View details.
-
On the group's detail page, choose Delete in the top right corner.
-
When you are prompted to confirm the deletion, choose
Delete.
- Amazon CLI & Amazon SDKs
-
To delete resource groups
-
Run the following command, replacing
resource_group_name
with the name of your
group.
$
aws resource-groups delete-group \
--group-name resource_group_name
-
When you are prompted to confirm the deletion, type yes
,
and then press Enter.