Class: Aws::DLM::Types::Tag

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-dlm/types.rb

Overview

Note:

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

{
  key: "String", # required
  value: "String", # required
}

Specifies a tag for a resource.

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The tag key.

Returns:

  • (String)


447
448
449
450
451
# File 'lib/aws-sdk-dlm/types.rb', line 447

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

#valueString

The tag value.

Returns:

  • (String)


447
448
449
450
451
# File 'lib/aws-sdk-dlm/types.rb', line 447

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