Class: Aws::ElastiCache::Types::NodeGroupConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::ElastiCache::Types::NodeGroupConfiguration
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-elasticache/types.rb
Overview
When making an API call, you may pass NodeGroupConfiguration data as a hash:
{
node_group_id: "AllowedNodeGroupId",
slots: "String",
replica_count: 1,
primary_availability_zone: "String",
replica_availability_zones: ["String"],
}
Node group (shard) configuration options. Each node group (shard) configuration has the following: ‘Slots`, `PrimaryAvailabilityZone`, `ReplicaAvailabilityZones`, `ReplicaCount`.
Instance Attribute Summary collapse
-
#node_group_id ⇒ String
The 4-digit id for the node group these configuration values apply to.
-
#primary_availability_zone ⇒ String
The Availability Zone where the primary node of this node group (shard) is launched.
-
#replica_availability_zones ⇒ Array<String>
A list of Availability Zones to be used for the read replicas.
-
#replica_count ⇒ Integer
The number of read replica nodes in this node group (shard).
-
#slots ⇒ String
A string that specifies the keyspace for a particular node group.
Instance Attribute Details
#node_group_id ⇒ String
The 4-digit id for the node group these configuration values apply to.
4496 4497 4498 4499 4500 4501 4502 4503 |
# File 'lib/aws-sdk-elasticache/types.rb', line 4496 class NodeGroupConfiguration < Struct.new( :node_group_id, :slots, :replica_count, :primary_availability_zone, :replica_availability_zones) include Aws::Structure end |
#primary_availability_zone ⇒ String
The Availability Zone where the primary node of this node group (shard) is launched.
4496 4497 4498 4499 4500 4501 4502 4503 |
# File 'lib/aws-sdk-elasticache/types.rb', line 4496 class NodeGroupConfiguration < Struct.new( :node_group_id, :slots, :replica_count, :primary_availability_zone, :replica_availability_zones) include Aws::Structure end |
#replica_availability_zones ⇒ Array<String>
A list of Availability Zones to be used for the read replicas. The number of Availability Zones in this list must match the value of ‘ReplicaCount` or `ReplicasPerNodeGroup` if not specified.
4496 4497 4498 4499 4500 4501 4502 4503 |
# File 'lib/aws-sdk-elasticache/types.rb', line 4496 class NodeGroupConfiguration < Struct.new( :node_group_id, :slots, :replica_count, :primary_availability_zone, :replica_availability_zones) include Aws::Structure end |
#replica_count ⇒ Integer
The number of read replica nodes in this node group (shard).
4496 4497 4498 4499 4500 4501 4502 4503 |
# File 'lib/aws-sdk-elasticache/types.rb', line 4496 class NodeGroupConfiguration < Struct.new( :node_group_id, :slots, :replica_count, :primary_availability_zone, :replica_availability_zones) include Aws::Structure end |
#slots ⇒ String
A string that specifies the keyspace for a particular node group. Keyspaces range from 0 to 16,383. The string is in the format ‘startkey-endkey`.
Example: ‘“0-3999”`
4496 4497 4498 4499 4500 4501 4502 4503 |
# File 'lib/aws-sdk-elasticache/types.rb', line 4496 class NodeGroupConfiguration < Struct.new( :node_group_id, :slots, :replica_count, :primary_availability_zone, :replica_availability_zones) include Aws::Structure end |