@Generated(value="jsii-pacmak/1.57.0 (build f614666)", date="2022-04-22T22:36:22.228Z") @Stability(value=Stable) public interface WeightedTargetGroup extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
WeightedTargetGroup.Builder
A builder for
WeightedTargetGroup |
static class |
WeightedTargetGroup.Jsii$Proxy
An implementation for
WeightedTargetGroup |
| Modifier and Type | Method and Description |
|---|---|
static WeightedTargetGroup.Builder |
builder() |
IApplicationTargetGroup |
getTargetGroup()
The target group.
|
default Number |
getWeight()
The target group's weight.
|
@Stability(value=Stable) @NotNull IApplicationTargetGroup getTargetGroup()
@Stability(value=Stable) @Nullable default Number getWeight()
Range is [0..1000).
Default: 1
@Stability(value=Stable) static WeightedTargetGroup.Builder builder()
WeightedTargetGroup.Builder of WeightedTargetGroupCopyright © 2022. All rights reserved.