ScaleActionArgs

data class ScaleActionArgs(val cooldown: Output<String>, val direction: Output<ScaleDirection>, val type: Output<ScaleType>, val value: Output<String>? = null) : ConvertibleToJava<ScaleActionArgs>

The parameters for the scaling action.

Constructors

Link copied to clipboard
constructor(cooldown: Output<String>, direction: Output<ScaleDirection>, type: Output<ScaleType>, value: Output<String>? = null)

Properties

Link copied to clipboard
val cooldown: Output<String>

the amount of time to wait since the last scaling action before this action occurs. It must be between 1 week and 1 minute in ISO 8601 format.

Link copied to clipboard

the scale direction. Whether the scaling action increases or decreases the number of instances.

Link copied to clipboard
val type: Output<ScaleType>

the type of action that should occur when the scale rule fires.

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

the number of instances that are involved in the scaling action. This value must be 1 or greater. The default value is 1.

Functions

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