Paws::ElastiCache::DecreaseReplicaCount - Arguments for method DecreaseReplicaCount on Paws::ElastiCache
This class represents the parameters used for calling the method DecreaseReplicaCount on the Amazon ElastiCache service. Use the attributes of this class as arguments to method DecreaseReplicaCount.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DecreaseReplicaCount.
my $elasticache = Paws->service('ElastiCache'); my $DecreaseReplicaCountResult = $elasticache->DecreaseReplicaCount( ApplyImmediately => 1, ReplicationGroupId => 'MyString', NewReplicaCount => 1, # OPTIONAL ReplicaConfiguration => [ { NewReplicaCount => 1, NodeGroupId => 'MyAllowedNodeGroupId', # min: 1, max: 4 PreferredAvailabilityZones => [ 'MyString', ... ], # OPTIONAL }, ... ], # OPTIONAL ReplicasToRemove => [ 'MyString', ... ], # OPTIONAL ); # Results: my $ReplicationGroup = $DecreaseReplicaCountResult->ReplicationGroup; # Returns a L<Paws::ElastiCache::DecreaseReplicaCountResult> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/elasticache/DecreaseReplicaCount
If True, the number of replica nodes is decreased immediately. If False, the number of replica nodes is decreased during the next maintenance window.
True
False
The number of read replica nodes you want at the completion of this operation. For Redis (cluster mode disabled) replication groups, this is the number of replica nodes in the replication group. For Redis (cluster mode enabled) replication groups, this is the number of replica nodes in each of the replication group's node groups.
The minimum number of replicas in a shard or replication group is:
Redis (cluster mode disabled)
If Multi-AZ with Automatic Failover is enabled: 1
If Multi-AZ with Automatic Failover is not enabled: 0
Redis (cluster mode enabled): 0 (though you will not be able to failover to a replica if your primary node fails)
A list of ConfigureShard objects that can be used to configure each shard in a Redis (cluster mode enabled) replication group. The ConfigureShard has three members: NewReplicaCount, NodeGroupId, and PreferredAvailabilityZones.
ConfigureShard
NewReplicaCount
NodeGroupId
PreferredAvailabilityZones
A list of the node ids to remove from the replication group or node group (shard).
The id of the replication group from which you want to remove replica nodes.
This class forms part of Paws, documenting arguments for method DecreaseReplicaCount in Paws::ElastiCache
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws::SDK::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws::SDK::Config
CPAN shell
perl -MCPAN -e shell install Paws::SDK::Config
For more information on module installation, please visit the detailed CPAN module installation guide.