LifecyclePolicyArgs

data class LifecyclePolicyArgs(val action: Output<LifecyclePolicyAction>? = null, val actionCondition: Output<ActionConditionArgs>? = null) : ConvertibleToJava<LifecyclePolicyArgs>

LifecyclePolicy describes how to deal with task failures based on different conditions.

Constructors

Link copied to clipboard
fun LifecyclePolicyArgs(action: Output<LifecyclePolicyAction>? = null, actionCondition: Output<ActionConditionArgs>? = null)

Functions

Link copied to clipboard
open override fun toJava(): LifecyclePolicyArgs

Properties

Link copied to clipboard
val action: Output<LifecyclePolicyAction>? = null

Action to execute when ActionCondition is true. When RETRY_TASK is specified, we will retry failed tasks if we notice any exit code match and fail tasks if no match is found. Likewise, when FAIL_TASK is specified, we will fail tasks if we notice any exit code match and retry tasks if no match is found.

Link copied to clipboard

Conditions that decide why a task failure is dealt with a specific action.