Class: Aws::ElasticsearchService::Types::Tag
- Inherits:
-
Struct
- Object
- Struct
- Aws::ElasticsearchService::Types::Tag
- 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
-
#key ⇒ String
Specifies the `TagKey`, the name of the tag.
-
#value ⇒ String
Specifies the `TagValue`, the value assigned to the corresponding tag key.
Instance Attribute Details
#key ⇒ String
Specifies the `TagKey`, the name of the tag. Tag keys must be unique for the Elasticsearch domain to which they are attached.
4340 4341 4342 4343 4344 4345 |
# File 'lib/aws-sdk-elasticsearchservice/types.rb', line 4340 class Tag < Struct.new( :key, :value) SENSITIVE = [] include Aws::Structure end |
#value ⇒ String
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`
4340 4341 4342 4343 4344 4345 |
# File 'lib/aws-sdk-elasticsearchservice/types.rb', line 4340 class Tag < Struct.new( :key, :value) SENSITIVE = [] include Aws::Structure end |