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

Class: Aws::Route53Domains::Types::Tag

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

Overview

Note:

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

{
  key: "TagKey",
  value: "TagValue",
}

Each tag includes the following elements.

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The key (name) of a tag.

Valid values: A-Z, a-z, 0-9, space, ".:/=+\-@"

Constraints: Each key can be 1-128 characters long.

Returns:

  • (String)


1497
1498
1499
1500
1501
# File 'gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb', line 1497

class Tag < Struct.new(
  :key,
  :value)
  include Aws::Structure
end

#valueString

The value of a tag.

Valid values: A-Z, a-z, 0-9, space, ".:/=+\-@"

Constraints: Each value can be 0-256 characters long.

Returns:

  • (String)


1497
1498
1499
1500
1501
# File 'gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb', line 1497

class Tag < Struct.new(
  :key,
  :value)
  include Aws::Structure
end