RuleRuleActionFixedResponseConfigArgs

data class RuleRuleActionFixedResponseConfigArgs(val content: Output<String>, val contentType: Output<String>? = null, val httpCode: Output<String>? = null) : ConvertibleToJava<RuleRuleActionFixedResponseConfigArgs>

Constructors

Link copied to clipboard
constructor(content: Output<String>, contentType: Output<String>? = null, httpCode: Output<String>? = null)

Properties

Link copied to clipboard
val content: Output<String>

The fixed response. The response cannot exceed 1 KB in size and can contain only ASCII characters.

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

The format of the fixed response. Valid values: text/plain, text/css, text/html, application/javascript, and application/json.

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

The redirect method. Valid values: 301, 302, 303, 307, and 308.

Functions

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