Values.ActionSourceInformation about an action. Each rule must include exactly one of the following routing actions: forward, fixed-response, or redirect, and it must be the last action to be performed. Optionally, a rule for an HTTPS listener can also include one of the following user authentication actions: authenticate-oidc, authenticate-cognito, or jwt-validation.
type nonrec t = {type_ : ActionTypeEnum.t;The type of action.
*)targetGroupArn : TargetGroupArn.t option;The Amazon Resource Name (ARN) of the target group. Specify only when Type is forward and you want to route to a single target group. To route to multiple target groups, you must use ForwardConfig instead.
*)authenticateOidcConfig : AuthenticateOidcActionConfig.t option;[HTTPS listeners] Information about an identity provider that is compliant with OpenID Connect (OIDC). Specify only when Type is authenticate-oidc.
*)authenticateCognitoConfig : AuthenticateCognitoActionConfig.t option;[HTTPS listeners] Information for using Amazon Cognito to authenticate users. Specify only when Type is authenticate-cognito.
*)order : ActionOrder.t option;The order for the action. This value is required for rules with multiple actions. The action with the lowest value for order is performed first.
*)redirectConfig : RedirectActionConfig.t option;[Application Load Balancer] Information for creating a redirect action. Specify only when Type is redirect.
*)fixedResponseConfig : FixedResponseActionConfig.t option;[Application Load Balancer] Information for creating an action that returns a custom HTTP response. Specify only when Type is fixed-response.
*)forwardConfig : ForwardActionConfig.t option;Information for creating an action that distributes requests among multiple target groups. Specify only when Type is forward. If you specify both ForwardConfig and TargetGroupArn, you can specify only one target group using ForwardConfig and it must be the same target group specified in TargetGroupArn.
*)jwtValidationConfig : JwtValidationActionConfig.t option;[HTTPS listeners] Information for validating JWT access tokens in client requests. Specify only when Type is jwt-validation.
*)}val make :
?targetGroupArn:??? ->
?authenticateOidcConfig:??? ->
?authenticateCognitoConfig:??? ->
?order:??? ->
?redirectConfig:??? ->
?fixedResponseConfig:??? ->
?forwardConfig:??? ->
?jwtValidationConfig:??? ->
type_:ActionTypeEnum.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Integer of ActionOrder.t
| `String of TargetGroupArn.t
| `Structure of
(string
* [> `Boolean of AuthenticateOidcActionUseExistingClientSecret.t
| `Enum of string
| `List of
[> `Structure of
(string
* [> `Enum of string
| `Integer of TargetGroupWeight.t
| `List of
[> `String of
JwtValidationActionAdditionalClaimValue.t ]
list
| `String of TargetGroupArn.t ])
list ]
list
| `Long of AuthenticateOidcActionSessionTimeout.t
| `Map of
([> `String of
AuthenticateOidcActionAuthenticationRequestParamName.t ]
* [> `String of
AuthenticateOidcActionAuthenticationRequestParamValue.t ])
list
| `String of AuthenticateOidcActionIssuer.t
| `Structure of
(string
* [> `Boolean of TargetGroupStickinessEnabled.t
| `Integer of TargetGroupStickinessDurationSeconds.t ])
list ])
list ])
list ]