com.pulumi.awsnative.apprunner.kotlin.outputs.ServiceCodeConfiguration.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.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)
}),
)
}
}