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.ClusterIamRole

Description

 
Synopsis

Documentation

data ClusterIamRole Source #

An Identity and Access Management (IAM) role that can be used by the associated Amazon Redshift cluster to access other Amazon Web Services services.

See: newClusterIamRole smart constructor.

Constructors

ClusterIamRole' 

Fields

  • iamRoleArn :: Maybe Text

    The Amazon Resource Name (ARN) of the IAM role, for example, arn:aws:iam::123456789012:role/RedshiftCopyUnload.

  • applyStatus :: Maybe Text

    A value that describes the status of the IAM role's association with an Amazon Redshift cluster.

    The following are possible statuses and descriptions.

    • in-sync: The role is available for use by the cluster.
    • adding: The role is in the process of being associated with the cluster.
    • removing: The role is in the process of being disassociated with the cluster.

Instances

Instances details
Eq ClusterIamRole Source # 
Instance details

Defined in Amazonka.Redshift.Types.ClusterIamRole

Read ClusterIamRole Source # 
Instance details

Defined in Amazonka.Redshift.Types.ClusterIamRole

Show ClusterIamRole Source # 
Instance details

Defined in Amazonka.Redshift.Types.ClusterIamRole

Generic ClusterIamRole Source # 
Instance details

Defined in Amazonka.Redshift.Types.ClusterIamRole

Associated Types

type Rep ClusterIamRole :: Type -> Type #

NFData ClusterIamRole Source # 
Instance details

Defined in Amazonka.Redshift.Types.ClusterIamRole

Methods

rnf :: ClusterIamRole -> () #

Hashable ClusterIamRole Source # 
Instance details

Defined in Amazonka.Redshift.Types.ClusterIamRole

FromXML ClusterIamRole Source # 
Instance details

Defined in Amazonka.Redshift.Types.ClusterIamRole

type Rep ClusterIamRole Source # 
Instance details

Defined in Amazonka.Redshift.Types.ClusterIamRole

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

newClusterIamRole :: ClusterIamRole Source #

Create a value of ClusterIamRole 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:iamRoleArn:ClusterIamRole', clusterIamRole_iamRoleArn - The Amazon Resource Name (ARN) of the IAM role, for example, arn:aws:iam::123456789012:role/RedshiftCopyUnload.

$sel:applyStatus:ClusterIamRole', clusterIamRole_applyStatus - A value that describes the status of the IAM role's association with an Amazon Redshift cluster.

The following are possible statuses and descriptions.

  • in-sync: The role is available for use by the cluster.
  • adding: The role is in the process of being associated with the cluster.
  • removing: The role is in the process of being disassociated with the cluster.

clusterIamRole_iamRoleArn :: Lens' ClusterIamRole (Maybe Text) Source #

The Amazon Resource Name (ARN) of the IAM role, for example, arn:aws:iam::123456789012:role/RedshiftCopyUnload.

clusterIamRole_applyStatus :: Lens' ClusterIamRole (Maybe Text) Source #

A value that describes the status of the IAM role's association with an Amazon Redshift cluster.

The following are possible statuses and descriptions.

  • in-sync: The role is available for use by the cluster.
  • adding: The role is in the process of being associated with the cluster.
  • removing: The role is in the process of being disassociated with the cluster.