Class WeightedTargetGroup
A Target Group and weight combination.
Inheritance
System.Object
WeightedTargetGroup
Implements
Namespace: Amazon.CDK.AWS.ElasticLoadBalancingV2
Assembly: Amazon.CDK.AWS.ElasticLoadBalancingV2.dll
Syntax (csharp)
public class WeightedTargetGroup : Object, IWeightedTargetGroup
Syntax (vb)
Public Class WeightedTargetGroup
Inherits Object
Implements IWeightedTargetGroup
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.ElasticLoadBalancingV2;
ApplicationTargetGroup applicationTargetGroup;
var weightedTargetGroup = new WeightedTargetGroup {
TargetGroup = applicationTargetGroup,
// the properties below are optional
Weight = 123
};
Synopsis
Constructors
WeightedTargetGroup() |
Properties
TargetGroup | The target group. |
Weight | The target group's weight. |
Constructors
WeightedTargetGroup()
public WeightedTargetGroup()
Properties
TargetGroup
The target group.
public IApplicationTargetGroup TargetGroup { get; set; }
Property Value
Weight
The target group's weight.
public Nullable<double> Weight { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
Range is [0..1000).
Default: 1