@Stability(value=Stable) @Internal public static final class CfnScalingPolicy.PredictiveScalingMetricSpecificationProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnScalingPolicy.PredictiveScalingMetricSpecificationProperty
CfnScalingPolicy.PredictiveScalingMetricSpecificationPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnScalingPolicy.PredictiveScalingMetricSpecificationProperty.Builder, CfnScalingPolicy.PredictiveScalingMetricSpecificationProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnScalingPolicy.PredictiveScalingMetricSpecificationProperty.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 |
getPredefinedLoadMetricSpecification()
The load metric specification.
|
Object |
getPredefinedMetricPairSpecification()
The metric pair specification from which Amazon EC2 Auto Scaling determines the appropriate scaling metric and load metric to use.
|
Object |
getPredefinedScalingMetricSpecification()
The scaling metric specification.
|
Number |
getTargetValue()
Specifies the target utilization.
|
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.PredictiveScalingMetricSpecificationProperty.Builder builder)
CfnScalingPolicy.CustomizedMetricSpecificationProperty.Builder.public final Number getTargetValue()
CfnScalingPolicy.PredictiveScalingMetricSpecificationProperty
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.PredictiveScalingMetricSpecificationPropertypublic final Object getPredefinedLoadMetricSpecification()
CfnScalingPolicy.PredictiveScalingMetricSpecificationProperty
If you specify PredefinedMetricPairSpecification , don't specify this property.
getPredefinedLoadMetricSpecification in interface CfnScalingPolicy.PredictiveScalingMetricSpecificationPropertypublic final Object getPredefinedMetricPairSpecification()
CfnScalingPolicy.PredictiveScalingMetricSpecificationProperty
With predictive scaling, you must specify either a metric pair, or a load metric and a scaling metric individually. Specifying a metric pair instead of individual metrics provides a simpler way to configure metrics for a scaling policy. You choose the metric pair, and the policy automatically knows the correct sum and average statistics to use for the load metric and the scaling metric.
getPredefinedMetricPairSpecification in interface CfnScalingPolicy.PredictiveScalingMetricSpecificationPropertypublic final Object getPredefinedScalingMetricSpecification()
CfnScalingPolicy.PredictiveScalingMetricSpecificationProperty
If you specify PredefinedMetricPairSpecification , don't specify this property.
getPredefinedScalingMetricSpecification in interface CfnScalingPolicy.PredictiveScalingMetricSpecificationProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.