PolicyStepScalingPolicyConfigurationArgs

data class PolicyStepScalingPolicyConfigurationArgs(val adjustmentType: Output<String>? = null, val cooldown: Output<Int>? = null, val metricAggregationType: Output<String>? = null, val minAdjustmentMagnitude: Output<Int>? = null, val stepAdjustments: Output<List<PolicyStepScalingPolicyConfigurationStepAdjustmentArgs>>? = null) : ConvertibleToJava<PolicyStepScalingPolicyConfigurationArgs>

Constructors

Link copied to clipboard
constructor(adjustmentType: Output<String>? = null, cooldown: Output<Int>? = null, metricAggregationType: Output<String>? = null, minAdjustmentMagnitude: Output<Int>? = null, stepAdjustments: Output<List<PolicyStepScalingPolicyConfigurationStepAdjustmentArgs>>? = null)

Properties

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

Whether the adjustment is an absolute number or a percentage of the current capacity. Valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.

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

Amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.

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

Aggregation type for the policy's metrics. Valid values are "Minimum", "Maximum", and "Average". Without a value, AWS will treat the aggregation type as "Average".

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

Minimum number to adjust your scalable dimension as a result of a scaling activity. If the adjustment type is PercentChangeInCapacity, the scaling policy changes the scalable dimension of the scalable target by this amount.

Link copied to clipboard

Set of adjustments that manage scaling. These have the following structure:

Functions

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