WebAclCustomResponseBodyArgs

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

Constructors

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

Properties

Link copied to clipboard
val content: Output<String>

Payload of the custom response.

Link copied to clipboard
val contentType: Output<String>

Type of content in the payload that you are defining in the content argument. Valid values are TEXT_PLAIN, TEXT_HTML, or APPLICATION_JSON.

Link copied to clipboard
val key: Output<String>

Unique key identifying the custom response body. This is referenced by the custom_response_body_key argument in the custom_response block.

Functions

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