Interface AdjustmentTier

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

@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)", date="2024-10-25T14:21:10.527Z") @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