@Stability(value=Stable) @Internal public static final class StepScalingPolicyProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements StepScalingPolicyProps
StepScalingPolicyPropssoftware.amazon.jsii.JsiiObject.InitializationModeStepScalingPolicyProps.Builder, StepScalingPolicyProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(IScalableTarget scalingTarget,
IMetric metric,
List<? extends ScalingInterval> scalingSteps,
AdjustmentType adjustmentType,
Duration cooldown,
Number minAdjustmentMagnitude)
Constructor that initializes the object based on literal property values passed by the
StepScalingPolicyProps.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) |
AdjustmentType |
getAdjustmentType()
How the adjustment numbers inside 'intervals' are interpreted.
|
Duration |
getCooldown()
Grace period after scaling activity.
|
IMetric |
getMetric()
Metric to scale on.
|
Number |
getMinAdjustmentMagnitude()
Minimum absolute number to adjust capacity with as result of percentage scaling.
|
List<ScalingInterval> |
getScalingSteps()
The intervals for scaling.
|
IScalableTarget |
getScalingTarget()
The scaling target.
|
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(IScalableTarget scalingTarget, IMetric metric, List<? extends ScalingInterval> scalingSteps, AdjustmentType adjustmentType, Duration cooldown, Number minAdjustmentMagnitude)
StepScalingPolicyProps.Builder.public final IScalableTarget getScalingTarget()
StepScalingPolicyPropsgetScalingTarget in interface StepScalingPolicyPropspublic final IMetric getMetric()
BasicStepScalingPolicyPropsgetMetric in interface BasicStepScalingPolicyPropspublic final List<ScalingInterval> getScalingSteps()
BasicStepScalingPolicyPropsMaps a range of metric values to a particular scaling behavior.
getScalingSteps in interface BasicStepScalingPolicyPropspublic final AdjustmentType getAdjustmentType()
BasicStepScalingPolicyPropsDefault: ChangeInCapacity
getAdjustmentType in interface BasicStepScalingPolicyPropspublic final Duration getCooldown()
BasicStepScalingPolicyPropsSubsequent scale outs during the cooldown period are squashed so that only the biggest scale out happens.
Subsequent scale ins during the cooldown period are ignored.
Default: No cooldown period
getCooldown in interface BasicStepScalingPolicyPropshttps://docs.aws.amazon.com/autoscaling/application/APIReference/API_StepScalingPolicyConfiguration.htmlpublic final Number getMinAdjustmentMagnitude()
BasicStepScalingPolicyPropsOnly when using AdjustmentType = PercentChangeInCapacity, this number controls the minimum absolute effect size.
Default: No minimum scaling effect
getMinAdjustmentMagnitude in interface BasicStepScalingPolicyProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.