resource-groups:CreateGroup

Write

resource-groups:CreateGroup is a Write access-level action in the resource-groups service. Grants permission to create a resource group with a specified name, description, and resource query

Resource types

This action does not support resource-level permissions; use "Resource": "*" in your policy.

Condition keys

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

aws:RequestTag/${TagKey} String

Filters access by the presence of tag key-value pairs in the request

aws:TagKeys ArrayOfString

Filters access by the presence of tag keys in the request

Example IAM policy

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

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

Related actions in resource-groups

View all resource-groups actions →