PolicyStepAdjustmentArgs

data class PolicyStepAdjustmentArgs(val metricIntervalLowerBound: Output<String>? = null, val metricIntervalUpperBound: Output<String>? = null, val scalingAdjustment: Output<Int>) : ConvertibleToJava<PolicyStepAdjustmentArgs>

Constructors

Link copied to clipboard
constructor(metricIntervalLowerBound: Output<String>? = null, metricIntervalUpperBound: Output<String>? = null, scalingAdjustment: Output<Int>)

Properties

Link copied to clipboard
val metricIntervalLowerBound: Output<String>? = null

Lower bound for the difference between the alarm threshold and the CloudWatch metric. Without a value, AWS will treat this bound as negative infinity.

Link copied to clipboard
val metricIntervalUpperBound: Output<String>? = null

Upper bound for the difference between the alarm threshold and the CloudWatch metric. Without a value, AWS will treat this bound as positive infinity. The upper bound must be greater than the lower bound. Notice the bounds are relative to the alarm threshold, meaning that the starting point is not 0%, but the alarm threshold. Check the official docs for a detailed example. The following arguments are only available to "TargetTrackingScaling" type policies:

Link copied to clipboard
val scalingAdjustment: Output<Int>

Number of members by which to scale, when the adjustment bounds are breached. A positive value scales up. A negative value scales down.

Functions

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