Home

envoy.config.route.v3.InternalRedirectPolicy

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.config.route.v3.InternalRedirectPolicy
.withAllowCrossSchemeRedirect(false)
.withMaxInternalRedirects(1)
.withPredicates([ types.envoy.config.core.v3.TypedExtensionConfig ])
.withRedirectResponseCodes([ 1 ])
._validate()

Fields

Name Type One-of group Required Constraints
allow_cross_scheme_redirect bool  
max_internal_redirects google.protobuf.UInt32Value  
predicates [] envoy.config.core.v3.TypedExtensionConfig  
redirect_response_codes [] uint32   {"Repeated":{"max_items":5}}