Class CfnRoute.TcpRouteActionProperty
An object that represents the action to take if a match is determined.
Inheritance
System.Object
CfnRoute.TcpRouteActionProperty
Implements
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.AWS.AppMesh.dll
Syntax (csharp)
public class TcpRouteActionProperty : Object, CfnRoute.ITcpRouteActionProperty
Syntax (vb)
Public Class TcpRouteActionProperty
Inherits Object
Implements CfnRoute.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
Constructors
TcpRouteActionProperty() |
Properties
WeightedTargets | An object that represents the targets that traffic is routed to when a request matches the route. |
Constructors
TcpRouteActionProperty()
public TcpRouteActionProperty()
Properties
WeightedTargets
An object that represents the targets that traffic is routed to when a request matches the route.
public object WeightedTargets { get; set; }
Property Value
System.Object