amazonka-rds-2.0: Amazon Relational Database Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

  • dbClusterArn :: Maybe Text

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

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

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

  • readers :: Maybe [Text]

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

Instances

Instances details
FromXML 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 #

Read GlobalClusterMember Source # 
Instance details

Defined in Amazonka.RDS.Types.GlobalClusterMember

Show GlobalClusterMember Source # 
Instance details

Defined in Amazonka.RDS.Types.GlobalClusterMember

NFData GlobalClusterMember Source # 
Instance details

Defined in Amazonka.RDS.Types.GlobalClusterMember

Methods

rnf :: GlobalClusterMember -> () #

Eq GlobalClusterMember Source # 
Instance details

Defined in Amazonka.RDS.Types.GlobalClusterMember

Hashable 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" "amazonka-rds-2.0-3xXyiLHmAvvCXXUIx1uhpP" 'False) (C1 ('MetaCons "GlobalClusterMember'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dbClusterArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "globalWriteForwardingStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WriteForwardingStatus))) :*: (S1 ('MetaSel ('Just "isWriter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "readers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))

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:dbClusterArn:GlobalClusterMember', globalClusterMember_dbClusterArn - The Amazon Resource Name (ARN) for each Aurora cluster.

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

$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:readers:GlobalClusterMember', globalClusterMember_readers - 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_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.

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_readers :: Lens' GlobalClusterMember (Maybe [Text]) Source #

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