Interface AdjustmentTier

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
AdjustmentTier.Jsii$Proxy

@Generated(value="jsii-pacmak/1.94.0 (build b380f01)", date="2024-02-23T02:06:28.525Z") @Stability(Stable) public interface AdjustmentTier extends software.amazon.jsii.JsiiSerializable
An adjustment.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.autoscaling.*;
 AdjustmentTier adjustmentTier = AdjustmentTier.builder()
         .adjustment(123)
         // the properties below are optional
         .lowerBound(123)
         .upperBound(123)
         .build();
 
  • Method Details

    • getAdjustment

      @Stability(Stable) @NotNull Number getAdjustment()
      What number to adjust the capacity with.

      The number is interpeted as an added capacity, a new fixed capacity or an added percentage depending on the AdjustmentType value of the StepScalingPolicy.

      Can be positive or negative.

    • getLowerBound

      @Stability(Stable) @Nullable default Number getLowerBound()
      Lower bound where this scaling tier applies.

      The scaling tier applies if the difference between the metric value and its alarm threshold is higher than this value.

      Default: -Infinity if this is the first tier, otherwise the upperBound of the previous tier

    • getUpperBound

      @Stability(Stable) @Nullable default Number getUpperBound()
      Upper bound where this scaling tier applies.

      The scaling tier applies if the difference between the metric value and its alarm threshold is lower than this value.

      Default: +Infinity

    • builder

      @Stability(Stable) static AdjustmentTier.Builder builder()
      Returns:
      a AdjustmentTier.Builder of AdjustmentTier