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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-elasticache/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.

Constant Summary collapse

SENSITIVE =
[]

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)


5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 5869

class NodeGroup < Struct.new(
  :node_group_id,
  :status,
  :primary_endpoint,
  :reader_endpoint,
  :slots,
  :node_group_members)
  SENSITIVE = []
  include Aws::Structure
end

#node_group_membersArray<Types::NodeGroupMember>

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

Returns:



5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 5869

class NodeGroup < Struct.new(
  :node_group_id,
  :status,
  :primary_endpoint,
  :reader_endpoint,
  :slots,
  :node_group_members)
  SENSITIVE = []
  include Aws::Structure
end

#primary_endpointTypes::Endpoint

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

Returns:



5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 5869

class NodeGroup < Struct.new(
  :node_group_id,
  :status,
  :primary_endpoint,
  :reader_endpoint,
  :slots,
  :node_group_members)
  SENSITIVE = []
  include Aws::Structure
end

#reader_endpointTypes::Endpoint

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

Returns:



5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 5869

class NodeGroup < Struct.new(
  :node_group_id,
  :status,
  :primary_endpoint,
  :reader_endpoint,
  :slots,
  :node_group_members)
  SENSITIVE = []
  include Aws::Structure
end

#slotsString

The keyspace for this node group (shard).

Returns:

  • (String)


5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 5869

class NodeGroup < Struct.new(
  :node_group_id,
  :status,
  :primary_endpoint,
  :reader_endpoint,
  :slots,
  :node_group_members)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

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

Returns:

  • (String)


5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 5869

class NodeGroup < Struct.new(
  :node_group_id,
  :status,
  :primary_endpoint,
  :reader_endpoint,
  :slots,
  :node_group_members)
  SENSITIVE = []
  include Aws::Structure
end