DeploymentLifecycleHookTimeoutConfiguration¶
Structure Class¶
DeploymentLifecycleHookTimeoutConfiguration
dataclass
¶
Bases: _SerdeShape
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.
Attributes¶
action
class-attribute
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