Interface CfnScalingPolicyPropsMixin.PredictiveScalingMetricProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnScalingPolicyPropsMixin.PredictiveScalingMetricProperty.Jsii$Proxy
- Enclosing class:
CfnScalingPolicyPropsMixin
@Stability(Stable)
public static interface CfnScalingPolicyPropsMixin.PredictiveScalingMetricProperty
extends software.amazon.jsii.JsiiSerializable
Describes the scaling metric.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.applicationautoscaling.*;
PredictiveScalingMetricProperty predictiveScalingMetricProperty = PredictiveScalingMetricProperty.builder()
.dimensions(List.of(PredictiveScalingMetricDimensionProperty.builder()
.name("name")
.value("value")
.build()))
.metricName("metricName")
.namespace("namespace")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnScalingPolicyPropsMixin.PredictiveScalingMetricProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDimensions
Describes the dimensions of the metric.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnScalingPolicyPropsMixin.PredictiveScalingMetricDimensionProperty>- See Also:
-
getMetricName
The name of the metric.- See Also:
-
getNamespace
The namespace of the metric.- See Also:
-
builder
@Stability(Stable) static CfnScalingPolicyPropsMixin.PredictiveScalingMetricProperty.Builder builder()
-