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

com.pulumi.awsnative.apprunner.kotlin.outputs.ServiceCodeConfiguration.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.11.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.apprunner.kotlin.outputs

import com.pulumi.awsnative.apprunner.kotlin.enums.ServiceCodeConfigurationConfigurationSource
import kotlin.Suppress

/**
 * Code Configuration
 * @property codeConfigurationValues The basic configuration for building and running the App Runner service. Use it to quickly launch an App Runner service without providing a `apprunner.yaml` file in the source code repository (or ignoring the file if it exists).
 * @property configurationSource Configuration Source
 */
public data class ServiceCodeConfiguration(
    public val codeConfigurationValues: ServiceCodeConfigurationValues? = null,
    public val configurationSource: ServiceCodeConfigurationConfigurationSource,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.apprunner.outputs.ServiceCodeConfiguration): ServiceCodeConfiguration = ServiceCodeConfiguration(
            codeConfigurationValues = javaType.codeConfigurationValues().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.apprunner.kotlin.outputs.ServiceCodeConfigurationValues.Companion.toKotlin(args0)
                })
            }).orElse(null),
            configurationSource = javaType.configurationSource().let({ args0 ->
                com.pulumi.awsnative.apprunner.kotlin.enums.ServiceCodeConfigurationConfigurationSource.Companion.toKotlin(args0)
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy