![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.apprunner.kotlin.inputs.ServiceHealthCheckConfigurationArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.apprunner.kotlin.inputs
import com.pulumi.awsnative.apprunner.inputs.ServiceHealthCheckConfigurationArgs.builder
import com.pulumi.awsnative.apprunner.kotlin.enums.ServiceHealthCheckConfigurationProtocol
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Health check configuration
* @property healthyThreshold Health check Healthy Threshold
* @property interval Health check Interval
* @property path Health check Path
* @property protocol Health Check Protocol
* @property timeout Health check Timeout
* @property unhealthyThreshold Health check Unhealthy Threshold
*/
public data class ServiceHealthCheckConfigurationArgs(
public val healthyThreshold: Output? = null,
public val interval: Output? = null,
public val path: Output? = null,
public val protocol: Output? = null,
public val timeout: Output? = null,
public val unhealthyThreshold: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.apprunner.inputs.ServiceHealthCheckConfigurationArgs =
com.pulumi.awsnative.apprunner.inputs.ServiceHealthCheckConfigurationArgs.builder()
.healthyThreshold(healthyThreshold?.applyValue({ args0 -> args0 }))
.interval(interval?.applyValue({ args0 -> args0 }))
.path(path?.applyValue({ args0 -> args0 }))
.protocol(protocol?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.timeout(timeout?.applyValue({ args0 -> args0 }))
.unhealthyThreshold(unhealthyThreshold?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ServiceHealthCheckConfigurationArgs].
*/
@PulumiTagMarker
public class ServiceHealthCheckConfigurationArgsBuilder internal constructor() {
private var healthyThreshold: Output? = null
private var interval: Output? = null
private var path: Output? = null
private var protocol: Output? = null
private var timeout: Output? = null
private var unhealthyThreshold: Output? = null
/**
* @param value Health check Healthy Threshold
*/
@JvmName("ripbucwpnxvnycjg")
public suspend fun healthyThreshold(`value`: Output) {
this.healthyThreshold = value
}
/**
* @param value Health check Interval
*/
@JvmName("rkerctocgmdlikev")
public suspend fun interval(`value`: Output) {
this.interval = value
}
/**
* @param value Health check Path
*/
@JvmName("hliykhivyalskfrc")
public suspend fun path(`value`: Output) {
this.path = value
}
/**
* @param value Health Check Protocol
*/
@JvmName("pxccgtioqdlirjwa")
public suspend fun protocol(`value`: Output) {
this.protocol = value
}
/**
* @param value Health check Timeout
*/
@JvmName("siuiuflxryxpaxif")
public suspend fun timeout(`value`: Output) {
this.timeout = value
}
/**
* @param value Health check Unhealthy Threshold
*/
@JvmName("kqmyulasogrlqenq")
public suspend fun unhealthyThreshold(`value`: Output) {
this.unhealthyThreshold = value
}
/**
* @param value Health check Healthy Threshold
*/
@JvmName("hbhmdwproafdilio")
public suspend fun healthyThreshold(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.healthyThreshold = mapped
}
/**
* @param value Health check Interval
*/
@JvmName("foemnebhotcunjsi")
public suspend fun interval(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.interval = mapped
}
/**
* @param value Health check Path
*/
@JvmName("psltaagngiurpxfj")
public suspend fun path(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.path = mapped
}
/**
* @param value Health Check Protocol
*/
@JvmName("unwucvajyadssexp")
public suspend fun protocol(`value`: ServiceHealthCheckConfigurationProtocol?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.protocol = mapped
}
/**
* @param value Health check Timeout
*/
@JvmName("xtmnfbdjspfbnfaa")
public suspend fun timeout(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.timeout = mapped
}
/**
* @param value Health check Unhealthy Threshold
*/
@JvmName("ujkiripgypuiqhyj")
public suspend fun unhealthyThreshold(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.unhealthyThreshold = mapped
}
internal fun build(): ServiceHealthCheckConfigurationArgs = ServiceHealthCheckConfigurationArgs(
healthyThreshold = healthyThreshold,
interval = interval,
path = path,
protocol = protocol,
timeout = timeout,
unhealthyThreshold = unhealthyThreshold,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy