com.pulumi.awsnative.cloudformation.kotlin.outputs.StackOutput.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.cloudformation.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property description User defined description associated with the output.
* @property exportName The name of the export associated with the output.
* @property outputKey The key associated with the output.
* @property outputValue The value associated with the output.
*/
public data class StackOutput(
public val description: String? = null,
public val exportName: String? = null,
public val outputKey: String? = null,
public val outputValue: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.cloudformation.outputs.StackOutput): StackOutput = StackOutput(
description = javaType.description().map({ args0 -> args0 }).orElse(null),
exportName = javaType.exportName().map({ args0 -> args0 }).orElse(null),
outputKey = javaType.outputKey().map({ args0 -> args0 }).orElse(null),
outputValue = javaType.outputValue().map({ args0 -> args0 }).orElse(null),
)
}
}