Module Values.CreateRuleInputSource

Creates 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.

Sourcetype nonrec t = {
  1. listenerArn : ListenerArn.t;
    (*

    The Amazon Resource Name (ARN) of the listener.

    *)
  2. conditions : RuleConditionList.t;
    (*

    The conditions.

    *)
  3. priority : RulePriority.t;
    (*

    The rule priority. A listener can't have multiple rules with the same priority.

    *)
  4. actions : Actions.t;
    (*

    The actions.

    *)
  5. tags : TagList.t option;
    (*

    The tags to assign to the rule.

    *)
  6. 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.

    *)
}
Sourceval context_ : string
Sourceval make : ?tags:??? -> ?transforms:??? -> listenerArn:ListenerArn.t -> conditions:RuleConditionList.t -> priority:RulePriority.t -> actions:Actions.t -> unit -> t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t