public static interface CfnLayer.LoadBasedAutoScalingProperty
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 java.lang.Object |
getDownScaling()
An `AutoScalingThresholds` object that describes the downscaling configuration, which defines how and when AWS OpsWorks Stacks reduces the number of instances.
|
default java.lang.Object |
getEnable()
Whether load-based auto scaling is enabled for the layer.
|
default java.lang.Object |
getUpScaling()
An `AutoScalingThresholds` object that describes the upscaling configuration, which defines how and when AWS OpsWorks Stacks increases the number of instances.
|
default java.lang.Object getDownScaling()
default java.lang.Object getEnable()
default java.lang.Object getUpScaling()
static CfnLayer.LoadBasedAutoScalingProperty.Builder builder()