com.pulumi.awsnative.apprunner.kotlin.outputs.ServiceSourceCodeVersion.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.ServiceSourceCodeVersionType
import kotlin.String
import kotlin.Suppress
/**
* Source Code Version
* @property type Source Code Version Type
* @property value Source Code Version Value
*/
public data class ServiceSourceCodeVersion(
public val type: ServiceSourceCodeVersionType,
public val `value`: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.apprunner.outputs.ServiceSourceCodeVersion): ServiceSourceCodeVersion = ServiceSourceCodeVersion(
type = javaType.type().let({ args0 ->
com.pulumi.awsnative.apprunner.kotlin.enums.ServiceSourceCodeVersionType.Companion.toKotlin(args0)
}),
`value` = javaType.`value`(),
)
}
}