You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::EC2::Types::Tag
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::Tag
- Defined in:
- (unknown)
Overview
Note:
When passing Tag as input to an Aws::Client method, you can use a vanilla Hash:
{
key: "String",
value: "String",
}
Describes a tag.
Instance Attribute Summary collapse
-
#key ⇒ String
The key of the tag.
-
#value ⇒ String
The value of the tag.
Instance Attribute Details
#key ⇒ String
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127
Unicode characters. May not begin with aws:
.
#value ⇒ String
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 255 Unicode characters.