Class: Aws::Lightsail::Types::Tag
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lightsail::Types::Tag
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-lightsail/types.rb
Overview
Note:
When making an API call, you may pass Tag data as a 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].
[1]: lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags
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: + - = . _ : / @
7127 7128 7129 7130 7131 |
# File 'lib/aws-sdk-lightsail/types.rb', line 7127 class Tag < Struct.new( :key, :value) include Aws::Structure end |
#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: + - = . _ : / @
7127 7128 7129 7130 7131 |
# File 'lib/aws-sdk-lightsail/types.rb', line 7127 class Tag < Struct.new( :key, :value) include Aws::Structure end |