Amazon EC2 Auto Scaling · JSON Structure

Ec2 Auto Scaling Terminate Instance In Auto Scaling Group Type Structure

TerminateInstanceInAutoScalingGroupType schema from Auto Scaling

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

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

Properties

InstanceId ShouldDecrementDesiredCapacity

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-terminate-instance-in-auto-scaling-group-type-structure.json",
  "name": "TerminateInstanceInAutoScalingGroupType",
  "description": "TerminateInstanceInAutoScalingGroupType schema from Auto Scaling",
  "type": "object",
  "properties": {
    "InstanceId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/XmlStringMaxLen19"
        },
        {
          "description": "The ID of the instance."
        }
      ]
    },
    "ShouldDecrementDesiredCapacity": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ShouldDecrementDesiredCapacity"
        },
        {
          "description": "Indicates whether terminating the instance also decrements the size of the Auto Scaling group."
        }
      ]
    }
  },
  "required": [
    "InstanceId",
    "ShouldDecrementDesiredCapacity"
  ]
}