{ "$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-traffic-source-state-schema.json", "title": "TrafficSourceState", "description": "Describes the state of a traffic source.", "type": "object", "properties": { "TrafficSource": { "allOf": [ { "$ref": "#/components/schemas/XmlStringMaxLen511" }, { "deprecated": true, "description": "This is replaced by Identifier.TrafficSource has been replaced by Identifier" } ] }, "State": { "allOf": [ { "$ref": "#/components/schemas/XmlStringMaxLen255" }, { "description": "

Describes the current state of a traffic source.

The state values are as follows:

" } ] }, "Identifier": { "allOf": [ { "$ref": "#/components/schemas/XmlStringMaxLen511" }, { "description": "The unique identifier of the traffic source." } ] }, "Type": { "allOf": [ { "$ref": "#/components/schemas/XmlStringMaxLen511" }, { "description": "

Provides additional context for the value of Identifier.

The following lists the valid values:

Required if the identifier is the name of a Classic Load Balancer.

" } ] } } }