Module Values.BlockActionSource

Specifies that WAF should block the request and optionally defines additional custom handling for the response to the web request. This is used in the context of other settings, for example to specify values for RuleAction and web ACL DefaultAction.

Sourcetype nonrec t = {
  1. customResponse : CustomResponse.t option;
    (*

    Defines a custom response for the web request. For information about customizing web requests and responses, see Customizing web requests and responses in WAF in the WAF Developer Guide.

    *)
}
Sourceval make : ?customResponse:??? -> unit -> t
Sourceval to_value : t -> [> `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 ]
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