/AWS1/CL_ECSDEPLLCHOOKTOCONF¶
The timeout configuration for a deployment lifecycle hook. This determines how long Amazon ECS waits for the hook to complete before taking the specified timeout action.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_timeoutinminutes TYPE /AWS1/ECSDEPLOYLCHOOKDURATION /AWS1/ECSDEPLOYLCHOOKDURATION¶
The number of minutes Amazon ECS waits for the lifecycle hook to complete before taking the timeout action.
iv_action TYPE /AWS1/ECSDEPLOYLCHOOKACTION /AWS1/ECSDEPLOYLCHOOKACTION¶
The action Amazon ECS takes when the lifecycle hook times out. Valid values are:
CONTINUE- Proceeds the deployment to the next lifecycle stage.
ROLLBACK- Rolls back the deployment to the previous service revision.
Queryable Attributes¶
timeoutInMinutes¶
The number of minutes Amazon ECS waits for the lifecycle hook to complete before taking the timeout action.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TIMEOUTINMINUTES() |
Getter for TIMEOUTINMINUTES, with configurable default |
ASK_TIMEOUTINMINUTES() |
Getter for TIMEOUTINMINUTES w/ exceptions if field has no va |
HAS_TIMEOUTINMINUTES() |
Determine if TIMEOUTINMINUTES has a value |
action¶
The action Amazon ECS takes when the lifecycle hook times out. Valid values are:
CONTINUE- Proceeds the deployment to the next lifecycle stage.
ROLLBACK- Rolls back the deployment to the previous service revision.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ACTION() |
Getter for ACTION, with configurable default |
ASK_ACTION() |
Getter for ACTION w/ exceptions if field has no value |
HAS_ACTION() |
Determine if ACTION has a value |