{
  "opencollection": "1.0.0",
  "info": {
    "name": "Auto Scaling #Action=AttachInstances #Action=AttachInstances #Action=CompleteLifecycleAction API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "#Action=CompleteLifecycleAction",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Amazon EC2 Auto Scaling GET_ Complete Lifecycle Action",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://autoscaling.{region}.amazonaws.com/#Action=CompleteLifecycleAction",
            "headers": [
              {
                "name": "X-Amz-Content-Sha256",
                "value": ""
              },
              {
                "name": "X-Amz-Date",
                "value": ""
              },
              {
                "name": "X-Amz-Algorithm",
                "value": ""
              },
              {
                "name": "X-Amz-Credential",
                "value": ""
              },
              {
                "name": "X-Amz-Security-Token",
                "value": ""
              },
              {
                "name": "X-Amz-Signature",
                "value": ""
              },
              {
                "name": "X-Amz-SignedHeaders",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "LifecycleHookName",
                "value": "",
                "type": "query",
                "description": "The name of the lifecycle hook."
              },
              {
                "name": "AutoScalingGroupName",
                "value": "",
                "type": "query",
                "description": "The name of the Auto Scaling group."
              },
              {
                "name": "LifecycleActionToken",
                "value": "",
                "type": "query",
                "description": "A universally unique identifier (UUID) that identifies a specific lifecycle action associated with an instance. Amazon EC2 Auto Scaling sends this token to the notification target you specified when you created the lifecycle hook."
              },
              {
                "name": "LifecycleActionResult",
                "value": "",
                "type": "query",
                "description": "The action for the group to take. You can specify either <code>CONTINUE</code> or <code>ABANDON</code>."
              },
              {
                "name": "InstanceId",
                "value": "",
                "type": "query",
                "description": "The ID of the instance."
              },
              {
                "name": "Action",
                "value": "",
                "type": "query"
              },
              {
                "name": "Version",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "<p>Completes the lifecycle action for the specified token or instance with the specified result.</p> <p>This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group:</p> <ol> <li> <p>(Optional) Create a launch template or launch configuration with a user data script that runs while an instance is in a wait state due to a lifecycle hook.</p> </li> <li> <p>(Optional) Create a Lambda function and a rule that allows Amazon EventBridge to invoke your Lambda function when "
        },
        {
          "info": {
            "name": "Amazon EC2 Auto Scaling POST_ Complete Lifecycle Action",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://autoscaling.{region}.amazonaws.com/#Action=CompleteLifecycleAction",
            "headers": [
              {
                "name": "X-Amz-Content-Sha256",
                "value": ""
              },
              {
                "name": "X-Amz-Date",
                "value": ""
              },
              {
                "name": "X-Amz-Algorithm",
                "value": ""
              },
              {
                "name": "X-Amz-Credential",
                "value": ""
              },
              {
                "name": "X-Amz-Security-Token",
                "value": ""
              },
              {
                "name": "X-Amz-Signature",
                "value": ""
              },
              {
                "name": "X-Amz-SignedHeaders",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "Action",
                "value": "",
                "type": "query"
              },
              {
                "name": "Version",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "<p>Completes the lifecycle action for the specified token or instance with the specified result.</p> <p>This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group:</p> <ol> <li> <p>(Optional) Create a launch template or launch configuration with a user data script that runs while an instance is in a wait state due to a lifecycle hook.</p> </li> <li> <p>(Optional) Create a Lambda function and a rule that allows Amazon EventBridge to invoke your Lambda function when "
        }
      ]
    }
  ],
  "bundled": true
}