@Stability(value=Stable) @Internal public static final class CfnScalingPolicy.TargetTrackingConfigurationProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnScalingPolicy.TargetTrackingConfigurationProperty
CfnScalingPolicy.TargetTrackingConfigurationPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnScalingPolicy.TargetTrackingConfigurationProperty.Builder, CfnScalingPolicy.TargetTrackingConfigurationProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnScalingPolicy.TargetTrackingConfigurationProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnScalingPolicy.CustomizedMetricSpecificationProperty.Builder. |
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(Object o) |
Object |
getCustomizedMetricSpecification()
A customized metric.
|
Object |
getDisableScaleIn()
Indicates whether scaling in by the target tracking scaling policy is disabled.
|
Object |
getPredefinedMetricSpecification()
A predefined metric.
|
Number |
getTargetValue()
The target value for the metric.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnScalingPolicy.TargetTrackingConfigurationProperty.Builder builder)
CfnScalingPolicy.CustomizedMetricSpecificationProperty.Builder.public final Number getTargetValue()
CfnScalingPolicy.TargetTrackingConfigurationProperty
Some metrics are based on a count instead of a percentage, such as the request count for an Application Load Balancer or the number of messages in an SQS queue. If the scaling policy specifies one of these metrics, specify the target utilization as the optimal average request or message count per instance during any one-minute interval.
getTargetValue in interface CfnScalingPolicy.TargetTrackingConfigurationPropertypublic final Object getCustomizedMetricSpecification()
CfnScalingPolicy.TargetTrackingConfigurationPropertyYou must specify either a predefined metric or a customized metric.
getCustomizedMetricSpecification in interface CfnScalingPolicy.TargetTrackingConfigurationPropertypublic final Object getDisableScaleIn()
CfnScalingPolicy.TargetTrackingConfigurationProperty
If scaling in is disabled, the target tracking scaling policy doesn't remove instances from the Auto Scaling group. Otherwise, the target tracking scaling policy can remove instances from the Auto Scaling group. The default is false .
getDisableScaleIn in interface CfnScalingPolicy.TargetTrackingConfigurationPropertypublic final Object getPredefinedMetricSpecification()
CfnScalingPolicy.TargetTrackingConfigurationPropertyYou must specify either a predefined metric or a customized metric.
getPredefinedMetricSpecification in interface CfnScalingPolicy.TargetTrackingConfigurationProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.