{
  "info": {
    "_postman_id": "538d12a6-a9ec-4a53-af33-a43562db44f5",
    "name": "Auto Scaling #Action=AttachInstances #Action=AttachInstances #Action=SetInstanceHealth API",
    "description": "<fullname>Amazon EC2 Auto Scaling</fullname> <p>Amazon EC2 Auto Scaling is designed to automatically launch and terminate EC2 instances based on user-defined scaling policies, scheduled actions, and health checks.</p> <p>For more information, see the <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/\">Amazon EC2 Auto Scaling User Guide</a> and the <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/APIReference/Welcome.html\">Amazon EC2 Auto Scaling API Reference</a>.</p>\n\nContact Support:\n Name: Mike Ralphson\n Email: mike.ralphson@gmail.com",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T10:20:05.000Z",
    "updatedAt": "2026-07-28T10:20:05.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-538d12a6-a9ec-4a53-af33-a43562db44f5"
  },
  "item": [
    {
      "name": "#Action=SetInstanceHealth",
      "item": [
        {
          "name": "Amazon EC2 Auto Scaling GET_ Set Instance Health",
          "id": "9e813b38-f02c-4122-b742-4575f44e7ca7",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Amz-Content-Sha256",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Date",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Algorithm",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Credential",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Security-Token",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Signature",
                "value": "<string>"
              },
              {
                "key": "X-Amz-SignedHeaders",
                "value": "<string>"
              },
              {
                "key": "Accept",
                "value": "text/xml"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/?InstanceId=<string>&HealthStatus=<string>&ShouldRespectGracePeriod=<boolean>&Action=SetInstanceHealth&Version=2011-01-01#Action=SetInstanceHealth",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                ""
              ],
              "query": [
                {
                  "description": "(Required) The ID of the instance.",
                  "key": "InstanceId",
                  "value": "<string>"
                },
                {
                  "description": "(Required) The health status of the instance. Set to <code>Healthy</code> to have the instance remain in service. Set to <code>Unhealthy</code> to have the instance be out of service. Amazon EC2 Auto Scaling terminates and replaces the unhealthy instance.",
                  "key": "HealthStatus",
                  "value": "<string>"
                },
                {
                  "description": "<p>If the Auto Scaling group of the specified instance has a <code>HealthCheckGracePeriod</code> specified for the group, by default, this call respects the grace period. Set this to <code>False</code>, to have the call not respect the grace period associated with the group.</p> <p>For more information about the health check grace period, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_CreateAutoScalingGroup.html\">CreateAutoScalingGroup</a> in the <i>Amazon EC2 Auto Scaling API Reference</i>.</p>",
                  "key": "ShouldRespectGracePeriod",
                  "value": "<boolean>"
                },
                {
                  "description": "(Required) ",
                  "key": "Action",
                  "value": "SetInstanceHealth"
                },
                {
                  "description": "(Required) ",
                  "key": "Version",
                  "value": "2011-01-01"
                }
              ],
              "hash": "Action=SetInstanceHealth"
            },
            "description": "<p>Sets the health status of the specified instance.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html\">Health checks for Auto Scaling instances</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
          },
          "response": [
            {
              "id": "ec5db23c-c811-4d32-a6db-7aefe6f7a075",
              "name": "Success",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/?InstanceId=<string>&HealthStatus=<string>&ShouldRespectGracePeriod=<boolean>&Action=SetInstanceHealth&Version=2011-01-01#Action=SetInstanceHealth",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "query": [
                    {
                      "description": "(Required) The ID of the instance.",
                      "key": "InstanceId",
                      "value": "<string>"
                    },
                    {
                      "description": "(Required) The health status of the instance. Set to <code>Healthy</code> to have the instance remain in service. Set to <code>Unhealthy</code> to have the instance be out of service. Amazon EC2 Auto Scaling terminates and replaces the unhealthy instance.",
                      "key": "HealthStatus",
                      "value": "<string>"
                    },
                    {
                      "description": "<p>If the Auto Scaling group of the specified instance has a <code>HealthCheckGracePeriod</code> specified for the group, by default, this call respects the grace period. Set this to <code>False</code>, to have the call not respect the grace period associated with the group.</p> <p>For more information about the health check grace period, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_CreateAutoScalingGroup.html\">CreateAutoScalingGroup</a> in the <i>Amazon EC2 Auto Scaling API Reference</i>.</p>",
                      "key": "ShouldRespectGracePeriod",
                      "value": "<boolean>"
                    },
                    {
                      "description": "(Required) ",
                      "key": "Action",
                      "value": "SetInstanceHealth"
                    },
                    {
                      "description": "(Required) ",
                      "key": "Version",
                      "value": "2011-01-01"
                    }
                  ],
                  "hash": "Action=SetInstanceHealth"
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "text",
              "header": [],
              "cookie": [],
              "responseTime": null,
              "body": null,
              "createdAt": "2026-07-28T10:20:06.000Z",
              "updatedAt": "2026-07-28T10:20:06.000Z",
              "uid": "35240-ec5db23c-c811-4d32-a6db-7aefe6f7a075"
            },
            {
              "id": "70a08a83-62de-4e5d-8876-f5563c46d7ae",
              "name": "ResourceContentionFault",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Accept",
                    "value": "text/xml"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/?InstanceId=<string>&HealthStatus=<string>&ShouldRespectGracePeriod=<boolean>&Action=SetInstanceHealth&Version=2011-01-01#Action=SetInstanceHealth",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "query": [
                    {
                      "description": "(Required) The ID of the instance.",
                      "key": "InstanceId",
                      "value": "<string>"
                    },
                    {
                      "description": "(Required) The health status of the instance. Set to <code>Healthy</code> to have the instance remain in service. Set to <code>Unhealthy</code> to have the instance be out of service. Amazon EC2 Auto Scaling terminates and replaces the unhealthy instance.",
                      "key": "HealthStatus",
                      "value": "<string>"
                    },
                    {
                      "description": "<p>If the Auto Scaling group of the specified instance has a <code>HealthCheckGracePeriod</code> specified for the group, by default, this call respects the grace period. Set this to <code>False</code>, to have the call not respect the grace period associated with the group.</p> <p>For more information about the health check grace period, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_CreateAutoScalingGroup.html\">CreateAutoScalingGroup</a> in the <i>Amazon EC2 Auto Scaling API Reference</i>.</p>",
                      "key": "ShouldRespectGracePeriod",
                      "value": "<boolean>"
                    },
                    {
                      "description": "(Required) ",
                      "key": "Action",
                      "value": "SetInstanceHealth"
                    },
                    {
                      "description": "(Required) ",
                      "key": "Version",
                      "value": "2011-01-01"
                    }
                  ],
                  "hash": "Action=SetInstanceHealth"
                }
              },
              "_postman_previewlanguage": "xml",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/xml"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "",
              "createdAt": "2026-07-28T10:20:06.000Z",
              "updatedAt": "2026-07-28T10:20:06.000Z",
              "uid": "35240-70a08a83-62de-4e5d-8876-f5563c46d7ae"
            }
          ],
          "createdAt": "2026-07-28T10:20:06.000Z",
          "updatedAt": "2026-07-28T10:20:06.000Z",
          "uid": "35240-9e813b38-f02c-4122-b742-4575f44e7ca7"
        },
        {
          "name": "Amazon EC2 Auto Scaling POST_ Set Instance Health",
          "id": "290ce380-c991-49e8-80b4-95f3ef994e67",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Amz-Content-Sha256",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Date",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Algorithm",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Credential",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Security-Token",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Signature",
                "value": "<string>"
              },
              {
                "key": "X-Amz-SignedHeaders",
                "value": "<string>"
              },
              {
                "key": "Content-Type",
                "value": "text/xml"
              },
              {
                "key": "Accept",
                "value": "text/xml"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<element>\n  <InstanceId>(string)</InstanceId>\n  <HealthStatus>(string)</HealthStatus>\n  <ShouldRespectGracePeriod>(boolean)</ShouldRespectGracePeriod>\n</element>",
              "options": {
                "raw": {
                  "headerFamily": "xml",
                  "language": "xml"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/?Action=SetInstanceHealth&Version=2011-01-01#Action=SetInstanceHealth",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                ""
              ],
              "query": [
                {
                  "description": "(Required) ",
                  "key": "Action",
                  "value": "SetInstanceHealth"
                },
                {
                  "description": "(Required) ",
                  "key": "Version",
                  "value": "2011-01-01"
                }
              ],
              "hash": "Action=SetInstanceHealth"
            },
            "description": "<p>Sets the health status of the specified instance.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html\">Health checks for Auto Scaling instances</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
          },
          "response": [
            {
              "id": "c235df7e-c9a8-4d4d-bcfd-a0d87b72046f",
              "name": "Success",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Content-Type",
                    "value": "text/xml"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<element>\n  <InstanceId>(string)</InstanceId>\n  <HealthStatus>(string)</HealthStatus>\n  <ShouldRespectGracePeriod>(boolean)</ShouldRespectGracePeriod>\n</element>",
                  "options": {
                    "raw": {
                      "headerFamily": "xml",
                      "language": "xml"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/?Action=SetInstanceHealth&Version=2011-01-01#Action=SetInstanceHealth",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "query": [
                    {
                      "description": "(Required) ",
                      "key": "Action",
                      "value": "SetInstanceHealth"
                    },
                    {
                      "description": "(Required) ",
                      "key": "Version",
                      "value": "2011-01-01"
                    }
                  ],
                  "hash": "Action=SetInstanceHealth"
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "text",
              "header": [],
              "cookie": [],
              "responseTime": null,
              "body": null,
              "createdAt": "2026-07-28T10:20:06.000Z",
              "updatedAt": "2026-07-28T10:20:06.000Z",
              "uid": "35240-c235df7e-c9a8-4d4d-bcfd-a0d87b72046f"
            },
            {
              "id": "a5c22496-b1f7-4ede-8575-a878c3d3fad6",
              "name": "ResourceContentionFault",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Content-Type",
                    "value": "text/xml"
                  },
                  {
                    "key": "Accept",
                    "value": "text/xml"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<element>\n  <InstanceId>(string)</InstanceId>\n  <HealthStatus>(string)</HealthStatus>\n  <ShouldRespectGracePeriod>(boolean)</ShouldRespectGracePeriod>\n</element>",
                  "options": {
                    "raw": {
                      "headerFamily": "xml",
                      "language": "xml"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/?Action=SetInstanceHealth&Version=2011-01-01#Action=SetInstanceHealth",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "query": [
                    {
                      "description": "(Required) ",
                      "key": "Action",
                      "value": "SetInstanceHealth"
                    },
                    {
                      "description": "(Required) ",
                      "key": "Version",
                      "value": "2011-01-01"
                    }
                  ],
                  "hash": "Action=SetInstanceHealth"
                }
              },
              "_postman_previewlanguage": "xml",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/xml"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "",
              "createdAt": "2026-07-28T10:20:06.000Z",
              "updatedAt": "2026-07-28T10:20:06.000Z",
              "uid": "35240-a5c22496-b1f7-4ede-8575-a878c3d3fad6"
            }
          ],
          "createdAt": "2026-07-28T10:20:06.000Z",
          "updatedAt": "2026-07-28T10:20:06.000Z",
          "uid": "35240-290ce380-c991-49e8-80b4-95f3ef994e67"
        }
      ],
      "id": "74e91253-9846-4117-b052-41ea7f7080af",
      "createdAt": "2026-07-28T10:20:06.000Z",
      "updatedAt": "2026-07-28T10:20:06.000Z",
      "uid": "35240-74e91253-9846-4117-b052-41ea7f7080af"
    }
  ],
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "Authorization",
        "type": "string"
      },
      {
        "key": "value",
        "value": "{{apiKey}}",
        "type": "string"
      },
      {
        "key": "in",
        "value": "header",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "region",
      "value": "us-east-1"
    },
    {
      "key": "baseUrl",
      "value": "http://autoscaling.{{region}}.amazonaws.com"
    }
  ]
}