ConfigureShard class
Node group (shard) configuration options when adding or removing replicas. Each node group (shard) configuration has the following members: NodeGroupId, NewReplicaCount, and PreferredAvailabilityZones.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- newReplicaCount → int
-
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.final - nodeGroupId → String
-
The 4-digit id for the node group you are configuring. For Redis (cluster
mode disabled) replication groups, the node group id is always 0001. To find
a Redis (cluster mode enabled)'s node group's (shard's) id, see Finding
a Shard's Id.
final
-
preferredAvailabilityZones
→ List<
String> ? -
A list of
PreferredAvailabilityZone
strings that specify which availability zones the replication group's nodes are to be in. The nummber ofPreferredAvailabilityZone
values must equal the value ofNewReplicaCount
plus 1 to account for the primary node. If this member ofReplicaConfiguration
is omitted, ElastiCache for Redis selects the availability zone for each of the replicas.final -
preferredOutpostArns
→ List<
String> ? -
The outpost ARNs in which the cache cluster is created.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited