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

com.pulumi.awsnative.bedrock.kotlin.outputs.FlowNode.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.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.bedrock.kotlin.outputs

import com.pulumi.awsnative.bedrock.kotlin.enums.FlowNodeType
import kotlin.Any
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * Internal mixin for flow node
 * @property configuration Contains configurations for the node.
 * @property inputs List of node inputs in a flow
 * @property name Name of a node in a flow
 * @property outputs List of node outputs in a flow
 * @property type The type of node. This value must match the name of the key that you provide in the configuration you provide in the `FlowNodeConfiguration` field.
 */
public data class FlowNode(
    public val configuration: Any? = null,
    public val inputs: List? = null,
    public val name: String,
    public val outputs: List? = null,
    public val type: FlowNodeType,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.bedrock.outputs.FlowNode): FlowNode =
            FlowNode(
                configuration = javaType.configuration().map({ args0 -> args0 }).orElse(null),
                inputs = javaType.inputs().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.awsnative.bedrock.kotlin.outputs.FlowNodeInput.Companion.toKotlin(args0)
                    })
                }),
                name = javaType.name(),
                outputs = javaType.outputs().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.awsnative.bedrock.kotlin.outputs.FlowNodeOutput.Companion.toKotlin(args0)
                    })
                }),
                type = javaType.type().let({ args0 ->
                    com.pulumi.awsnative.bedrock.kotlin.enums.FlowNodeType.Companion.toKotlin(args0)
                }),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy