View a markdown version of this page

DeploymentLifecycleHookTimeoutConfiguration - Amazon Elastic Container Service

DeploymentLifecycleHookTimeoutConfiguration

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.

Contents

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

Type: String

Valid Values: ROLLBACK | CONTINUE

Required: No

timeoutInMinutes

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

Default: 1440 (24 hours)

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 20160.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: