@Stability(value=Stable)
public static interface CfnLayer.LoadBasedAutoScalingProperty
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.opsworks.*;
LoadBasedAutoScalingProperty loadBasedAutoScalingProperty = LoadBasedAutoScalingProperty.builder()
.downScaling(AutoScalingThresholdsProperty.builder()
.cpuThreshold(123)
.ignoreMetricsTime(123)
.instanceCount(123)
.loadThreshold(123)
.memoryThreshold(123)
.thresholdsWaitTime(123)
.build())
.enable(false)
.upScaling(AutoScalingThresholdsProperty.builder()
.cpuThreshold(123)
.ignoreMetricsTime(123)
.instanceCount(123)
.loadThreshold(123)
.memoryThreshold(123)
.thresholdsWaitTime(123)
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnLayer.LoadBasedAutoScalingProperty.Builder
A builder for
CfnLayer.LoadBasedAutoScalingProperty |
static class |
CfnLayer.LoadBasedAutoScalingProperty.Jsii$Proxy
An implementation for
CfnLayer.LoadBasedAutoScalingProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnLayer.LoadBasedAutoScalingProperty.Builder |
builder() |
default Object |
getDownScaling()
An `AutoScalingThresholds` object that describes the downscaling configuration, which defines how and when AWS OpsWorks Stacks reduces the number of instances.
|
default Object |
getEnable()
Whether load-based auto scaling is enabled for the layer.
|
default Object |
getUpScaling()
An `AutoScalingThresholds` object that describes the upscaling configuration, which defines how and when AWS OpsWorks Stacks increases the number of instances.
|
@Stability(value=Stable) @Nullable default Object getDownScaling()
@Stability(value=Stable) @Nullable default Object getEnable()
@Stability(value=Stable) @Nullable default Object getUpScaling()
@Stability(value=Stable) static CfnLayer.LoadBasedAutoScalingProperty.Builder builder()
Copyright © 2022. All rights reserved.