Show / Hide Table of Contents

Class CfnTrafficRouting

Type of the CfnCodeDeployBlueGreenEcsAttributes.trafficRouting property.

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

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;

            var cfnTrafficRouting = new CfnTrafficRouting {
                ProdTrafficRoute = new CfnTrafficRoute {
                    LogicalId = "logicalId",
                    Type = "type"
                },
                TargetGroups = new [] { "targetGroups" },
                TestTrafficRoute = new CfnTrafficRoute {
                    LogicalId = "logicalId",
                    Type = "type"
                }
            };

Synopsis

Constructors

CfnTrafficRouting()

Type of the CfnCodeDeployBlueGreenEcsAttributes.trafficRouting property.

Properties

ProdTrafficRoute

The listener to be used by your load balancer to direct traffic to your target groups.

TargetGroups

The logical IDs of the blue and green, respectively, AWS::ElasticLoadBalancingV2::TargetGroup target groups.

TestTrafficRoute

The listener to be used by your load balancer to direct traffic to your target groups.

Constructors

CfnTrafficRouting()

Type of the CfnCodeDeployBlueGreenEcsAttributes.trafficRouting property.

public CfnTrafficRouting()
Remarks

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;

            var cfnTrafficRouting = new CfnTrafficRouting {
                ProdTrafficRoute = new CfnTrafficRoute {
                    LogicalId = "logicalId",
                    Type = "type"
                },
                TargetGroups = new [] { "targetGroups" },
                TestTrafficRoute = new CfnTrafficRoute {
                    LogicalId = "logicalId",
                    Type = "type"
                }
            };

Properties

ProdTrafficRoute

The listener to be used by your load balancer to direct traffic to your target groups.

public ICfnTrafficRoute ProdTrafficRoute { get; set; }
Property Value

ICfnTrafficRoute

Remarks

ExampleMetadata: fixture=_generated

TargetGroups

The logical IDs of the blue and green, respectively, AWS::ElasticLoadBalancingV2::TargetGroup target groups.

public string[] TargetGroups { get; set; }
Property Value

string[]

Remarks

ExampleMetadata: fixture=_generated

TestTrafficRoute

The listener to be used by your load balancer to direct traffic to your target groups.

public ICfnTrafficRoute TestTrafficRoute { get; set; }
Property Value

ICfnTrafficRoute

Remarks

ExampleMetadata: fixture=_generated

Implements

ICfnTrafficRouting
Back to top Generated by DocFX