DecreaseReplicaCountMessage
¶
Source code in docs_src/capo_elasticache/types/decrease_replica_count_message.py
apply_immediately
instance-attribute
¶
apply_immediately: NotRequired[Boolean]
If True, the number of replica nodes is decreased immediately. ApplyImmediately=False is not currently supported.
new_replica_count
instance-attribute
¶
new_replica_count: NotRequired[IntegerOptional]
The number of read replica nodes you want at the completion of this operation. For Valkey or Redis OSS (cluster mode disabled) replication groups, this is the number of replica nodes in the replication group. For Valkey or Redis OSS (cluster mode enabled) replication groups, this is the number of replica nodes in each of the replication group's node groups.
The minimum number of replicas in a shard or replication group is:
-
Valkey or Redis OSS (cluster mode disabled)
-
If Multi-AZ is enabled: 1
-
If Multi-AZ is not enabled: 0
-
-
Valkey or Redis OSS (cluster mode enabled): 0 (though you will not be able to failover to a replica if your primary node fails)
replica_configuration
instance-attribute
¶
replica_configuration: NotRequired[ReplicaConfigurationList]
A list of ConfigureShard objects that can be used to configure each shard in a Valkey or Redis OSS replication group. The ConfigureShard has three members: NewReplicaCount, NodeGroupId, and PreferredAvailabilityZones.
replicas_to_remove
instance-attribute
¶
replicas_to_remove: NotRequired[RemoveReplicasList]
A list of the node ids to remove from the replication group or node group (shard).