Interface WeightedTargetGroup
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
WeightedTargetGroup.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-27T16:50:57.673Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forWeightedTargetGroup
static final class
An implementation forWeightedTargetGroup
-
Method Summary
Modifier and TypeMethodDescriptionstatic WeightedTargetGroup.Builder
builder()
The target group.default Number
The 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.Builder
ofWeightedTargetGroup
-