WebAclCustomResponseBodyArgs

data class WebAclCustomResponseBodyArgs(val content: Output<String>, val contentType: Output<WebAclResponseContentType>) : ConvertibleToJava<WebAclCustomResponseBodyArgs>

Custom response body.

Constructors

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

Properties

Link copied to clipboard
val content: Output<String>

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.

Functions

Link copied to clipboard
open override fun toJava(): WebAclCustomResponseBodyArgs