Class CfnRoutePropsMixin.TcpRouteActionProperty
An object that represents the action to take if a match is determined.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.AppMesh.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnRoutePropsMixin.TcpRouteActionProperty : CfnRoutePropsMixin.ITcpRouteActionProperty
Syntax (vb)
Public Class CfnRoutePropsMixin.TcpRouteActionProperty Implements CfnRoutePropsMixin.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.Mixins.Preview.AWS.AppMesh.Mixins;
var tcpRouteActionProperty = new TcpRouteActionProperty {
WeightedTargets = new [] { new WeightedTargetProperty {
Port = 123,
VirtualNode = "virtualNode",
Weight = 123
} }
};
Synopsis
Constructors
| TcpRouteActionProperty() | An object that represents the action to take if a match is determined. |
Properties
| WeightedTargets | An object that represents the targets that traffic is routed to when a request matches the route. |
Constructors
TcpRouteActionProperty()
An object that represents the action to take if a match is determined.
public TcpRouteActionProperty()
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 tcpRouteActionProperty = new TcpRouteActionProperty {
WeightedTargets = new [] { new WeightedTargetProperty {
Port = 123,
VirtualNode = "virtualNode",
Weight = 123
} }
};
Properties
WeightedTargets
An object that represents the targets that traffic is routed to when a request matches the route.
public object? WeightedTargets { get; set; }