Package com.pulumi.aws.alb.inputs
Class ListenerRuleActionArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.alb.inputs.ListenerRuleActionArgs.Builder
-
- Enclosing class:
- ListenerRuleActionArgs
public static final class ListenerRuleActionArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(ListenerRuleActionArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ListenerRuleActionArgs defaults)
-
-
Method Detail
-
authenticateCognito
public ListenerRuleActionArgs.Builder authenticateCognito(@Nullable com.pulumi.core.Output<ListenerRuleActionAuthenticateCognitoArgs> authenticateCognito)
- Parameters:
authenticateCognito- Information for creating an authenticate action using Cognito. Required if `type` is `authenticate-cognito`.- Returns:
- builder
-
authenticateCognito
public ListenerRuleActionArgs.Builder authenticateCognito(ListenerRuleActionAuthenticateCognitoArgs authenticateCognito)
- Parameters:
authenticateCognito- Information for creating an authenticate action using Cognito. Required if `type` is `authenticate-cognito`.- Returns:
- builder
-
authenticateOidc
public ListenerRuleActionArgs.Builder authenticateOidc(@Nullable com.pulumi.core.Output<ListenerRuleActionAuthenticateOidcArgs> authenticateOidc)
- Parameters:
authenticateOidc- Information for creating an authenticate action using OIDC. Required if `type` is `authenticate-oidc`.- Returns:
- builder
-
authenticateOidc
public ListenerRuleActionArgs.Builder authenticateOidc(ListenerRuleActionAuthenticateOidcArgs authenticateOidc)
- Parameters:
authenticateOidc- Information for creating an authenticate action using OIDC. Required if `type` is `authenticate-oidc`.- Returns:
- builder
-
fixedResponse
public ListenerRuleActionArgs.Builder fixedResponse(@Nullable com.pulumi.core.Output<ListenerRuleActionFixedResponseArgs> fixedResponse)
- Parameters:
fixedResponse- Information for creating an action that returns a custom HTTP response. Required if `type` is `fixed-response`.- Returns:
- builder
-
fixedResponse
public ListenerRuleActionArgs.Builder fixedResponse(ListenerRuleActionFixedResponseArgs fixedResponse)
- Parameters:
fixedResponse- Information for creating an action that returns a custom HTTP response. Required if `type` is `fixed-response`.- Returns:
- builder
-
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
-
jwtValidation
public ListenerRuleActionArgs.Builder jwtValidation(@Nullable com.pulumi.core.Output<ListenerRuleActionJwtValidationArgs> jwtValidation)
- Parameters:
jwtValidation- Information for creating a JWT validation action. Required if `type` is `jwt-validation`.- Returns:
- builder
-
jwtValidation
public ListenerRuleActionArgs.Builder jwtValidation(ListenerRuleActionJwtValidationArgs jwtValidation)
- Parameters:
jwtValidation- Information for creating a JWT validation action. Required if `type` is `jwt-validation`.- 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
-
redirect
public ListenerRuleActionArgs.Builder redirect(@Nullable com.pulumi.core.Output<ListenerRuleActionRedirectArgs> redirect)
- Parameters:
redirect- Information for creating a redirect action. Required if `type` is `redirect`.- Returns:
- builder
-
redirect
public ListenerRuleActionArgs.Builder redirect(ListenerRuleActionRedirectArgs redirect)
- Parameters:
redirect- Information for creating a redirect action. Required if `type` is `redirect`.- 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
-
build
public ListenerRuleActionArgs build()
-
-