You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::ElastiCache::Types::NodeGroup

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

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.

Instance Attribute Summary collapse

Instance Attribute Details

#node_group_idString

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.

Returns:

  • (String)

    The identifier for the node group (shard).

#node_group_membersArray<Types::NodeGroupMember>

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

Returns:

  • (Array<Types::NodeGroupMember>)

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

#primary_endpointTypes::Endpoint

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

Returns:

  • (Types::Endpoint)

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

#reader_endpointTypes::Endpoint

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

Returns:

  • (Types::Endpoint)

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

#slotsString

The keyspace for this node group (shard).

Returns:

  • (String)

    The keyspace for this node group (shard).

#statusString

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

Returns:

  • (String)

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