Class: Aws::ResourceGroups::Types::TagInput

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

Overview

Note:

When making an API call, you may pass TagInput data as a hash:

{
  arn: "GroupArn", # required
  tags: { # required
    "TagKey" => "TagValue",
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The ARN of the resource group to which to add tags.

Returns:

  • (String)


1213
1214
1215
1216
1217
1218
# File 'gems/aws-sdk-resourcegroups/lib/aws-sdk-resourcegroups/types.rb', line 1213

class TagInput < Struct.new(
  :arn,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

The tags to add to the specified resource group. A tag is a string-to-string map of key-value pairs.

Returns:

  • (Hash<String,String>)


1213
1214
1215
1216
1217
1218
# File 'gems/aws-sdk-resourcegroups/lib/aws-sdk-resourcegroups/types.rb', line 1213

class TagInput < Struct.new(
  :arn,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end