AWS::CodeDeploy::DeploymentGroup TargetGroupPairInfo - AWS CloudFormation

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