Class ListenerRuleActionArgs.Builder

  • Enclosing class:
    ListenerRuleActionArgs

    public static final class ListenerRuleActionArgs.Builder
    extends java.lang.Object
    • Method Detail

      • forward

        public ListenerRuleActionArgs.Builder forward​(@Nullable
                                                      com.pulumi.core.Output<ListenerRuleActionForwardArgs> forward)
        Parameters:
        forward - Configuration block for creating an action that distributes requests among one or more target groups. Specify only if `type` is `forward`. Cannot be specified with `targetGroupArn`.
        Returns:
        builder
      • forward

        public ListenerRuleActionArgs.Builder forward​(ListenerRuleActionForwardArgs forward)
        Parameters:
        forward - Configuration block for creating an action that distributes requests among one or more target groups. Specify only if `type` is `forward`. Cannot be specified with `targetGroupArn`.
        Returns:
        builder
      • order

        public ListenerRuleActionArgs.Builder order​(@Nullable
                                                    com.pulumi.core.Output<java.lang.Integer> order)
        Parameters:
        order - Order for the action. The action with the lowest value for order is performed first. Valid values are between `1` and `50000`. Defaults to the position in the list of actions.
        Returns:
        builder
      • order

        public ListenerRuleActionArgs.Builder order​(java.lang.Integer order)
        Parameters:
        order - Order for the action. The action with the lowest value for order is performed first. Valid values are between `1` and `50000`. Defaults to the position in the list of actions.
        Returns:
        builder
      • targetGroupArn

        public ListenerRuleActionArgs.Builder targetGroupArn​(@Nullable
                                                             com.pulumi.core.Output<java.lang.String> targetGroupArn)
        Parameters:
        targetGroupArn - ARN of the Target Group to which to route traffic. Specify only if `type` is `forward` and you want to route to a single target group. To route to one or more target groups, use a `forward` block instead. Cannot be specified with `forward`.
        Returns:
        builder
      • targetGroupArn

        public ListenerRuleActionArgs.Builder targetGroupArn​(java.lang.String targetGroupArn)
        Parameters:
        targetGroupArn - ARN of the Target Group to which to route traffic. Specify only if `type` is `forward` and you want to route to a single target group. To route to one or more target groups, use a `forward` block instead. Cannot be specified with `forward`.
        Returns:
        builder
      • type

        public ListenerRuleActionArgs.Builder type​(com.pulumi.core.Output<java.lang.String> type)
        Parameters:
        type - The type of routing action. Valid values are `forward`, `redirect`, `fixed-response`, `authenticate-cognito`, `authenticate-oidc` and `jwt-validation`.
        Returns:
        builder
      • type

        public ListenerRuleActionArgs.Builder type​(java.lang.String type)
        Parameters:
        type - The type of routing action. Valid values are `forward`, `redirect`, `fixed-response`, `authenticate-cognito`, `authenticate-oidc` and `jwt-validation`.
        Returns:
        builder