Class: Aws::ElasticsearchService::Types::Tag

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

Overview

Note:

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

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

Specifies a key value pair for a resource tag.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

Specifies the `TagKey`, the name of the tag. Tag keys must be unique for the Elasticsearch domain to which they are attached.

Returns:

  • (String)

4151
4152
4153
4154
4155
4156
# File 'lib/aws-sdk-elasticsearchservice/types.rb', line 4151

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

#valueString

Specifies the `TagValue`, the value assigned to the corresponding tag key. Tag values can be null and do not have to be unique in a tag set. For example, you can have a key value pair in a tag set of `project : Trinity` and `cost-center : Trinity`

Returns:

  • (String)

4151
4152
4153
4154
4155
4156
# File 'lib/aws-sdk-elasticsearchservice/types.rb', line 4151

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