ScalingPolicyTargetTrackingConfigurationArgs

data class ScalingPolicyTargetTrackingConfigurationArgs(val customizedMetricSpecification: Output<ScalingPolicyCustomizedMetricSpecificationArgs>? = null, val disableScaleIn: Output<Boolean>? = null, val predefinedMetricSpecification: Output<ScalingPolicyPredefinedMetricSpecificationArgs>? = null, val targetValue: Output<Double>) : ConvertibleToJava<ScalingPolicyTargetTrackingConfigurationArgs>

Constructors

constructor(customizedMetricSpecification: Output<ScalingPolicyCustomizedMetricSpecificationArgs>? = null, disableScaleIn: Output<Boolean>? = null, predefinedMetricSpecification: Output<ScalingPolicyPredefinedMetricSpecificationArgs>? = null, targetValue: Output<Double>)

Properties

Link copied to clipboard

A customized metric. You must specify either a predefined metric or a customized metric.

Link copied to clipboard
val disableScaleIn: Output<Boolean>? = null

Indicates whether scaling in by the target tracking scaling policy is disabled. If scaling in is disabled, the target tracking scaling policy doesn't remove instances from the Auto Scaling group. Otherwise, the target tracking scaling policy can remove instances from the Auto Scaling group. The default is false .

Link copied to clipboard

A predefined metric. You must specify either a predefined metric or a customized metric.

Link copied to clipboard
val targetValue: Output<Double>

The target value for the metric.

Functions

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