Class ListenerDefaultActionForwardTargetGroupArgs


  • public final class ListenerDefaultActionForwardTargetGroupArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • targetGroupIdentifier

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> targetGroupIdentifier()
        Returns:
        ID or ARN of the target group.
      • weight

        public java.util.Optional<com.pulumi.core.Output<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`.