DeploymentLifecycleHookDetail
The details of a deployment lifecycle hook that is active during a service deployment.
You can view lifecycle hook details by calling DescribeServiceDeployments.
Contents
- expiresAt
-
The time when the lifecycle hook times out. If the hook has not been completed by this time, Amazon ECS takes the timeout action.
Type: Timestamp
Required: No
- hookId
-
The ID of the lifecycle hook. Use this value when calling
ContinueServiceDeploymentto continue or roll back a paused deployment.Type: String
Required: No
- status
-
The status of the lifecycle hook. Valid values include
AWAITING_ACTION,IN_PROGRESS,SUCCEEDED,FAILED, andTIMED_OUT.Type: String
Valid Values:
AWAITING_ACTION | IN_PROGRESS | SUCCEEDED | FAILED | TIMED_OUTRequired: No
- targetArn
-
The Amazon Resource Name (ARN) of the hook target. For
AWS_LAMBDAhooks, this is the Lambda function ARN. ForPAUSEhooks, this field is not set.Type: String
Required: No
- targetType
-
The type of action the lifecycle hook performs, such as
AWS_LAMBDAorPAUSE.Type: String
Valid Values:
AWS_LAMBDA | PAUSERequired: No
- timeoutAction
-
The action Amazon ECS takes when the lifecycle hook times out. Valid values are
CONTINUEandROLLBACK.Type: String
Valid Values:
ROLLBACK | CONTINUERequired: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: