Class CfnScalingPolicy.StepScalingPolicyConfigurationProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.applicationautoscaling.CfnScalingPolicy.StepScalingPolicyConfigurationProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnScalingPolicy.StepScalingPolicyConfigurationProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnScalingPolicy.StepScalingPolicyConfigurationProperty
@Stability(Stable)
@Internal
public static final class CfnScalingPolicy.StepScalingPolicyConfigurationProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnScalingPolicy.StepScalingPolicyConfigurationProperty
An implementation for
CfnScalingPolicy.StepScalingPolicyConfigurationProperty
-
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.CfnScalingPolicy.StepScalingPolicyConfigurationProperty
CfnScalingPolicy.StepScalingPolicyConfigurationProperty.Builder, CfnScalingPolicy.StepScalingPolicyConfigurationProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnScalingPolicy.StepScalingPolicyConfigurationProperty.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 String
Specifies whether theScalingAdjustment
value in theStepAdjustment
property is an absolute number or a percentage of the current capacity.final Number
The amount of time, in seconds, to wait for a previous scaling activity to take effect.final String
The aggregation type for the CloudWatch metrics.final Number
The minimum value to scale by when the adjustment type isPercentChangeInCapacity
.final Object
A set of adjustments that enable you to scale based on the size of the alarm breach.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 theCfnScalingPolicy.StepScalingPolicyConfigurationProperty.Builder
.
-
-
Method Details
-
getAdjustmentType
Description copied from interface:CfnScalingPolicy.StepScalingPolicyConfigurationProperty
Specifies whether theScalingAdjustment
value in theStepAdjustment
property is an absolute number or a percentage of the current capacity.- Specified by:
getAdjustmentType
in interfaceCfnScalingPolicy.StepScalingPolicyConfigurationProperty
-
getCooldown
Description copied from interface:CfnScalingPolicy.StepScalingPolicyConfigurationProperty
The amount of time, in seconds, to wait for a previous scaling activity to take effect.If not specified, the default value is 300. For more information, see Cooldown period in the Application Auto Scaling User Guide .
- Specified by:
getCooldown
in interfaceCfnScalingPolicy.StepScalingPolicyConfigurationProperty
-
getMetricAggregationType
Description copied from interface:CfnScalingPolicy.StepScalingPolicyConfigurationProperty
The aggregation type for the CloudWatch metrics.Valid values are
Minimum
,Maximum
, andAverage
. If the aggregation type is null, the value is treated asAverage
.- Specified by:
getMetricAggregationType
in interfaceCfnScalingPolicy.StepScalingPolicyConfigurationProperty
-
getMinAdjustmentMagnitude
Description copied from interface:CfnScalingPolicy.StepScalingPolicyConfigurationProperty
The minimum value to scale by when the adjustment type isPercentChangeInCapacity
.For example, suppose that you create a step scaling policy to scale out an Amazon ECS service by 25 percent and you specify a
MinAdjustmentMagnitude
of 2. If the service has 4 tasks and the scaling policy is performed, 25 percent of 4 is 1. However, because you specified aMinAdjustmentMagnitude
of 2, Application Auto Scaling scales out the service by 2 tasks.- Specified by:
getMinAdjustmentMagnitude
in interfaceCfnScalingPolicy.StepScalingPolicyConfigurationProperty
-
getStepAdjustments
Description copied from interface:CfnScalingPolicy.StepScalingPolicyConfigurationProperty
A set of adjustments that enable you to scale based on the size of the alarm breach.At least one step adjustment is required if you are adding a new step scaling policy configuration.
- Specified by:
getStepAdjustments
in interfaceCfnScalingPolicy.StepScalingPolicyConfigurationProperty
-
$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()
-