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

Class: Aws::CloudHSMV2::Types::Tag

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

Overview

Note:

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

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

Contains a tag. A tag is a key-value pair.

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The key of the tag.

Returns:

  • (String)


631
632
633
634
635
# File 'gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/types.rb', line 631

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

#valueString

The value of the tag.

Returns:

  • (String)


631
632
633
634
635
# File 'gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/types.rb', line 631

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