RuleGroupCustomResponseBodyArgs

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

Constructors

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

Properties

Link copied to clipboard
val content: Output<String>

The payload of the custom response.

Link copied to clipboard
val contentType: Output<String>

The 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>

A 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(): RuleGroupCustomResponseBodyArgs