com.pulumi.awsnative.bedrock.kotlin.outputs.FlowNodeOutput.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.bedrock.kotlin.outputs
import com.pulumi.awsnative.bedrock.kotlin.enums.FlowNodeIoDataType
import kotlin.String
import kotlin.Suppress
/**
* Output of a node in a flow
* @property name Name of a node output in a flow
* @property type The data type of the output. If the output doesn't match this type at runtime, a validation error will be thrown.
*/
public data class FlowNodeOutput(
public val name: String,
public val type: FlowNodeIoDataType,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.bedrock.outputs.FlowNodeOutput): FlowNodeOutput = FlowNodeOutput(
name = javaType.name(),
type = javaType.type().let({ args0 ->
com.pulumi.awsnative.bedrock.kotlin.enums.FlowNodeIoDataType.Companion.toKotlin(args0)
}),
)
}
}