Class CfnScalingPolicy.StepScalingPolicyConfigurationProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnScalingPolicy.StepScalingPolicyConfigurationProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnScalingPolicy.StepScalingPolicyConfigurationProperty
CfnScalingPolicy.StepScalingPolicyConfigurationProperty-
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.CfnScalingPolicy.StepScalingPolicyConfigurationProperty
CfnScalingPolicy.StepScalingPolicyConfigurationProperty.Builder, CfnScalingPolicy.StepScalingPolicyConfigurationProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnScalingPolicy.StepScalingPolicyConfigurationProperty.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 StringSpecifies whether theScalingAdjustmentvalue in theStepAdjustmentproperty is an absolute number or a percentage of the current capacity.final NumberThe amount of time, in seconds, to wait for a previous scaling activity to take effect.final StringThe aggregation type for the CloudWatch metrics.final NumberThe minimum value to scale by when the adjustment type isPercentChangeInCapacity.final ObjectA set of adjustments that enable you to scale based on the size of the alarm breach.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 theCfnScalingPolicy.StepScalingPolicyConfigurationProperty.Builder.
-
-
Method Details
-
getAdjustmentType
Description copied from interface:CfnScalingPolicy.StepScalingPolicyConfigurationPropertySpecifies whether theScalingAdjustmentvalue in theStepAdjustmentproperty is an absolute number or a percentage of the current capacity.- Specified by:
getAdjustmentTypein interfaceCfnScalingPolicy.StepScalingPolicyConfigurationProperty- See Also:
-
getCooldown
Description copied from interface:CfnScalingPolicy.StepScalingPolicyConfigurationPropertyThe 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:
getCooldownin interfaceCfnScalingPolicy.StepScalingPolicyConfigurationProperty- See Also:
-
getMetricAggregationType
Description copied from interface:CfnScalingPolicy.StepScalingPolicyConfigurationPropertyThe 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:
getMetricAggregationTypein interfaceCfnScalingPolicy.StepScalingPolicyConfigurationProperty- See Also:
-
getMinAdjustmentMagnitude
Description copied from interface:CfnScalingPolicy.StepScalingPolicyConfigurationPropertyThe 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
MinAdjustmentMagnitudeof 2. If the service has 4 tasks and the scaling policy is performed, 25 percent of 4 is 1. However, because you specified aMinAdjustmentMagnitudeof 2, Application Auto Scaling scales out the service by 2 tasks.- Specified by:
getMinAdjustmentMagnitudein interfaceCfnScalingPolicy.StepScalingPolicyConfigurationProperty- See Also:
-
getStepAdjustments
Description copied from interface:CfnScalingPolicy.StepScalingPolicyConfigurationPropertyA 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.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnScalingPolicy.StepAdjustmentProperty>- Specified by:
getStepAdjustmentsin interfaceCfnScalingPolicy.StepScalingPolicyConfigurationProperty- See Also:
-
$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()
-