class Aws::ResourceGroups::Types::CreateGroupInput
@note When making an API call, you may pass CreateGroupInput
data as a hash: { name: "GroupName", # required description: "Description", resource_query: { type: "TAG_FILTERS_1_0", # required, accepts TAG_FILTERS_1_0, CLOUDFORMATION_STACK_1_0 query: "Query", # required }, tags: { "TagKey" => "TagValue", }, configuration: [ { type: "GroupConfigurationType", # required parameters: [ { name: "GroupConfigurationParameterName", # required values: ["GroupConfigurationParameterValue"], }, ], }, ], }
@!attribute [rw] name
The name of the group, which is the identifier of the group in other operations. You can't change the name of a resource group after you create it. A resource group name can consist of letters, numbers, hyphens, periods, and underscores. The name cannot start with `AWS` or `aws`; these are reserved. A resource group name must be unique within each AWS Region in your AWS account. @return [String]
@!attribute [rw] description
The description of the resource group. Descriptions can consist of letters, numbers, hyphens, underscores, periods, and spaces. @return [String]
@!attribute [rw] resource_query
The resource query that determines which AWS resources are members of this group. For more information about resource queries, see [Create a tag-based group in Resource Groups][1]. <note markdown="1"> A resource group can contain either a `ResourceQuery` or a `Configuration`, but not both. </note> [1]: https://docs.aws.amazon.com/ARG/latest/userguide/gettingstarted-query.html#gettingstarted-query-cli-tag @return [Types::ResourceQuery]
@!attribute [rw] tags
The tags to add to the group. A tag is key-value pair string. @return [Hash<String,String>]
@!attribute [rw] configuration
A configuration associates the resource group with an AWS service and specifies how the service can interact with the resources in the group. A configuration is an array of GroupConfigurationItem elements. For details about the syntax of service configurations, see [Service configurations for resource groups][1]. <note markdown="1"> A resource group can contain either a `Configuration` or a `ResourceQuery`, but not both. </note> [1]: https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html @return [Array<Types::GroupConfigurationItem>]
@see docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/CreateGroupInput AWS API Documentation
Constants
- SENSITIVE