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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-elasticache/types.rb

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 15 node groups numbered 0001 to 0015.

Returns:

  • (String)


4442
4443
4444
4445
4446
4447
4448
4449
# File 'lib/aws-sdk-elasticache/types.rb', line 4442

class NodeGroup < Struct.new(
  :node_group_id,
  :status,
  :primary_endpoint,
  :slots,
  :node_group_members)
  include Aws::Structure
end

#node_group_membersArray<Types::NodeGroupMember>

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

Returns:



4442
4443
4444
4445
4446
4447
4448
4449
# File 'lib/aws-sdk-elasticache/types.rb', line 4442

class NodeGroup < Struct.new(
  :node_group_id,
  :status,
  :primary_endpoint,
  :slots,
  :node_group_members)
  include Aws::Structure
end

#primary_endpointTypes::Endpoint

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

Returns:



4442
4443
4444
4445
4446
4447
4448
4449
# File 'lib/aws-sdk-elasticache/types.rb', line 4442

class NodeGroup < Struct.new(
  :node_group_id,
  :status,
  :primary_endpoint,
  :slots,
  :node_group_members)
  include Aws::Structure
end

#slotsString

The keyspace for this node group (shard).

Returns:

  • (String)


4442
4443
4444
4445
4446
4447
4448
4449
# File 'lib/aws-sdk-elasticache/types.rb', line 4442

class NodeGroup < Struct.new(
  :node_group_id,
  :status,
  :primary_endpoint,
  :slots,
  :node_group_members)
  include Aws::Structure
end

#statusString

The current state of this replication group - ‘creating`, `available`, etc.

Returns:

  • (String)


4442
4443
4444
4445
4446
4447
4448
4449
# File 'lib/aws-sdk-elasticache/types.rb', line 4442

class NodeGroup < Struct.new(
  :node_group_id,
  :status,
  :primary_endpoint,
  :slots,
  :node_group_members)
  include Aws::Structure
end