com.pulumi.awsnative.lightsail.kotlin.inputs.ContainerServiceDeploymentArgs.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.lightsail.kotlin.inputs
import com.pulumi.awsnative.lightsail.inputs.ContainerServiceDeploymentArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Describes a container deployment configuration of an Amazon Lightsail container service.
* @property containers An object that describes the configuration for the containers of the deployment.
* @property publicEndpoint An object that describes the endpoint of the deployment.
*/
public data class ContainerServiceDeploymentArgs(
public val containers: Output>? = null,
public val publicEndpoint: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.lightsail.inputs.ContainerServiceDeploymentArgs =
com.pulumi.awsnative.lightsail.inputs.ContainerServiceDeploymentArgs.builder()
.containers(
containers?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.publicEndpoint(
publicEndpoint?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [ContainerServiceDeploymentArgs].
*/
@PulumiTagMarker
public class ContainerServiceDeploymentArgsBuilder internal constructor() {
private var containers: Output>? = null
private var publicEndpoint: Output? = null
/**
* @param value An object that describes the configuration for the containers of the deployment.
*/
@JvmName("ujdysbjjqcsvlcqe")
public suspend fun containers(`value`: Output>) {
this.containers = value
}
@JvmName("xxeejxsdrwuhudur")
public suspend fun containers(vararg values: Output) {
this.containers = Output.all(values.asList())
}
/**
* @param values An object that describes the configuration for the containers of the deployment.
*/
@JvmName("chlpmvnspsgmhlhi")
public suspend fun containers(values: List