@Stability(value=Experimental) @Internal public static final class StepScalingPolicyProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements StepScalingPolicyProps
StepScalingPolicyProps
software.amazon.jsii.JsiiObject.InitializationMode
StepScalingPolicyProps.Builder, StepScalingPolicyProps.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(IAutoScalingGroup autoScalingGroup,
IMetric metric,
List<? extends ScalingInterval> scalingSteps,
AdjustmentType adjustmentType,
Duration cooldown,
Duration estimatedInstanceWarmup,
Number evaluationPeriods,
MetricAggregationType metricAggregationType,
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()
(experimental) How the adjustment numbers inside 'intervals' are interpreted.
|
IAutoScalingGroup |
getAutoScalingGroup()
(experimental) The auto scaling group.
|
Duration |
getCooldown()
(experimental) Grace period after scaling activity.
|
Duration |
getEstimatedInstanceWarmup()
(experimental) Estimated time until a newly launched instance can send metrics to CloudWatch.
|
Number |
getEvaluationPeriods()
(experimental) How many evaluation periods of the metric to wait before triggering a scaling action.
|
IMetric |
getMetric()
(experimental) Metric to scale on.
|
MetricAggregationType |
getMetricAggregationType()
(experimental) Aggregation to apply to all data points over the evaluation periods.
|
Number |
getMinAdjustmentMagnitude()
(experimental) Minimum absolute number to adjust capacity with as result of percentage scaling.
|
List<ScalingInterval> |
getScalingSteps()
(experimental) The intervals for scaling.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
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.protected Jsii$Proxy(IAutoScalingGroup autoScalingGroup, IMetric metric, List<? extends ScalingInterval> scalingSteps, AdjustmentType adjustmentType, Duration cooldown, Duration estimatedInstanceWarmup, Number evaluationPeriods, MetricAggregationType metricAggregationType, Number minAdjustmentMagnitude)
StepScalingPolicyProps.Builder
.public final IAutoScalingGroup getAutoScalingGroup()
StepScalingPolicyProps
getAutoScalingGroup
in interface StepScalingPolicyProps
public final IMetric getMetric()
BasicStepScalingPolicyProps
getMetric
in interface BasicStepScalingPolicyProps
public final 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
Default: Default cooldown period on your AutoScalingGroup
getCooldown
in interface BasicStepScalingPolicyProps
public final Duration getEstimatedInstanceWarmup()
BasicStepScalingPolicyProps
Default: Same as the cooldown
getEstimatedInstanceWarmup
in interface BasicStepScalingPolicyProps
public final Number getEvaluationPeriods()
BasicStepScalingPolicyProps
Raising this value can be used to smooth out the metric, at the expense of slower response times.
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 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
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson
in interface software.amazon.jsii.JsiiSerializable
Copyright © 2021. All rights reserved.