ScaleAction interface

The parameters for the scaling action.

Properties

cooldown

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.

direction

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

type

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

value

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

Property Details

cooldown

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.

cooldown: string

Property Value

string

direction

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

direction: ScaleDirection

Property Value

type

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

type: ScaleType

Property Value

value

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

value?: string

Property Value

string