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

Class: Aws::Route53::Types::Tag

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

Overview

Note:

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

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

A complex type that contains information about a tag that you want to add or edit for the specified health check or hosted zone.

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The value of Key depends on the operation that you want to perform:

  • Add a tag to a health check or hosted zone: Key is the name that you want to give the new tag.

  • Edit a tag: Key is the name of the tag that you want to change the Value for.

  • Delete a key: Key is the name of the tag you want to remove.

  • Give a name to a health check: Edit the default Name tag. In the Amazon Route 53 console, the list of your health checks includes a Name column that lets you see the name that you've given to each health check.

Returns:

  • (String)


4664
4665
4666
4667
4668
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 4664

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

#valueString

The value of Value depends on the operation that you want to perform:

  • Add a tag to a health check or hosted zone: Value is the value that you want to give the new tag.

  • Edit a tag: Value is the new value that you want to assign the tag.

Returns:

  • (String)


4664
4665
4666
4667
4668
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 4664

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