ListenerRuleAction class

Constructors

ListenerRuleAction({Input<ListenerRuleActionAuthenticateCognito?>? authenticateCognito, Input<ListenerRuleActionAuthenticateOidc?>? authenticateOidc, Input<ListenerRuleActionFixedResponse?>? fixedResponse, Input<ListenerRuleActionForward?>? forward, Input<ListenerRuleActionJwtValidation?>? jwtValidation, Input<int?>? order, Input<ListenerRuleActionRedirect?>? redirect, Input<String?>? targetGroupArn, required Input<String> type})
Creates a new ListenerRuleAction. authenticateCognito Information for creating an authenticate action using Cognito. Required if type is authenticate-cognito. authenticateOidc Information for creating an authenticate action using OIDC. Required if type is authenticate-oidc. fixedResponse Information for creating an action that returns a custom HTTP response. Required if type is fixed-response. forward Configuration block for creating an action that distributes requests among one or more target groups. jwtValidation Information for creating a JWT validation action. Required if type is jwt-validation. order Order for the action. redirect Information for creating a redirect action. Required if type is redirect. targetGroupArn ARN of the Target Group to which to route traffic. type The type of routing action. Valid values are forward, redirect, fixed-response, authenticate-cognito, authenticate-oidc and jwt-validation.
const
ListenerRuleAction.fromMap(Map<String, dynamic> map)
factory

Properties

authenticateCognito → Input<ListenerRuleActionAuthenticateCognito?>?
Information for creating an authenticate action using Cognito. Required if type is authenticate-cognito.
final
authenticateOidc → Input<ListenerRuleActionAuthenticateOidc?>?
Information for creating an authenticate action using OIDC. Required if type is authenticate-oidc.
final
fixedResponse → Input<ListenerRuleActionFixedResponse?>?
Information for creating an action that returns a custom HTTP response. Required if type is fixed-response.
final
forward → Input<ListenerRuleActionForward?>?
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.
final
hashCode → int
The hash code for this object.
no setterinherited
jwtValidation → Input<ListenerRuleActionJwtValidation?>?
Information for creating a JWT validation action. Required if type is jwt-validation.
final
order → Input<int?>?
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.
final
redirect → Input<ListenerRuleActionRedirect?>?
Information for creating a redirect action. Required if type is redirect.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
targetGroupArn → Input<String?>?
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.
final
type → Input<String>
The type of routing action. Valid values are forward, redirect, fixed-response, authenticate-cognito, authenticate-oidc and jwt-validation.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited