Values.CreateRuleOutputSourceCreates 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 error = [ | `IncompatibleProtocolsException of IncompatibleProtocolsException.t| `InvalidConfigurationRequestException of InvalidConfigurationRequestException.t| `InvalidLoadBalancerActionException of InvalidLoadBalancerActionException.t| `ListenerNotFoundException of ListenerNotFoundException.t| `PriorityInUseException of PriorityInUseException.t| `TargetGroupAssociationLimitException of TargetGroupAssociationLimitException.t| `TargetGroupNotFoundException of TargetGroupNotFoundException.t| `TooManyActionsException of TooManyActionsException.t| `TooManyRegistrationsForTargetIdException of
TooManyRegistrationsForTargetIdException.t| `TooManyRulesException of TooManyRulesException.t| `TooManyTagsException of TooManyTagsException.t| `TooManyTargetGroupsException of TooManyTargetGroupsException.t| `TooManyTargetsException of TooManyTargetsException.t| `TooManyUniqueTargetGroupsPerLoadBalancerException of
TooManyUniqueTargetGroupsPerLoadBalancerException.t| `UnsupportedProtocolException of UnsupportedProtocolException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `IncompatibleProtocolsException of unit
| `InvalidConfigurationRequestException of unit
| `InvalidLoadBalancerActionException of unit
| `ListenerNotFoundException of unit
| `PriorityInUseException of unit
| `TargetGroupAssociationLimitException of unit
| `TargetGroupNotFoundException of unit
| `TooManyActionsException of unit
| `TooManyRegistrationsForTargetIdException of unit
| `TooManyRulesException of unit
| `TooManyTagsException of unit
| `TooManyTargetGroupsException of unit
| `TooManyTargetsException of unit
| `TooManyUniqueTargetGroupsPerLoadBalancerException of unit
| `Unknown_operation_error of string * string option
| `UnsupportedProtocolException of unit ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `IncompatibleProtocolsException of unit
| `InvalidConfigurationRequestException of unit
| `InvalidLoadBalancerActionException of unit
| `ListenerNotFoundException of unit
| `PriorityInUseException of unit
| `TargetGroupAssociationLimitException of unit
| `TargetGroupNotFoundException of unit
| `TooManyActionsException of unit
| `TooManyRegistrationsForTargetIdException of unit
| `TooManyRulesException of unit
| `TooManyTagsException of unit
| `TooManyTargetGroupsException of unit
| `TooManyTargetsException of unit
| `TooManyUniqueTargetGroupsPerLoadBalancerException of unit
| `Unknown_operation_error of string * string option
| `UnsupportedProtocolException of unit ]val to_value :
t ->
[> `Structure of
(string
* [> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Boolean of IsDefault.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 RuleArn.t ])
list ]
list ])
list ])
list ]