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

com.pulumi.awsnative.bedrock.kotlin.outputs.FlowNodeInput.kt Maven / Gradle / Ivy

@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

/**
 * 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 FlowNodeInput(
    public val expression: String,
    public val name: String,
    public val type: FlowNodeIoDataType,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.bedrock.outputs.FlowNodeInput): FlowNodeInput = FlowNodeInput(
            expression = javaType.expression(),
            name = javaType.name(),
            type = javaType.type().let({ args0 ->
                com.pulumi.awsnative.bedrock.kotlin.enums.FlowNodeIoDataType.Companion.toKotlin(args0)
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy