CmdID

CmdID / aws / aws elasticache

aws elasticache modify-replication-group-shard-configuration

Modifies a replication group's shards (node groups) by allowing you to add shards, remove shards, or rebalance the keyspaces among existing shards. AWS CLI reference

5 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

5 in the AWS CLI reference
--apply-immediatelyIndicates that the shard reconfiguration process begins immediately.
--node-group-countThe number of node groups (shards) that results from the modification of the shard configuration.
--node-groups-to-remove, --node-groups-to-retainIf the value of NodeGroupCount is less than the current number of node groups (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required.
--replication-group-idThe name of the Valkey or Redis OSS (cluster mode enabled) cluster (replication group) on which the shards are to be configured.
--resharding-configurationSpecifies the preferred availability zones for each node group in the cluster.