Show / Hide Table of Contents

Class WeightedTarget

Properties for the Weighted Targets in the route.

Inheritance
System.Object
WeightedTarget
Implements
IWeightedTarget
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.AWS.AppMesh.dll
Syntax (csharp)
public class WeightedTarget : Object, IWeightedTarget
Syntax (vb)
Public Class WeightedTarget
    Inherits Object
    Implements 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
    Weight = 123
};

Synopsis

Constructors

WeightedTarget()

Properties

VirtualNode

The VirtualNode the route points to.

Weight

The weight for the target.

Constructors

WeightedTarget()

public WeightedTarget()

Properties

VirtualNode

The VirtualNode the route points to.

public IVirtualNode VirtualNode { get; set; }
Property Value

IVirtualNode

Weight

The weight for the target.

public Nullable<double> Weight { get; set; }
Property Value

System.Nullable<System.Double>

Remarks

Default: 1

Implements

IWeightedTarget
Back to top Generated by DocFX