newReplicaCount property
The number of replicas you want in this node group at the end of this
operation. The maximum value for NewReplicaCount
is 5. The
minimum value depends upon the type of Redis replication group you are
working with.
The minimum number of replicas in a shard or replication group is:
-
Redis (cluster mode disabled)
- If Multi-AZ: 1
- If Multi-AZ: 0
- Redis (cluster mode enabled): 0 (though you will not be able to failover to a replica if your primary node fails)
Implementation
final int newReplicaCount;