Class CfnRoute.TcpRouteProperty
An object that represents a TCP route type.
Inheritance
System.Object
CfnRoute.TcpRouteProperty
Implements
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class TcpRouteProperty : Object, CfnRoute.ITcpRouteProperty
Syntax (vb)
Public Class TcpRouteProperty
Inherits Object
Implements CfnRoute.ITcpRouteProperty
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 tcpRouteProperty = new TcpRouteProperty {
Action = new TcpRouteActionProperty {
WeightedTargets = new [] { new WeightedTargetProperty {
VirtualNode = "virtualNode",
Weight = 123,
// the properties below are optional
Port = 123
} }
},
// the properties below are optional
Match = new TcpRouteMatchProperty {
Port = 123
},
Timeout = new TcpTimeoutProperty {
Idle = new DurationProperty {
Unit = "unit",
Value = 123
}
}
};
Synopsis
Constructors
TcpRouteProperty() |
Properties
Action | The action to take if a match is determined. |
Match | An object that represents the criteria for determining a request match. |
Timeout | An object that represents types of timeouts. |
Constructors
TcpRouteProperty()
public TcpRouteProperty()
Properties
Action
The action to take if a match is determined.
public object Action { get; set; }
Property Value
System.Object
Remarks
Match
An object that represents the criteria for determining a request match.
public object Match { get; set; }
Property Value
System.Object
Remarks
Timeout
An object that represents types of timeouts.
public object Timeout { get; set; }
Property Value
System.Object