public static final class StepScalingPolicyProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements StepScalingPolicyProps
StepScalingPolicyProps
StepScalingPolicyProps.Builder, StepScalingPolicyProps.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
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(java.lang.Object o) |
AdjustmentType |
getAdjustmentType()
How the adjustment numbers inside 'intervals' are interpreted.
|
Duration |
getCooldown()
Grace period after scaling activity.
|
java.lang.Number |
getDatapointsToAlarm()
The number of data points out of the evaluation periods that must be breaching to trigger a scaling action.
|
java.lang.Number |
getEvaluationPeriods()
How many evaluation periods of the metric to wait before triggering a scaling action.
|
IMetric |
getMetric()
Metric to scale on.
|
MetricAggregationType |
getMetricAggregationType()
Aggregation to apply to all data points over the evaluation periods.
|
java.lang.Number |
getMinAdjustmentMagnitude()
Minimum absolute number to adjust capacity with as result of percentage scaling.
|
java.util.List<ScalingInterval> |
getScalingSteps()
The intervals for scaling.
|
IScalableTarget |
getScalingTarget()
The scaling target.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final IScalableTarget getScalingTarget()
StepScalingPolicyProps
getScalingTarget
in interface StepScalingPolicyProps
public final IMetric getMetric()
BasicStepScalingPolicyProps
getMetric
in interface BasicStepScalingPolicyProps
public final java.util.List<ScalingInterval> getScalingSteps()
BasicStepScalingPolicyProps
Maps a range of metric values to a particular scaling behavior.
getScalingSteps
in interface BasicStepScalingPolicyProps
public final AdjustmentType getAdjustmentType()
BasicStepScalingPolicyProps
Default: ChangeInCapacity
getAdjustmentType
in interface BasicStepScalingPolicyProps
public final Duration getCooldown()
BasicStepScalingPolicyProps
Subsequent 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 BasicStepScalingPolicyProps
public final java.lang.Number getDatapointsToAlarm()
BasicStepScalingPolicyProps
Creates an "M out of N" alarm, where this property is the M and the value set for
evaluationPeriods
is the N value.
Only has meaning if evaluationPeriods != 1
.
Default: `evaluationPeriods`
getDatapointsToAlarm
in interface BasicStepScalingPolicyProps
public final java.lang.Number getEvaluationPeriods()
BasicStepScalingPolicyProps
Raising this value can be used to smooth out the metric, at the expense of slower response times.
If datapointsToAlarm
is not set, then all data points in the evaluation period
must meet the criteria to trigger a scaling action.
Default: 1
getEvaluationPeriods
in interface BasicStepScalingPolicyProps
public final MetricAggregationType getMetricAggregationType()
BasicStepScalingPolicyProps
Only has meaning if evaluationPeriods != 1
.
Default: - The statistic from the metric if applicable (MIN, MAX, AVERAGE), otherwise AVERAGE.
getMetricAggregationType
in interface BasicStepScalingPolicyProps
public final java.lang.Number getMinAdjustmentMagnitude()
BasicStepScalingPolicyProps
Only when using AdjustmentType = PercentChangeInCapacity, this number controls the minimum absolute effect size.
Default: No minimum scaling effect
getMinAdjustmentMagnitude
in interface BasicStepScalingPolicyProps
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()