
com.pulumi.awsnative.lightsail.kotlin.outputs.ContainerServiceDeployment.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.outputs
import kotlin.Suppress
import kotlin.collections.List
/**
* 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 ContainerServiceDeployment(
public val containers: List? = null,
public val publicEndpoint: ContainerPublicEndpoint? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.lightsail.outputs.ContainerServiceDeployment): ContainerServiceDeployment = ContainerServiceDeployment(
containers = javaType.containers().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.lightsail.kotlin.outputs.Container.Companion.toKotlin(args0)
})
}),
publicEndpoint = javaType.publicEndpoint().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.lightsail.kotlin.outputs.ContainerPublicEndpoint.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy