TargetGroupPairInfo - AWS CodeDeploy

TargetGroupPairInfo

Information about two target groups and how traffic is routed during an Amazon ECS deployment. An optional test traffic route can be specified.

Contents

prodTrafficRoute

The path used by a load balancer to route production traffic when an Amazon ECS deployment is complete.

Type: TrafficRoute object

Required: No

targetGroups

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.

Type: Array of TargetGroupInfo objects

Required: No

testTrafficRoute

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.

Type: TrafficRoute object

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: