You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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 the tag of the WorkSpace.

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The key of the tag.

Returns:

  • (String)


795
796
797
798
799
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb', line 795

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

#valueString

The value of the tag.

Returns:

  • (String)


795
796
797
798
799
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb', line 795

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