Interface WeightedTargetGroup
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
WeightedTargetGroup.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:39.942Z")
@Stability(Stable)
public interface WeightedTargetGroup
extends software.amazon.jsii.JsiiSerializable
A Target Group and weight combination.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.elasticloadbalancingv2.*;
ApplicationTargetGroup applicationTargetGroup;
WeightedTargetGroup weightedTargetGroup = WeightedTargetGroup.builder()
.targetGroup(applicationTargetGroup)
// the properties below are optional
.weight(123)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forWeightedTargetGroupstatic final classAn implementation forWeightedTargetGroup -
Method Summary
Modifier and TypeMethodDescriptionstatic WeightedTargetGroup.Builderbuilder()The target group.default NumberThe target group's weight.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTargetGroup
The target group. -
getWeight
The target group's weight.Range is [0..1000).
Default: 1
-
builder
- Returns:
- a
WeightedTargetGroup.BuilderofWeightedTargetGroup
-