@Stability(value=Stable) @Internal public static final class CfnScalingPolicy.MetricStatProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnScalingPolicy.MetricStatProperty
CfnScalingPolicy.MetricStatPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnScalingPolicy.MetricStatProperty.Builder, CfnScalingPolicy.MetricStatProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnScalingPolicy.MetricStatProperty.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 |
getMetric()
The CloudWatch metric to return, including the metric name, namespace, and dimensions.
|
String |
getStat()
The statistic to return.
|
String |
getUnit()
The unit to use for the returned data points.
|
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.MetricStatProperty.Builder builder)
CfnScalingPolicy.CustomizedMetricSpecificationProperty.Builder.public final Object getMetric()
CfnScalingPolicy.MetricStatPropertyTo get the exact metric name, namespace, and dimensions, inspect the Metric object that is returned by a call to ListMetrics .
getMetric in interface CfnScalingPolicy.MetricStatPropertypublic final String getStat()
CfnScalingPolicy.MetricStatPropertyIt can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in Statistics in the Amazon CloudWatch User Guide .
The most commonly used metrics for predictive scaling are Average and Sum .
getStat in interface CfnScalingPolicy.MetricStatPropertypublic final String getUnit()
CfnScalingPolicy.MetricStatPropertyFor a complete list of the units that CloudWatch supports, see the MetricDatum data type in the Amazon CloudWatch API Reference .
getUnit in interface CfnScalingPolicy.MetricStatProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.