Group - Amazon Resource Groups
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.

Group

A resource group that contains Amazon resources. You can assign resources to the group by associating either of the following elements with the group:

  • ResourceQuery - Use a resource query to specify a set of tag keys and values. All resources in the same Amazon Region and Amazon account that have those keys with the same values are included in the group. You can add a resource query when you create the group, or later by using the PutGroupConfiguration operation.

  • GroupConfiguration - Use a service configuration to associate the group with an Amazon service. The configuration specifies which resource types can be included in the group.

Contents

Note

In the following list, the required parameters are described first.

GroupArn

The ARN of the resource group.

Type: String

Length Constraints: Minimum length of 12. Maximum length of 1600.

Pattern: arn:aws(-[a-z]+)*:resource-groups:[a-z]{2}(-[a-z]+)+-\d{1}:[0-9]{12}:group/[a-zA-Z0-9_\.-]{1,128}

Required: Yes

Name

The name of the resource group.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 128.

Pattern: [a-zA-Z0-9_\.-]+

Required: Yes

Description

The description of the resource group.

Type: String

Length Constraints: Maximum length of 512.

Pattern: [\sa-zA-Z0-9_\.-]*

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: