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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy