Class CfnScalingPolicy.TargetTrackingMetricStatProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.autoscaling.CfnScalingPolicy.TargetTrackingMetricStatProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnScalingPolicy.TargetTrackingMetricStatProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnScalingPolicy.TargetTrackingMetricStatProperty
@Stability(Stable)
@Internal
public static final class CfnScalingPolicy.TargetTrackingMetricStatProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnScalingPolicy.TargetTrackingMetricStatProperty
An implementation for
CfnScalingPolicy.TargetTrackingMetricStatProperty
-
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.autoscaling.CfnScalingPolicy.TargetTrackingMetricStatProperty
CfnScalingPolicy.TargetTrackingMetricStatProperty.Builder, CfnScalingPolicy.TargetTrackingMetricStatProperty.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnScalingPolicy.TargetTrackingMetricStatProperty.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
The metric to use.final Number
The period of the metric in seconds.final String
getStat()
The statistic to return.final String
getUnit()
The unit to use for the returned data points.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
Constructor that initializes the object based on literal property values passed by theCfnScalingPolicy.TargetTrackingMetricStatProperty.Builder
.
-
-
Method Details
-
getMetric
Description copied from interface:CfnScalingPolicy.TargetTrackingMetricStatProperty
The metric to use.- Specified by:
getMetric
in interfaceCfnScalingPolicy.TargetTrackingMetricStatProperty
- See Also:
-
getStat
Description copied from interface:CfnScalingPolicy.TargetTrackingMetricStatProperty
The statistic to return.It 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 metric for scaling is
Average
.- Specified by:
getStat
in interfaceCfnScalingPolicy.TargetTrackingMetricStatProperty
- See Also:
-
getPeriod
Description copied from interface:CfnScalingPolicy.TargetTrackingMetricStatProperty
The period of the metric in seconds.The default value is 60. Accepted values are 10, 30, and 60. For high resolution metric, set the value to less than 60. For more information, see Create a target tracking policy using high-resolution metrics for faster response .
- Specified by:
getPeriod
in interfaceCfnScalingPolicy.TargetTrackingMetricStatProperty
- See Also:
-
getUnit
Description copied from interface:CfnScalingPolicy.TargetTrackingMetricStatProperty
The unit to use for the returned data points.For a complete list of the units that CloudWatch supports, see the MetricDatum data type in the Amazon CloudWatch API Reference .
- Specified by:
getUnit
in interfaceCfnScalingPolicy.TargetTrackingMetricStatProperty
- See Also:
-
$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()
-