forwardedIpConfig

@JvmName(name = "whhttkptohwmvnss")
suspend fun forwardedIpConfig(value: Output<WebAclForwardedIpConfigurationArgs>)
@JvmName(name = "sdtkevpackgwfxkw")
suspend fun forwardedIpConfig(value: WebAclForwardedIpConfigurationArgs?)

Parameters

value

The configuration for inspecting IP addresses in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin. Commonly, this is the X-Forwarded-For (XFF) header, but you can specify any header name.

If the specified header isn't present in the request, AWS WAF doesn't apply the rule to the web request at all. This is required if you specify a forwarded IP in the rule's aggregate key settings.


@JvmName(name = "locgwdxmrlnbcoqe")
suspend fun forwardedIpConfig(argument: suspend WebAclForwardedIpConfigurationArgsBuilder.() -> Unit)

Parameters

argument

The configuration for inspecting IP addresses in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin. Commonly, this is the X-Forwarded-For (XFF) header, but you can specify any header name.

If the specified header isn't present in the request, AWS WAF doesn't apply the rule to the web request at all. This is required if you specify a forwarded IP in the rule's aggregate key settings.