Class StepScalingPolicyProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.autoscaling.StepScalingPolicyProps.Jsii$Proxy
- All Implemented Interfaces:
BasicStepScalingPolicyProps
,StepScalingPolicyProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
StepScalingPolicyProps
@Stability(Stable)
@Internal
public static final class StepScalingPolicyProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements StepScalingPolicyProps
An implementation for
StepScalingPolicyProps
-
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.autoscaling.StepScalingPolicyProps
StepScalingPolicyProps.Builder, StepScalingPolicyProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(StepScalingPolicyProps.Builder builder) Constructor that initializes the object based on literal property values passed by theStepScalingPolicyProps.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 IAutoScalingGroup
The auto scaling group.final Duration
Grace period after scaling activity.final Duration
Estimated time until a newly launched instance can send metrics to CloudWatch.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 theStepScalingPolicyProps.Builder
.
-
-
Method Details
-
getAutoScalingGroup
Description copied from interface:StepScalingPolicyProps
The auto scaling group.- Specified by:
getAutoScalingGroup
in interfaceStepScalingPolicyProps
-
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.Default: Default cooldown period on your AutoScalingGroup
- Specified by:
getCooldown
in interfaceBasicStepScalingPolicyProps
-
getEstimatedInstanceWarmup
Description copied from interface:BasicStepScalingPolicyProps
Estimated time until a newly launched instance can send metrics to CloudWatch.Default: Same as the cooldown
- Specified by:
getEstimatedInstanceWarmup
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.
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()
-