

# 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.

## Contents


 ** TargetValue **   <a name="autoscaling-Type-PredictiveScalingMetricSpecification-TargetValue"></a>
 Specifies the target utilization.   
Type: Double  
Required: Yes

 ** CustomizedCapacityMetricSpecification **   <a name="autoscaling-Type-PredictiveScalingMetricSpecification-CustomizedCapacityMetricSpecification"></a>
 The customized capacity metric specification.   
Type: [PredictiveScalingCustomizedMetricSpecification](API_PredictiveScalingCustomizedMetricSpecification.md) object  
Required: No

 ** CustomizedLoadMetricSpecification **   <a name="autoscaling-Type-PredictiveScalingMetricSpecification-CustomizedLoadMetricSpecification"></a>
 The customized load metric specification.   
Type: [PredictiveScalingCustomizedMetricSpecification](API_PredictiveScalingCustomizedMetricSpecification.md) object  
Required: No

 ** CustomizedScalingMetricSpecification **   <a name="autoscaling-Type-PredictiveScalingMetricSpecification-CustomizedScalingMetricSpecification"></a>
 The customized scaling metric specification.   
Type: [PredictiveScalingCustomizedMetricSpecification](API_PredictiveScalingCustomizedMetricSpecification.md) object  
Required: No

 ** PredefinedLoadMetricSpecification **   <a name="autoscaling-Type-PredictiveScalingMetricSpecification-PredefinedLoadMetricSpecification"></a>
 The predefined load metric specification.   
Type: [PredictiveScalingPredefinedLoadMetricSpecification](API_PredictiveScalingPredefinedLoadMetricSpecification.md) object  
Required: No

 ** PredefinedMetricPairSpecification **   <a name="autoscaling-Type-PredictiveScalingMetricSpecification-PredefinedMetricPairSpecification"></a>
 The predefined metric pair specification that determines the appropriate scaling metric and load metric to use.   
Type: [PredictiveScalingPredefinedMetricPairSpecification](API_PredictiveScalingPredefinedMetricPairSpecification.md) object  
Required: No

 ** PredefinedScalingMetricSpecification **   <a name="autoscaling-Type-PredictiveScalingMetricSpecification-PredefinedScalingMetricSpecification"></a>
 The predefined scaling metric specification.   
Type: [PredictiveScalingPredefinedScalingMetricSpecification](API_PredictiveScalingPredefinedScalingMetricSpecification.md) object  
Required: No

## See Also


For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\$1\$1](https://docs.amazonaws.cn/goto/SdkForCpp/application-autoscaling-2016-02-06/PredictiveScalingMetricSpecification) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/application-autoscaling-2016-02-06/PredictiveScalingMetricSpecification) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/application-autoscaling-2016-02-06/PredictiveScalingMetricSpecification) 