Class: Aws::S3::Types::Tag

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

Overview

Note:

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

{
  key: "ObjectKey", # required
  value: "Value", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

Name of the tag.

Returns:

  • (String)


9538
9539
9540
9541
9542
# File 'lib/aws-sdk-s3/types.rb', line 9538

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

#valueString

Value of the tag.

Returns:

  • (String)


9538
9539
9540
9541
9542
# File 'lib/aws-sdk-s3/types.rb', line 9538

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