WebAclCustomResponseArgs

data class WebAclCustomResponseArgs(val customResponseBodyKey: Output<String>? = null, val responseCode: Output<Int>, val responseHeaders: Output<List<WebAclCustomHttpHeaderArgs>>? = null) : ConvertibleToJava<WebAclCustomResponseArgs>

Custom response.

Constructors

Link copied to clipboard
constructor(customResponseBodyKey: Output<String>? = null, responseCode: Output<Int>, responseHeaders: Output<List<WebAclCustomHttpHeaderArgs>>? = null)

Properties

Link copied to clipboard
val customResponseBodyKey: Output<String>? = null

Custom response body key.

Link copied to clipboard
val responseCode: Output<Int>

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 AWS WAF Developer Guide .

Link copied to clipboard

Collection of HTTP headers.

Functions

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