{ "opencollection": "1.0.0", "info": { "name": "Auto Scaling #Action=AttachInstances #Action=AttachInstances #Action=RecordLifecycleActionHeartbeat API", "version": "1.0.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "#Action=RecordLifecycleActionHeartbeat", "type": "folder" }, "items": [ { "info": { "name": "Amazon EC2 Auto Scaling GET_ Record Lifecycle Action Heartbeat", "type": "http" }, "http": { "method": "GET", "url": "http://autoscaling.{region}.amazonaws.com/#Action=RecordLifecycleActionHeartbeat", "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 token that uniquely identifies a specific lifecycle action associated with an instance. Amazon EC2 Auto Scaling sends this token to the notification target that you specified when you created the lifecycle hook." }, { "name": "InstanceId", "value": "", "type": "query", "description": "The ID of the instance." }, { "name": "Action", "value": "", "type": "query" }, { "name": "Version", "value": "", "type": "query" } ] }, "docs": "

Records a heartbeat for the lifecycle action associated with the specified token or instance. This extends the timeout by the length of time defined using the PutLifecycleHook API call.

This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group:

  1. (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.

  2. (Optional) Crea" }, { "info": { "name": "Amazon EC2 Auto Scaling POST_ Record Lifecycle Action Heartbeat", "type": "http" }, "http": { "method": "POST", "url": "http://autoscaling.{region}.amazonaws.com/#Action=RecordLifecycleActionHeartbeat", "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": "

    Records a heartbeat for the lifecycle action associated with the specified token or instance. This extends the timeout by the length of time defined using the PutLifecycleHook API call.

    This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group:

    1. (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.

    2. (Optional) Crea" } ] } ], "bundled": true }