PolicyStepScalingPolicyConfiguration constructor
Creates a new PolicyStepScalingPolicyConfiguration.
adjustmentType Whether the adjustment is an absolute number or a percentage of the current capacity. Valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.
cooldown Amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.
metricAggregationType Aggregation type for the policy's metrics. Valid values are Minimum, Maximum, and Average. Without a value, AWS treats the aggregation type as Average.
minAdjustmentMagnitude 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.
stepAdjustments Set of adjustments that manage scaling. See step_scaling_policy_configuration.step_adjustment Block for details.
Implementation
const PolicyStepScalingPolicyConfiguration({
this.adjustmentType,
this.cooldown,
this.metricAggregationType,
this.minAdjustmentMagnitude,
this.stepAdjustments,
});