Class: Aws::ECS::Types::DeploymentLifecycleHookDetail
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECS::Types::DeploymentLifecycleHookDetail
- Defined in:
- gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb
Overview
The details of a deployment lifecycle hook that is active during a service deployment.
You can view lifecycle hook details by calling DescribeServiceDeployments.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#expires_at ⇒ Time
The time when the lifecycle hook times out.
-
#hook_id ⇒ String
The ID of the lifecycle hook.
-
#status ⇒ String
The status of the lifecycle hook.
-
#target_arn ⇒ String
The Amazon Resource Name (ARN) of the hook target.
-
#target_type ⇒ String
The type of action the lifecycle hook performs, such as
AWS_LAMBDAorPAUSE. -
#timeout_action ⇒ String
The action Amazon ECS takes when the lifecycle hook times out.
Instance Attribute Details
#expires_at ⇒ Time
The time when the lifecycle hook times out. If the hook has not been completed by this time, Amazon ECS takes the timeout action.
6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 6442 class DeploymentLifecycleHookDetail < Struct.new( :hook_id, :target_type, :target_arn, :status, :expires_at, :timeout_action) SENSITIVE = [] include Aws::Structure end |
#hook_id ⇒ String
The ID of the lifecycle hook. Use this value when calling
ContinueServiceDeployment to continue or roll back a paused
deployment.
6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 6442 class DeploymentLifecycleHookDetail < Struct.new( :hook_id, :target_type, :target_arn, :status, :expires_at, :timeout_action) SENSITIVE = [] include Aws::Structure end |
#status ⇒ String
The status of the lifecycle hook. Valid values include
AWAITING_ACTION, IN_PROGRESS, SUCCEEDED, FAILED, and
TIMED_OUT.
6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 6442 class DeploymentLifecycleHookDetail < Struct.new( :hook_id, :target_type, :target_arn, :status, :expires_at, :timeout_action) SENSITIVE = [] include Aws::Structure end |
#target_arn ⇒ String
The Amazon Resource Name (ARN) of the hook target. For AWS_LAMBDA
hooks, this is the Lambda function ARN. For PAUSE hooks, this
field is not set.
6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 6442 class DeploymentLifecycleHookDetail < Struct.new( :hook_id, :target_type, :target_arn, :status, :expires_at, :timeout_action) SENSITIVE = [] include Aws::Structure end |
#target_type ⇒ String
The type of action the lifecycle hook performs, such as AWS_LAMBDA
or PAUSE.
6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 6442 class DeploymentLifecycleHookDetail < Struct.new( :hook_id, :target_type, :target_arn, :status, :expires_at, :timeout_action) SENSITIVE = [] include Aws::Structure end |
#timeout_action ⇒ String
The action Amazon ECS takes when the lifecycle hook times out. Valid
values are CONTINUE and ROLLBACK.
6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 6442 class DeploymentLifecycleHookDetail < Struct.new( :hook_id, :target_type, :target_arn, :status, :expires_at, :timeout_action) SENSITIVE = [] include Aws::Structure end |