Class: Aws::ResourceGroups::Types::CreateGroupInput

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-resourcegroups/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#configurationArray<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

Returns:



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

#criticalityInteger

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.

Returns:

  • (Integer)


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

#descriptionString

The description of the resource group. Descriptions can consist of letters, numbers, hyphens, underscores, periods, and spaces.

Returns:

  • (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

#display_nameString

The name of the application group, which you can change at any time.

Returns:

  • (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

#nameString

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.

Returns:

  • (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

#ownerString

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.

Returns:

  • (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

#resource_queryTypes::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

#tagsHash<String,String>

The tags to add to the group. A tag is key-value pair string.

Returns:

  • (Hash<String,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