SetInstanceHealthQuery

SetInstanceHealthQuery schema from Auto Scaling

Amazon Web ServicesAuto-ScalingComputeEC2High AvailabilityScaling

Properties

Name Type Description
InstanceId object
HealthStatus object
ShouldRespectGracePeriod object
View JSON Schema on GitHub

JSON Schema

ec2-auto-scaling-set-instance-health-query-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-ec2-auto-scaling/refs/heads/main/json-schema/ec2-auto-scaling-set-instance-health-query-schema.json",
  "title": "SetInstanceHealthQuery",
  "description": "SetInstanceHealthQuery schema from Auto Scaling",
  "type": "object",
  "properties": {
    "InstanceId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/XmlStringMaxLen19"
        },
        {
          "description": "The ID of the instance."
        }
      ]
    },
    "HealthStatus": {
      "allOf": [
        {
          "$ref": "#/components/schemas/XmlStringMaxLen32"
        },
        {
          "description": "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."
        }
      ]
    },
    "ShouldRespectGracePeriod": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ShouldRespectGracePeriod"
        },
        {
          "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>"
        }
      ]
    }
  },
  "required": [
    "InstanceId",
    "HealthStatus"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/ec2-auto-scaling-set-instance-health-query"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.