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