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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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.

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The key of the tag.

Returns:

  • (String)


1489
1490
1491
1492
1493
# File 'lib/aws-sdk-workspaces/types.rb', line 1489

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

#valueString

The value of the tag.

Returns:

  • (String)


1489
1490
1491
1492
1493
# File 'lib/aws-sdk-workspaces/types.rb', line 1489

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