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 Valkey or Redis OSS (cluster mode disabled) replication group contains only 1 node group; therefore, the node group ID is 0001. A Valkey or Redis OSS (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)


6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 6912

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:



6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 6912

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:



6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 6912

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). This value is read-only.

Returns:



6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 6912

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)


6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 6912

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)


6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 6912

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