@Stability(value=Stable) @Internal public static final class CfnScalingPolicy.StepAdjustmentProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnScalingPolicy.StepAdjustmentProperty
CfnScalingPolicy.StepAdjustmentPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnScalingPolicy.StepAdjustmentProperty.Builder, CfnScalingPolicy.StepAdjustmentProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnScalingPolicy.StepAdjustmentProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnScalingPolicy.CustomizedMetricSpecificationProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Number |
getMetricIntervalLowerBound()
The lower bound for the difference between the alarm threshold and the CloudWatch metric.
|
Number |
getMetricIntervalUpperBound()
The upper bound for the difference between the alarm threshold and the CloudWatch metric.
|
Number |
getScalingAdjustment()
The amount by which to scale, based on the specified adjustment type.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnScalingPolicy.StepAdjustmentProperty.Builder builder)
CfnScalingPolicy.CustomizedMetricSpecificationProperty.Builder.public final Number getScalingAdjustment()
CfnScalingPolicy.StepAdjustmentPropertyA positive value adds to the current capacity while a negative number removes from the current capacity.
The amount by which to scale. The adjustment is based on the value that you specified in the AdjustmentType property (either an absolute number or a percentage). A positive value adds to the current capacity and a negative number subtracts from the current capacity.
getScalingAdjustment in interface CfnScalingPolicy.StepAdjustmentPropertypublic final Number getMetricIntervalLowerBound()
CfnScalingPolicy.StepAdjustmentPropertyIf the metric value is above the breach threshold, the lower bound is inclusive (the metric must be greater than or equal to the threshold plus the lower bound). Otherwise, it is exclusive (the metric must be greater than the threshold plus the lower bound). A null value indicates negative infinity.
getMetricIntervalLowerBound in interface CfnScalingPolicy.StepAdjustmentPropertypublic final Number getMetricIntervalUpperBound()
CfnScalingPolicy.StepAdjustmentPropertyIf the metric value is above the breach threshold, the upper bound is exclusive (the metric must be less than the threshold plus the upper bound). Otherwise, it is inclusive (the metric must be less than or equal to the threshold plus the upper bound). A null value indicates positive infinity.
The upper bound must be greater than the lower bound.
getMetricIntervalUpperBound in interface CfnScalingPolicy.StepAdjustmentProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.