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

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.

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)


4176
4177
4178
4179
4180
4181
4182
4183
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 4176

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:



4176
4177
4178
4179
4180
4181
4182
4183
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 4176

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:



4176
4177
4178
4179
4180
4181
4182
4183
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 4176

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)


4176
4177
4178
4179
4180
4181
4182
4183
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 4176

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)


4176
4177
4178
4179
4180
4181
4182
4183
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 4176

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