ScalingPolicyTargetTrackingConfiguration

data class ScalingPolicyTargetTrackingConfiguration(val customizedMetricSpecification: ScalingPolicyCustomizedMetricSpecification? = null, val disableScaleIn: Boolean? = null, val predefinedMetricSpecification: ScalingPolicyPredefinedMetricSpecification? = null, val targetValue: Double)

Constructors

Link copied to clipboard
constructor(customizedMetricSpecification: ScalingPolicyCustomizedMetricSpecification? = null, disableScaleIn: Boolean? = null, predefinedMetricSpecification: ScalingPolicyPredefinedMetricSpecification? = null, targetValue: Double)

Types

Link copied to clipboard
object Companion

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: 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

The target value for the metric.