Skip to content
Proud to collaborate with Microsoft for Startups

aws.autoscaling.complete_lifecycle_action ​

Complete an Auto Scaling lifecycle action using a CloudConnection UUID.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryBase-aws
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidYes—CloudConnection UUID for the target AWS account.
workflow_run_idstringNo—Engine DAG run ID stamped onto child steps.
regionstringNo—AWS region override.
lifecycle_hook_namestringYes—Name of the lifecycle hook.
auto_scaling_group_namestringYes—Name of the Auto Scaling group.
lifecycle_action_resultstringYes—Action result (CONTINUE or ABANDON).
lifecycle_action_tokenstringNo—Token identifying a specific lifecycle action.
instance_idstringNo—Instance ID the lifecycle action applies to.

Output Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidNo—CloudConnection UUID echoed from input.
regionstringNo—AWS region used.
lifecycle_hook_namestringNo—Name of the lifecycle hook.
auto_scaling_group_namestringNo—Name of the Auto Scaling group.
completedbooleanNo—Whether the lifecycle action was completed.
failure_reasonstringNo—Human-readable failure reason.
failed_stepstringNo—Failed logical step.
failed_layerjsonNo—Failed DAG layer if engine supplies one.
failed_at_statestringNo—State where failure occurred.
errorstringNo—Error message.
error_typestringNo—Error class.
failed_atstringNo—ISO failure timestamp.

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "aws.autoscaling.complete_lifecycle_action",
  "initial_data": {
    "connection_uuid": "value",
    "lifecycle_hook_name": "value",
    "auto_scaling_group_name": "value",
    "lifecycle_action_result": "value"
  }
}