Interface CfnLayer.LoadBasedAutoScalingProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLayer.LoadBasedAutoScalingProperty.Jsii$Proxy
- Enclosing class:
CfnLayer
@Stability(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();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnLayer.LoadBasedAutoScalingProperty
static final class
An implementation forCfnLayer.LoadBasedAutoScalingProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
AnAutoScalingThresholds
object that describes the downscaling configuration, which defines how and when AWS OpsWorks Stacks reduces the number of instances.default Object
Whether load-based auto scaling is enabled for the layer.default Object
AnAutoScalingThresholds
object that describes the upscaling configuration, which defines how and when AWS OpsWorks Stacks increases the number of instances.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDownScaling
AnAutoScalingThresholds
object that describes the downscaling configuration, which defines how and when AWS OpsWorks Stacks reduces the number of instances.- See Also:
-
getEnable
Whether load-based auto scaling is enabled for the layer.- See Also:
-
getUpScaling
AnAutoScalingThresholds
object that describes the upscaling configuration, which defines how and when AWS OpsWorks Stacks increases the number of instances.- See Also:
-
builder
-