ServiceTaskSpecContainerSpecHealthcheckArgs

data class ServiceTaskSpecContainerSpecHealthcheckArgs(val interval: Output<String>? = null, val retries: Output<Int>? = null, val startPeriod: Output<String>? = null, val tests: Output<List<String>>, val timeout: Output<String>? = null) : ConvertibleToJava<ServiceTaskSpecContainerSpecHealthcheckArgs>

Constructors

constructor(interval: Output<String>? = null, retries: Output<Int>? = null, startPeriod: Output<String>? = null, tests: Output<List<String>>, timeout: Output<String>? = null)

Properties

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

Time between running the check (ms|s|m|h). Defaults to 0s.

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

Consecutive failures needed to report unhealthy. Defaults to 0

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

Start period for the container to initialize before counting retries towards unstable (ms|s|m|h). Defaults to 0s.

Link copied to clipboard
val tests: Output<List<String>>

The test to perform as list

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

Maximum time to allow one check to run (ms|s|m|h). Defaults to 0s.

Functions

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