envoy.extensions.filters.http.ratelimit.v3.RateLimitConfig.Action.HeaderValueMatch
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.filters.http.ratelimit.v3.RateLimitConfig.Action.HeaderValueMatch
.withDescriptorValue('string')
.withExpectMatch(false)
.withHeaders([ types.envoy.config.route.v3.HeaderMatcher ])
._validate()
Fields
Name |
Type |
One-of group |
Required |
Constraints |
descriptor_value |
string
|
|
|
{"String_":{"WellKnown":null,"min_len":1}}
|
expect_match |
bool
|
|
|
|
headers |
[]
envoy.config.route.v3.HeaderMatcher
|
|
yes
|
{"Repeated":{"min_items":1}}
|