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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.applicationautoscaling.CfnScalingPolicy.StepAdjustmentProperty
CfnScalingPolicy.StepAdjustmentProperty.Builder, CfnScalingPolicy.StepAdjustmentProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnScalingPolicy.StepAdjustmentProperty.Builder
.protected
Jsii$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.JsonNode
final boolean
final Number
The lower bound for the difference between the alarm threshold and the CloudWatch metric.final Number
The upper bound for the difference between the alarm threshold and the CloudWatch metric.final Number
The amount by which to scale.final int
hashCode()
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.StepAdjustmentProperty
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.- Specified by:
getScalingAdjustment
in interfaceCfnScalingPolicy.StepAdjustmentProperty
-
getMetricIntervalLowerBound
Description copied from interface:CfnScalingPolicy.StepAdjustmentProperty
The 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:
getMetricIntervalLowerBound
in interfaceCfnScalingPolicy.StepAdjustmentProperty
-
getMetricIntervalUpperBound
Description copied from interface:CfnScalingPolicy.StepAdjustmentProperty
The 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:
getMetricIntervalUpperBound
in interfaceCfnScalingPolicy.StepAdjustmentProperty
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-