Interface CfnRoute.ITcpRouteActionProperty
An object that represents the action to take if a match is determined.
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ITcpRouteActionProperty
Syntax (vb)
Public Interface ITcpRouteActionProperty
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.AWS.AppMesh;
var tcpRouteActionProperty = new TcpRouteActionProperty {
WeightedTargets = new [] { new WeightedTargetProperty {
VirtualNode = "virtualNode",
Weight = 123,
// the properties below are optional
Port = 123
} }
};
Synopsis
Properties
WeightedTargets | An object that represents the targets that traffic is routed to when a request matches the route. |
Properties
WeightedTargets
An object that represents the targets that traffic is routed to when a request matches the route.
object WeightedTargets { get; }
Property Value
System.Object