URLMapPathMatcherDefaultRouteAction constructor
- Input<
URLMapPathMatcherDefaultRouteActionCachePolicy?> ? cachePolicy, - Input<
URLMapPathMatcherDefaultRouteActionCorsPolicy?> ? corsPolicy, - Input<
URLMapPathMatcherDefaultRouteActionFaultInjectionPolicy?> ? faultInjectionPolicy, - Input<
URLMapPathMatcherDefaultRouteActionMaxStreamDuration?> ? maxStreamDuration, - Input<
URLMapPathMatcherDefaultRouteActionRequestMirrorPolicy?> ? requestMirrorPolicy, - Input<
URLMapPathMatcherDefaultRouteActionRetryPolicy?> ? retryPolicy, - Input<
URLMapPathMatcherDefaultRouteActionTimeout?> ? timeout, - Input<
URLMapPathMatcherDefaultRouteActionUrlRewrite?> ? urlRewrite, - Input<
List< ? weightedBackendServices,URLMapPathMatcherDefaultRouteActionWeightedBackendService> ?>
Creates a new URLMapPathMatcherDefaultRouteAction.
cachePolicy Specifies the cache policy configuration for matched traffic. Available
corsPolicy The specification for allowing client side cross-origin requests. Please see
faultInjectionPolicy The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure.
maxStreamDuration Specifies the maximum duration (timeout) for streams on the selected route.
requestMirrorPolicy Specifies the policy on how requests intended for the route's backends are shadowed to a separate mirrored backend service.
retryPolicy Specifies the retry policy associated with this route.
timeout Specifies the timeout for the selected route. Timeout is computed from the time the request has been
urlRewrite The spec to modify the URL of the request, prior to forwarding the request to the matched service.
weightedBackendServices A list of weighted backend services to send traffic to when a route match occurs.
Implementation
const URLMapPathMatcherDefaultRouteAction({
this.cachePolicy,
this.corsPolicy,
this.faultInjectionPolicy,
this.maxStreamDuration,
this.requestMirrorPolicy,
this.retryPolicy,
this.timeout,
this.urlRewrite,
this.weightedBackendServices,
});