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_atTime

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)


6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 6296

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

#hook_idString

The ID of the lifecycle hook. Use this value when calling ContinueServiceDeployment to continue or roll back a paused deployment.

Returns:

  • (String)


6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 6296

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

#statusString

The status of the lifecycle hook. Valid values include AWAITING_ACTION, IN_PROGRESS, SUCCEEDED, FAILED, and TIMED_OUT.

Returns:

  • (String)


6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 6296

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

#target_arnString

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)


6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 6296

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

#target_typeString

The type of action the lifecycle hook performs, such as AWS_LAMBDA or PAUSE.

Returns:

  • (String)


6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 6296

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

#timeout_actionString

The action Amazon ECS takes when the lifecycle hook times out. Valid values are CONTINUE and ROLLBACK.

Returns:

  • (String)


6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 6296

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