Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data NodeGroup = NodeGroup' {}
- newNodeGroup :: NodeGroup
- nodeGroup_status :: Lens' NodeGroup (Maybe Text)
- nodeGroup_primaryEndpoint :: Lens' NodeGroup (Maybe Endpoint)
- nodeGroup_slots :: Lens' NodeGroup (Maybe Text)
- nodeGroup_nodeGroupMembers :: Lens' NodeGroup (Maybe [NodeGroupMember])
- nodeGroup_nodeGroupId :: Lens' NodeGroup (Maybe Text)
- nodeGroup_readerEndpoint :: Lens' NodeGroup (Maybe Endpoint)
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.
NodeGroup' | |
|
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: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_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.