Class StepScalingPolicyProps.Jsii$Proxy
- All Implemented Interfaces:
BasicStepScalingPolicyProps,StepScalingPolicyProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
StepScalingPolicyProps
StepScalingPolicyProps-
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.StepScalingPolicyProps
StepScalingPolicyProps.Builder, StepScalingPolicyProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(StepScalingPolicyProps.Builder builder) Constructor that initializes the object based on literal property values passed by theStepScalingPolicyProps.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 AdjustmentTypeHow the adjustment numbers inside 'intervals' are interpreted.final DurationGrace period after scaling activity.final NumberThe number of data points out of the evaluation periods that must be breaching to trigger a scaling action.final NumberHow many evaluation periods of the metric to wait before triggering a scaling action.final IMetricMetric to scale on.final MetricAggregationTypeAggregation to apply to all data points over the evaluation periods.final NumberMinimum absolute number to adjust capacity with as result of percentage scaling.final List<ScalingInterval> The intervals for scaling.final IScalableTargetThe scaling target.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 theStepScalingPolicyProps.Builder.
-
-
Method Details
-
getScalingTarget
Description copied from interface:StepScalingPolicyPropsThe scaling target.- Specified by:
getScalingTargetin interfaceStepScalingPolicyProps
-
getMetric
Description copied from interface:BasicStepScalingPolicyPropsMetric to scale on.- Specified by:
getMetricin interfaceBasicStepScalingPolicyProps
-
getScalingSteps
Description copied from interface:BasicStepScalingPolicyPropsThe intervals for scaling.Maps a range of metric values to a particular scaling behavior.
Must be between 2 and 40 steps.
- Specified by:
getScalingStepsin interfaceBasicStepScalingPolicyProps
-
getAdjustmentType
Description copied from interface:BasicStepScalingPolicyPropsHow the adjustment numbers inside 'intervals' are interpreted.Default: ChangeInCapacity
- Specified by:
getAdjustmentTypein interfaceBasicStepScalingPolicyProps
-
getCooldown
Description copied from interface:BasicStepScalingPolicyPropsGrace period after scaling activity.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
- Specified by:
getCooldownin interfaceBasicStepScalingPolicyProps- See Also:
-
getDatapointsToAlarm
Description copied from interface:BasicStepScalingPolicyPropsThe number of data points out of the evaluation periods that must be breaching to trigger a scaling action.Creates an "M out of N" alarm, where this property is the M and the value set for
evaluationPeriodsis the N value.Only has meaning if
evaluationPeriods != 1.Default: - Same as `evaluationPeriods`
- Specified by:
getDatapointsToAlarmin interfaceBasicStepScalingPolicyProps
-
getEvaluationPeriods
Description copied from interface:BasicStepScalingPolicyPropsHow many evaluation periods of the metric to wait before triggering a scaling action.Raising this value can be used to smooth out the metric, at the expense of slower response times.
If
datapointsToAlarmis not set, then all data points in the evaluation period must meet the criteria to trigger a scaling action.Default: 1
- Specified by:
getEvaluationPeriodsin interfaceBasicStepScalingPolicyProps
-
getMetricAggregationType
Description copied from interface:BasicStepScalingPolicyPropsAggregation to apply to all data points over the evaluation periods.Only has meaning if
evaluationPeriods != 1.Default: - The statistic from the metric if applicable (MIN, MAX, AVERAGE), otherwise AVERAGE.
- Specified by:
getMetricAggregationTypein interfaceBasicStepScalingPolicyProps
-
getMinAdjustmentMagnitude
Description copied from interface:BasicStepScalingPolicyPropsMinimum absolute number to adjust capacity with as result of percentage scaling.Only when using AdjustmentType = PercentChangeInCapacity, this number controls the minimum absolute effect size.
Default: No minimum scaling effect
- Specified by:
getMinAdjustmentMagnitudein interfaceBasicStepScalingPolicyProps
-
$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()
-