@Stability(value=Stable) public static final class StepScalingPolicyProps.Builder extends Object implements software.amazon.jsii.Builder<StepScalingPolicyProps>
StepScalingPolicyProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public StepScalingPolicyProps.Builder autoScalingGroup(IAutoScalingGroup autoScalingGroup)
StepScalingPolicyProps.getAutoScalingGroup()autoScalingGroup - The auto scaling group. This parameter is required.this@Stability(value=Stable) public StepScalingPolicyProps.Builder metric(IMetric metric)
BasicStepScalingPolicyProps.getMetric()metric - Metric to scale on. This parameter is required.this@Stability(value=Stable) public StepScalingPolicyProps.Builder scalingSteps(List<? extends ScalingInterval> scalingSteps)
BasicStepScalingPolicyProps.getScalingSteps()scalingSteps - The intervals for scaling. This parameter is required.
Maps a range of metric values to a particular scaling behavior.this@Stability(value=Stable) public StepScalingPolicyProps.Builder adjustmentType(AdjustmentType adjustmentType)
BasicStepScalingPolicyProps.getAdjustmentType()adjustmentType - How the adjustment numbers inside 'intervals' are interpreted.this@Stability(value=Stable) public StepScalingPolicyProps.Builder cooldown(Duration cooldown)
BasicStepScalingPolicyProps.getCooldown()cooldown - Grace period after scaling activity.this@Stability(value=Stable) public StepScalingPolicyProps.Builder estimatedInstanceWarmup(Duration estimatedInstanceWarmup)
BasicStepScalingPolicyProps.getEstimatedInstanceWarmup()estimatedInstanceWarmup - Estimated time until a newly launched instance can send metrics to CloudWatch.this@Stability(value=Stable) public StepScalingPolicyProps.Builder minAdjustmentMagnitude(Number minAdjustmentMagnitude)
BasicStepScalingPolicyProps.getMinAdjustmentMagnitude()minAdjustmentMagnitude - Minimum absolute number to adjust capacity with as result of percentage scaling.
Only when using AdjustmentType = PercentChangeInCapacity, this number controls
the minimum absolute effect size.this@Stability(value=Stable) public StepScalingPolicyProps build()
build in interface software.amazon.jsii.Builder<StepScalingPolicyProps>StepScalingPolicyPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.