Amazon EC2 Auto Scaling · JSON Structure

Ec2 Auto Scaling Set Instance Protection Query Structure

SetInstanceProtectionQuery schema from Auto Scaling

Type: object Properties: 3 Required: 3
Amazon Web ServicesAuto ScalingComputeEC2High AvailabilityScaling

SetInstanceProtectionQuery is a JSON Structure definition published by Amazon EC2 Auto Scaling, describing 3 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

InstanceIds AutoScalingGroupName ProtectedFromScaleIn

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-ec2-auto-scaling/refs/heads/main/json-structure/ec2-auto-scaling-set-instance-protection-query-structure.json",
  "name": "SetInstanceProtectionQuery",
  "description": "SetInstanceProtectionQuery schema from Auto Scaling",
  "type": "object",
  "properties": {
    "InstanceIds": {
      "allOf": [
        {
          "$ref": "#/components/schemas/InstanceIds"
        },
        {
          "description": "One or more instance IDs. You can specify up to 50 instances."
        }
      ]
    },
    "AutoScalingGroupName": {
      "allOf": [
        {
          "$ref": "#/components/schemas/XmlStringMaxLen255"
        },
        {
          "description": "The name of the Auto Scaling group."
        }
      ]
    },
    "ProtectedFromScaleIn": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ProtectedFromScaleIn"
        },
        {
          "description": "Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling in."
        }
      ]
    }
  },
  "required": [
    "InstanceIds",
    "AutoScalingGroupName",
    "ProtectedFromScaleIn"
  ]
}