Class CfnScalingPolicy.CustomizedMetricSpecificationProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.applicationautoscaling.CfnScalingPolicy.CustomizedMetricSpecificationProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnScalingPolicy.CustomizedMetricSpecificationProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnScalingPolicy.CustomizedMetricSpecificationProperty
@Stability(Stable)
@Internal
public static final class CfnScalingPolicy.CustomizedMetricSpecificationProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnScalingPolicy.CustomizedMetricSpecificationProperty
An implementation for
CfnScalingPolicy.CustomizedMetricSpecificationProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.applicationautoscaling.CfnScalingPolicy.CustomizedMetricSpecificationProperty
CfnScalingPolicy.CustomizedMetricSpecificationProperty.Builder, CfnScalingPolicy.CustomizedMetricSpecificationProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnScalingPolicy.CustomizedMetricSpecificationProperty.Builder.protectedJsii$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.JsonNodefinal booleanfinal ObjectThe dimensions of the metric.final StringThe name of the metric.final ObjectThe metrics to include in the target tracking scaling policy, as a metric data query.final StringThe namespace of the metric.final StringThe statistic of the metric.final StringgetUnit()The unit of the metric.final inthashCode()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.CustomizedMetricSpecificationProperty.Builder.
-
-
Method Details
-
getDimensions
Description copied from interface:CfnScalingPolicy.CustomizedMetricSpecificationPropertyThe dimensions of the metric.Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnScalingPolicy.MetricDimensionProperty>- Specified by:
getDimensionsin interfaceCfnScalingPolicy.CustomizedMetricSpecificationProperty- See Also:
-
getMetricName
Description copied from interface:CfnScalingPolicy.CustomizedMetricSpecificationPropertyThe name of the metric.To get the exact metric name, namespace, and dimensions, inspect the Metric object that's returned by a call to ListMetrics .
- Specified by:
getMetricNamein interfaceCfnScalingPolicy.CustomizedMetricSpecificationProperty- See Also:
-
getMetrics
Description copied from interface:CfnScalingPolicy.CustomizedMetricSpecificationPropertyThe metrics to include in the target tracking scaling policy, as a metric data query.This can include both raw metric and metric math expressions.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnScalingPolicy.TargetTrackingMetricDataQueryProperty>- Specified by:
getMetricsin interfaceCfnScalingPolicy.CustomizedMetricSpecificationProperty- See Also:
-
getNamespace
Description copied from interface:CfnScalingPolicy.CustomizedMetricSpecificationPropertyThe namespace of the metric.- Specified by:
getNamespacein interfaceCfnScalingPolicy.CustomizedMetricSpecificationProperty- See Also:
-
getStatistic
Description copied from interface:CfnScalingPolicy.CustomizedMetricSpecificationPropertyThe statistic of the metric.- Specified by:
getStatisticin interfaceCfnScalingPolicy.CustomizedMetricSpecificationProperty- See Also:
-
getUnit
Description copied from interface:CfnScalingPolicy.CustomizedMetricSpecificationPropertyThe unit of the metric.For a complete list of the units that CloudWatch supports, see the MetricDatum data type in the Amazon CloudWatch API Reference .
- Specified by:
getUnitin interfaceCfnScalingPolicy.CustomizedMetricSpecificationProperty- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-