Paws::AutoScaling::PutScalingPolicy - Arguments for method PutScalingPolicy on Paws::AutoScaling
This class represents the parameters used for calling the method PutScalingPolicy on the Auto Scaling service. Use the attributes of this class as arguments to method PutScalingPolicy.
You shouln't make instances of this class. Each attribute should be used as a named argument in the call to PutScalingPolicy.
As an example:
$service_obj->PutScalingPolicy(Att1 => $value1, Att2 => $value2, ...);
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.
Specifies whether the ScalingAdjustment is an absolute number or a percentage of the current capacity. Valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.
ScalingAdjustment
ChangeInCapacity
ExactCapacity
PercentChangeInCapacity
For more information, see Dynamic Scaling in the Auto Scaling Developer Guide.
The name or ARN of the group.
The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.
For more information, see Understanding Auto Scaling Cooldowns in the Auto Scaling Developer Guide.
Used with AdjustmentType with the value PercentChangeInCapacity, the scaling policy changes the DesiredCapacity of the Auto Scaling group by at least the number of instances specified in the value.
AdjustmentType
DesiredCapacity
You will get a ValidationError if you use MinAdjustmentStep on a policy with an AdjustmentType other than PercentChangeInCapacity.
ValidationError
MinAdjustmentStep
The name of the policy.
The number of instances by which to scale. AdjustmentType determines the interpretation of this number (e.g., as an absolute number or as a percentage of the existing Auto Scaling group size). A positive increment adds to the current capacity and a negative value removes from the current capacity.
This class forms part of Paws, documenting arguments for method PutScalingPolicy in Paws::AutoScaling
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.