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

Description

 
Synopsis

Documentation

data GlobalClusterMember Source #

A data structure with information about any primary and secondary clusters associated with an Amazon DocumentDB global clusters.

See: newGlobalClusterMember smart constructor.

Constructors

GlobalClusterMember' 

Fields

  • readers :: Maybe [Text]

    The Amazon Resource Name (ARN) for each read-only secondary cluster associated with the Aurora global cluster.

  • dbClusterArn :: Maybe Text

    The Amazon Resource Name (ARN) for each Amazon DocumentDB cluster.

  • isWriter :: Maybe Bool

    Specifies whether the Amazon DocumentDB cluster is the primary cluster (that is, has read-write capability) for the Amazon DocumentDB global cluster with which it is associated.

Instances

Instances details
Eq GlobalClusterMember Source # 
Instance details

Defined in Amazonka.DocumentDB.Types.GlobalClusterMember

Read GlobalClusterMember Source # 
Instance details

Defined in Amazonka.DocumentDB.Types.GlobalClusterMember

Show GlobalClusterMember Source # 
Instance details

Defined in Amazonka.DocumentDB.Types.GlobalClusterMember

Generic GlobalClusterMember Source # 
Instance details

Defined in Amazonka.DocumentDB.Types.GlobalClusterMember

Associated Types

type Rep GlobalClusterMember :: Type -> Type #

NFData GlobalClusterMember Source # 
Instance details

Defined in Amazonka.DocumentDB.Types.GlobalClusterMember

Methods

rnf :: GlobalClusterMember -> () #

Hashable GlobalClusterMember Source # 
Instance details

Defined in Amazonka.DocumentDB.Types.GlobalClusterMember

FromXML GlobalClusterMember Source # 
Instance details

Defined in Amazonka.DocumentDB.Types.GlobalClusterMember

type Rep GlobalClusterMember Source # 
Instance details

Defined in Amazonka.DocumentDB.Types.GlobalClusterMember

type Rep GlobalClusterMember = D1 ('MetaData "GlobalClusterMember" "Amazonka.DocumentDB.Types.GlobalClusterMember" "libZSservicesZSamazonka-docdbZSamazonka-docdb" 'False) (C1 ('MetaCons "GlobalClusterMember'" 'PrefixI 'True) (S1 ('MetaSel ('Just "readers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "dbClusterArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "isWriter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

newGlobalClusterMember :: GlobalClusterMember Source #

Create a value of GlobalClusterMember 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:readers:GlobalClusterMember', globalClusterMember_readers - The Amazon Resource Name (ARN) for each read-only secondary cluster associated with the Aurora global cluster.

$sel:dbClusterArn:GlobalClusterMember', globalClusterMember_dbClusterArn - The Amazon Resource Name (ARN) for each Amazon DocumentDB cluster.

$sel:isWriter:GlobalClusterMember', globalClusterMember_isWriter - Specifies whether the Amazon DocumentDB cluster is the primary cluster (that is, has read-write capability) for the Amazon DocumentDB global cluster with which it is associated.

globalClusterMember_readers :: Lens' GlobalClusterMember (Maybe [Text]) Source #

The Amazon Resource Name (ARN) for each read-only secondary cluster associated with the Aurora global cluster.

globalClusterMember_dbClusterArn :: Lens' GlobalClusterMember (Maybe Text) Source #

The Amazon Resource Name (ARN) for each Amazon DocumentDB cluster.

globalClusterMember_isWriter :: Lens' GlobalClusterMember (Maybe Bool) Source #

Specifies whether the Amazon DocumentDB cluster is the primary cluster (that is, has read-write capability) for the Amazon DocumentDB global cluster with which it is associated.