LifecyclePolicyResponse constructor
const
LifecyclePolicyResponse({
- required Input<
String> action, - required Input<
ActionConditionResponse> actionCondition,
Creates a new LifecyclePolicyResponse.
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 LifecyclePolicyResponse({
required this.action,
required this.actionCondition,
});