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

Class: Aws::ElastiCache::Types::NodeGroupConfiguration

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

Overview

Note:

When making an API call, you may pass NodeGroupConfiguration data as a hash:

{
  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

Instance Attribute Details

#primary_availability_zoneString

The Availability Zone where the primary node of this node group (shard) is launched.

Returns:

  • (String)


4224
4225
4226
4227
4228
4229
4230
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 4224

class NodeGroupConfiguration < Struct.new(
  :slots,
  :replica_count,
  :primary_availability_zone,
  :replica_availability_zones)
  include Aws::Structure
end

#replica_availability_zonesArray<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.

Returns:

  • (Array<String>)


4224
4225
4226
4227
4228
4229
4230
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 4224

class NodeGroupConfiguration < Struct.new(
  :slots,
  :replica_count,
  :primary_availability_zone,
  :replica_availability_zones)
  include Aws::Structure
end

#replica_countInteger

The number of read replica nodes in this node group (shard).

Returns:

  • (Integer)


4224
4225
4226
4227
4228
4229
4230
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 4224

class NodeGroupConfiguration < Struct.new(
  :slots,
  :replica_count,
  :primary_availability_zone,
  :replica_availability_zones)
  include Aws::Structure
end

#slotsString

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"

Returns:

  • (String)


4224
4225
4226
4227
4228
4229
4230
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 4224

class NodeGroupConfiguration < Struct.new(
  :slots,
  :replica_count,
  :primary_availability_zone,
  :replica_availability_zones)
  include Aws::Structure
end