libZSservicesZSamazonka-elasticacheZSamazonka-elasticache
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.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

  • status :: Maybe Text

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

  • primaryEndpoint :: Maybe Endpoint

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

  • slots :: Maybe Text

    The keyspace for this node group (shard).

  • nodeGroupMembers :: Maybe [NodeGroupMember]

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

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

  • readerEndpoint :: Maybe Endpoint

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

Instances

Instances details
Eq NodeGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.NodeGroup

Read NodeGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.NodeGroup

Show 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 #

NFData NodeGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.NodeGroup

Methods

rnf :: NodeGroup -> () #

Hashable NodeGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.NodeGroup

FromXML 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" "libZSservicesZSamazonka-elasticacheZSamazonka-elasticache" 'False) (C1 ('MetaCons "NodeGroup'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "primaryEndpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Endpoint)) :*: S1 ('MetaSel ('Just "slots") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "nodeGroupMembers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [NodeGroupMember])) :*: (S1 ('MetaSel ('Just "nodeGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "readerEndpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Endpoint))))))

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:status:NodeGroup', nodeGroup_status - The current state of this replication group - creating, available, modifying, deleting.

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

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

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

$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:readerEndpoint:NodeGroup', nodeGroup_readerEndpoint - The endpoint of the replica nodes in this node group (shard).

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

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

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

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

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

The keyspace for this node group (shard).

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

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

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_readerEndpoint :: Lens' NodeGroup (Maybe Endpoint) Source #

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