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