com.pulumi.awsnative.imagebuilder.kotlin.inputs.ImagePipelineWorkflowConfigurationArgs.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.imagebuilder.kotlin.inputs
import com.pulumi.awsnative.imagebuilder.inputs.ImagePipelineWorkflowConfigurationArgs.builder
import com.pulumi.awsnative.imagebuilder.kotlin.enums.ImagePipelineWorkflowConfigurationOnFailure
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
/**
* The workflow configuration of the image
* @property onFailure Define execution decision in case of workflow failure
* @property parallelGroup The parallel group name
* @property parameters The parameters associated with the workflow
* @property workflowArn The Amazon Resource Name (ARN) of the workflow
*/
public data class ImagePipelineWorkflowConfigurationArgs(
public val onFailure: Output? = null,
public val parallelGroup: Output? = null,
public val parameters: Output>? = null,
public val workflowArn: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.imagebuilder.inputs.ImagePipelineWorkflowConfigurationArgs =
com.pulumi.awsnative.imagebuilder.inputs.ImagePipelineWorkflowConfigurationArgs.builder()
.onFailure(onFailure?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.parallelGroup(parallelGroup?.applyValue({ args0 -> args0 }))
.parameters(
parameters?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.workflowArn(workflowArn?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ImagePipelineWorkflowConfigurationArgs].
*/
@PulumiTagMarker
public class ImagePipelineWorkflowConfigurationArgsBuilder internal constructor() {
private var onFailure: Output? = null
private var parallelGroup: Output? = null
private var parameters: Output>? = null
private var workflowArn: Output? = null
/**
* @param value Define execution decision in case of workflow failure
*/
@JvmName("naouuuhtyrbtudkg")
public suspend fun onFailure(`value`: Output) {
this.onFailure = value
}
/**
* @param value The parallel group name
*/
@JvmName("ogxsoefgklfnhpuw")
public suspend fun parallelGroup(`value`: Output) {
this.parallelGroup = value
}
/**
* @param value The parameters associated with the workflow
*/
@JvmName("samjycsawrwevmvg")
public suspend fun parameters(`value`: Output>) {
this.parameters = value
}
@JvmName("laivxmpfftlntwtq")
public suspend fun parameters(vararg values: Output) {
this.parameters = Output.all(values.asList())
}
/**
* @param values The parameters associated with the workflow
*/
@JvmName("lylrxucvhoavwjyg")
public suspend fun parameters(values: List