@Stability(value=Stable)
public static interface CfnScalingPolicy.PredictiveScalingConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
// 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.*;
PredictiveScalingConfigurationProperty predictiveScalingConfigurationProperty = PredictiveScalingConfigurationProperty.builder()
.metricSpecifications(List.of(PredictiveScalingMetricSpecificationProperty.builder()
.targetValue(123)
// the properties below are optional
.predefinedLoadMetricSpecification(PredictiveScalingPredefinedLoadMetricProperty.builder()
.predefinedMetricType("predefinedMetricType")
// the properties below are optional
.resourceLabel("resourceLabel")
.build())
.predefinedMetricPairSpecification(PredictiveScalingPredefinedMetricPairProperty.builder()
.predefinedMetricType("predefinedMetricType")
// the properties below are optional
.resourceLabel("resourceLabel")
.build())
.predefinedScalingMetricSpecification(PredictiveScalingPredefinedScalingMetricProperty.builder()
.predefinedMetricType("predefinedMetricType")
// the properties below are optional
.resourceLabel("resourceLabel")
.build())
.build()))
// the properties below are optional
.maxCapacityBreachBehavior("maxCapacityBreachBehavior")
.maxCapacityBuffer(123)
.mode("mode")
.schedulingBufferTime(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnScalingPolicy.PredictiveScalingConfigurationProperty.Builder
A builder for
CfnScalingPolicy.PredictiveScalingConfigurationProperty |
static class |
CfnScalingPolicy.PredictiveScalingConfigurationProperty.Jsii$Proxy
An implementation for
CfnScalingPolicy.PredictiveScalingConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnScalingPolicy.PredictiveScalingConfigurationProperty.Builder |
builder() |
default String |
getMaxCapacityBreachBehavior()
`CfnScalingPolicy.PredictiveScalingConfigurationProperty.MaxCapacityBreachBehavior`.
|
default Number |
getMaxCapacityBuffer()
`CfnScalingPolicy.PredictiveScalingConfigurationProperty.MaxCapacityBuffer`.
|
Object |
getMetricSpecifications()
`CfnScalingPolicy.PredictiveScalingConfigurationProperty.MetricSpecifications`.
|
default String |
getMode()
`CfnScalingPolicy.PredictiveScalingConfigurationProperty.Mode`.
|
default Number |
getSchedulingBufferTime()
`CfnScalingPolicy.PredictiveScalingConfigurationProperty.SchedulingBufferTime`.
|
@Stability(value=Stable) @Nullable default String getMaxCapacityBreachBehavior()
@Stability(value=Stable) @Nullable default Number getMaxCapacityBuffer()
@Stability(value=Stable) @NotNull Object getMetricSpecifications()
@Stability(value=Stable) @Nullable default String getMode()
@Stability(value=Stable) @Nullable default Number getSchedulingBufferTime()
@Stability(value=Stable) static CfnScalingPolicy.PredictiveScalingConfigurationProperty.Builder builder()
Copyright © 2021. All rights reserved.