class Aws::ElastiCache::Types::DecreaseNodeGroupsInGlobalReplicationGroupMessage

@note When making an API call, you may pass DecreaseNodeGroupsInGlobalReplicationGroupMessage

data as a hash:

    {
      global_replication_group_id: "String", # required
      node_group_count: 1, # required
      global_node_groups_to_remove: ["String"],
      global_node_groups_to_retain: ["String"],
      apply_immediately: false, # required
    }

@!attribute [rw] global_replication_group_id

The name of the Global datastore
@return [String]

@!attribute [rw] node_group_count

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

@!attribute [rw] global_node_groups_to_remove

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.
@return [Array<String>]

@!attribute [rw] global_node_groups_to_retain

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.
@return [Array<String>]

@!attribute [rw] apply_immediately

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

@see docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DecreaseNodeGroupsInGlobalReplicationGroupMessage AWS API Documentation

Constants

SENSITIVE