Class ListenerDefaultActionForwardTargetGroup
- java.lang.Object
-
- com.pulumi.aws.vpclattice.outputs.ListenerDefaultActionForwardTargetGroup
-
public final class ListenerDefaultActionForwardTargetGroup extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListenerDefaultActionForwardTargetGroup.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListenerDefaultActionForwardTargetGroup.Builderbuilder()static ListenerDefaultActionForwardTargetGroup.Builderbuilder(ListenerDefaultActionForwardTargetGroup defaults)java.util.Optional<java.lang.String>targetGroupIdentifier()java.util.Optional<java.lang.Integer>weight()
-
-
-
Method Detail
-
targetGroupIdentifier
public java.util.Optional<java.lang.String> targetGroupIdentifier()
- Returns:
- ID or ARN of the target group.
-
weight
public java.util.Optional<java.lang.Integer> weight()
- Returns:
- Weight that controls how requests are distributed to the target group. Only required if you specify multiple target groups for a forward action. For example, 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. See [Listener rules](https://docs.aws.amazon.com/vpc-lattice/latest/ug/listeners.html#listener-rules) in the AWS documentation for additional examples. Default: `100`.
-
builder
public static ListenerDefaultActionForwardTargetGroup.Builder builder()
-
builder
public static ListenerDefaultActionForwardTargetGroup.Builder builder(ListenerDefaultActionForwardTargetGroup defaults)
-
-