AWS::CodeDeploy::DeploymentGroup TargetGroupPairInfo - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

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 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