Class ListenerDefaultActionForwardTargetGroupArgs.Builder

    • Method Detail

      • targetGroupIdentifier

        public ListenerDefaultActionForwardTargetGroupArgs.Builder targetGroupIdentifier​(@Nullable
                                                                                         com.pulumi.core.Output<java.lang.String> targetGroupIdentifier)
        Parameters:
        targetGroupIdentifier - ID or ARN of the target group.
        Returns:
        builder
      • weight

        public ListenerDefaultActionForwardTargetGroupArgs.Builder weight​(@Nullable
                                                                          com.pulumi.core.Output<java.lang.Integer> weight)
        Parameters:
        weight - 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`.
        Returns:
        builder
      • weight

        public ListenerDefaultActionForwardTargetGroupArgs.Builder weight​(java.lang.Integer weight)
        Parameters:
        weight - 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`.
        Returns:
        builder