Class: Aws::Lightsail::Types::Tag

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-lightsail/types.rb

Overview

Describes a tag key and optional value assigned to an Amazon Lightsail resource.

For more information about tags in Lightsail, see the [Amazon Lightsail Developer Guide].

[1]: lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-tags

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The key of the tag.

Constraints: Tag keys accept a maximum of 128 letters, numbers, spaces in UTF-8, or the following characters: + - = . _ : / @

Returns:

  • (String)


14125
14126
14127
14128
14129
14130
# File 'lib/aws-sdk-lightsail/types.rb', line 14125

class Tag < Struct.new(
  :key,
  :value)
  SENSITIVE = []
  include Aws::Structure
end

#valueString

The value of the tag.

Constraints: Tag values accept a maximum of 256 letters, numbers, spaces in UTF-8, or the following characters: + - = . _ : / @

Returns:

  • (String)


14125
14126
14127
14128
14129
14130
# File 'lib/aws-sdk-lightsail/types.rb', line 14125

class Tag < Struct.new(
  :key,
  :value)
  SENSITIVE = []
  include Aws::Structure
end