LifecyclePolicy constructor
const
LifecyclePolicy({
- Input<
LifecyclePolicyAction> ? action, - Input<
ActionCondition> ? actionCondition,
Creates a new LifecyclePolicy.
action 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.
actionCondition Conditions that decide why a task failure is dealt with a specific action.
Implementation
const LifecyclePolicy({
this.action,
this.actionCondition,
});