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

Class: Aws::SSM::Types::Tag

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

Overview

Note:

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

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

Metadata that you assign to your managed instances. Tags enable you to categorize your managed instances in different ways, for example, by purpose, owner, or environment.

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The name of the tag.

Returns:

  • (String)


9047
9048
9049
9050
9051
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 9047

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

#valueString

The value of the tag.

Returns:

  • (String)


9047
9048
9049
9050
9051
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 9047

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