{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codedeploy/refs/heads/main/json-schema/amazon-codedeploy-target-group-pair-info-schema.json", "title": "TargetGroupPairInfo", "description": " Information about two target groups and how traffic is routed during an Amazon ECS deployment. An optional test traffic route can be specified. ", "type": "object", "properties": { "targetGroups": { "allOf": [ { "$ref": "#/components/schemas/TargetGroupInfoList" }, { "description": " One pair of target groups. One is associated with the original task set. The second is associated with the task set that serves traffic after the deployment is complete. " } ] }, "prodTrafficRoute": { "allOf": [ { "$ref": "#/components/schemas/TrafficRoute" }, { "description": " The path used by a load balancer to route production traffic when an Amazon ECS deployment is complete. " } ] }, "testTrafficRoute": { "allOf": [ { "$ref": "#/components/schemas/TrafficRoute" }, { "description": " An optional path used by a load balancer to route test traffic after an Amazon ECS deployment. Validation can occur while test traffic is served during a deployment. " } ] } } }