libZSservicesZSamazonka-rdsZSamazonka-rds
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.RDS.Types.GlobalClusterMember

Description

 
Synopsis

Documentation

data GlobalClusterMember Source #

A data structure with information about any primary and secondary clusters associated with an Aurora global database.

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

  • dbClusterArn :: Maybe Text

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

  • isWriter :: Maybe Bool

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

  • globalWriteForwardingStatus :: Maybe WriteForwardingStatus

    Specifies whether a secondary cluster in an Aurora global database has write forwarding enabled, not enabled, or is in the process of enabling it.

Instances

Instances details
Eq GlobalClusterMember Source # 
Instance details

Defined in Amazonka.RDS.Types.GlobalClusterMember

Read GlobalClusterMember Source # 
Instance details

Defined in Amazonka.RDS.Types.GlobalClusterMember

Show GlobalClusterMember Source # 
Instance details

Defined in Amazonka.RDS.Types.GlobalClusterMember

Generic GlobalClusterMember Source # 
Instance details

Defined in Amazonka.RDS.Types.GlobalClusterMember

Associated Types

type Rep GlobalClusterMember :: Type -> Type #

NFData GlobalClusterMember Source # 
Instance details

Defined in Amazonka.RDS.Types.GlobalClusterMember

Methods

rnf :: GlobalClusterMember -> () #

Hashable GlobalClusterMember Source # 
Instance details

Defined in Amazonka.RDS.Types.GlobalClusterMember

FromXML GlobalClusterMember Source # 
Instance details

Defined in Amazonka.RDS.Types.GlobalClusterMember

type Rep GlobalClusterMember Source # 
Instance details

Defined in Amazonka.RDS.Types.GlobalClusterMember

type Rep GlobalClusterMember = D1 ('MetaData "GlobalClusterMember" "Amazonka.RDS.Types.GlobalClusterMember" "libZSservicesZSamazonka-rdsZSamazonka-rds" '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)) :*: S1 ('MetaSel ('Just "globalWriteForwardingStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WriteForwardingStatus)))))

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

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

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

$sel:globalWriteForwardingStatus:GlobalClusterMember', globalClusterMember_globalWriteForwardingStatus - Specifies whether a secondary cluster in an Aurora global database has write forwarding enabled, not enabled, or is in the process of enabling it.

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

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

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

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

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

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

globalClusterMember_globalWriteForwardingStatus :: Lens' GlobalClusterMember (Maybe WriteForwardingStatus) Source #

Specifies whether a secondary cluster in an Aurora global database has write forwarding enabled, not enabled, or is in the process of enabling it.