Skip to content

ECS  >  Dictionaries  >  DeploymentLifecycleHookTimeoutConfigurationDict

DeploymentLifecycleHookTimeoutConfigurationDict

Dictionary Type

DeploymentLifecycleHookTimeoutConfigurationDict

Bases: TypedDict

Dictionary form of DeploymentLifecycleHookTimeoutConfiguration.

Attributes

action instance-attribute
action: str | None

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

timeout_in_minutes instance-attribute
timeout_in_minutes: int | None

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

Default: 1440 (24 hours)