libZSservicesZSamazonka-docdbZSamazonka-docdb
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.DocumentDB.Types.DBClusterRole

Description

 
Synopsis

Documentation

data DBClusterRole Source #

Describes an Identity and Access Management (IAM) role that is associated with a cluster.

See: newDBClusterRole smart constructor.

Constructors

DBClusterRole' 

Fields

  • status :: Maybe Text

    Describes the state of association between the IAMrole and the cluster. The Status property returns one of the following values:

    • ACTIVE - The IAMrole ARN is associated with the cluster and can be used to access other Amazon Web Services services on your behalf.
    • PENDING - The IAMrole ARN is being associated with the cluster.
    • INVALID - The IAMrole ARN is associated with the cluster, but the cluster cannot assume the IAMrole to access other Amazon Web Services services on your behalf.
  • roleArn :: Maybe Text

    The Amazon Resource Name (ARN) of the IAMrole that is associated with the DB cluster.

Instances

Instances details
Eq DBClusterRole Source # 
Instance details

Defined in Amazonka.DocumentDB.Types.DBClusterRole

Read DBClusterRole Source # 
Instance details

Defined in Amazonka.DocumentDB.Types.DBClusterRole

Show DBClusterRole Source # 
Instance details

Defined in Amazonka.DocumentDB.Types.DBClusterRole

Generic DBClusterRole Source # 
Instance details

Defined in Amazonka.DocumentDB.Types.DBClusterRole

Associated Types

type Rep DBClusterRole :: Type -> Type #

NFData DBClusterRole Source # 
Instance details

Defined in Amazonka.DocumentDB.Types.DBClusterRole

Methods

rnf :: DBClusterRole -> () #

Hashable DBClusterRole Source # 
Instance details

Defined in Amazonka.DocumentDB.Types.DBClusterRole

FromXML DBClusterRole Source # 
Instance details

Defined in Amazonka.DocumentDB.Types.DBClusterRole

type Rep DBClusterRole Source # 
Instance details

Defined in Amazonka.DocumentDB.Types.DBClusterRole

type Rep DBClusterRole = D1 ('MetaData "DBClusterRole" "Amazonka.DocumentDB.Types.DBClusterRole" "libZSservicesZSamazonka-docdbZSamazonka-docdb" 'False) (C1 ('MetaCons "DBClusterRole'" 'PrefixI 'True) (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newDBClusterRole :: DBClusterRole Source #

Create a value of DBClusterRole 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:status:DBClusterRole', dbClusterRole_status - Describes the state of association between the IAMrole and the cluster. The Status property returns one of the following values:

  • ACTIVE - The IAMrole ARN is associated with the cluster and can be used to access other Amazon Web Services services on your behalf.
  • PENDING - The IAMrole ARN is being associated with the cluster.
  • INVALID - The IAMrole ARN is associated with the cluster, but the cluster cannot assume the IAMrole to access other Amazon Web Services services on your behalf.

$sel:roleArn:DBClusterRole', dbClusterRole_roleArn - The Amazon Resource Name (ARN) of the IAMrole that is associated with the DB cluster.

dbClusterRole_status :: Lens' DBClusterRole (Maybe Text) Source #

Describes the state of association between the IAMrole and the cluster. The Status property returns one of the following values:

  • ACTIVE - The IAMrole ARN is associated with the cluster and can be used to access other Amazon Web Services services on your behalf.
  • PENDING - The IAMrole ARN is being associated with the cluster.
  • INVALID - The IAMrole ARN is associated with the cluster, but the cluster cannot assume the IAMrole to access other Amazon Web Services services on your behalf.

dbClusterRole_roleArn :: Lens' DBClusterRole (Maybe Text) Source #

The Amazon Resource Name (ARN) of the IAMrole that is associated with the DB cluster.