Interface IWeightedTarget
Properties for the Weighted Targets in the route.
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IWeightedTarget
Syntax (vb)
Public Interface IWeightedTarget
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;
VirtualNode virtualNode;
var weightedTarget = new WeightedTarget {
VirtualNode = virtualNode,
// the properties below are optional
Port = 123,
Weight = 123
};
Synopsis
Properties
| Port | The port to match from the request. |
| VirtualNode | The VirtualNode the route points to. |
| Weight | The weight for the target. |
Properties
Port
The port to match from the request.
double? Port { get; }
Property Value
Remarks
Default: - do not match on port
VirtualNode
The VirtualNode the route points to.
IVirtualNode VirtualNode { get; }
Property Value
Remarks
ExampleMetadata: fixture=_generated