Show / Hide Table of Contents

Class CfnDeploymentGroupPropsMixin.TargetGroupPairInfoProperty

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

Inheritance
object
CfnDeploymentGroupPropsMixin.TargetGroupPairInfoProperty
Implements
CfnDeploymentGroupPropsMixin.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.CfnPropertyMixins.AWS.CodeDeploy
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnDeploymentGroupPropsMixin.TargetGroupPairInfoProperty : CfnDeploymentGroupPropsMixin.ITargetGroupPairInfoProperty
Syntax (vb)
Public Class CfnDeploymentGroupPropsMixin.TargetGroupPairInfoProperty Implements CfnDeploymentGroupPropsMixin.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.CfnPropertyMixins.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.CfnPropertyMixins.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 CfnDeploymentGroupPropsMixin.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 CfnDeploymentGroupPropsMixin.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 CfnDeploymentGroupPropsMixin.ITrafficRouteProperty

Implements

CfnDeploymentGroupPropsMixin.ITargetGroupPairInfoProperty
Back to top Generated by DocFX