envoy.extensions.http.original_ip_detection.custom_header.v3.CustomHeaderConfig
Example
Disclaimer: The example is meant to show what methods are available on the object and does not necessarily constitute working
code.
local types = import 'types.libsonnet';
types.envoy.extensions.http.original_ip_detection.custom_header.v3.CustomHeaderConfig
.withAllowExtensionToSetAddressAsTrusted(false)
.withHeaderName('string')
.withRejectWithStatus(types.envoy.type.v3.HttpStatus)
._validate()
Fields
Name |
Type |
One-of group |
Required |
Constraints |
allow_extension_to_set_address_as_trusted |
bool
|
|
|
|
header_name |
string
|
|
|
{"String_":{"WellKnown":{"WellKnownRegex":1},"min_len":1,"strict":true}}
|
reject_with_status |
envoy.type.v3.HttpStatus
|
|
|
|