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

com.pulumi.awsnative.lightsail.kotlin.outputs.ContainerServiceDeployment.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: 1.24.0.0
Show newest version
@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