Class: Aws::ResourceGroups::Types::CreateGroupInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::ResourceGroups::Types::CreateGroupInput
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-resourcegroups/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#configuration ⇒ Array<Types::GroupConfigurationItem>
A configuration associates the resource group with an Amazon Web Services service and specifies how the service can interact with the resources in the group.
-
#criticality ⇒ Integer
The critical rank of the application group on a scale of 1 to 10, with a rank of 1 being the most critical, and a rank of 10 being least critical.
-
#description ⇒ String
The description of the resource group.
-
#display_name ⇒ String
The name of the application group, which you can change at any time.
-
#name ⇒ String
The name of the group, which is the identifier of the group in other operations.
-
#owner ⇒ String
A name, email address or other identifier for the person or group who is considered as the owner of this application group within your organization.
-
#resource_query ⇒ Types::ResourceQuery
The resource query that determines which Amazon Web Services resources are members of this group.
-
#tags ⇒ Hash<String,String>
The tags to add to the group.
Instance Attribute Details
#configuration ⇒ Array<Types::GroupConfigurationItem>
A configuration associates the resource group with an Amazon Web Services 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].
<note markdown=“1”> A resource group can contain either a ‘Configuration` or a `ResourceQuery`, but not both.
</note>
[1]: docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html
135 136 137 138 139 140 141 142 143 144 145 146 |
# File 'lib/aws-sdk-resourcegroups/types.rb', line 135 class CreateGroupInput < Struct.new( :name, :description, :resource_query, :tags, :configuration, :criticality, :owner, :display_name) SENSITIVE = [] include Aws::Structure end |
#criticality ⇒ Integer
The critical rank of the application group on a scale of 1 to 10, with a rank of 1 being the most critical, and a rank of 10 being least critical.
135 136 137 138 139 140 141 142 143 144 145 146 |
# File 'lib/aws-sdk-resourcegroups/types.rb', line 135 class CreateGroupInput < Struct.new( :name, :description, :resource_query, :tags, :configuration, :criticality, :owner, :display_name) SENSITIVE = [] include Aws::Structure end |
#description ⇒ String
The description of the resource group. Descriptions can consist of letters, numbers, hyphens, underscores, periods, and spaces.
135 136 137 138 139 140 141 142 143 144 145 146 |
# File 'lib/aws-sdk-resourcegroups/types.rb', line 135 class CreateGroupInput < Struct.new( :name, :description, :resource_query, :tags, :configuration, :criticality, :owner, :display_name) SENSITIVE = [] include Aws::Structure end |
#display_name ⇒ String
The name of the application group, which you can change at any time.
135 136 137 138 139 140 141 142 143 144 145 146 |
# File 'lib/aws-sdk-resourcegroups/types.rb', line 135 class CreateGroupInput < Struct.new( :name, :description, :resource_query, :tags, :configuration, :criticality, :owner, :display_name) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
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`, `aws`, or any other possible capitalization; these are reserved. A resource group name must be unique within each Amazon Web Services Region in your Amazon Web Services account.
135 136 137 138 139 140 141 142 143 144 145 146 |
# File 'lib/aws-sdk-resourcegroups/types.rb', line 135 class CreateGroupInput < Struct.new( :name, :description, :resource_query, :tags, :configuration, :criticality, :owner, :display_name) SENSITIVE = [] include Aws::Structure end |
#owner ⇒ String
A name, email address or other identifier for the person or group who is considered as the owner of this application group within your organization.
135 136 137 138 139 140 141 142 143 144 145 146 |
# File 'lib/aws-sdk-resourcegroups/types.rb', line 135 class CreateGroupInput < Struct.new( :name, :description, :resource_query, :tags, :configuration, :criticality, :owner, :display_name) SENSITIVE = [] include Aws::Structure end |
#resource_query ⇒ Types::ResourceQuery
The resource query that determines which Amazon Web Services resources are members of this group. For more information about resource queries, see [Create a tag-based group in Resource Groups].
<note markdown=“1”> A resource group can contain either a ‘ResourceQuery` or a `Configuration`, but not both.
</note>
[1]: docs.aws.amazon.com/ARG/latest/userguide/gettingstarted-query.html#gettingstarted-query-cli-tag
135 136 137 138 139 140 141 142 143 144 145 146 |
# File 'lib/aws-sdk-resourcegroups/types.rb', line 135 class CreateGroupInput < Struct.new( :name, :description, :resource_query, :tags, :configuration, :criticality, :owner, :display_name) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Hash<String,String>
The tags to add to the group. A tag is key-value pair string.
135 136 137 138 139 140 141 142 143 144 145 146 |
# File 'lib/aws-sdk-resourcegroups/types.rb', line 135 class CreateGroupInput < Struct.new( :name, :description, :resource_query, :tags, :configuration, :criticality, :owner, :display_name) SENSITIVE = [] include Aws::Structure end |