WebAclCustomResponseBody

data class WebAclCustomResponseBody(val content: String, val contentType: WebAclResponseContentType)

Custom response body.

Constructors

Link copied to clipboard
constructor(content: String, contentType: WebAclResponseContentType)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The payload of the custom response. You can use JSON escape strings in JSON content. To do this, you must specify JSON content in the ContentType setting. For information about the limits on count and size for custom request and response settings, see AWS WAF quotas in the AWS WAF Developer Guide .

Link copied to clipboard

The type of content in the payload that you are defining in the Content string.