ScalingPolicyPredictiveScalingMetricSpecificationArgs

data class ScalingPolicyPredictiveScalingMetricSpecificationArgs(val customizedCapacityMetricSpecification: Output<ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgs>? = null, val customizedLoadMetricSpecification: Output<ScalingPolicyPredictiveScalingCustomizedLoadMetricArgs>? = null, val customizedScalingMetricSpecification: Output<ScalingPolicyPredictiveScalingCustomizedScalingMetricArgs>? = null, val predefinedLoadMetricSpecification: Output<ScalingPolicyPredictiveScalingPredefinedLoadMetricArgs>? = null, val predefinedMetricPairSpecification: Output<ScalingPolicyPredictiveScalingPredefinedMetricPairArgs>? = null, val predefinedScalingMetricSpecification: Output<ScalingPolicyPredictiveScalingPredefinedScalingMetricArgs>? = null, val targetValue: Output<Double>) : ConvertibleToJava<ScalingPolicyPredictiveScalingMetricSpecificationArgs>

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: Output<ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgs>? = null, customizedLoadMetricSpecification: Output<ScalingPolicyPredictiveScalingCustomizedLoadMetricArgs>? = null, customizedScalingMetricSpecification: Output<ScalingPolicyPredictiveScalingCustomizedScalingMetricArgs>? = null, predefinedLoadMetricSpecification: Output<ScalingPolicyPredictiveScalingPredefinedLoadMetricArgs>? = null, predefinedMetricPairSpecification: Output<ScalingPolicyPredictiveScalingPredefinedMetricPairArgs>? = null, predefinedScalingMetricSpecification: Output<ScalingPolicyPredictiveScalingPredefinedScalingMetricArgs>? = null, targetValue: Output<Double>)

Properties

Link copied to clipboard

The customized capacity metric specification.

Link copied to clipboard

The customized load metric specification.

Link copied to clipboard

The customized scaling metric specification.

Link copied to clipboard

The predefined load metric specification.

Link copied to clipboard

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

Link copied to clipboard

The predefined scaling metric specification.

Link copied to clipboard
val targetValue: Output<Double>

Specifies the target utilization.

Functions

Link copied to clipboard
open override fun toJava(): ScalingPolicyPredictiveScalingMetricSpecificationArgs