Class ListenerDefaultActionArgs.Builder

  • Enclosing class:
    ListenerDefaultActionArgs

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

      • authenticateOidc

        public ListenerDefaultActionArgs.Builder authenticateOidc​(@Nullable
                                                                  com.pulumi.core.Output<ListenerDefaultActionAuthenticateOidcArgs> authenticateOidc)
        Parameters:
        authenticateOidc - Configuration block for an identity provider that is compliant with OpenID Connect (OIDC). Specify only when `type` is `authenticate-oidc`. See below.
        Returns:
        builder
      • forward

        public ListenerDefaultActionArgs.Builder forward​(@Nullable
                                                         com.pulumi.core.Output<ListenerDefaultActionForwardArgs> forward)
        Parameters:
        forward - Configuration block for creating an action that distributes requests among one or more target groups. Specify only if `type` is `forward`. See below.
        Returns:
        builder
      • order

        public ListenerDefaultActionArgs.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 ListenerDefaultActionArgs.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 ListenerDefaultActionArgs.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. Can be specified with `forward` but ARNs must match.
        Returns:
        builder
      • targetGroupArn

        public ListenerDefaultActionArgs.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. Can be specified with `forward` but ARNs must match.
        Returns:
        builder
      • type

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

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