aws elasticache decrease-node-groups-in-global-replication-group
Decreases the number of node groups in a Global datastore
Options
Name | Description |
---|---|
--global-replication-group-id <string> | The name of the Global datastore |
--node-group-count <integer> | The number of node groups (shards) that results from the modification of the shard configuration |
--global-node-groups-to-remove <list> | If the value of NodeGroupCount is less than the current number of node groups (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required. GlobalNodeGroupsToRemove is a list of NodeGroupIds to remove from the cluster. ElastiCache for Redis will attempt to remove all node groups listed by GlobalNodeGroupsToRemove from the cluster |
--global-node-groups-to-retain <list> | If the value of NodeGroupCount is less than the current number of node groups (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required. GlobalNodeGroupsToRetain is a list of NodeGroupIds to retain from the cluster. ElastiCache for Redis will attempt to retain all node groups listed by GlobalNodeGroupsToRetain from the cluster |
--apply-immediately | Indicates that the shard reconfiguration process begins immediately. At present, the only permitted value for this parameter is true |
--no-apply-immediately | Indicates that the shard reconfiguration process begins immediately. At present, the only permitted value for this parameter is true |
--cli-input-json <string> | Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally |
--generate-cli-skeleton <string> | Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value ``input``, prints a sample input JSON that can be used as an argument for ``--cli-input-json``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command |