AWS::CodeDeploy::DeploymentGroup TargetGroupPairInfo - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::CodeDeploy::DeploymentGroup TargetGroupPairInfo

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

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

Properties

ProdTrafficRoute

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

Required: No

Type: TrafficRoute

Update requires: No interruption

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.

Required: No

Type: Array of TargetGroupInfo

Update requires: No interruption

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.

Required: No

Type: TrafficRoute

Update requires: No interruption