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
constructor(action: Output<LifecyclePolicyAction>? = null, actionCondition: Output<ActionConditionArgs>? = null)
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.
Link copied to clipboard
Conditions that decide why a task failure is dealt with a specific action.