elasticache_decrease_node_groups_in_global_replication_group: Decreases the number of node groups in a Global datastore

View source: R/elasticache_operations.R

elasticache_decrease_node_groups_in_global_replication_groupR Documentation

Decreases the number of node groups in a Global datastore

Description

Decreases the number of node groups in a Global datastore

See https://www.paws-r-sdk.com/docs/elasticache_decrease_node_groups_in_global_replication_group/ for full documentation.

Usage

elasticache_decrease_node_groups_in_global_replication_group(
  GlobalReplicationGroupId,
  NodeGroupCount,
  GlobalNodeGroupsToRemove = NULL,
  GlobalNodeGroupsToRetain = NULL,
  ApplyImmediately
)

Arguments

GlobalReplicationGroupId

[required] The name of the Global datastore

NodeGroupCount

[required] The number of node groups (shards) that results from the modification of the shard configuration

GlobalNodeGroupsToRemove

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 (Redis OSS) will attempt to remove all node groups listed by GlobalNodeGroupsToRemove from the cluster.

GlobalNodeGroupsToRetain

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 (Redis OSS) will attempt to retain all node groups listed by GlobalNodeGroupsToRetain from the cluster.

ApplyImmediately

[required] Indicates that the shard reconfiguration process begins immediately. At present, the only permitted value for this parameter is true.


paws.database documentation built on Sept. 12, 2024, 6:37 a.m.