![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.appflow.kotlin.FlowArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.appflow.kotlin
import com.pulumi.awsnative.appflow.FlowArgs.builder
import com.pulumi.awsnative.appflow.kotlin.enums.FlowStatus
import com.pulumi.awsnative.appflow.kotlin.inputs.FlowDestinationFlowConfigArgs
import com.pulumi.awsnative.appflow.kotlin.inputs.FlowDestinationFlowConfigArgsBuilder
import com.pulumi.awsnative.appflow.kotlin.inputs.FlowMetadataCatalogConfigArgs
import com.pulumi.awsnative.appflow.kotlin.inputs.FlowMetadataCatalogConfigArgsBuilder
import com.pulumi.awsnative.appflow.kotlin.inputs.FlowSourceFlowConfigArgs
import com.pulumi.awsnative.appflow.kotlin.inputs.FlowSourceFlowConfigArgsBuilder
import com.pulumi.awsnative.appflow.kotlin.inputs.FlowTaskArgs
import com.pulumi.awsnative.appflow.kotlin.inputs.FlowTaskArgsBuilder
import com.pulumi.awsnative.appflow.kotlin.inputs.FlowTriggerConfigArgs
import com.pulumi.awsnative.appflow.kotlin.inputs.FlowTriggerConfigArgsBuilder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource schema for AWS::AppFlow::Flow.
* ## Example Usage
* ### Example
* No Java example available.
* ### Example
* No Java example available.
* @property description Description of the flow.
* @property destinationFlowConfigList List of Destination connectors of the flow.
* @property flowName Name of the flow.
* @property flowStatus Flow activation status for Scheduled- and Event-triggered flows
* @property kmsArn The ARN of the AWS Key Management Service (AWS KMS) key that's used to encrypt your function's environment variables. If it's not provided, AWS Lambda uses a default service key.
* @property metadataCatalogConfig Configurations of metadata catalog of the flow.
* @property sourceFlowConfig Configurations of Source connector of the flow.
* @property tags List of Tags.
* @property tasks List of tasks for the flow.
* @property triggerConfig Trigger settings of the flow.
*/
public data class FlowArgs(
public val description: Output? = null,
public val destinationFlowConfigList: Output>? = null,
public val flowName: Output? = null,
public val flowStatus: Output? = null,
public val kmsArn: Output? = null,
public val metadataCatalogConfig: Output? = null,
public val sourceFlowConfig: Output? = null,
public val tags: Output>? = null,
public val tasks: Output>? = null,
public val triggerConfig: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.appflow.FlowArgs =
com.pulumi.awsnative.appflow.FlowArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.destinationFlowConfigList(
destinationFlowConfigList?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.flowName(flowName?.applyValue({ args0 -> args0 }))
.flowStatus(flowStatus?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.kmsArn(kmsArn?.applyValue({ args0 -> args0 }))
.metadataCatalogConfig(
metadataCatalogConfig?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.sourceFlowConfig(sourceFlowConfig?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.tasks(tasks?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.triggerConfig(triggerConfig?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [FlowArgs].
*/
@PulumiTagMarker
public class FlowArgsBuilder internal constructor() {
private var description: Output? = null
private var destinationFlowConfigList: Output>? = null
private var flowName: Output? = null
private var flowStatus: Output? = null
private var kmsArn: Output? = null
private var metadataCatalogConfig: Output? = null
private var sourceFlowConfig: Output? = null
private var tags: Output>? = null
private var tasks: Output>? = null
private var triggerConfig: Output? = null
/**
* @param value Description of the flow.
*/
@JvmName("wjoagsiscchsgbhe")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value List of Destination connectors of the flow.
*/
@JvmName("jcfgwyejdbkmisfl")
public suspend fun destinationFlowConfigList(`value`: Output>) {
this.destinationFlowConfigList = value
}
@JvmName("pvjfwqjtargryesv")
public suspend fun destinationFlowConfigList(vararg values: Output) {
this.destinationFlowConfigList = Output.all(values.asList())
}
/**
* @param values List of Destination connectors of the flow.
*/
@JvmName("alavvwhetbrpnjuc")
public suspend fun destinationFlowConfigList(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy