ScalingPolicyTargetTrackingScalingPolicyConfigurationArgs

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

A target tracking scaling policy.

Constructors

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

Properties

Link copied to clipboard

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

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

Indicates whether scale in by the target tracking scaling policy is disabled. If the value is true, scale in is disabled and the target tracking scaling policy won't remove capacity from the scalable target. Otherwise, scale in is enabled and the target tracking scaling policy can remove capacity from the scalable target. The default value is false.

Link copied to clipboard

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

Link copied to clipboard
val scaleInCooldown: Output<Int>? = null

The amount of time, in seconds, after a scale-in activity completes before another scale-in activity can start.

Link copied to clipboard
val scaleOutCooldown: Output<Int>? = null

The amount of time, in seconds, to wait for a previous scale-out activity to take effect.

Link copied to clipboard
val targetValue: Output<Double>

The target value for the metric. Although this property accepts numbers of type Double, it won't accept values that are either too small or too large. Values must be in the range of -2^360 to 2^360. The value must be a valid number based on the choice of metric. For example, if the metric is CPU utilization, then the target value is a percent value that represents how much of the CPU can be used before scaling out.

Functions

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