GetAppSpecServiceTermination

data class GetAppSpecServiceTermination(val drainSeconds: Int? = null, val gracePeriodSeconds: Int? = null)

Constructors

Link copied to clipboard
constructor(drainSeconds: Int? = null, gracePeriodSeconds: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val drainSeconds: Int? = null

The number of seconds to wait between selecting a container instance for termination and issuing the TERM signal. Selecting a container instance for termination begins an asynchronous drain of new requests on upstream load-balancers. Default: 15 seconds, Minimum 1, Maximum 110.

Link copied to clipboard
val gracePeriodSeconds: Int? = null

The number of seconds to wait between sending a TERM signal to a container and issuing a KILL which causes immediate shutdown. Default: 120, Minimum 1, Maximum 600.