@Stability(value=Stable)
public static interface CfnScalingPolicy.PredictiveScalingCustomizedLoadMetricProperty
extends software.amazon.jsii.JsiiSerializable
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.autoscaling.*;
PredictiveScalingCustomizedLoadMetricProperty predictiveScalingCustomizedLoadMetricProperty = PredictiveScalingCustomizedLoadMetricProperty.builder()
.metricDataQueries(List.of(MetricDataQueryProperty.builder()
.id("id")
// the properties below are optional
.expression("expression")
.label("label")
.metricStat(MetricStatProperty.builder()
.metric(MetricProperty.builder()
.metricName("metricName")
.namespace("namespace")
// the properties below are optional
.dimensions(List.of(MetricDimensionProperty.builder()
.name("name")
.value("value")
.build()))
.build())
.stat("stat")
// the properties below are optional
.unit("unit")
.build())
.returnData(false)
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnScalingPolicy.PredictiveScalingCustomizedLoadMetricProperty.Builder
|
static class |
CfnScalingPolicy.PredictiveScalingCustomizedLoadMetricProperty.Jsii$Proxy
An implementation for
CfnScalingPolicy.PredictiveScalingCustomizedLoadMetricProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnScalingPolicy.PredictiveScalingCustomizedLoadMetricProperty.Builder |
builder() |
Object |
getMetricDataQueries()
One or more metric data queries to provide the data points for a load metric.
|
@Stability(value=Stable) @NotNull Object getMetricDataQueries()
Use multiple metric data queries only if you are performing a math expression on returned data.
@Stability(value=Stable) static CfnScalingPolicy.PredictiveScalingCustomizedLoadMetricProperty.Builder builder()
Copyright © 2022. All rights reserved.