AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Inheritance Hierarchy

System.Object
  Amazon.CodeDeploy.Model.TargetGroupPairInfo

Namespace: Amazon.CodeDeploy.Model
Assembly: AWSSDK.CodeDeploy.dll
Version: 3.x.y.z

Syntax

C#
public class TargetGroupPairInfo

The TargetGroupPairInfo type exposes the following members

Constructors

NameDescription
Public Method TargetGroupPairInfo()

Properties

NameTypeDescription
Public Property ProdTrafficRoute Amazon.CodeDeploy.Model.TrafficRoute

Gets and sets the property ProdTrafficRoute.

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

Public Property TargetGroups System.Collections.Generic.List<Amazon.CodeDeploy.Model.TargetGroupInfo>

Gets and sets the property 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.

Public Property TestTrafficRoute Amazon.CodeDeploy.Model.TrafficRoute

Gets and sets the property 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.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5