Class: Aws::ElastiCache::Types::ModifyReplicationGroupShardConfigurationMessage

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb

Overview

Represents the input for a ModifyReplicationGroupShardConfiguration operation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#apply_immediately ⇒ Boolean

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

Value: true

Returns:

  • (Boolean)


6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 6743

class ModifyReplicationGroupShardConfigurationMessage < Struct.new(
  :replication_group_id,
  :node_group_count,
  :apply_immediately,
  :resharding_configuration,
  :node_groups_to_remove,
  :node_groups_to_retain)
  SENSITIVE = []
  include Aws::Structure
end

#node_group_count ⇒ Integer

The number of node groups (shards) that results from the modification of the shard configuration.

Returns:

  • (Integer)


6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 6743

class ModifyReplicationGroupShardConfigurationMessage < Struct.new(
  :replication_group_id,
  :node_group_count,
  :apply_immediately,
  :resharding_configuration,
  :node_groups_to_remove,
  :node_groups_to_retain)
  SENSITIVE = []
  include Aws::Structure
end

#node_groups_to_remove ⇒ Array<String>

If the value of NodeGroupCount is less than the current number of node groups (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required. NodeGroupsToRemove is a list of NodeGroupIds to remove from the cluster.

ElastiCache will attempt to remove all node groups listed by NodeGroupsToRemove from the cluster.

Returns:

  • (Array<String>)


6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 6743

class ModifyReplicationGroupShardConfigurationMessage < Struct.new(
  :replication_group_id,
  :node_group_count,
  :apply_immediately,
  :resharding_configuration,
  :node_groups_to_remove,
  :node_groups_to_retain)
  SENSITIVE = []
  include Aws::Structure
end

#node_groups_to_retain ⇒ Array<String>

If the value of NodeGroupCount is less than the current number of node groups (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required. NodeGroupsToRetain is a list of NodeGroupIds to retain in the cluster.

ElastiCache will attempt to remove all node groups except those listed by NodeGroupsToRetain from the cluster.

Returns:

  • (Array<String>)


6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 6743

class ModifyReplicationGroupShardConfigurationMessage < Struct.new(
  :replication_group_id,
  :node_group_count,
  :apply_immediately,
  :resharding_configuration,
  :node_groups_to_remove,
  :node_groups_to_retain)
  SENSITIVE = []
  include Aws::Structure
end

#replication_group_id ⇒ String

The name of the Valkey or Redis OSS (cluster mode enabled) cluster (replication group) on which the shards are to be configured.

Returns:

  • (String)


6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 6743

class ModifyReplicationGroupShardConfigurationMessage < Struct.new(
  :replication_group_id,
  :node_group_count,
  :apply_immediately,
  :resharding_configuration,
  :node_groups_to_remove,
  :node_groups_to_retain)
  SENSITIVE = []
  include Aws::Structure
end

#resharding_configuration ⇒ Array<Types::ReshardingConfiguration>

Specifies the preferred availability zones for each node group in the cluster. If the value of NodeGroupCount is greater than the current number of node groups (shards), you can use this parameter to specify the preferred availability zones of the cluster's shards. If you omit this parameter ElastiCache selects availability zones for you.

You can specify this parameter only if the value of NodeGroupCount is greater than the current number of node groups (shards).

Returns:



6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 6743

class ModifyReplicationGroupShardConfigurationMessage < Struct.new(
  :replication_group_id,
  :node_group_count,
  :apply_immediately,
  :resharding_configuration,
  :node_groups_to_remove,
  :node_groups_to_retain)
  SENSITIVE = []
  include Aws::Structure
end