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

com.pulumi.aws.lightsail.kotlin.outputs.ContainerServiceDeploymentVersionPublicEndpoint.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.lightsail.kotlin.outputs

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

/**
 *
 * @property containerName The name of the container for the endpoint.
 * @property containerPort The port of the container to which traffic is forwarded to.
 * @property healthCheck A configuration block that describes the health check configuration of the container. Detailed below.
 */
public data class ContainerServiceDeploymentVersionPublicEndpoint(
    public val containerName: String,
    public val containerPort: Int,
    public val healthCheck: ContainerServiceDeploymentVersionPublicEndpointHealthCheck,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.lightsail.outputs.ContainerServiceDeploymentVersionPublicEndpoint): ContainerServiceDeploymentVersionPublicEndpoint =
            ContainerServiceDeploymentVersionPublicEndpoint(
                containerName = javaType.containerName(),
                containerPort = javaType.containerPort(),
                healthCheck = javaType.healthCheck().let({ args0 ->
                    com.pulumi.aws.lightsail.kotlin.outputs.ContainerServiceDeploymentVersionPublicEndpointHealthCheck.Companion.toKotlin(args0)
                }),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy