All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.elb.kotlin.outputs.LoadBalancerHealthCheck.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.elb.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property healthyThreshold The number of checks before the instance is declared healthy.
 * @property interval The interval between checks.
 * @property target The target of the check. Valid pattern is "${PROTOCOL}:${PORT}${PATH}", where PROTOCOL
 * values are:
 * * `HTTP`, `HTTPS` - PORT and PATH are required
 * * `TCP`, `SSL` - PORT is required, PATH is not supported
 * @property timeout The length of time before the check times out.
 * @property unhealthyThreshold The number of checks before the instance is declared unhealthy.
 */
public data class LoadBalancerHealthCheck(
    public val healthyThreshold: Int,
    public val interval: Int,
    public val target: String,
    public val timeout: Int,
    public val unhealthyThreshold: Int,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.elb.outputs.LoadBalancerHealthCheck): LoadBalancerHealthCheck = LoadBalancerHealthCheck(
            healthyThreshold = javaType.healthyThreshold(),
            interval = javaType.interval(),
            target = javaType.target(),
            timeout = javaType.timeout(),
            unhealthyThreshold = javaType.unhealthyThreshold(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy