Show / Hide Table of Contents

Class CfnDeploymentGroup.TargetGroupPairInfoProperty

Information about two target groups and how traffic is routed during an Amazon ECS deployment.

Inheritance
object
CfnDeploymentGroup.TargetGroupPairInfoProperty
Implements
CfnDeploymentGroup.ITargetGroupPairInfoProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDeploymentGroup.TargetGroupPairInfoProperty : CfnDeploymentGroup.ITargetGroupPairInfoProperty
Syntax (vb)
Public Class CfnDeploymentGroup.TargetGroupPairInfoProperty Implements CfnDeploymentGroup.ITargetGroupPairInfoProperty
Remarks

An optional test traffic route can be specified.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-targetgrouppairinfo.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.CodeDeploy;

             var targetGroupPairInfoProperty = new TargetGroupPairInfoProperty {
                 ProdTrafficRoute = new TrafficRouteProperty {
                     ListenerArns = new [] { "listenerArns" }
                 },
                 TargetGroups = new [] { new TargetGroupInfoProperty {
                     Name = "name"
                 } },
                 TestTrafficRoute = new TrafficRouteProperty {
                     ListenerArns = new [] { "listenerArns" }
                 }
             };

Synopsis

Constructors

TargetGroupPairInfoProperty()

Information about two target groups and how traffic is routed during an Amazon ECS deployment.

Properties

ProdTrafficRoute

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

TargetGroups

One pair of target groups.

TestTrafficRoute

An optional path used by a load balancer to route test traffic after an Amazon ECS deployment.

Constructors

TargetGroupPairInfoProperty()

Information about two target groups and how traffic is routed during an Amazon ECS deployment.

public TargetGroupPairInfoProperty()
Remarks

An optional test traffic route can be specified.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-targetgrouppairinfo.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.CodeDeploy;

             var targetGroupPairInfoProperty = new TargetGroupPairInfoProperty {
                 ProdTrafficRoute = new TrafficRouteProperty {
                     ListenerArns = new [] { "listenerArns" }
                 },
                 TargetGroups = new [] { new TargetGroupInfoProperty {
                     Name = "name"
                 } },
                 TestTrafficRoute = new TrafficRouteProperty {
                     ListenerArns = new [] { "listenerArns" }
                 }
             };

Properties

ProdTrafficRoute

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

public object? ProdTrafficRoute { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-targetgrouppairinfo.html#cfn-codedeploy-deploymentgroup-targetgrouppairinfo-prodtrafficroute

Type union: either IResolvable or CfnDeploymentGroup.ITrafficRouteProperty

TargetGroups

One pair of target groups.

public object? TargetGroups { get; set; }
Property Value

object

Remarks

One is associated with the original task set. The second is associated with the task set that serves traffic after the deployment is complete.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-targetgrouppairinfo.html#cfn-codedeploy-deploymentgroup-targetgrouppairinfo-targetgroups

Type union: either IResolvable or (either IResolvable or CfnDeploymentGroup.ITargetGroupInfoProperty)[]

TestTrafficRoute

An optional path used by a load balancer to route test traffic after an Amazon ECS deployment.

public object? TestTrafficRoute { get; set; }
Property Value

object

Remarks

Validation can occur while test traffic is served during a deployment.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-targetgrouppairinfo.html#cfn-codedeploy-deploymentgroup-targetgrouppairinfo-testtrafficroute

Type union: either IResolvable or CfnDeploymentGroup.ITrafficRouteProperty

Implements

CfnDeploymentGroup.ITargetGroupPairInfoProperty
Back to top Generated by DocFX