You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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",
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The ARN of the resource to which to add tags.

Returns:

  • (String)


481
482
483
484
485
# File 'gems/aws-sdk-resourcegroups/lib/aws-sdk-resourcegroups/types.rb', line 481

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

#tagsHash<String,String>

The tags to add to the specified resource. A tag is a string-to-string map of key-value pairs. Tag keys can have a maximum character length of 127 characters, and tag values can have a maximum length of 255 characters.

Returns:

  • (Hash<String,String>)


481
482
483
484
485
# File 'gems/aws-sdk-resourcegroups/lib/aws-sdk-resourcegroups/types.rb', line 481

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