com.pulumi.awsnative.imagebuilder.kotlin.enums.ImagePipelineWorkflowConfigurationOnFailure.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.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Define execution decision in case of workflow failure
*/
public enum class ImagePipelineWorkflowConfigurationOnFailure(
public val javaValue: com.pulumi.awsnative.imagebuilder.enums.ImagePipelineWorkflowConfigurationOnFailure,
) :
ConvertibleToJava {
Continue(com.pulumi.awsnative.imagebuilder.enums.ImagePipelineWorkflowConfigurationOnFailure.Continue),
Abort(com.pulumi.awsnative.imagebuilder.enums.ImagePipelineWorkflowConfigurationOnFailure.Abort),
;
override fun toJava(): com.pulumi.awsnative.imagebuilder.enums.ImagePipelineWorkflowConfigurationOnFailure =
javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.imagebuilder.enums.ImagePipelineWorkflowConfigurationOnFailure): ImagePipelineWorkflowConfigurationOnFailure =
ImagePipelineWorkflowConfigurationOnFailure.values().first { it.javaValue == javaType }
}
}