libZSservicesZSamazonka-redshiftZSamazonka-redshift
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Redshift.Types.TaggedResource

Description

 
Synopsis

Documentation

data TaggedResource Source #

A tag and its associated resource.

See: newTaggedResource smart constructor.

Constructors

TaggedResource' 

Fields

  • tag :: Maybe Tag

    The tag for the resource.

  • resourceType :: Maybe Text

    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.

  • resourceName :: Maybe Text

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

Instances

Instances details
Eq TaggedResource Source # 
Instance details

Defined in Amazonka.Redshift.Types.TaggedResource

Read TaggedResource Source # 
Instance details

Defined in Amazonka.Redshift.Types.TaggedResource

Show TaggedResource Source # 
Instance details

Defined in Amazonka.Redshift.Types.TaggedResource

Generic TaggedResource Source # 
Instance details

Defined in Amazonka.Redshift.Types.TaggedResource

Associated Types

type Rep TaggedResource :: Type -> Type #

NFData TaggedResource Source # 
Instance details

Defined in Amazonka.Redshift.Types.TaggedResource

Methods

rnf :: TaggedResource -> () #

Hashable TaggedResource Source # 
Instance details

Defined in Amazonka.Redshift.Types.TaggedResource

FromXML TaggedResource Source # 
Instance details

Defined in Amazonka.Redshift.Types.TaggedResource

type Rep TaggedResource Source # 
Instance details

Defined in Amazonka.Redshift.Types.TaggedResource

type Rep TaggedResource = D1 ('MetaData "TaggedResource" "Amazonka.Redshift.Types.TaggedResource" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "TaggedResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tag") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Tag)) :*: (S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newTaggedResource :: TaggedResource Source #

Create a value of TaggedResource with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:tag:TaggedResource', taggedResource_tag - The tag for the resource.

$sel:resourceType:TaggedResource', taggedResource_resourceType - 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.

$sel:resourceName:TaggedResource', taggedResource_resourceName - The Amazon Resource Name (ARN) with which the tag is associated, for example: arn:aws:redshift:us-east-2:123456789:cluster:t1.

taggedResource_tag :: Lens' TaggedResource (Maybe Tag) Source #

The tag for the resource.

taggedResource_resourceType :: Lens' TaggedResource (Maybe Text) Source #

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.

taggedResource_resourceName :: Lens' TaggedResource (Maybe Text) Source #

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