public static final class CfnScalingPlan.TargetTrackingConfigurationProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnScalingPlan.TargetTrackingConfigurationProperty
CfnScalingPlan.TargetTrackingConfigurationProperty
CfnScalingPlan.TargetTrackingConfigurationProperty.Builder, CfnScalingPlan.TargetTrackingConfigurationProperty.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.Object |
getCustomizedScalingMetricSpecification()
A customized metric.
|
java.lang.Object |
getDisableScaleIn()
Indicates whether scale in by the target tracking scaling policy is disabled.
|
java.lang.Number |
getEstimatedInstanceWarmup()
The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics.
|
java.lang.Object |
getPredefinedScalingMetricSpecification()
A predefined metric.
|
java.lang.Number |
getScaleInCooldown()
The amount of time, in seconds, after a scale-in activity completes before another scale in activity can start.
|
java.lang.Number |
getScaleOutCooldown()
The amount of time, in seconds, after a scale-out activity completes before another scale-out activity can start.
|
java.lang.Number |
getTargetValue()
The target value for the metric.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.Number getTargetValue()
CfnScalingPlan.TargetTrackingConfigurationProperty
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.
getTargetValue
in interface CfnScalingPlan.TargetTrackingConfigurationProperty
public final java.lang.Object getCustomizedScalingMetricSpecification()
CfnScalingPlan.TargetTrackingConfigurationProperty
You can specify either a predefined metric or a customized metric.
getCustomizedScalingMetricSpecification
in interface CfnScalingPlan.TargetTrackingConfigurationProperty
public final java.lang.Object getDisableScaleIn()
CfnScalingPlan.TargetTrackingConfigurationProperty
If the value is true
, scale in is disabled and the target tracking scaling policy doesn't remove capacity from the scalable resource. Otherwise, scale in is enabled and the target tracking scaling policy can remove capacity from the scalable resource.
The default value is false
.
getDisableScaleIn
in interface CfnScalingPlan.TargetTrackingConfigurationProperty
public final java.lang.Number getEstimatedInstanceWarmup()
CfnScalingPlan.TargetTrackingConfigurationProperty
This value is used only if the resource is an Auto Scaling group.
getEstimatedInstanceWarmup
in interface CfnScalingPlan.TargetTrackingConfigurationProperty
public final java.lang.Object getPredefinedScalingMetricSpecification()
CfnScalingPlan.TargetTrackingConfigurationProperty
You can specify either a predefined metric or a customized metric.
getPredefinedScalingMetricSpecification
in interface CfnScalingPlan.TargetTrackingConfigurationProperty
public final java.lang.Number getScaleInCooldown()
CfnScalingPlan.TargetTrackingConfigurationProperty
This value is not used if the scalable resource is an Auto Scaling group.
getScaleInCooldown
in interface CfnScalingPlan.TargetTrackingConfigurationProperty
public final java.lang.Number getScaleOutCooldown()
CfnScalingPlan.TargetTrackingConfigurationProperty
This value is not used if the scalable resource is an Auto Scaling group.
getScaleOutCooldown
in interface CfnScalingPlan.TargetTrackingConfigurationProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()