|
NAMEPaws::AutoScaling::PutScalingPolicy - Arguments for method PutScalingPolicy on Paws::AutoScalingDESCRIPTIONThis 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. ATTRIBUTESREQUIRED AdjustmentType => StrThe adjustment type. Valid values are "ChangeInCapacity", "ExactCapacity", and "PercentChangeInCapacity".For more information, see Dynamic Scaling in the Auto Scaling Developer Guide. REQUIRED AutoScalingGroupName => StrThe name or ARN of the group.Cooldown => IntThe amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start. If this parameter is not specified, the default cooldown period for the group applies.This parameter is not supported unless the policy type is "SimpleScaling". For more information, see Understanding Auto Scaling Cooldowns in the Auto Scaling Developer Guide. EstimatedInstanceWarmup => IntThe estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics. The default is to use the value specified for the default cooldown period for the group.This parameter is not supported if the policy type is "SimpleScaling". MetricAggregationType => StrThe aggregation type for the CloudWatch metrics. Valid values are "Minimum", "Maximum", and "Average". If the aggregation type is null, the value is treated as "Average".This parameter is not supported if the policy type is "SimpleScaling". MinAdjustmentMagnitude => IntThe minimum number of instances to scale. If the value of "AdjustmentType" is "PercentChangeInCapacity", the scaling policy changes the "DesiredCapacity" of the Auto Scaling group by at least this many instances. Otherwise, the error is "ValidationError".MinAdjustmentStep => IntAvailable for backward compatibility. Use "MinAdjustmentMagnitude" instead.REQUIRED PolicyName => StrThe name of the policy.PolicyType => StrThe policy type. Valid values are "SimpleScaling" and "StepScaling". If the policy type is null, the value is treated as "SimpleScaling".ScalingAdjustment => IntThe amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity.This parameter is required if the policy type is "SimpleScaling" and not supported otherwise. StepAdjustments => ArrayRef[Paws::AutoScaling::StepAdjustment]A set of adjustments that enable you to scale based on the size of the alarm breach.This parameter is required if the policy type is "StepScaling" and not supported otherwise. SEE ALSOThis class forms part of Paws, documenting arguments for method PutScalingPolicy in Paws::AutoScalingBUGS and CONTRIBUTIONSThe source code is located here: https://github.com/pplu/aws-sdk-perlPlease report bugs to: https://github.com/pplu/aws-sdk-perl/issues
Visit the GSP FreeBSD Man Page Interface. |