CmdID / aws / aws resource-groups
aws resource-groups delete-group
Deletes the specified resource group. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To update the description for a resource group
The following delete-group example updates the specified resource group.
aws resource-groups delete-group --group-name tbq-WebServerIdentify--group-nameDeprecated - don't use this parameter.Its output
{
"Group": {
"GroupArn": "arn:aws:resource-groups:us-west-2:1234567890:group/tbq-WebServer",
"Name": "tbq-WebServer"
}
}For more information, see Delete Groups in the AWS Resource Groups User Guide.
Options
--group-nameDeprecated - don't use this parameter.--groupThe name or the Amazon resource name (ARN) of the resource group to delete.