Interface ScalingInterval
- All Superinterfaces:
- software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
- ScalingInterval.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
           date="2023-06-19T16:30:36.746Z")
@Stability(Stable)
public interface ScalingInterval
extends software.amazon.jsii.JsiiSerializable
A range of metric values in which to apply a certain scaling operation.
 
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.common.*;
 ScalingInterval scalingInterval = ScalingInterval.builder()
         .change(123)
         // the properties below are optional
         .lower(123)
         .upper(123)
         .build();
 - 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forScalingIntervalstatic final classAn implementation forScalingInterval
- 
Method SummaryMethods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Method Details- 
getChangeThe capacity adjustment to apply in this interval.The number is interpreted differently based on AdjustmentType: - ChangeInCapacity: add the adjustment to the current capacity. The number can be positive or negative.
- PercentChangeInCapacity: add or remove the given percentage of the current capacity to itself. The number can be in the range [-100..100].
- ExactCapacity: set the capacity to this number. The number must be positive.
 
- 
getLowerThe lower bound of the interval.The scaling adjustment will be applied if the metric is higher than this value. Default: Threshold automatically derived from neighbouring intervals 
- 
getUpperThe upper bound of the interval.The scaling adjustment will be applied if the metric is lower than this value. Default: Threshold automatically derived from neighbouring intervals 
- 
builder- Returns:
- a ScalingInterval.BuilderofScalingInterval
 
 
-