Values.CreateRuleInputSourceCreates a rule for the specified listener. The listener must be associated with an Application Load Balancer. Each rule consists of a priority, one or more actions, one or more conditions, and up to two optional transforms. Rules are evaluated in priority order, from the lowest value to the highest value. When the conditions for a rule are met, its actions are performed. If the conditions for no rules are met, the actions for the default rule are performed. For more information, see Listener rules in the Application Load Balancers Guide.
type nonrec t = {listenerArn : ListenerArn.t;The Amazon Resource Name (ARN) of the listener.
*)conditions : RuleConditionList.t;The conditions.
*)priority : RulePriority.t;The rule priority. A listener can't have multiple rules with the same priority.
*)actions : Actions.t;The actions.
*)transforms : RuleTransformList.t option;The transforms to apply to requests that match this rule. You can add one host header rewrite transform and one URL rewrite transform.
*)}val make :
?tags:??? ->
?transforms:??? ->
listenerArn:ListenerArn.t ->
conditions:RuleConditionList.t ->
priority:RulePriority.t ->
actions:Actions.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Integer of RulePriority.t
| `List of
[> `Structure of
(string
* [> `Enum of string
| `Integer of ActionOrder.t
| `List of [> `String of StringValue.t ] list
| `String of ConditionFieldName.t
| `Structure of
(string
* [> `Boolean of
AuthenticateOidcActionUseExistingClientSecret.t
| `Enum of string
| `List of
[> `String of StringValue.t
| `Structure of
(string
* [> `Enum of string
| `Integer of TargetGroupWeight.t
| `List of
[> `String of
JwtValidationActionAdditionalClaimValue.t ]
list
| `String of StringValue.t ])
list ]
list
| `Long of AuthenticateOidcActionSessionTimeout.t
| `Map of
([> `String of
AuthenticateOidcActionAuthenticationRequestParamName.t ]
* [> `String of
AuthenticateOidcActionAuthenticationRequestParamValue.t ])
list
| `String of HttpHeaderConditionName.t
| `Structure of
(string
* [> `Boolean of TargetGroupStickinessEnabled.t
| `Integer of
TargetGroupStickinessDurationSeconds.t ])
list ])
list ])
list ]
list
| `String of ListenerArn.t ])
list ]