Class BasicStepScalingPolicyProps.Jsii$Proxy
- All Implemented Interfaces:
BasicStepScalingPolicyProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- BasicStepScalingPolicyProps
BasicStepScalingPolicyProps
-
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.BasicStepScalingPolicyProps
BasicStepScalingPolicyProps.Builder, BasicStepScalingPolicyProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theBasicStepScalingPolicyProps.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 AdjustmentType
How the adjustment numbers inside 'intervals' are interpreted.final Duration
Grace period after scaling activity.final Number
The number of data points out of the evaluation periods that must be breaching to trigger a scaling action.final Number
How many evaluation periods of the metric to wait before triggering a scaling action.final IMetric
Metric to scale on.final MetricAggregationType
Aggregation to apply to all data points over the evaluation periods.final Number
Minimum absolute number to adjust capacity with as result of percentage scaling.final List<ScalingInterval>
The intervals for scaling.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 theBasicStepScalingPolicyProps.Builder
.
-
-
Method Details
-
getMetric
Description copied from interface:BasicStepScalingPolicyProps
Metric to scale on.- Specified by:
getMetric
in interfaceBasicStepScalingPolicyProps
-
getScalingSteps
Description copied from interface:BasicStepScalingPolicyProps
The intervals for scaling.Maps a range of metric values to a particular scaling behavior.
- Specified by:
getScalingSteps
in interfaceBasicStepScalingPolicyProps
-
getAdjustmentType
Description copied from interface:BasicStepScalingPolicyProps
How the adjustment numbers inside 'intervals' are interpreted.Default: ChangeInCapacity
- Specified by:
getAdjustmentType
in interfaceBasicStepScalingPolicyProps
-
getCooldown
Description copied from interface:BasicStepScalingPolicyProps
Grace 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
-
getDatapointsToAlarm
Description copied from interface:BasicStepScalingPolicyProps
The 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
evaluationPeriods
is the N value.Only has meaning if
evaluationPeriods != 1
.Default: `evaluationPeriods`
- Specified by:
getDatapointsToAlarm
in interfaceBasicStepScalingPolicyProps
-
getEvaluationPeriods
Description copied from interface:BasicStepScalingPolicyProps
How 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
datapointsToAlarm
is not set, then all data points in the evaluation period must meet the criteria to trigger a scaling action.Default: 1
- Specified by:
getEvaluationPeriods
in interfaceBasicStepScalingPolicyProps
-
getMetricAggregationType
Description copied from interface:BasicStepScalingPolicyProps
Aggregation 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:
getMetricAggregationType
in interfaceBasicStepScalingPolicyProps
-
getMinAdjustmentMagnitude
Description copied from interface:BasicStepScalingPolicyProps
Minimum 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:
getMinAdjustmentMagnitude
in interfaceBasicStepScalingPolicyProps
-
$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()
-