Show / Hide Table of Contents

Interface ICfnTrafficRouting

Type of the CfnCodeDeployBlueGreenEcsAttributes.trafficRouting property.

Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnTrafficRouting
Syntax (vb)
Public Interface 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

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.

Properties

ProdTrafficRoute

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

ICfnTrafficRoute ProdTrafficRoute { get; }
Property Value

ICfnTrafficRoute

Remarks

ExampleMetadata: fixture=_generated

TargetGroups

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

string[] TargetGroups { get; }
Property Value

string[]

Remarks

ExampleMetadata: fixture=_generated

TestTrafficRoute

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

ICfnTrafficRoute TestTrafficRoute { get; }
Property Value

ICfnTrafficRoute

Remarks

ExampleMetadata: fixture=_generated

Back to top Generated by DocFX