![]() |
![]()
| ![]() |
![]()
NAMEPaws::AutoScaling::ScalingPolicy USAGEThis class represents one of two things: Arguments in a call to a service Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object. As an example, if Att1 is expected to be a Paws::AutoScaling::ScalingPolicy object: $service_obj->Method(Att1 => { AdjustmentType => $value, ..., TargetTrackingConfiguration => $value }); Results returned from an API call Use accessors for each attribute. If Att1 is expected to be an Paws::AutoScaling::ScalingPolicy object: $result = $service_obj->Method(...); $result->Att1->AdjustmentType DESCRIPTIONDescribes a scaling policy. ATTRIBUTESAdjustmentType => StrSpecifies how the scaling adjustment is interpreted (for example, an absolute number or a percentage). The valid values are "ChangeInCapacity", "ExactCapacity", and "PercentChangeInCapacity". Alarms => ArrayRef[Paws::AutoScaling::Alarm]The CloudWatch alarms related to the policy. AutoScalingGroupName => StrThe name of the Auto Scaling group. Cooldown => IntThe duration of the policy's cooldown period, in seconds. Enabled => BoolIndicates whether the policy is enabled ("true") or disabled ("false"). EstimatedInstanceWarmup => IntThe estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics. MetricAggregationType => StrThe aggregation type for the CloudWatch metrics. The valid values are "Minimum", "Maximum", and "Average". MinAdjustmentMagnitude => IntThe minimum value to scale by when the adjustment type is "PercentChangeInCapacity". MinAdjustmentStep => IntAvailable for backward compatibility. Use "MinAdjustmentMagnitude" instead. PolicyARN => StrThe Amazon Resource Name (ARN) of the policy. PolicyName => StrThe name of the scaling policy. PolicyType => StrOne of the following policy types:
For more information, see Target tracking scaling policies (https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-target-tracking.html) and Step and simple scaling policies (https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html) in the Amazon EC2 Auto Scaling User Guide. PredictiveScalingConfiguration => Paws::AutoScaling::PredictiveScalingConfigurationA predictive scaling policy. 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. StepAdjustments => ArrayRef[Paws::AutoScaling::StepAdjustment]A set of adjustments that enable you to scale based on the size of the alarm breach. TargetTrackingConfiguration => Paws::AutoScaling::TargetTrackingConfigurationA target tracking scaling policy. SEE ALSOThis class forms part of Paws, describing an object used in Paws::AutoScaling BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|