Package com.pulumi.aws.lb.inputs
Class ListenerDefaultActionArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.lb.inputs.ListenerDefaultActionArgs.Builder
-
- Enclosing class:
- ListenerDefaultActionArgs
public static final class ListenerDefaultActionArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(ListenerDefaultActionArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ListenerDefaultActionArgs defaults)
-
-
Method Detail
-
authenticateCognito
public ListenerDefaultActionArgs.Builder authenticateCognito(@Nullable com.pulumi.core.Output<ListenerDefaultActionAuthenticateCognitoArgs> authenticateCognito)
- Parameters:
authenticateCognito- Configuration block for using Amazon Cognito to authenticate users. Specify only when `type` is `authenticate-cognito`. See below.- Returns:
- builder
-
authenticateCognito
public ListenerDefaultActionArgs.Builder authenticateCognito(ListenerDefaultActionAuthenticateCognitoArgs authenticateCognito)
- Parameters:
authenticateCognito- Configuration block for using Amazon Cognito to authenticate users. Specify only when `type` is `authenticate-cognito`. See below.- Returns:
- builder
-
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
-
authenticateOidc
public ListenerDefaultActionArgs.Builder authenticateOidc(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
-
fixedResponse
public ListenerDefaultActionArgs.Builder fixedResponse(@Nullable com.pulumi.core.Output<ListenerDefaultActionFixedResponseArgs> fixedResponse)
- Parameters:
fixedResponse- Information for creating an action that returns a custom HTTP response. Required if `type` is `fixed-response`.- Returns:
- builder
-
fixedResponse
public ListenerDefaultActionArgs.Builder fixedResponse(ListenerDefaultActionFixedResponseArgs fixedResponse)
- Parameters:
fixedResponse- Information for creating an action that returns a custom HTTP response. Required if `type` is `fixed-response`.- 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
-
forward
public ListenerDefaultActionArgs.Builder forward(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
-
jwtValidation
public ListenerDefaultActionArgs.Builder jwtValidation(@Nullable com.pulumi.core.Output<ListenerDefaultActionJwtValidationArgs> jwtValidation)
- Parameters:
jwtValidation- Configuration block for creating a JWT validation action. Required if `type` is `jwt-validation`.- Returns:
- builder
-
jwtValidation
public ListenerDefaultActionArgs.Builder jwtValidation(ListenerDefaultActionJwtValidationArgs jwtValidation)
- Parameters:
jwtValidation- Configuration block for creating a JWT validation action. Required if `type` is `jwt-validation`.- 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
-
redirect
public ListenerDefaultActionArgs.Builder redirect(@Nullable com.pulumi.core.Output<ListenerDefaultActionRedirectArgs> redirect)
- Parameters:
redirect- Configuration block for creating a redirect action. Required if `type` is `redirect`. See below.- Returns:
- builder
-
redirect
public ListenerDefaultActionArgs.Builder redirect(ListenerDefaultActionRedirectArgs redirect)
- Parameters:
redirect- Configuration block for creating a redirect action. Required if `type` is `redirect`. See below.- 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
-
build
public ListenerDefaultActionArgs build()
-
-