Values.AwsWafv2CustomResponseDetailsSourceA custom response to send to the client. You can define a custom response for rule actions and default web ACL actions that are set to block.
type nonrec t = {customResponseBodyKey : NonEmptyString.t option;References the response body that you want WAF to return to the web request client. You can define a custom response for a rule action or a default web ACL action that is set to block.
*)responseCode : Integer.t option;The HTTP status code to return to the client. For a list of status codes that you can use in your custom responses, see Supported status codes for custom response in the WAF Developer Guide.
*)responseHeaders : AwsWafv2InsertHeadersList.t option;The HTTP headers to use in the response.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Integer of Integer.t
| `List of
[> `Structure of (string * [> `String of NonEmptyString.t ]) list ]
list
| `String of NonEmptyString.t ])
list ]