DeploymentLifecycleHook
A deployment lifecycle hook runs custom logic or pauses the deployment at specific stages of the deployment process. You can use Lambda functions or pause hooks as hook targets.
For more information, see Lifecycle hooks for Amazon ECS service deployments in the * Amazon Elastic Container Service Developer Guide*.
Types
Properties
Use this field to specify custom parameters that Amazon ECS passes to your Lambda function on each invocation. This field is not used for PAUSE hooks.
The Amazon Resource Name (ARN) of the hook target. For AWS_LAMBDA hooks, this is the Lambda function ARN. This field is not applicable for PAUSE hooks.
The lifecycle stages at which to run the hook. Choose from these valid values:
The type of action the lifecycle hook performs. Valid values are:
The timeout configuration for the lifecycle hook. This specifies how long Amazon ECS waits before taking the timeout action if the hook is not resolved.