ScalingPolicyPredictiveScalingMetricSpecification

data class ScalingPolicyPredictiveScalingMetricSpecification(val customizedCapacityMetricSpecification: ScalingPolicyPredictiveScalingCustomizedCapacityMetric? = null, val customizedLoadMetricSpecification: ScalingPolicyPredictiveScalingCustomizedLoadMetric? = null, val customizedScalingMetricSpecification: ScalingPolicyPredictiveScalingCustomizedScalingMetric? = null, val predefinedLoadMetricSpecification: ScalingPolicyPredictiveScalingPredefinedLoadMetric? = null, val predefinedMetricPairSpecification: ScalingPolicyPredictiveScalingPredefinedMetricPair? = null, val predefinedScalingMetricSpecification: ScalingPolicyPredictiveScalingPredefinedScalingMetric? = null, val targetValue: Double)

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.

Constructors

constructor(customizedCapacityMetricSpecification: ScalingPolicyPredictiveScalingCustomizedCapacityMetric? = null, customizedLoadMetricSpecification: ScalingPolicyPredictiveScalingCustomizedLoadMetric? = null, customizedScalingMetricSpecification: ScalingPolicyPredictiveScalingCustomizedScalingMetric? = null, predefinedLoadMetricSpecification: ScalingPolicyPredictiveScalingPredefinedLoadMetric? = null, predefinedMetricPairSpecification: ScalingPolicyPredictiveScalingPredefinedMetricPair? = null, predefinedScalingMetricSpecification: ScalingPolicyPredictiveScalingPredefinedScalingMetric? = null, targetValue: Double)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The predefined metric pair specification that determines the appropriate scaling metric and load metric to use.

Link copied to clipboard
Link copied to clipboard

Specifies the target utilization.