{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ec2-auto-scaling/json-schema/amazon-ec2-auto-scaling-describe-traffic-sources-response-schema.json",
  "title": "DescribeTrafficSourcesResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ec2-auto-scaling-traffic-source-api-openapi.yml#/components/schemas/DescribeTrafficSourcesResponse",
  "type": "object",
  "properties": {
    "TrafficSources": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/TrafficSourceState"
      },
      "description": "Information about the traffic sources."
    },
    "NextToken": {
      "type": "string",
      "description": "This string 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."
    }
  },
  "$defs": {
    "TrafficSourceState": {
      "type": "object",
      "properties": {
        "TrafficSource": {
          "type": "string",
          "description": "This is replaced by Identifier."
        },
        "State": {
          "type": "string",
          "description": "Describes the current state of a traffic source. The state values are as follows: Adding - The Auto Scaling instances are being registered with the load balancer or target group. Added - All Auto Scaling instances are registered with the load balancer or target group. InService - For an Elastic Load Balancing load balancer or target group, at least one Auto Scaling instance passed an ELB health check. For VPC Lattice, at least one Auto Scaling instance passed an VPC_LATTICE health check. Removing - The Auto Scaling instances are being deregistered from the load balancer or target group. If con"
        },
        "Identifier": {
          "type": "string",
          "description": "The unique identifier of the traffic source."
        },
        "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."
        }
      }
    }
  }
}