Amazon CodeDeploy · JSON Structure

Amazon Codedeploy Target Group Pair Info Structure

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: 3
AmazonDeploymentDevOpsCI/CDRelease ManagementBlue/Green Deployment

TargetGroupPairInfo is a JSON Structure definition published by Amazon CodeDeploy, describing 3 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

targetGroups prodTrafficRoute testTrafficRoute

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-codedeploy/refs/heads/main/json-structure/amazon-codedeploy-target-group-pair-info-structure.json",
  "name": "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. "
        }
      ]
    }
  }
}