Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

Amazon ElastiCache ReplicationGroup NodeGroupConfiguration

NodeGroupConfiguration is a property of the AWS::ElastiCache::ReplicationGroup resource that configures an Amazon ElastiCache (ElastiCache) Redis cluster node group.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

Copy
{ "PrimaryAvailabilityZone" : String, "ReplicaAvailabilityZones" : [ String, ... ], "ReplicaCount" : Integer, "Slots" : String }

YAML

Copy
PrimaryAvailabilityZone: String ReplicaAvailabilityZones: - String ReplicaCount: Integer Slots: String

Properties

PrimaryAvailabilityZone

The Availability Zone where ElastiCache launches the node group's primary node.

Required: No

Type: String

ReplicaAvailabilityZones

A list of Availability Zones where ElastiCache launches the read replicas. The number of Availability Zones must match the value of the ReplicaCount property or, if you don't specify the ReplicaCount property, the replication group's ReplicasPerNodeGroup property.

Required: No

Type: List of strings

ReplicaCount

The number of read replica nodes in the node group.

Required: No

Type: Integer

Slots

A string of comma-separated values where the first set of values are the slot numbers (zero based), and the second set of values are the keyspaces for each slot. The following example specifies three slots (numbered 0, 1, and 2): 0,1,2,0-4999,5000-9999,10000-16,383.

If you don't specify a value, ElastiCache allocates keys equally among each slot.

Required: No

Type: String