Package com.pulumi.aws.alb.outputs
Class ListenerRuleAction
- java.lang.Object
-
- com.pulumi.aws.alb.outputs.ListenerRuleAction
-
public final class ListenerRuleAction extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListenerRuleAction.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<ListenerRuleActionAuthenticateCognito>authenticateCognito()java.util.Optional<ListenerRuleActionAuthenticateOidc>authenticateOidc()static ListenerRuleAction.Builderbuilder()static ListenerRuleAction.Builderbuilder(ListenerRuleAction defaults)java.util.Optional<ListenerRuleActionFixedResponse>fixedResponse()java.util.Optional<ListenerRuleActionForward>forward()java.util.Optional<ListenerRuleActionJwtValidation>jwtValidation()java.util.Optional<java.lang.Integer>order()java.util.Optional<ListenerRuleActionRedirect>redirect()java.util.Optional<java.lang.String>targetGroupArn()java.lang.Stringtype()
-
-
-
Method Detail
-
authenticateCognito
public java.util.Optional<ListenerRuleActionAuthenticateCognito> authenticateCognito()
- Returns:
- Information for creating an authenticate action using Cognito. Required if `type` is `authenticate-cognito`.
-
authenticateOidc
public java.util.Optional<ListenerRuleActionAuthenticateOidc> authenticateOidc()
- Returns:
- Information for creating an authenticate action using OIDC. Required if `type` is `authenticate-oidc`.
-
fixedResponse
public java.util.Optional<ListenerRuleActionFixedResponse> fixedResponse()
- Returns:
- Information for creating an action that returns a custom HTTP response. Required if `type` is `fixed-response`.
-
forward
public java.util.Optional<ListenerRuleActionForward> forward()
- Returns:
- 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`.
-
jwtValidation
public java.util.Optional<ListenerRuleActionJwtValidation> jwtValidation()
- Returns:
- Information for creating a JWT validation action. Required if `type` is `jwt-validation`.
-
order
public java.util.Optional<java.lang.Integer> order()
- Returns:
- 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.
-
redirect
public java.util.Optional<ListenerRuleActionRedirect> redirect()
- Returns:
- Information for creating a redirect action. Required if `type` is `redirect`.
-
targetGroupArn
public java.util.Optional<java.lang.String> targetGroupArn()
- Returns:
- 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`.
-
type
public java.lang.String type()
- Returns:
- The type of routing action. Valid values are `forward`, `redirect`, `fixed-response`, `authenticate-cognito`, `authenticate-oidc` and `jwt-validation`.
-
builder
public static ListenerRuleAction.Builder builder()
-
builder
public static ListenerRuleAction.Builder builder(ListenerRuleAction defaults)
-
-