Class: Aws::AppMesh::Types::TagRef
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppMesh::Types::TagRef
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-appmesh/types.rb
Overview
Note:
When making an API call, you may pass TagRef data as a hash:
{
key: "TagKey", # required
value: "TagValue",
}
Optional metadata that you apply to a resource to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
Instance Attribute Summary collapse
-
#key ⇒ String
One part of a key-value pair that make up a tag.
-
#value ⇒ String
The optional part of a key-value pair that make up a tag.
Instance Attribute Details
#key ⇒ String
One part of a key-value pair that make up a tag. A ‘key` is a general label that acts like a category for more specific tag values.
2101 2102 2103 2104 2105 |
# File 'lib/aws-sdk-appmesh/types.rb', line 2101 class TagRef < Struct.new( :key, :value) include Aws::Structure end |
#value ⇒ String
The optional part of a key-value pair that make up a tag. A ‘value` acts as a descriptor within a tag category (key).
2101 2102 2103 2104 2105 |
# File 'lib/aws-sdk-appmesh/types.rb', line 2101 class TagRef < Struct.new( :key, :value) include Aws::Structure end |