Class CfnScalingPolicyPropsMixin.CustomizedMetricSpecificationProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.cfnpropertymixins.services.applicationautoscaling.CfnScalingPolicyPropsMixin.CustomizedMetricSpecificationProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnScalingPolicyPropsMixin.CustomizedMetricSpecificationProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnScalingPolicyPropsMixin.CustomizedMetricSpecificationProperty
@Stability(Stable)
@Internal
public static final class CfnScalingPolicyPropsMixin.CustomizedMetricSpecificationProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnScalingPolicyPropsMixin.CustomizedMetricSpecificationProperty
An implementation for
CfnScalingPolicyPropsMixin.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.cfnpropertymixins.services.applicationautoscaling.CfnScalingPolicyPropsMixin.CustomizedMetricSpecificationProperty
CfnScalingPolicyPropsMixin.CustomizedMetricSpecificationProperty.Builder, CfnScalingPolicyPropsMixin.CustomizedMetricSpecificationProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnScalingPolicyPropsMixin.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
protected Jsii$Proxy(CfnScalingPolicyPropsMixin.CustomizedMetricSpecificationProperty.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnScalingPolicyPropsMixin.CustomizedMetricSpecificationProperty.Builder.
-
-
Method Details
-
getDimensions
Description copied from interface:CfnScalingPolicyPropsMixin.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: '<'eitherIResolvableorCfnScalingPolicyPropsMixin.MetricDimensionProperty>- Specified by:
getDimensionsin interfaceCfnScalingPolicyPropsMixin.CustomizedMetricSpecificationProperty- See Also:
-
getMetricName
Description copied from interface:CfnScalingPolicyPropsMixin.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 interfaceCfnScalingPolicyPropsMixin.CustomizedMetricSpecificationProperty- See Also:
-
getMetrics
Description copied from interface:CfnScalingPolicyPropsMixin.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: '<'eitherIResolvableorCfnScalingPolicyPropsMixin.TargetTrackingMetricDataQueryProperty>- Specified by:
getMetricsin interfaceCfnScalingPolicyPropsMixin.CustomizedMetricSpecificationProperty- See Also:
-
getNamespace
Description copied from interface:CfnScalingPolicyPropsMixin.CustomizedMetricSpecificationPropertyThe namespace of the metric.- Specified by:
getNamespacein interfaceCfnScalingPolicyPropsMixin.CustomizedMetricSpecificationProperty- See Also:
-
getStatistic
Description copied from interface:CfnScalingPolicyPropsMixin.CustomizedMetricSpecificationPropertyThe statistic of the metric.- Specified by:
getStatisticin interfaceCfnScalingPolicyPropsMixin.CustomizedMetricSpecificationProperty- See Also:
-
getUnit
Description copied from interface:CfnScalingPolicyPropsMixin.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 interfaceCfnScalingPolicyPropsMixin.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()
-