Class CfnDeploymentGroup.TrafficRouteProperty
Information about a listener.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDeploymentGroup.TrafficRouteProperty : CfnDeploymentGroup.ITrafficRouteProperty
Syntax (vb)
Public Class CfnDeploymentGroup.TrafficRouteProperty Implements CfnDeploymentGroup.ITrafficRouteProperty
Remarks
The listener contains the path used to route traffic that is received from the load balancer to a target group.
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 trafficRouteProperty = new TrafficRouteProperty {
ListenerArns = new [] { "listenerArns" }
};
Synopsis
Constructors
| TrafficRouteProperty() | Information about a listener. |
Properties
| ListenerArns | The Amazon Resource Name (ARN) of one listener. |
Constructors
TrafficRouteProperty()
Information about a listener.
public TrafficRouteProperty()
Remarks
The listener contains the path used to route traffic that is received from the load balancer to a target group.
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 trafficRouteProperty = new TrafficRouteProperty {
ListenerArns = new [] { "listenerArns" }
};
Properties
ListenerArns
The Amazon Resource Name (ARN) of one listener.
public string[]? ListenerArns { get; set; }
Property Value
string[]
Remarks
The listener identifies the route between a target group and a load balancer. This is an array of strings with a maximum size of one.