![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.gamelift.kotlin.inputs.ContainerGroupDefinitionContainerHealthCheckArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.gamelift.kotlin.inputs
import com.pulumi.awsnative.gamelift.inputs.ContainerGroupDefinitionContainerHealthCheckArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Specifies how the process manager checks the health of containers.
* @property command A string array representing the command that the container runs to determine if it is healthy.
* @property interval How often (in seconds) the health is checked.
* @property retries How many times the process manager will retry the command after a timeout. (The first run of the command does not count as a retry.)
* @property startPeriod The optional grace period (in seconds) to give a container time to boostrap before teh health check is declared failed.
* @property timeout How many seconds the process manager allows the command to run before canceling it.
*/
public data class ContainerGroupDefinitionContainerHealthCheckArgs(
public val command: Output>,
public val interval: Output? = null,
public val retries: Output? = null,
public val startPeriod: Output? = null,
public val timeout: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.gamelift.inputs.ContainerGroupDefinitionContainerHealthCheckArgs =
com.pulumi.awsnative.gamelift.inputs.ContainerGroupDefinitionContainerHealthCheckArgs.builder()
.command(command.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.interval(interval?.applyValue({ args0 -> args0 }))
.retries(retries?.applyValue({ args0 -> args0 }))
.startPeriod(startPeriod?.applyValue({ args0 -> args0 }))
.timeout(timeout?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ContainerGroupDefinitionContainerHealthCheckArgs].
*/
@PulumiTagMarker
public class ContainerGroupDefinitionContainerHealthCheckArgsBuilder internal constructor() {
private var command: Output>? = null
private var interval: Output? = null
private var retries: Output? = null
private var startPeriod: Output? = null
private var timeout: Output? = null
/**
* @param value A string array representing the command that the container runs to determine if it is healthy.
*/
@JvmName("xjgrflesoyctonak")
public suspend fun command(`value`: Output>) {
this.command = value
}
@JvmName("vnipbdfnwpfdcncb")
public suspend fun command(vararg values: Output) {
this.command = Output.all(values.asList())
}
/**
* @param values A string array representing the command that the container runs to determine if it is healthy.
*/
@JvmName("beqoondswvslyojv")
public suspend fun command(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy