{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ec2-auto-scaling/json-schema/amazon-ec2-auto-scaling-auto-scaling-groups-type-schema.json",
  "title": "AutoScalingGroupsType",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ec2-auto-scaling-auto-scaling-group-api-openapi.yml#/components/schemas/AutoScalingGroupsType",
  "type": "object",
  "properties": {
    "AutoScalingGroups": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AutoScalingGroup"
      },
      "description": "The groups."
    },
    "NextToken": {
      "type": "string",
      "description": "A string that indicates that the response contains more items than can be returned in a single response. To receive additional items, specify this string for the NextToken value when requesting the next set of items. This value is null when there are no more items to return."
    }
  },
  "required": [
    "AutoScalingGroups"
  ],
  "$defs": {
    "AcceleratorCountRequest": {
      "type": "object",
      "properties": {
        "Min": {
          "type": "integer",
          "description": "The minimum value."
        },
        "Max": {
          "type": "integer",
          "description": "The maximum value."
        }
      }
    },
    "AcceleratorTotalMemoryMiBRequest": {
      "type": "object",
      "properties": {
        "Min": {
          "type": "integer",
          "description": "The memory minimum in MiB."
        },
        "Max": {
          "type": "integer",
          "description": "The memory maximum in MiB."
        }
      }
    },
    "AutoScalingGroup": {
      "type": "object",
      "properties": {
        "AutoScalingGroupName": {
          "type": "string",
          "description": "The name of the Auto Scaling group."
        },
        "AutoScalingGroupARN": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the Auto Scaling group."
        },
        "LaunchConfigurationName": {
          "type": "string",
          "description": "The name of the associated launch configuration for the Auto Scaling group."
        },
        "LaunchTemplate": {
          "$ref": "#/$defs/LaunchTemplateSpecification"
        },
        "MixedInstancesPolicy": {
          "$ref": "#/$defs/MixedInstancesPolicy"
        },
        "MinSize": {
          "type": "integer",
          "description": "The minimum size of the Auto Scaling group."
        },
        "MaxSize": {
          "type": "integer",
          "description": "The maximum size of the Auto Scaling group."
        },
        "DesiredCapacity": {
          "type": "integer",
          "description": "The desired size of the Auto Scaling group."
        },
        "PredictedCapacity": {
          "type": "integer",
          "description": "The predicted capacity of the group when it has a predictive scaling policy."
        },
        "DefaultCooldown": {
          "type": "integer",
          "description": "The duration of the default cooldown period, in seconds, for the Auto Scaling group."
        },
        "AvailabilityZones": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "One or more Availability Zones for the Auto Scaling group."
        },
        "AvailabilityZoneIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The Availability Zone IDs where the Auto Scaling group can launch instances."
        },
        "LoadBalancerNames": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "One or more load balancers associated with the group."
        },
        "TargetGroupARNs": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The Amazon Resource Names (ARN) of the target groups for your load balancer."
        },
        "HealthCheckType": {
          "type": "string",
          "description": "One or more comma-separated health check types for the Auto Scaling group."
        },
        "HealthCheckGracePeriod": {
          "type": "integer",
          "description": "The duration of the health check grace period, in seconds, for the Auto Scaling group."
        },
        "Instances": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Instance"
          },
          "description": "The EC2 instances associated with the Auto Scaling group."
        },
        "CreatedTime": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time the Auto Scaling group was created."
        },
        "SuspendedProcesses": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/SuspendedProcess"
          },
          "description": "The suspended processes associated with the Auto Scaling group."
        },
        "PlacementGroup": {
          "type": "string",
          "description": "The name of the placement group into which to launch EC2 instances for the Auto Scaling group."
        },
        "VPCZoneIdentifier": {
          "type": "string",
          "description": "One or more comma-separated subnet IDs for the Auto Scaling group."
        },
        "EnabledMetrics": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/EnabledMetric"
          },
          "description": "The metrics enabled for the Auto Scaling group."
        },
        "Status": {
          "type": "string",
          "description": "The current state of the Auto Scaling group when the DeleteAutoScalingGroup operation is in progress."
        },
        "Tags": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/TagDescription"
          },
          "description": "The tags for the Auto Scaling group."
        },
        "TerminationPolicies": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The termination policies for the Auto Scaling group."
        },
        "NewInstancesProtectedFromScaleIn": {
          "type": "boolean",
          "description": "Indicates whether newly launched EC2 instances are protected from termination when scaling in for the Auto Scaling group. For more information about preventing instances from terminating on scale in, see Use instance scale-in protection in the Amazon EC2 Auto Scaling User Guide."
        },
        "ServiceLinkedRoleARN": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other Amazon Web Services on your behalf."
        },
        "MaxInstanceLifetime": {
          "type": "integer",
          "description": "The maximum amount of time, in seconds, that an EC2 instance can be in service for the Auto Scaling group."
        },
        "CapacityRebalance": {
          "type": "boolean",
          "description": "Indicates whether Capacity Rebalancing is enabled."
        },
        "WarmPoolConfiguration": {
          "$ref": "#/$defs/WarmPoolConfiguration"
        },
        "WarmPoolSize": {
          "type": "integer",
          "description": "The current size of the warm pool."
        },
        "Context": {
          "type": "string",
          "description": "Reserved."
        },
        "DesiredCapacityType": {
          "type": "string",
          "description": "The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling supports DesiredCapacityType for attribute-based instance type selection only."
        },
        "DefaultInstanceWarmup": {
          "type": "integer",
          "description": "The duration of the default EC2 instance warmup time, in seconds, for the Auto Scaling group."
        },
        "TrafficSources": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/TrafficSourceIdentifier"
          },
          "description": "The traffic sources associated with this Auto Scaling group."
        },
        "InstanceMaintenancePolicy": {
          "$ref": "#/$defs/InstanceMaintenancePolicy"
        },
        "DeletionProtection": {
          "type": "string",
          "enum": [
            "none",
            "prevent-force-deletion",
            "prevent-all-deletion"
          ],
          "description": "The deletion protection setting for the Auto Scaling group."
        },
        "AvailabilityZoneDistribution": {
          "$ref": "#/$defs/AvailabilityZoneDistribution"
        },
        "AvailabilityZoneImpairmentPolicy": {
          "$ref": "#/$defs/AvailabilityZoneImpairmentPolicy"
        },
        "CapacityReservationSpecification": {
          "$ref": "#/$defs/CapacityReservationSpecification"
        },
        "InstanceLifecyclePolicy": {
          "$ref": "#/$defs/InstanceLifecyclePolicy"
        },
        "Operator": {
          "$ref": "#/$defs/Operator"
        }
      },
      "required": [
        "AutoScalingGroupName",
        "MinSize",
        "MaxSize",
        "DesiredCapacity",
        "DefaultCooldown",
        "AvailabilityZones",
        "HealthCheckType",
        "CreatedTime"
      ]
    },
    "AvailabilityZoneDistribution": {
      "type": "object",
      "properties": {
        "CapacityDistributionStrategy": {
          "type": "string",
          "enum": [
            "balanced-only",
            "balanced-best-effort",
            "reservations-then-balanced"
          ],
          "description": "If launches fail in an Availability Zone, the following strategies are available. The default is balanced-best-effort. balanced-only - If launches fail in an Availability Zone, Auto Scaling will continue to attempt to launch in the unhealthy zone to preserve a balanced distribution. balanced-best-effort - If launches fail in an Availability Zone, Auto Scaling will attempt to launch in another healthy Availability Zone instead. reservations-then-balanced - Auto Scaling will first attempt to launch into your Capacity Reservations, and then balance any remaining capacity across healthy Availabili"
        }
      }
    },
    "AvailabilityZoneImpairmentPolicy": {
      "type": "object",
      "properties": {
        "ZonalShiftEnabled": {
          "type": "boolean",
          "description": "If true, enable zonal shift for your Auto Scaling group."
        },
        "ImpairedZoneHealthCheckBehavior": {
          "type": "string",
          "enum": [
            "ReplaceUnhealthy",
            "IgnoreUnhealthy"
          ],
          "description": "Specifies the health check behavior for the impaired Availability Zone in an active zonal shift. If you select Replace unhealthy, instances that appear unhealthy will be replaced in all Availability Zones. If you select Ignore unhealthy, instances will not be replaced in the Availability Zone with the active zonal shift. For more information, see Auto Scaling group zonal shift in the Amazon EC2 Auto Scaling User Guide."
        }
      }
    },
    "BaselineEbsBandwidthMbpsRequest": {
      "type": "object",
      "properties": {
        "Min": {
          "type": "integer",
          "description": "The minimum value in Mbps."
        },
        "Max": {
          "type": "integer",
          "description": "The maximum value in Mbps."
        }
      }
    },
    "BaselinePerformanceFactorsRequest": {
      "type": "object",
      "properties": {
        "Cpu": {
          "$ref": "#/$defs/CpuPerformanceFactorRequest"
        }
      }
    },
    "CapacityReservationSpecification": {
      "type": "object",
      "properties": {
        "CapacityReservationPreference": {
          "type": "string",
          "enum": [
            "capacity-reservations-only",
            "capacity-reservations-first",
            "none",
            "default"
          ],
          "description": "The capacity reservation preference. The following options are available: capacity-reservations-only - Auto Scaling will only launch instances into a Capacity Reservation or Capacity Reservation resource group. If capacity isn't available, instances will fail to launch. capacity-reservations-first - Auto Scaling will try to launch instances into a Capacity Reservation or Capacity Reservation resource group first. If capacity isn't available, instances will run in On-Demand capacity. none - Auto Scaling will not launch instances into a Capacity Reservation. Instances will run in On-Demand capac"
        },
        "CapacityReservationTarget": {
          "$ref": "#/$defs/CapacityReservationTarget"
        }
      }
    },
    "CapacityReservationTarget": {
      "type": "object",
      "properties": {
        "CapacityReservationIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The Capacity Reservation IDs to launch instances into."
        },
        "CapacityReservationResourceGroupArns": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The resource group ARNs of the Capacity Reservation to launch instances into."
        }
      }
    },
    "CpuPerformanceFactorRequest": {
      "type": "object",
      "properties": {
        "References": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/PerformanceFactorReferenceRequest"
          },
          "description": "Specify an instance family to use as the baseline reference for CPU performance. All instance types that match your specified attributes will be compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture differences. Currently only one instance family can be specified in the list."
        }
      }
    },
    "DistributionSegment": {
      "type": "object",
      "properties": {
        "TargetCapacityTypes": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "on-demand-capacity-reservation",
              "capacity-block",
              "interruptible-capacity-reservation",
              "on-demand"
            ]
          },
          "description": "The capacity types to prioritize, in order. Amazon EC2 Auto Scaling attempts to launch instances in the priority order of the capacity types, and within each capacity type, in the order of instance types listed in your launch template Overrides. The following lists the valid values: on-demand-capacity-reservation On-Demand Capacity Reservations. capacity-block Capacity Blocks. interruptible-capacity-reservation Interruptible Capacity Reservations. on-demand On-Demand capacity. Include this value to allow the group to fall back to On-Demand capacity when the preceding capacity types are unavail"
        }
      }
    },
    "EnabledMetric": {
      "type": "object",
      "properties": {
        "Metric": {
          "type": "string",
          "description": "One of the following metrics: GroupMinSize GroupMaxSize GroupDesiredCapacity GroupInServiceInstances GroupPendingInstances GroupStandbyInstances GroupTerminatingInstances GroupTotalInstances GroupInServiceCapacity GroupPendingCapacity GroupStandbyCapacity GroupTerminatingCapacity GroupTotalCapacity WarmPoolDesiredCapacity WarmPoolWarmedCapacity WarmPoolPendingCapacity WarmPoolTerminatingCapacity WarmPoolTotalCapacity GroupAndWarmPoolDesiredCapacity GroupAndWarmPoolTotalCapacity For more information, see Amazon CloudWatch metrics for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User G"
        },
        "Granularity": {
          "type": "string",
          "description": "The granularity of the metric. The only valid value is 1Minute."
        }
      }
    },
    "Instance": {
      "type": "object",
      "properties": {
        "InstanceId": {
          "type": "string",
          "description": "The ID of the instance."
        },
        "InstanceType": {
          "type": "string",
          "description": "The instance type of the EC2 instance."
        },
        "AvailabilityZone": {
          "type": "string",
          "description": "The Availability Zone in which the instance is running."
        },
        "AvailabilityZoneId": {
          "type": "string",
          "description": "The Availability Zone ID where the instance was launched."
        },
        "LifecycleState": {
          "type": "string",
          "enum": [
            "Pending",
            "Pending:Wait",
            "Pending:Proceed",
            "Quarantined",
            "InService",
            "Terminating",
            "Terminating:Wait",
            "Terminating:Proceed",
            "Terminating:Retained",
            "Terminated",
            "Detaching",
            "Detached",
            "EnteringStandby",
            "Standby",
            "ReplacingRootVolume",
            "ReplacingRootVolume:Wait",
            "ReplacingRootVolume:Proceed",
            "RootVolumeReplaced",
            "Warmed:Pending",
            "Warmed:Pending:Wait",
            "Warmed:Pending:Proceed",
            "Warmed:Pending:Retained",
            "Warmed:Terminating",
            "Warmed:Terminating:Wait",
            "Warmed:Terminating:Proceed",
            "Warmed:Terminating:Retained",
            "Warmed:Terminated",
            "Warmed:Stopped",
            "Warmed:Running",
            "Warmed:Hibernated"
          ],
          "description": "A description of the current lifecycle state. The Quarantined state is not used. For more information, see Amazon EC2 Auto Scaling instance lifecycle in the Amazon EC2 Auto Scaling User Guide."
        },
        "HealthStatus": {
          "type": "string",
          "description": "The last reported health status of the instance. Healthy means that the instance is healthy and should remain in service. Unhealthy means that the instance is unhealthy and that Amazon EC2 Auto Scaling should terminate and replace it."
        },
        "LaunchConfigurationName": {
          "type": "string",
          "description": "The launch configuration associated with the instance."
        },
        "LaunchTemplate": {
          "$ref": "#/$defs/LaunchTemplateSpecification"
        },
        "ImageId": {
          "type": "string",
          "description": "The ID of the Amazon Machine Image (AMI) used for the instance's current root volume. This value reflects the most recent AMI applied to the instance, including updates made through root volume replacement operations. This field appears for: Instances with root volume replacements through Instance Refresh Instances launched with AMI overrides This field won't appear for: Existing instances launched from Launch Templates without overrides Existing instances that didn’t have their root volume replaced through Instance Refresh"
        },
        "ProtectedFromScaleIn": {
          "type": "boolean",
          "description": "Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling in."
        },
        "WeightedCapacity": {
          "type": "string",
          "description": "The number of capacity units contributed by the instance based on its instance type. Valid Range: Minimum value of 1. Maximum value of 999."
        }
      },
      "required": [
        "InstanceId",
        "AvailabilityZone",
        "LifecycleState",
        "HealthStatus",
        "ProtectedFromScaleIn"
      ]
    },
    "InstanceLifecyclePolicy": {
      "type": "object",
      "properties": {
        "RetentionTriggers": {
          "$ref": "#/$defs/RetentionTriggers"
        }
      }
    },
    "InstanceMaintenancePolicy": {
      "type": "object",
      "properties": {
        "MinHealthyPercentage": {
          "type": "integer",
          "description": "Specifies the lower threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the minimum percentage of the group to keep in service, healthy, and ready to use to support your workload when replacing instances. Value range is 0 to 100. To clear a previously set value, specify a value of -1."
        },
        "MaxHealthyPercentage": {
          "type": "integer",
          "description": "Specifies the upper threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the maximum percentage of the group that can be in service and healthy, or pending, to support your workload when replacing instances. Value range is 100 to 200. To clear a previously set value, specify a value of -1. Both MinHealthyPercentage and MaxHealthyPercentage must be specified, and the difference between them cannot be greater than 100. A large range increases the number of instances that can be replaced at the same time."
        }
      }
    },
    "InstanceRequirements": {
      "type": "object",
      "properties": {
        "VCpuCount": {
          "$ref": "#/$defs/VCpuCountRequest"
        },
        "MemoryMiB": {
          "$ref": "#/$defs/MemoryMiBRequest"
        },
        "CpuManufacturers": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "intel",
              "amd",
              "amazon-web-services",
              "apple"
            ]
          },
          "description": "Lists which specific CPU manufacturers to include. For instance types with Intel CPUs, specify intel. For instance types with AMD CPUs, specify amd. For instance types with Amazon Web Services CPUs, specify amazon-web-services. For instance types with Apple CPUs, specify apple. Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. Default: Any manufacturer"
        },
        "MemoryGiBPerVCpu": {
          "$ref": "#/$defs/MemoryGiBPerVCpuRequest"
        },
        "ExcludedInstanceTypes": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (*), to exclude an instance family, type, size, or generation. The following are examples: m5.8xlarge, c5*.*, m5a.*, r*, *3*. For example, if you specify c5*, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, Amazon EC2 Auto Scaling will exclude all the M5a instance types, but not the M5n instance types. If you specify ExcludedInstanceTypes, you can't specify AllowedInstanceTypes. Default: No excluded instance types"
        },
        "InstanceGenerations": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "current",
              "previous"
            ]
          },
          "description": "Indicates whether current or previous generation instance types are included. For current generation instance types, specify current. The current generation includes EC2 instance types currently recommended for use. This typically includes the latest two to three generations in each instance family. For more information, see Instance types in the Amazon EC2 User Guide. For previous generation instance types, specify previous. Default: Any current or previous generation"
        },
        "SpotMaxPricePercentageOverLowestPrice": {
          "type": "integer",
          "description": "[Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes,"
        },
        "MaxSpotPriceAsPercentageOfOptimalOnDemandPrice": {
          "type": "integer",
          "description": "[Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes"
        },
        "OnDemandMaxPricePercentageOverLowestPrice": {
          "type": "integer",
          "description": "[Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with y"
        },
        "BareMetal": {
          "type": "string",
          "enum": [
            "included",
            "excluded",
            "required"
          ],
          "description": "Indicates whether bare metal instance types are included, excluded, or required. Default: excluded"
        },
        "BurstablePerformance": {
          "type": "string",
          "enum": [
            "included",
            "excluded",
            "required"
          ],
          "description": "Indicates whether burstable performance instance types are included, excluded, or required. For more information, see Burstable performance instances in the Amazon EC2 User Guide. Default: excluded"
        },
        "RequireHibernateSupport": {
          "type": "boolean",
          "description": "Indicates whether instance types must provide On-Demand Instance hibernation support. Default: false"
        },
        "NetworkInterfaceCount": {
          "$ref": "#/$defs/NetworkInterfaceCountRequest"
        },
        "LocalStorage": {
          "type": "string",
          "enum": [
            "included",
            "excluded",
            "required"
          ],
          "description": "Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, see Amazon EC2 instance store in the Amazon EC2 User Guide. Default: included"
        },
        "LocalStorageTypes": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "hdd",
              "ssd"
            ]
          },
          "description": "Indicates the type of local storage that is required. For instance types with hard disk drive (HDD) storage, specify hdd. For instance types with solid state drive (SSD) storage, specify ssd. Default: Any local storage type"
        },
        "TotalLocalStorageGB": {
          "$ref": "#/$defs/TotalLocalStorageGBRequest"
        },
        "BaselineEbsBandwidthMbps": {
          "$ref": "#/$defs/BaselineEbsBandwidthMbpsRequest"
        },
        "AcceleratorTypes": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "gpu",
              "fpga",
              "inference"
            ]
          },
          "description": "Lists the accelerator types that must be on an instance type. For instance types with GPU accelerators, specify gpu. For instance types with FPGA accelerators, specify fpga. For instance types with inference accelerators, specify inference. Default: Any accelerator type"
        },
        "AcceleratorCount": {
          "$ref": "#/$defs/AcceleratorCountRequest"
        },
        "AcceleratorManufacturers": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "nvidia",
              "amd",
              "amazon-web-services",
              "xilinx"
            ]
          },
          "description": "Indicates whether instance types must have accelerators by specific manufacturers. For instance types with NVIDIA devices, specify nvidia. For instance types with AMD devices, specify amd. For instance types with Amazon Web Services devices, specify amazon-web-services. For instance types with Xilinx devices, specify xilinx. Default: Any manufacturer"
        },
        "AcceleratorNames": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "a100",
              "v100",
              "k80",
              "t4",
              "m60",
              "radeon-pro-v520",
              "vu9p"
            ]
          },
          "description": "Lists the accelerators that must be on an instance type. For instance types with NVIDIA A100 GPUs, specify a100. For instance types with NVIDIA V100 GPUs, specify v100. For instance types with NVIDIA K80 GPUs, specify k80. For instance types with NVIDIA T4 GPUs, specify t4. For instance types with NVIDIA M60 GPUs, specify m60. For instance types with AMD Radeon Pro V520 GPUs, specify radeon-pro-v520. For instance types with Xilinx VU9P FPGAs, specify vu9p. Default: Any accelerator"
        },
        "AcceleratorTotalMemoryMiB": {
          "$ref": "#/$defs/AcceleratorTotalMemoryMiBRequest"
        },
        "NetworkBandwidthGbps": {
          "$ref": "#/$defs/NetworkBandwidthGbpsRequest"
        },
        "AllowedInstanceTypes": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards, represented by an asterisk (*), to allow an instance type, size, or generation. The following are examples: m5.8xlarge, c5*.*, m5a.*, r*, *3*. For example, if you specify c5*, Amazon EC2 Auto Scaling will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, Amazon EC2 Auto Scaling will allow all the M5a instance types, but not the M5n instance types"
        },
        "BaselinePerformanceFactors": {
          "$ref": "#/$defs/BaselinePerformanceFactorsRequest"
        }
      },
      "required": [
        "VCpuCount",
        "MemoryMiB"
      ]
    },
    "InstanceReusePolicy": {
      "type": "object",
      "properties": {
        "ReuseOnScaleIn": {
          "type": "boolean",
          "description": "Specifies whether instances in the Auto Scaling group can be returned to the warm pool on scale in."
        }
      }
    },
    "InstancesDistribution": {
      "type": "object",
      "properties": {
        "OnDemandAllocationStrategy": {
          "type": "string",
          "description": "The allocation strategy to apply to your On-Demand Instances when they are launched. Possible instance types are determined by the launch template overrides that you specify. The following lists the valid values: lowest-price Uses price to determine which instance types are the highest priority, launching the lowest priced instance types within an Availability Zone first. This is the default value for Auto Scaling groups that specify InstanceRequirements. prioritized You set the order of instance types for the launch template overrides from highest to lowest priority (from first to last in the"
        },
        "OnDemandBaseCapacity": {
          "type": "integer",
          "description": "The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances. This base portion is launched first as your group scales. This number has the same unit of measurement as the group's desired capacity. If you change the default unit of measurement (number of instances) by specifying weighted capacity values in your launch template overrides list, or by changing the default desired capacity type setting of the group, you must specify this number using the same unit of measurement. Default: 0"
        },
        "OnDemandPercentageAboveBaseCapacity": {
          "type": "integer",
          "description": "Controls the percentages of On-Demand Instances and Spot Instances for your additional capacity beyond OnDemandBaseCapacity. Expressed as a number (for example, 20 specifies 20% On-Demand Instances, 80% Spot Instances). If set to 100, only On-Demand Instances are used. Default: 100"
        },
        "SpotAllocationStrategy": {
          "type": "string",
          "description": "The allocation strategy to apply to your Spot Instances when they are launched. Possible instance types are determined by the launch template overrides that you specify. The following lists the valid values: capacity-optimized Requests Spot Instances using pools that are optimally chosen based on the available Spot capacity. This strategy has the lowest risk of interruption. To give certain instance types a higher chance of launching first, use capacity-optimized-prioritized. capacity-optimized-prioritized You set the order of instance types for the launch template overrides from highest to lo"
        },
        "SpotInstancePools": {
          "type": "integer",
          "description": "The number of Spot Instance pools across which to allocate your Spot Instances. The Spot pools are determined from the different instance types in the overrides. Valid only when the SpotAllocationStrategy is lowest-price. Value must be in the range of 1–20. Default: 2"
        },
        "SpotMaxPrice": {
          "type": "string",
          "description": "The maximum price per unit hour that you are willing to pay for a Spot Instance. If your maximum price is lower than the Spot price for the instance types that you selected, your Spot Instances are not launched. We do not recommend specifying a maximum price because it can lead to increased interruptions. When Spot Instances launch, you pay the current Spot price. To remove a maximum price that you previously set, include the property but specify an empty string (\"\") for the value. If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify one"
        },
        "DistributionSegments": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/DistributionSegment"
          },
          "description": "The Distribution Segments configuration. Each segment contains an ordered list of capacity types to prioritize. For more information, see Use Distribution Segments to target multiple capacity types in the Amazon EC2 Auto Scaling User Guide."
        }
      }
    },
    "LaunchTemplate": {
      "type": "object",
      "properties": {
        "LaunchTemplateSpecification": {
          "$ref": "#/$defs/LaunchTemplateSpecification"
        },
        "Overrides": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/LaunchTemplateOverrides"
          },
          "description": "Any properties that you specify override the same properties in the launch template."
        }
      }
    },
    "LaunchTemplateOverrides": {
      "type": "object",
      "properties": {
        "InstanceType": {
          "type": "string",
          "description": "The instance type, such as m3.xlarge. You must specify an instance type that is supported in your requested Region and Availability Zones. For more information, see Instance types in the Amazon EC2 User Guide. You can specify up to 40 instance types per Auto Scaling group."
        },
        "WeightedCapacity": {
          "type": "string",
          "description": "If you provide a list of instance types to use, you can specify the number of capacity units provided by each instance type in terms of virtual CPUs, memory, storage, throughput, or other relative performance characteristic. When a Spot or On-Demand Instance is launched, the capacity units count toward the desired capacity. Amazon EC2 Auto Scaling launches instances until the desired capacity is totally fulfilled, even if this results in an overage. For example, if there are two units remaining to fulfill capacity, and Amazon EC2 Auto Scaling can only launch an instance with a WeightedCapacity"
        },
        "LaunchTemplateSpecification": {
          "$ref": "#/$defs/LaunchTemplateSpecification"
        },
        "InstanceRequirements": {
          "$ref": "#/$defs/InstanceRequirements"
        },
        "ImageId": {
          "type": "string",
          "description": "The ID of the Amazon Machine Image (AMI) to use for instances launched with this override. When using Instance Refresh with ReplaceRootVolume strategy, this specifies the AMI for root volume replacement operations. For ReplaceRootVolume operations: All overrides in the MixedInstancesPolicy must specify an ImageId The AMI must contain only a single root volume Root volume replacement doesn't support multi-volume AMIs"
        }
      }
    },
    "LaunchTemplateSpecification": {
      "type": "object",
      "properties": {
        "LaunchTemplateId": {
          "type": "string",
          "description": "The ID of the launch template. To get the template ID, use the Amazon EC2 DescribeLaunchTemplates API operation. New launch templates can be created using the Amazon EC2 CreateLaunchTemplate API. Conditional: You must specify either a LaunchTemplateId or a LaunchTemplateName."
        },
        "LaunchTemplateName": {
          "type": "string",
          "description": "The name of the launch template. To get the template name, use the Amazon EC2 DescribeLaunchTemplates API operation. New launch templates can be created using the Amazon EC2 CreateLaunchTemplate API. Conditional: You must specify either a LaunchTemplateId or a LaunchTemplateName."
        },
        "Version": {
          "type": "string",
          "description": "The version number, $Latest, or $Default. To get the version number, use the Amazon EC2 DescribeLaunchTemplateVersions API operation. New launch template versions can be created using the Amazon EC2 CreateLaunchTemplateVersion API. If the value is $Latest, Amazon EC2 Auto Scaling selects the latest version of the launch template when launching instances. If the value is $Default, Amazon EC2 Auto Scaling selects the default version of the launch template when launching instances. The default value is $Default."
        }
      }
    },
    "MemoryGiBPerVCpuRequest": {
      "type": "object",
      "properties": {
        "Min": {
          "type": "number",
          "description": "The memory minimum in GiB."
        },
        "Max": {
          "type": "number",
          "description": "The memory maximum in GiB."
        }
      }
    },
    "MemoryMiBRequest": {
      "type": "object",
      "properties": {
        "Min": {
          "type": "integer",
          "description": "The memory minimum in MiB."
        },
        "Max": {
          "type": "integer",
          "description": "The memory maximum in MiB."
        }
      },
      "required": [
        "Min"
      ]
    },
    "MixedInstancesPolicy": {
      "type": "object",
      "properties": {
        "LaunchTemplate": {
          "$ref": "#/$defs/LaunchTemplate"
        },
        "InstancesDistribution": {
          "$ref": "#/$defs/InstancesDistribution"
        }
      }
    },
    "NetworkBandwidthGbpsRequest": {
      "type": "object",
      "properties": {
        "Min": {
          "type": "number",
          "description": "The minimum amount of network bandwidth, in gigabits per second (Gbps)."
        },
        "Max": {
          "type": "number",
          "description": "The maximum amount of network bandwidth, in gigabits per second (Gbps)."
        }
      }
    },
    "NetworkInterfaceCountRequest": {
      "type": "object",
      "properties": {
        "Min": {
          "type": "integer",
          "description": "The minimum number of network interfaces."
        },
        "Max": {
          "type": "integer",
          "description": "The maximum number of network interfaces."
        }
      }
    },
    "Operator": {
      "type": "object",
      "properties": {
        "Principal": {
          "type": "string",
          "description": "The service principal that is authorized to manage the Auto Scaling group. When an operator is specified, only the designated operator service principal can make mutating changes to the Auto Scaling group."
        }
      },
      "required": [
        "Principal"
      ]
    },
    "PerformanceFactorReferenceRequest": {
      "type": "object",
      "properties": {
        "InstanceFamily": {
          "type": "string",
          "description": "The instance family to use as a baseline reference. Make sure that you specify the correct value for the instance family. The instance family is everything before the period (.) in the instance type name. For example, in the instance c6i.large, the instance family is c6i, not c6. For more information, see Amazon EC2 instance type naming conventions in Amazon EC2 Instance Types. The following instance types are not supported for performance protection. c1 g3| g3s hpc7g m1| m2 mac1 | mac2 | mac2-m1ultra | mac2-m2 | mac2-m2pro p3dn | p4d | p5 t1 u-12tb1 | u-18tb1 | u-24tb1 | u-3tb1 | u-6tb1 | u-9"
        }
      }
    },
    "RetentionTriggers": {
      "type": "object",
      "properties": {
        "TerminateHookAbandon": {
          "type": "string",
          "enum": [
            "retain",
            "terminate"
          ],
          "description": "Specifies the action when a termination lifecycle hook is abandoned due to failure, timeout, or explicit abandonment (calling CompleteLifecycleAction). Set to retain to move instances to a retained state. Set to terminate for default termination behavior. Retained instances don't count toward desired capacity and remain until you call TerminateInstanceInAutoScalingGroup."
        }
      }
    },
    "SuspendedProcess": {
      "type": "object",
      "properties": {
        "ProcessName": {
          "type": "string",
          "description": "The name of the suspended process."
        },
        "SuspensionReason": {
          "type": "string",
          "description": "The reason that the process was suspended."
        }
      }
    },
    "TagDescription": {
      "type": "object",
      "properties": {
        "ResourceId": {
          "type": "string",
          "description": "The name of the group."
        },
        "ResourceType": {
          "type": "string",
          "description": "The type of resource. The only supported value is auto-scaling-group."
        },
        "Key": {
          "type": "string",
          "description": "The tag key."
        },
        "Value": {
          "type": "string",
          "description": "The tag value."
        },
        "PropagateAtLaunch": {
          "type": "boolean",
          "description": "Determines whether the tag is added to new instances as they are launched in the group."
        }
      }
    },
    "TotalLocalStorageGBRequest": {
      "type": "object",
      "properties": {
        "Min": {
          "type": "number",
          "description": "The storage minimum in GB."
        },
        "Max": {
          "type": "number",
          "description": "The storage maximum in GB."
        }
      }
    },
    "TrafficSourceIdentifier": {
      "type": "object",
      "properties": {
        "Identifier": {
          "type": "string",
          "description": "Identifies the traffic source. For Application Load Balancers, Gateway Load Balancers, Network Load Balancers, and VPC Lattice, this will be the Amazon Resource Name (ARN) for a target group in this account and Region. For Classic Load Balancers, this will be the name of the Classic Load Balancer in this account and Region. For example: Application Load Balancer ARN: arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/1234567890123456 Classic Load Balancer name: my-classic-load-balancer VPC Lattice ARN: arn:aws:vpc-lattice:us-west-2:123456789012:targetgroup/tg-1234567890"
        },
        "Type": {
          "type": "string",
          "description": "Provides additional context for the value of Identifier. The following lists the valid values: elb if Identifier is the name of a Classic Load Balancer. elbv2 if Identifier is the ARN of an Application Load Balancer, Gateway Load Balancer, or Network Load Balancer target group. vpc-lattice if Identifier is the ARN of a VPC Lattice target group. Required if the identifier is the name of a Classic Load Balancer."
        }
      },
      "required": [
        "Identifier"
      ]
    },
    "VCpuCountRequest": {
      "type": "object",
      "properties": {
        "Min": {
          "type": "integer",
          "description": "The minimum number of vCPUs."
        },
        "Max": {
          "type": "integer",
          "description": "The maximum number of vCPUs."
        }
      },
      "required": [
        "Min"
      ]
    },
    "WarmPoolConfiguration": {
      "type": "object",
      "properties": {
        "MaxGroupPreparedCapacity": {
          "type": "integer",
          "description": "The maximum number of instances that are allowed to be in the warm pool or in any state except Terminated for the Auto Scaling group."
        },
        "MinSize": {
          "type": "integer",
          "description": "The minimum number of instances to maintain in the warm pool."
        },
        "PoolState": {
          "type": "string",
          "enum": [
            "Stopped",
            "Running",
            "Hibernated"
          ],
          "description": "The instance state to transition to after the lifecycle actions are complete."
        },
        "Status": {
          "type": "string",
          "enum": [
            "PendingDelete"
          ],
          "description": "The status of a warm pool that is marked for deletion."
        },
        "InstanceReusePolicy": {
          "$ref": "#/$defs/InstanceReusePolicy"
        }
      }
    }
  }
}