Package com.pulumi.aws.opsworks.outputs
Class CustomLayerLoadBasedAutoScalingUpscaling
- java.lang.Object
-
- com.pulumi.aws.opsworks.outputs.CustomLayerLoadBasedAutoScalingUpscaling
-
public final class CustomLayerLoadBasedAutoScalingUpscaling extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CustomLayerLoadBasedAutoScalingUpscaling.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>
alarms()
static CustomLayerLoadBasedAutoScalingUpscaling.Builder
builder()
static CustomLayerLoadBasedAutoScalingUpscaling.Builder
builder(CustomLayerLoadBasedAutoScalingUpscaling defaults)
java.util.Optional<java.lang.Double>
cpuThreshold()
java.util.Optional<java.lang.Integer>
ignoreMetricsTime()
java.util.Optional<java.lang.Integer>
instanceCount()
java.util.Optional<java.lang.Double>
loadThreshold()
java.util.Optional<java.lang.Double>
memoryThreshold()
java.util.Optional<java.lang.Integer>
thresholdsWaitTime()
-
-
-
Method Detail
-
alarms
public java.util.List<java.lang.String> alarms()
- Returns:
- Custom Cloudwatch auto scaling alarms, to be used as thresholds. This parameter takes a list of up to five alarm names, which are case sensitive and must be in the same region as the stack.
-
cpuThreshold
public java.util.Optional<java.lang.Double> cpuThreshold()
- Returns:
- The CPU utilization threshold, as a percent of the available CPU. A value of -1 disables the threshold.
-
ignoreMetricsTime
public java.util.Optional<java.lang.Integer> ignoreMetricsTime()
- Returns:
- The amount of time (in minutes) after a scaling event occurs that AWS OpsWorks Stacks should ignore metrics and suppress additional scaling events.
-
instanceCount
public java.util.Optional<java.lang.Integer> instanceCount()
- Returns:
- The number of instances to add or remove when the load exceeds a threshold.
-
loadThreshold
public java.util.Optional<java.lang.Double> loadThreshold()
- Returns:
- The load threshold. A value of -1 disables the threshold.
-
memoryThreshold
public java.util.Optional<java.lang.Double> memoryThreshold()
- Returns:
- The memory utilization threshold, as a percent of the available memory. A value of -1 disables the threshold.
-
thresholdsWaitTime
public java.util.Optional<java.lang.Integer> thresholdsWaitTime()
- Returns:
- The amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.
-
builder
public static CustomLayerLoadBasedAutoScalingUpscaling.Builder builder()
-
builder
public static CustomLayerLoadBasedAutoScalingUpscaling.Builder builder(CustomLayerLoadBasedAutoScalingUpscaling defaults)
-
-