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

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
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 Amazon Web Services resources. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment. In Amazon Web Services Systems Manager, you can apply tags to Systems Manager documents (SSM documents), managed instances, maintenance windows, parameters, patch baselines, OpsItems, and OpsMetadata.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The name of the tag.

Returns:

  • (String)

19250
19251
19252
19253
19254
19255
# File 'lib/aws-sdk-ssm/types.rb', line 19250

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

#valueString

The value of the tag.

Returns:

  • (String)

19250
19251
19252
19253
19254
19255
# File 'lib/aws-sdk-ssm/types.rb', line 19250

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