WebAclIpSetForwardedIpConfigurationArgs

data class WebAclIpSetForwardedIpConfigurationArgs(val fallbackBehavior: Output<WebAclIpSetForwardedIpConfigurationFallbackBehavior>, val headerName: Output<String>, val position: Output<WebAclIpSetForwardedIpConfigurationPosition>) : ConvertibleToJava<WebAclIpSetForwardedIpConfigurationArgs>

Constructors

Link copied to clipboard
constructor(fallbackBehavior: Output<WebAclIpSetForwardedIpConfigurationFallbackBehavior>, headerName: Output<String>, position: Output<WebAclIpSetForwardedIpConfigurationPosition>)

Properties

Link copied to clipboard

The match status to assign to the web request if the request doesn't have a valid IP address in the specified position.

Link copied to clipboard
val headerName: Output<String>

The name of the HTTP header to use for the IP address. For example, to use the X-Forwarded-For (XFF) header, set this to X-Forwarded-For .

Link copied to clipboard

The position in the header to search for the IP address. The header can contain IP addresses of the original client and also of proxies. For example, the header value could be 10.1.1.1, 127.0.0.0, 10.10.10.10 where the first IP address identifies the original client and the rest identify proxies that the request went through. The options for this setting are the following:

Functions

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