Class: Aws::ECR::Types::Tag
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECR::Types::Tag
- Defined in:
- gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb
Overview
Note:
When making an API call, you may pass Tag data as a hash:
{
key: "TagKey",
value: "TagValue",
}
The metadata that you apply to a resource to help you categorize and organize them. 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.
Constant Summary collapse
- SENSITIVE =
[]
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.
3003 3004 3005 3006 3007 3008 |
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 3003 class Tag < Struct.new( :key, :value) SENSITIVE = [] 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).
3003 3004 3005 3006 3007 3008 |
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 3003 class Tag < Struct.new( :key, :value) SENSITIVE = [] include Aws::Structure end |