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

Class: Aws::Redshift::Types::Tag

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

Overview

Note:

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

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

A tag consisting of a name/value pair for a resource.

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The key, or name, for the resource tag.

Returns:

  • (String)


6571
6572
6573
6574
6575
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 6571

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

#valueString

The value for the resource tag.

Returns:

  • (String)


6571
6572
6573
6574
6575
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 6571

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