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:

{
  node_group_id: "AllowedNodeGroupId",
  slots: "String",
  replica_count: 1,
  primary_availability_zone: "String",
  replica_availability_zones: ["String"],
  primary_outpost_arn: "String",
  replica_outpost_arns: ["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

#node_group_idString

Either the ElastiCache for Redis supplied 4-digit id or a user supplied id for the node group these configuration values apply to.

Returns:

  • (String)

    Either the ElastiCache for Redis supplied 4-digit id or a user supplied id for the node group these configuration values apply to.

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

#primary_outpost_arnString

The output ARN of the primary node.

Returns:

  • (String)

    The output ARN of the primary node.

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

#replica_outpost_arnsArray<String>

The outpost ARN of the node replicas.

Returns:

  • (Array<String>)

    The outpost ARN of the node replicas.

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