You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::AutoScaling::Types::CompleteLifecycleActionType

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb

Overview

Note:

When making an API call, you may pass CompleteLifecycleActionType data as a hash:

{
  lifecycle_hook_name: "AsciiStringMaxLen255", # required
  auto_scaling_group_name: "ResourceName", # required
  lifecycle_action_token: "LifecycleActionToken",
  lifecycle_action_result: "LifecycleActionResult", # required
  instance_id: "XmlStringMaxLen19",
}

Contains the parameters for CompleteLifecycleAction.

Instance Attribute Summary collapse

Instance Attribute Details

#auto_scaling_group_nameString

The name of the group for the lifecycle hook.

Returns:

  • (String)


589
590
591
592
593
594
595
596
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 589

class CompleteLifecycleActionType < Struct.new(
  :lifecycle_hook_name,
  :auto_scaling_group_name,
  :lifecycle_action_token,
  :lifecycle_action_result,
  :instance_id)
  include Aws::Structure
end

#instance_idString

The ID of the instance.

Returns:

  • (String)


589
590
591
592
593
594
595
596
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 589

class CompleteLifecycleActionType < Struct.new(
  :lifecycle_hook_name,
  :auto_scaling_group_name,
  :lifecycle_action_token,
  :lifecycle_action_result,
  :instance_id)
  include Aws::Structure
end

#lifecycle_action_resultString

The action for the group to take. This parameter can be either CONTINUE or ABANDON.

Returns:

  • (String)


589
590
591
592
593
594
595
596
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 589

class CompleteLifecycleActionType < Struct.new(
  :lifecycle_hook_name,
  :auto_scaling_group_name,
  :lifecycle_action_token,
  :lifecycle_action_result,
  :instance_id)
  include Aws::Structure
end

#lifecycle_action_tokenString

A universally unique identifier (UUID) that identifies a specific lifecycle action associated with an instance. Auto Scaling sends this token to the notification target you specified when you created the lifecycle hook.

Returns:

  • (String)


589
590
591
592
593
594
595
596
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 589

class CompleteLifecycleActionType < Struct.new(
  :lifecycle_hook_name,
  :auto_scaling_group_name,
  :lifecycle_action_token,
  :lifecycle_action_result,
  :instance_id)
  include Aws::Structure
end

#lifecycle_hook_nameString

The name of the lifecycle hook.

Returns:

  • (String)


589
590
591
592
593
594
595
596
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 589

class CompleteLifecycleActionType < Struct.new(
  :lifecycle_hook_name,
  :auto_scaling_group_name,
  :lifecycle_action_token,
  :lifecycle_action_result,
  :instance_id)
  include Aws::Structure
end