Module Values.DefaultActionSource

In a WebACL, this is the action that you want WAF to perform when a web request doesn't match any of the rules in the WebACL. The default action must be a terminating action.

Sourcetype nonrec t = {
  1. block : BlockAction.t option;
    (*

    Specifies that WAF should block requests by default.

    *)
  2. allow : AllowAction.t option;
    (*

    Specifies that WAF should allow requests by default.

    *)
}
Sourceval make : ?block:??? -> ?allow:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Structure of (string * [> `Integer of ResponseStatusCode.t | `List of [> `Structure of (string * [> `String of CustomHTTPHeaderName.t ]) list ] list | `String of EntityName.t ]) list ]) list ]) 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