Class CfnScalingPolicy.TargetTrackingScalingPolicyConfigurationProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnScalingPolicy.TargetTrackingScalingPolicyConfigurationProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnScalingPolicy.TargetTrackingScalingPolicyConfigurationProperty
CfnScalingPolicy.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.services.applicationautoscaling.CfnScalingPolicy.TargetTrackingScalingPolicyConfigurationProperty
CfnScalingPolicy.TargetTrackingScalingPolicyConfigurationProperty.Builder, CfnScalingPolicy.TargetTrackingScalingPolicyConfigurationProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnScalingPolicy.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(CfnScalingPolicy.TargetTrackingScalingPolicyConfigurationProperty.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnScalingPolicy.TargetTrackingScalingPolicyConfigurationProperty.Builder.
-
-
Method Details
-
getTargetValue
Description copied from interface:CfnScalingPolicy.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 interfaceCfnScalingPolicy.TargetTrackingScalingPolicyConfigurationProperty
-
getCustomizedMetricSpecification
Description copied from interface:CfnScalingPolicy.TargetTrackingScalingPolicyConfigurationPropertyA customized metric.You can specify either a predefined metric or a customized metric.
- Specified by:
getCustomizedMetricSpecificationin interfaceCfnScalingPolicy.TargetTrackingScalingPolicyConfigurationProperty
-
getDisableScaleIn
Description copied from interface:CfnScalingPolicy.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.- Specified by:
getDisableScaleInin interfaceCfnScalingPolicy.TargetTrackingScalingPolicyConfigurationProperty
-
getPredefinedMetricSpecification
Description copied from interface:CfnScalingPolicy.TargetTrackingScalingPolicyConfigurationPropertyA predefined metric.You can specify either a predefined metric or a customized metric.
- Specified by:
getPredefinedMetricSpecificationin interfaceCfnScalingPolicy.TargetTrackingScalingPolicyConfigurationProperty
-
getScaleInCooldown
Description copied from interface:CfnScalingPolicy.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 interfaceCfnScalingPolicy.TargetTrackingScalingPolicyConfigurationProperty
-
getScaleOutCooldown
Description copied from interface:CfnScalingPolicy.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 interfaceCfnScalingPolicy.TargetTrackingScalingPolicyConfigurationProperty
-
$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()
-