Lifecycle Policy Response
data class LifecyclePolicyResponse(val action: String, val actionCondition: ActionConditionResponse)
LifecyclePolicy describes how to deal with task failures based on different conditions.
Constructors
Types
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.