
com.pulumi.awsnative.transfer.kotlin.WorkflowArgs.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.transfer.kotlin
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.transfer.WorkflowArgs.builder
import com.pulumi.awsnative.transfer.kotlin.inputs.WorkflowStepArgs
import com.pulumi.awsnative.transfer.kotlin.inputs.WorkflowStepArgsBuilder
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 Type definition for AWS::Transfer::Workflow
* @property description A textual description for the workflow.
* @property onExceptionSteps Specifies the steps (actions) to take if any errors are encountered during execution of the workflow.
* @property steps Specifies the details for the steps that are in the specified workflow.
* @property tags Key-value pairs that can be used to group and search for workflows. Tags are metadata attached to workflows for any purpose.
*/
public data class WorkflowArgs(
public val description: Output? = null,
public val onExceptionSteps: Output>? = null,
public val steps: Output>? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.transfer.WorkflowArgs =
com.pulumi.awsnative.transfer.WorkflowArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.onExceptionSteps(
onExceptionSteps?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.steps(steps?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [WorkflowArgs].
*/
@PulumiTagMarker
public class WorkflowArgsBuilder internal constructor() {
private var description: Output? = null
private var onExceptionSteps: Output>? = null
private var steps: Output>? = null
private var tags: Output>? = null
/**
* @param value A textual description for the workflow.
*/
@JvmName("rcelrqsdfbmitthv")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value Specifies the steps (actions) to take if any errors are encountered during execution of the workflow.
*/
@JvmName("wraaanvherovqppv")
public suspend fun onExceptionSteps(`value`: Output>) {
this.onExceptionSteps = value
}
@JvmName("litnwejfpywlulqg")
public suspend fun onExceptionSteps(vararg values: Output) {
this.onExceptionSteps = Output.all(values.asList())
}
/**
* @param values Specifies the steps (actions) to take if any errors are encountered during execution of the workflow.
*/
@JvmName("eubhaxbrqpoahqud")
public suspend fun onExceptionSteps(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy