@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-05-19T23:09:30.958Z") @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 WeightedTargetGroup
Copyright © 2023. All rights reserved.