local types = import 'types.libsonnet';
types.envoy.extensions.http.custom_response.redirect_policy.v3.RedirectPolicy
.withHost('string')
.withModifyRequestHeadersAction(types.envoy.config.core.v3.TypedExtensionConfig)
.withPath('string')
.withRequestHeadersToAdd([ types.envoy.config.core.v3.HeaderValueOption ])
.withResponseHeadersToAdd([ types.envoy.config.core.v3.HeaderValueOption ])
.withStatusCode(1)
._validate()
| Name | Type | One-of group | Required | Constraints |
|---|---|---|---|---|
| host | string |
{"String_":{"WellKnown":null,"min_len":1}}
|
||
| modify_request_headers_action | envoy.config.core.v3.TypedExtensionConfig |
|
||
| path | string |
{"String_":{"WellKnown":null,"min_len":1}}
|
||
| request_headers_to_add | [] envoy.config.core.v3.HeaderValueOption |
{"Repeated":{"max_items":1000}}
|
||
| response_headers_to_add | [] envoy.config.core.v3.HeaderValueOption |
{"Repeated":{"max_items":1000}}
|
||
| status_code | google.protobuf.UInt32Value |
{"Uint32":{"gte":100,"lte":999}}
|