Class CfnScalingPolicy.StepAdjustmentProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnScalingPolicy.StepAdjustmentProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnScalingPolicy.StepAdjustmentProperty
CfnScalingPolicy.StepAdjustmentProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.applicationautoscaling.CfnScalingPolicy.StepAdjustmentProperty
CfnScalingPolicy.StepAdjustmentProperty.Builder, CfnScalingPolicy.StepAdjustmentProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnScalingPolicy.StepAdjustmentProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal NumberThe lower bound for the difference between the alarm threshold and the CloudWatch metric.final NumberThe upper bound for the difference between the alarm threshold and the CloudWatch metric.final NumberThe amount by which to scale.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnScalingPolicy.StepAdjustmentProperty.Builder.
-
-
Method Details
-
getScalingAdjustment
Description copied from interface:CfnScalingPolicy.StepAdjustmentPropertyThe amount by which to scale.The adjustment is based on the value that you specified in the
AdjustmentTypeproperty (either an absolute number or a percentage). A positive value adds to the current capacity and a negative number subtracts from the current capacity.- Specified by:
getScalingAdjustmentin interfaceCfnScalingPolicy.StepAdjustmentProperty
-
getMetricIntervalLowerBound
Description copied from interface:CfnScalingPolicy.StepAdjustmentPropertyThe lower bound for the difference between the alarm threshold and the CloudWatch metric.If 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.
You must specify at least one upper or lower bound.
- Specified by:
getMetricIntervalLowerBoundin interfaceCfnScalingPolicy.StepAdjustmentProperty
-
getMetricIntervalUpperBound
Description copied from interface:CfnScalingPolicy.StepAdjustmentPropertyThe upper bound for the difference between the alarm threshold and the CloudWatch metric.If 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.
You must specify at least one upper or lower bound.
- Specified by:
getMetricIntervalUpperBoundin interfaceCfnScalingPolicy.StepAdjustmentProperty
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-