Skip to content

/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.

Default: 1440 (24 hours)

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.

Default: ROLLBACK


Queryable Attributes

timeoutInMinutes

The number of minutes Amazon ECS waits for the lifecycle hook to complete before taking the timeout action.

Default: 1440 (24 hours)

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.

Default: ROLLBACK

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