CustomLayerLoadBasedAutoScalingDownscalingArgs

data class CustomLayerLoadBasedAutoScalingDownscalingArgs(val alarms: Output<List<String>>? = null, val cpuThreshold: Output<Double>? = null, val ignoreMetricsTime: Output<Int>? = null, val instanceCount: Output<Int>? = null, val loadThreshold: Output<Double>? = null, val memoryThreshold: Output<Double>? = null, val thresholdsWaitTime: Output<Int>? = null) : ConvertibleToJava<CustomLayerLoadBasedAutoScalingDownscalingArgs>

Constructors

constructor(alarms: Output<List<String>>? = null, cpuThreshold: Output<Double>? = null, ignoreMetricsTime: Output<Int>? = null, instanceCount: Output<Int>? = null, loadThreshold: Output<Double>? = null, memoryThreshold: Output<Double>? = null, thresholdsWaitTime: Output<Int>? = null)

Properties

Link copied to clipboard
val alarms: Output<List<String>>? = null

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.

Link copied to clipboard
val cpuThreshold: Output<Double>? = null

The CPU utilization threshold, as a percent of the available CPU. A value of -1 disables the threshold.

Link copied to clipboard
val ignoreMetricsTime: Output<Int>? = null

The amount of time (in minutes) after a scaling event occurs that AWS OpsWorks Stacks should ignore metrics and suppress additional scaling events.

Link copied to clipboard
val instanceCount: Output<Int>? = null

The number of instances to add or remove when the load exceeds a threshold.

Link copied to clipboard
val loadThreshold: Output<Double>? = null

The load threshold. A value of -1 disables the threshold.

Link copied to clipboard
val memoryThreshold: Output<Double>? = null

The memory utilization threshold, as a percent of the available memory. A value of -1 disables the threshold.

Link copied to clipboard
val thresholdsWaitTime: Output<Int>? = null

The amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.

Functions

Link copied to clipboard
open override fun toJava(): CustomLayerLoadBasedAutoScalingDownscalingArgs