Interface CfnScalingPolicy.PredictiveScalingMetricProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnScalingPolicy.PredictiveScalingMetricProperty.Jsii$Proxy
- Enclosing class:
CfnScalingPolicy
@Stability(Stable)
public static interface CfnScalingPolicy.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.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 classA builder forCfnScalingPolicy.PredictiveScalingMetricPropertystatic final classAn implementation forCfnScalingPolicy.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: '<'eitherIResolvableorCfnScalingPolicy.PredictiveScalingMetricDimensionProperty>- See Also:
-
getMetricName
The name of the metric.- See Also:
-
getNamespace
The namespace of the metric.- See Also:
-
builder
-