WebAclCustomHttpHeaderArgs

data class WebAclCustomHttpHeaderArgs(val name: Output<String>, val value: Output<String>) : ConvertibleToJava<WebAclCustomHttpHeaderArgs>

HTTP header.

Constructors

Link copied to clipboard
constructor(name: Output<String>, value: Output<String>)

Properties

Link copied to clipboard
val name: Output<String>

The name of the custom header. For custom request header insertion, when AWS WAF inserts the header into the request, it prefixes this name x-amzn-waf- , to avoid confusion with the headers that are already in the request. For example, for the header name sample , AWS WAF inserts the header x-amzn-waf-sample .

Link copied to clipboard
val value: Output<String>

The value of the custom header.

Functions

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