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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.applicationautoscaling.CfnScalingPolicy.TargetTrackingScalingPolicyConfigurationProperty
CfnScalingPolicy.TargetTrackingScalingPolicyConfigurationProperty.Builder, CfnScalingPolicy.TargetTrackingScalingPolicyConfigurationProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnScalingPolicy.TargetTrackingScalingPolicyConfigurationProperty.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 Object
A customized metric.final Object
Indicates whether scale in by the target tracking scaling policy is disabled.final Object
A predefined metric.final Number
The amount of time, in seconds, after a scale-in activity completes before another scale-in activity can start.final Number
The amount of time, in seconds, to wait for a previous scale-out activity to take effect.final Number
The target value for the metric.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
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.TargetTrackingScalingPolicyConfigurationProperty
The 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:
getTargetValue
in interfaceCfnScalingPolicy.TargetTrackingScalingPolicyConfigurationProperty
-
getCustomizedMetricSpecification
Description copied from interface:CfnScalingPolicy.TargetTrackingScalingPolicyConfigurationProperty
A customized metric.You can specify either a predefined metric or a customized metric.
- Specified by:
getCustomizedMetricSpecification
in interfaceCfnScalingPolicy.TargetTrackingScalingPolicyConfigurationProperty
-
getDisableScaleIn
Description copied from interface:CfnScalingPolicy.TargetTrackingScalingPolicyConfigurationProperty
Indicates 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:
getDisableScaleIn
in interfaceCfnScalingPolicy.TargetTrackingScalingPolicyConfigurationProperty
-
getPredefinedMetricSpecification
Description copied from interface:CfnScalingPolicy.TargetTrackingScalingPolicyConfigurationProperty
A predefined metric.You can specify either a predefined metric or a customized metric.
- Specified by:
getPredefinedMetricSpecification
in interfaceCfnScalingPolicy.TargetTrackingScalingPolicyConfigurationProperty
-
getScaleInCooldown
Description copied from interface:CfnScalingPolicy.TargetTrackingScalingPolicyConfigurationProperty
The 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:
getScaleInCooldown
in interfaceCfnScalingPolicy.TargetTrackingScalingPolicyConfigurationProperty
-
getScaleOutCooldown
Description copied from interface:CfnScalingPolicy.TargetTrackingScalingPolicyConfigurationProperty
The 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:
getScaleOutCooldown
in interfaceCfnScalingPolicy.TargetTrackingScalingPolicyConfigurationProperty
-
$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()
-