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.
virtual Nullable<double> Port { get; }
Property Value
System.Nullable<System.Double>
Remarks
Default: - do not match on port
VirtualNode
Weight
The weight for the target.
virtual Nullable<double> Weight { get; }
Property Value
System.Nullable<System.Double>
Remarks
Default: 1