DeploymentLifecycleHook
A deployment lifecycle hook runs custom logic at specific stages of the deployment process. Currently, you can use Lambda functions 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 will pass to your hook target invocations (such as a Lambda function).
The Amazon Resource Name (ARN) of the hook target. Currently, only Lambda function ARNs are supported.
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.