Interface CfnScalingPolicy.PredictiveScalingCustomizedScalingMetricProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnScalingPolicy.PredictiveScalingCustomizedScalingMetricProperty.Jsii$Proxy
- Enclosing class:
CfnScalingPolicy
@Stability(Stable)
public static interface CfnScalingPolicy.PredictiveScalingCustomizedScalingMetricProperty
extends software.amazon.jsii.JsiiSerializable
One or more metric data queries to provide data points for a metric specification.
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.*;
PredictiveScalingCustomizedScalingMetricProperty predictiveScalingCustomizedScalingMetricProperty = PredictiveScalingCustomizedScalingMetricProperty.builder()
.metricDataQueries(List.of(PredictiveScalingMetricDataQueryProperty.builder()
.expression("expression")
.id("id")
.label("label")
.metricStat(PredictiveScalingMetricStatProperty.builder()
.metric(PredictiveScalingMetricProperty.builder()
.dimensions(List.of(PredictiveScalingMetricDimensionProperty.builder()
.name("name")
.value("value")
.build()))
.metricName("metricName")
.namespace("namespace")
.build())
.stat("stat")
.unit("unit")
.build())
.returnData(false)
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnScalingPolicy.PredictiveScalingCustomizedScalingMetricProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()One or more metric data queries to provide data points for a metric specification.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMetricDataQueries
One or more metric data queries to provide data points for a metric specification.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnScalingPolicy.PredictiveScalingMetricDataQueryProperty>- See Also:
-
builder
@Stability(Stable) static CfnScalingPolicy.PredictiveScalingCustomizedScalingMetricProperty.Builder builder()
-