amazonka-elasticache-2.0: Amazon ElastiCache 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.ElastiCache.Types.NodeGroup

Description

 
Synopsis

Documentation

data NodeGroup Source #

Represents a collection of cache nodes in a replication group. One node in the node group is the read/write primary node. All the other nodes are read-only Replica nodes.

See: newNodeGroup smart constructor.

Constructors

NodeGroup' 

Fields

  • nodeGroupId :: Maybe Text

    The identifier for the node group (shard). A Redis (cluster mode disabled) replication group contains only 1 node group; therefore, the node group ID is 0001. A Redis (cluster mode enabled) replication group contains 1 to 90 node groups numbered 0001 to 0090. Optionally, the user can provide the id for a node group.

  • nodeGroupMembers :: Maybe [NodeGroupMember]

    A list containing information about individual nodes within the node group (shard).

  • primaryEndpoint :: Maybe Endpoint

    The endpoint of the primary node in this node group (shard).

  • readerEndpoint :: Maybe Endpoint

    The endpoint of the replica nodes in this node group (shard).

  • slots :: Maybe Text

    The keyspace for this node group (shard).

  • status :: Maybe Text

    The current state of this replication group - creating, available, modifying, deleting.

Instances

Instances details
FromXML NodeGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.NodeGroup

Generic NodeGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.NodeGroup

Associated Types

type Rep NodeGroup :: Type -> Type #

Read NodeGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.NodeGroup

Show NodeGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.NodeGroup

NFData NodeGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.NodeGroup

Methods

rnf :: NodeGroup -> () #

Eq NodeGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.NodeGroup

Hashable NodeGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.NodeGroup

type Rep NodeGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.NodeGroup

type Rep NodeGroup = D1 ('MetaData "NodeGroup" "Amazonka.ElastiCache.Types.NodeGroup" "amazonka-elasticache-2.0-DTWyHgx8JwY7IlNovngF22" 'False) (C1 ('MetaCons "NodeGroup'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nodeGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "nodeGroupMembers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [NodeGroupMember])) :*: S1 ('MetaSel ('Just "primaryEndpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Endpoint)))) :*: (S1 ('MetaSel ('Just "readerEndpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Endpoint)) :*: (S1 ('MetaSel ('Just "slots") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newNodeGroup :: NodeGroup Source #

Create a value of NodeGroup 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:nodeGroupId:NodeGroup', nodeGroup_nodeGroupId - The identifier for the node group (shard). A Redis (cluster mode disabled) replication group contains only 1 node group; therefore, the node group ID is 0001. A Redis (cluster mode enabled) replication group contains 1 to 90 node groups numbered 0001 to 0090. Optionally, the user can provide the id for a node group.

$sel:nodeGroupMembers:NodeGroup', nodeGroup_nodeGroupMembers - A list containing information about individual nodes within the node group (shard).

$sel:primaryEndpoint:NodeGroup', nodeGroup_primaryEndpoint - The endpoint of the primary node in this node group (shard).

$sel:readerEndpoint:NodeGroup', nodeGroup_readerEndpoint - The endpoint of the replica nodes in this node group (shard).

$sel:slots:NodeGroup', nodeGroup_slots - The keyspace for this node group (shard).

$sel:status:NodeGroup', nodeGroup_status - The current state of this replication group - creating, available, modifying, deleting.

nodeGroup_nodeGroupId :: Lens' NodeGroup (Maybe Text) Source #

The identifier for the node group (shard). A Redis (cluster mode disabled) replication group contains only 1 node group; therefore, the node group ID is 0001. A Redis (cluster mode enabled) replication group contains 1 to 90 node groups numbered 0001 to 0090. Optionally, the user can provide the id for a node group.

nodeGroup_nodeGroupMembers :: Lens' NodeGroup (Maybe [NodeGroupMember]) Source #

A list containing information about individual nodes within the node group (shard).

nodeGroup_primaryEndpoint :: Lens' NodeGroup (Maybe Endpoint) Source #

The endpoint of the primary node in this node group (shard).

nodeGroup_readerEndpoint :: Lens' NodeGroup (Maybe Endpoint) Source #

The endpoint of the replica nodes in this node group (shard).

nodeGroup_slots :: Lens' NodeGroup (Maybe Text) Source #

The keyspace for this node group (shard).

nodeGroup_status :: Lens' NodeGroup (Maybe Text) Source #

The current state of this replication group - creating, available, modifying, deleting.