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

Class: Aws::Redshift::Types::TaggedResource

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

Overview

A tag and its associated resource.

Instance Attribute Summary collapse

Instance Attribute Details

#resource_nameString

The Amazon Resource Name (ARN) with which the tag is associated. For example, arn:aws:redshift:us-east-1:123456789:cluster:t1.

Returns:

  • (String)


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

class TaggedResource < Struct.new(
  :tag,
  :resource_name,
  :resource_type)
  include Aws::Structure
end

#resource_typeString

The type of resource with which the tag is associated. Valid resource types are:

  • Cluster

  • CIDR/IP

  • EC2 security group

  • Snapshot

  • Cluster security group

  • Subnet group

  • HSM connection

  • HSM certificate

  • Parameter group

For more information about Amazon Redshift resource types and constructing ARNs, go to Constructing an Amazon Redshift Amazon Resource Name (ARN) in the Amazon Redshift Cluster Management Guide.

Returns:

  • (String)


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

class TaggedResource < Struct.new(
  :tag,
  :resource_name,
  :resource_type)
  include Aws::Structure
end

#tagTypes::Tag

The tag for the resource.

Returns:



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

class TaggedResource < Struct.new(
  :tag,
  :resource_name,
  :resource_type)
  include Aws::Structure
end