Class CfnScalingPolicyPropsMixin.TargetTrackingScalingPolicyConfigurationProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnScalingPolicyPropsMixin.TargetTrackingScalingPolicyConfigurationProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnScalingPolicyPropsMixin.TargetTrackingScalingPolicyConfigurationProperty
CfnScalingPolicyPropsMixin.TargetTrackingScalingPolicyConfigurationProperty-
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.cfnpropertymixins.services.applicationautoscaling.CfnScalingPolicyPropsMixin.TargetTrackingScalingPolicyConfigurationProperty
CfnScalingPolicyPropsMixin.TargetTrackingScalingPolicyConfigurationProperty.Builder, CfnScalingPolicyPropsMixin.TargetTrackingScalingPolicyConfigurationProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CfnScalingPolicyPropsMixin.TargetTrackingScalingPolicyConfigurationProperty.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnScalingPolicyPropsMixin.TargetTrackingScalingPolicyConfigurationProperty.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 ObjectA customized metric.final ObjectIndicates whether scale in by the target tracking scaling policy is disabled.final ObjectA predefined metric.final NumberThe amount of time, in seconds, after a scale-in activity completes before another scale-in activity can start.final NumberThe amount of time, in seconds, to wait for a previous scale-out activity to take effect.final NumberThe target value for the metric.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
protected Jsii$Proxy(CfnScalingPolicyPropsMixin.TargetTrackingScalingPolicyConfigurationProperty.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnScalingPolicyPropsMixin.TargetTrackingScalingPolicyConfigurationProperty.Builder.
-
-
Method Details
-
getCustomizedMetricSpecification
Description copied from interface:CfnScalingPolicyPropsMixin.TargetTrackingScalingPolicyConfigurationPropertyA customized metric.You can specify either a predefined metric or a customized metric.
Returns union: either
IResolvableorCfnScalingPolicyPropsMixin.CustomizedMetricSpecificationProperty- Specified by:
getCustomizedMetricSpecificationin interfaceCfnScalingPolicyPropsMixin.TargetTrackingScalingPolicyConfigurationProperty- See Also:
-
getDisableScaleIn
Description copied from interface:CfnScalingPolicyPropsMixin.TargetTrackingScalingPolicyConfigurationPropertyIndicates whether scale in by the target tracking scaling policy is disabled.If the value is
true, scale in is disabled and the target tracking scaling policy won't remove capacity from the scalable target. Otherwise, scale in is enabled and the target tracking scaling policy can remove capacity from the scalable target. The default value isfalse.Returns union: either
BooleanorIResolvable- Specified by:
getDisableScaleInin interfaceCfnScalingPolicyPropsMixin.TargetTrackingScalingPolicyConfigurationProperty- See Also:
-
getPredefinedMetricSpecification
Description copied from interface:CfnScalingPolicyPropsMixin.TargetTrackingScalingPolicyConfigurationPropertyA predefined metric.You can specify either a predefined metric or a customized metric.
Returns union: either
IResolvableorCfnScalingPolicyPropsMixin.PredefinedMetricSpecificationProperty- Specified by:
getPredefinedMetricSpecificationin interfaceCfnScalingPolicyPropsMixin.TargetTrackingScalingPolicyConfigurationProperty- See Also:
-
getScaleInCooldown
Description copied from interface:CfnScalingPolicyPropsMixin.TargetTrackingScalingPolicyConfigurationPropertyThe amount of time, in seconds, after a scale-in activity completes before another scale-in activity can start.For more information and for default values, see Define cooldown periods in the Application Auto Scaling User Guide .
- Specified by:
getScaleInCooldownin interfaceCfnScalingPolicyPropsMixin.TargetTrackingScalingPolicyConfigurationProperty- See Also:
-
getScaleOutCooldown
Description copied from interface:CfnScalingPolicyPropsMixin.TargetTrackingScalingPolicyConfigurationPropertyThe amount of time, in seconds, to wait for a previous scale-out activity to take effect.For more information and for default values, see Define cooldown periods in the Application Auto Scaling User Guide .
- Specified by:
getScaleOutCooldownin interfaceCfnScalingPolicyPropsMixin.TargetTrackingScalingPolicyConfigurationProperty- See Also:
-
getTargetValue
Description copied from interface:CfnScalingPolicyPropsMixin.TargetTrackingScalingPolicyConfigurationPropertyThe target value for the metric.Although this property accepts numbers of type Double, it won't accept values that are either too small or too large. Values must be in the range of -2^360 to 2^360. The value must be a valid number based on the choice of metric. For example, if the metric is CPU utilization, then the target value is a percent value that represents how much of the CPU can be used before scaling out.
- Specified by:
getTargetValuein interfaceCfnScalingPolicyPropsMixin.TargetTrackingScalingPolicyConfigurationProperty- 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()
-