Class: Aws::WorkSpaces::Types::Tag

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb

Overview

Note:

When making an API call, you may pass Tag data as a hash:

{
  key: "TagKey", # required
  value: "TagValue",
}

Describes a tag.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The key of the tag.

Returns:

  • (String)


2308
2309
2310
2311
2312
2313
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb', line 2308

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

#valueString

The value of the tag.

Returns:

  • (String)


2308
2309
2310
2311
2312
2313
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb', line 2308

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