| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ElastiCache.Types.NodeGroup
Description
Synopsis
- data NodeGroup = NodeGroup' {}
- newNodeGroup :: NodeGroup
- nodeGroup_nodeGroupId :: Lens' NodeGroup (Maybe Text)
- nodeGroup_nodeGroupMembers :: Lens' NodeGroup (Maybe [NodeGroupMember])
- nodeGroup_primaryEndpoint :: Lens' NodeGroup (Maybe Endpoint)
- nodeGroup_readerEndpoint :: Lens' NodeGroup (Maybe Endpoint)
- nodeGroup_slots :: Lens' NodeGroup (Maybe Text)
- nodeGroup_status :: Lens' NodeGroup (Maybe Text)
Documentation
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
| |
Instances
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).