Lifecycle Policy Args
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
Properties
Link copied to clipboard
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.