SetInstanceProtectionQuery

SetInstanceProtectionQuery schema from Auto Scaling

Amazon Web ServicesAuto ScalingComputeEC2High AvailabilityScaling

Properties

Name Type Description
InstanceIds object
AutoScalingGroupName object
ProtectedFromScaleIn object
View JSON Schema on GitHub

JSON Schema

ec2-auto-scaling-set-instance-protection-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-protection-query-schema.json",
  "title": "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"
  ]
}