Decrease Node Groups In Global Replication Group
elasticache_decrease_node_groups_in_global_replication_group | R Documentation |
Decreases the number of node groups in a Global datastore¶
Description¶
Decreases the number of node groups in a Global datastore
Usage¶
elasticache_decrease_node_groups_in_global_replication_group(
GlobalReplicationGroupId, NodeGroupCount, GlobalNodeGroupsToRemove,
GlobalNodeGroupsToRetain, 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.
Value¶
A list with the following syntax:
list(
GlobalReplicationGroup = list(
GlobalReplicationGroupId = "string",
GlobalReplicationGroupDescription = "string",
Status = "string",
CacheNodeType = "string",
Engine = "string",
EngineVersion = "string",
Members = list(
list(
ReplicationGroupId = "string",
ReplicationGroupRegion = "string",
Role = "string",
AutomaticFailover = "enabled"|"disabled"|"enabling"|"disabling",
Status = "string"
)
),
ClusterEnabled = TRUE|FALSE,
GlobalNodeGroups = list(
list(
GlobalNodeGroupId = "string",
Slots = "string"
)
),
AuthTokenEnabled = TRUE|FALSE,
TransitEncryptionEnabled = TRUE|FALSE,
AtRestEncryptionEnabled = TRUE|FALSE,
ARN = "string"
)
)