NAME
Paws::ElastiCache::IncreaseReplicaCount - Arguments for method IncreaseReplicaCount on Paws::ElastiCache
DESCRIPTION
This class represents the parameters used for calling the method IncreaseReplicaCount on the Amazon ElastiCache service. Use the attributes of this class as arguments to method IncreaseReplicaCount.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to IncreaseReplicaCount.
SYNOPSIS
my $elasticache = Paws->service('ElastiCache');
my $IncreaseReplicaCountResult = $elasticache->IncreaseReplicaCount(
ApplyImmediately => 1,
ReplicationGroupId => 'MyString',
NewReplicaCount => 1, # OPTIONAL
ReplicaConfiguration => [
{
NewReplicaCount => 1,
NodeGroupId => 'MyAllowedNodeGroupId', # min: 1, max: 4
PreferredAvailabilityZones => [ 'MyString', ... ], # OPTIONAL
PreferredOutpostArns => [ 'MyString', ... ], # OPTIONAL
},
...
], # OPTIONAL
);
# Results:
my $ReplicationGroup = $IncreaseReplicaCountResult->ReplicationGroup;
# Returns a L<Paws::ElastiCache::IncreaseReplicaCountResult> 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/IncreaseReplicaCount
ATTRIBUTES
REQUIRED ApplyImmediately => Bool
If True
, the number of replica nodes is increased immediately. ApplyImmediately=False
is not currently supported.
NewReplicaCount => Int
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.
ReplicaConfiguration => ArrayRef[Paws::ElastiCache::ConfigureShard]
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
.
REQUIRED ReplicationGroupId => Str
The id of the replication group to which you want to add replica nodes.
SEE ALSO
This class forms part of Paws, documenting arguments for method IncreaseReplicaCount in Paws::ElastiCache
BUGS and CONTRIBUTIONS
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