Class: Aws::ServiceDiscovery::Types::Tag
- Inherits:
-
Struct
- Object
- Struct
- Aws::ServiceDiscovery::Types::Tag
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-servicediscovery/types.rb
Overview
Note:
When making an API call, you may pass Tag data as a hash:
{
key: "TagKey", # required
value: "TagValue", # required
}
A custom key-value pair associated with a resource.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#key ⇒ String
The key identifier, or name, of the tag.
-
#value ⇒ String
The string value associated with the key of the tag.
Instance Attribute Details
#key ⇒ String
The key identifier, or name, of the tag.
3144 3145 3146 3147 3148 3149 |
# File 'lib/aws-sdk-servicediscovery/types.rb', line 3144 class Tag < Struct.new( :key, :value) SENSITIVE = [] include Aws::Structure end |
#value ⇒ String
The string value associated with the key of the tag. You can set the value of a tag to an empty string, but you can’t set the value of a tag to null.
3144 3145 3146 3147 3148 3149 |
# File 'lib/aws-sdk-servicediscovery/types.rb', line 3144 class Tag < Struct.new( :key, :value) SENSITIVE = [] include Aws::Structure end |