PolicyTargetTrackingScalingPolicyConfigurationArgs

data class PolicyTargetTrackingScalingPolicyConfigurationArgs(val customizedMetricSpecification: Output<PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationArgs>? = null, val disableScaleIn: Output<Boolean>? = null, val predefinedMetricSpecification: Output<PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationArgs>? = null, val scaleInCooldown: Output<Int>? = null, val scaleOutCooldown: Output<Int>? = null, val targetValue: Output<Double>) : ConvertibleToJava<PolicyTargetTrackingScalingPolicyConfigurationArgs>

Constructors

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

Properties

Link copied to clipboard

Custom CloudWatch metric. Documentation can be found at: AWS Customized Metric Specification. See supported fields below.

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

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

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

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

Amount of time, in seconds, after a scale out activity completes before another scale out activity can start.

Link copied to clipboard
val targetValue: Output<Double>

Target value for the metric.

Functions

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