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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing NodeGroupConfiguration as input to an Aws::Client method, you can use a vanilla 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.

Returned by:

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)

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

#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>)

    A list of Availability Zones to be used for the read replicas.

#replica_countInteger

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

Returns:

  • (Integer)

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

#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)

    A string that specifies the keyspace for a particular node group.