AWS::ApplicationAutoScaling::ScalingPolicy PredictiveScalingMetricSpecification
This structure specifies the metrics and target utilization settings for a predictive scaling policy.
You must specify either a metric pair, or a load metric and a scaling metric individually. Specifying a metric pair instead of individual metrics provides a simpler way to configure metrics for a scaling policy. You choose the metric pair, and the policy automatically knows the correct sum and average statistics to use for the load metric and the scaling metric.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "CustomizedCapacityMetricSpecification" :
PredictiveScalingCustomizedCapacityMetric
, "CustomizedLoadMetricSpecification" :PredictiveScalingCustomizedLoadMetric
, "CustomizedScalingMetricSpecification" :PredictiveScalingCustomizedScalingMetric
, "PredefinedLoadMetricSpecification" :PredictiveScalingPredefinedLoadMetric
, "PredefinedMetricPairSpecification" :PredictiveScalingPredefinedMetricPair
, "PredefinedScalingMetricSpecification" :PredictiveScalingPredefinedScalingMetric
, "TargetValue" :Number
}
YAML
CustomizedCapacityMetricSpecification:
PredictiveScalingCustomizedCapacityMetric
CustomizedLoadMetricSpecification:PredictiveScalingCustomizedLoadMetric
CustomizedScalingMetricSpecification:PredictiveScalingCustomizedScalingMetric
PredefinedLoadMetricSpecification:PredictiveScalingPredefinedLoadMetric
PredefinedMetricPairSpecification:PredictiveScalingPredefinedMetricPair
PredefinedScalingMetricSpecification:PredictiveScalingPredefinedScalingMetric
TargetValue:Number
Properties
CustomizedCapacityMetricSpecification
-
The customized capacity metric specification.
Required: No
Type: PredictiveScalingCustomizedCapacityMetric
Update requires: No interruption
CustomizedLoadMetricSpecification
-
The customized load metric specification.
Required: No
Type: PredictiveScalingCustomizedLoadMetric
Update requires: No interruption
CustomizedScalingMetricSpecification
-
The customized scaling metric specification.
Required: No
Type: PredictiveScalingCustomizedScalingMetric
Update requires: No interruption
PredefinedLoadMetricSpecification
-
The predefined load metric specification.
Required: No
Type: PredictiveScalingPredefinedLoadMetric
Update requires: No interruption
PredefinedMetricPairSpecification
-
The predefined metric pair specification that determines the appropriate scaling metric and load metric to use.
Required: No
Type: PredictiveScalingPredefinedMetricPair
Update requires: No interruption
PredefinedScalingMetricSpecification
-
The predefined scaling metric specification.
Required: No
Type: PredictiveScalingPredefinedScalingMetric
Update requires: No interruption
TargetValue
-
Specifies the target utilization.
Required: Yes
Type: Number
Update requires: No interruption