CustomLayerLoadBasedAutoScalingDownscaling

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

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val alarms: 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: 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: 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: Int? = null

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

Link copied to clipboard
val loadThreshold: Double? = null

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

Link copied to clipboard
val memoryThreshold: 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: Int? = null

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