Interface StepScalingActionProps

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:45.416Z") @Stability(Stable) public interface StepScalingActionProps extends
Properties for a scaling policy.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 AutoScalingGroup autoScalingGroup;
 StepScalingActionProps stepScalingActionProps = StepScalingActionProps.builder()
         // the properties below are optional
  • Method Details

    • getAutoScalingGroup

      @Stability(Stable) @NotNull IAutoScalingGroup getAutoScalingGroup()
      The auto scaling group.
    • getAdjustmentType

      @Stability(Stable) @Nullable default AdjustmentType getAdjustmentType()
      How the adjustment numbers are interpreted.

      Default: ChangeInCapacity

    • getCooldown

      @Stability(Stable) @Nullable default Duration getCooldown()
      Period after a scaling completes before another scaling activity can start.

      Default: The default cooldown configured on the AutoScalingGroup

    • getEstimatedInstanceWarmup

      @Stability(Stable) @Nullable default Duration getEstimatedInstanceWarmup()
      Estimated time until a newly launched instance can send metrics to CloudWatch.

      Default: Same as the cooldown

    • getMetricAggregationType

      @Stability(Stable) @Nullable default MetricAggregationType getMetricAggregationType()
      The aggregation type for the CloudWatch metrics.

      Default: Average

    • getMinAdjustmentMagnitude

      @Stability(Stable) @Nullable default Number getMinAdjustmentMagnitude()
      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.

      Default: No minimum scaling effect

    • builder

      @Stability(Stable) static StepScalingActionProps.Builder builder()
      a StepScalingActionProps.Builder of StepScalingActionProps