Show / Hide Table of Contents

Class CfnRule.WeightedTargetGroupProperty

Describes the weight of a target group.

Inheritance
System.Object
CfnRule.WeightedTargetGroupProperty
Implements
CfnRule.IWeightedTargetGroupProperty
Namespace: Amazon.CDK.AWS.VpcLattice
Assembly: Amazon.CDK.AWS.VpcLattice.dll
Syntax (csharp)
public class WeightedTargetGroupProperty : Object, CfnRule.IWeightedTargetGroupProperty
Syntax (vb)
Public Class WeightedTargetGroupProperty
    Inherits Object
    Implements CfnRule.IWeightedTargetGroupProperty
Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-rule-weightedtargetgroup.html

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.VpcLattice;

var weightedTargetGroupProperty = new WeightedTargetGroupProperty {
    TargetGroupIdentifier = "targetGroupIdentifier",

    // the properties below are optional
    Weight = 123
};

Synopsis

Constructors

WeightedTargetGroupProperty()

Properties

TargetGroupIdentifier

The ID of the target group.

Weight

Only required if you specify multiple target groups for a forward action.

Constructors

WeightedTargetGroupProperty()

public WeightedTargetGroupProperty()

Properties

TargetGroupIdentifier

The ID of the target group.

public string TargetGroupIdentifier { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-rule-weightedtargetgroup.html#cfn-vpclattice-rule-weightedtargetgroup-targetgroupidentifier

Weight

Only required if you specify multiple target groups for a forward action.

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

System.Nullable<System.Double>

Remarks

The "weight" determines how requests are distributed to the target group. For example, if you specify two target groups, each with a weight of 10, each target group receives half the requests. If you specify two target groups, one with a weight of 10 and the other with a weight of 20, the target group with a weight of 20 receives twice as many requests as the other target group. If there's only one target group specified, then the default value is 100.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-rule-weightedtargetgroup.html#cfn-vpclattice-rule-weightedtargetgroup-weight

Implements

CfnRule.IWeightedTargetGroupProperty
Back to top Generated by DocFX