resource-groups:DeleteGroup

Write

resource-groups:DeleteGroup is a Write access-level action in the resource-groups service. Grants permission to delete a specified resource group

Resource types

ARNs that resource-groups:DeleteGroup can be scoped to in an IAM policy.

arn:${Partition}:resource-groups:${Region}:${Account}:group/${GroupName}
group

Condition keys

Keys you can use in the Condition block of a policy that grants resource-groups:DeleteGroup.

aws:ResourceTag/${TagKey} String

Filters access by tag key-value pairs attached to the resource

Dependent actions

To use resource-groups:DeleteGroup you may also need to grant:

Example IAM policy

A minimal policy that allows resource-groups:DeleteGroup. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowResourcegroupsDeleteGroup",
      "Effect": "Allow",
      "Action": "resource-groups:DeleteGroup",
      "Resource": "*"
    }
  ]
}

Related actions in resource-groups

View all resource-groups actions →