ListenerDefaultAction class
Constructors
-
ListenerDefaultAction({Input<ListenerDefaultActionAuthenticateCognito?>? authenticateCognito, Input<ListenerDefaultActionAuthenticateOidc?>? authenticateOidc, Input<ListenerDefaultActionFixedResponse?>? fixedResponse, Input<ListenerDefaultActionForward?>? forward, Input<ListenerDefaultActionJwtValidation?>? jwtValidation, Input<int?>? order, Input<ListenerDefaultActionRedirect?>? redirect, Input<String?>? targetGroupArn, required Input<String> type})
-
Creates a new ListenerDefaultAction.
authenticateCognito Configuration block for using Amazon Cognito to authenticate users. Specify only when type is authenticate-cognito. See below.
authenticateOidc Configuration block for an identity provider that is compliant with OpenID Connect (OIDC). Specify only when type is authenticate-oidc. See below.
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. Specify only if type is forward. See below.
jwtValidation Configuration block for creating a JWT validation action. Required if type is jwt-validation.
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.
redirect Configuration block for creating a redirect action. Required if type is redirect. See below.
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.
type Type of routing action. Valid values are forward, redirect, fixed-response, authenticate-cognito, authenticate-oidc and jwt-validation.
const
-
ListenerDefaultAction.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
authenticateCognito
→ Input<ListenerDefaultActionAuthenticateCognito?>?
-
Configuration block for using Amazon Cognito to authenticate users. Specify only when
type is authenticate-cognito. See below.
final
-
authenticateOidc
→ Input<ListenerDefaultActionAuthenticateOidc?>?
-
Configuration block for an identity provider that is compliant with OpenID Connect (OIDC). Specify only when
type is authenticate-oidc. See below.
final
-
fixedResponse
→ Input<ListenerDefaultActionFixedResponse?>?
-
Information for creating an action that returns a custom HTTP response. Required if
type is fixed-response.
final
-
forward
→ Input<ListenerDefaultActionForward?>?
-
Configuration block for creating an action that distributes requests among one or more target groups. Specify only if
type is forward. See below.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
jwtValidation
→ Input<ListenerDefaultActionJwtValidation?>?
-
Configuration block 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<ListenerDefaultActionRedirect?>?
-
Configuration block for creating a redirect action. Required if
type is redirect. See below.
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. Can be specified with forward but ARNs must match.
final
-
type
→ Input<String>
-
Type of routing action. Valid values are
forward, redirect, fixed-response, authenticate-cognito, authenticate-oidc and jwt-validation.
final