You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Lightsail::Types::Tag
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lightsail::Types::Tag
- Defined in:
- (unknown)
Overview
Note:
When passing Tag as input to an Aws::Client method, you can use a vanilla Hash:
{
key: "TagKey",
value: "TagValue",
}
Describes a tag key and optional value assigned to an Amazon Lightsail resource.
For more information about tags in Lightsail, see the Lightsail Dev Guide.
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 accept a maximum of 128 letters, numbers, spaces in UTF-8, or the following characters: + - = . _ : / @
#value ⇒ String
The value of the tag.
Constraints: Tag values accept a maximum of 256 letters, numbers, spaces in UTF-8, or the following characters: + - = . _ : / @