![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.imagebuilder.kotlin.inputs.ImageWorkflowConfigurationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.imagebuilder.kotlin.inputs
import com.pulumi.awsnative.imagebuilder.inputs.ImageWorkflowConfigurationArgs.builder
import com.pulumi.awsnative.imagebuilder.kotlin.enums.ImageWorkflowConfigurationOnFailure
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 ImageWorkflowConfigurationArgs(
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.ImageWorkflowConfigurationArgs =
com.pulumi.awsnative.imagebuilder.inputs.ImageWorkflowConfigurationArgs.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 [ImageWorkflowConfigurationArgs].
*/
@PulumiTagMarker
public class ImageWorkflowConfigurationArgsBuilder 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("qxihkeypriqdpafw")
public suspend fun onFailure(`value`: Output) {
this.onFailure = value
}
/**
* @param value The parallel group name
*/
@JvmName("ospaqpljawlfoepr")
public suspend fun parallelGroup(`value`: Output) {
this.parallelGroup = value
}
/**
* @param value The parameters associated with the workflow
*/
@JvmName("wkosfebmlbouwlms")
public suspend fun parameters(`value`: Output>) {
this.parameters = value
}
@JvmName("lfxnwdtobwhavgop")
public suspend fun parameters(vararg values: Output) {
this.parameters = Output.all(values.asList())
}
/**
* @param values The parameters associated with the workflow
*/
@JvmName("rnhacoufblsratnx")
public suspend fun parameters(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy