Class: Aws::ECS::Types::DeploymentLifecycleHookDetail

Inherits:
Struct
  • Object
show all
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

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.

Returns:

  • (Time)


6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 6461

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.

Returns:

  • (String)


6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 6461

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.

Returns:

  • (String)


6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 6461

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.

Returns:

  • (String)


6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 6461

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.

Returns:

  • (String)


6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 6461

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.

Returns:

  • (String)


6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 6461

class DeploymentLifecycleHookDetail < Struct.new(
  :hook_id,
  :target_type,
  :target_arn,
  :status,
  :expires_at,
  :timeout_action)
  SENSITIVE = []
  include Aws::Structure
end