CmdID / aws / aws elasticache
aws elasticache increase-replica-count
Dynamically increases the number of replicas in a Valkey or Redis OSS (cluster mode disabled) replication group or the number of replica nodes in one or more node groups (shards) of a Valkey or Redis OSS (cluster mode enabled) replication group. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--apply-immediatelyIf True, the number of replica nodes is increased immediately.--new-replica-countThe number of read replica nodes you want at the completion of this operation.--replica-configurationA list of ConfigureShard objects that can be used to configure each shard in a Valkey or Redis OSS (cluster mode enabled) replication group.--replication-group-idThe id of the replication group to which you want to add replica nodes.