BasicScalingArgs

data class BasicScalingArgs(val idleTimeout: Output<String>? = null, val maxInstances: Output<Int>? = null) : ConvertibleToJava<BasicScalingArgs>

A service with basic scaling will create an instance when the application receives a request. The instance will be turned down when the app becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity.

Constructors

Link copied to clipboard
fun BasicScalingArgs(idleTimeout: Output<String>? = null, maxInstances: Output<Int>? = null)

Functions

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

Properties

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

Duration of time after the last request that an instance must wait before the instance is shut down.

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

Maximum number of instances to create for this version.