RegionUrlMapPathMatcherDefaultRouteAction constructor
- Input<
RegionUrlMapPathMatcherDefaultRouteActionCorsPolicy?> ? corsPolicy, - Input<
RegionUrlMapPathMatcherDefaultRouteActionFaultInjectionPolicy?> ? faultInjectionPolicy, - Input<
RegionUrlMapPathMatcherDefaultRouteActionMaxStreamDuration?> ? maxStreamDuration, - Input<
RegionUrlMapPathMatcherDefaultRouteActionRequestMirrorPolicy?> ? requestMirrorPolicy, - Input<
RegionUrlMapPathMatcherDefaultRouteActionRetryPolicy?> ? retryPolicy, - Input<
RegionUrlMapPathMatcherDefaultRouteActionTimeout?> ? timeout, - Input<
RegionUrlMapPathMatcherDefaultRouteActionUrlRewrite?> ? urlRewrite, - Input<
List< ? weightedBackendServices,RegionUrlMapPathMatcherDefaultRouteActionWeightedBackendService> ?>
Creates a new RegionUrlMapPathMatcherDefaultRouteAction.
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 fully processed (known as end-of-stream) up until the response has been processed. Timeout includes all retries.
urlRewrite The spec to modify the URL of the request, before forwarding the request to the matched service.
weightedBackendServices A list of weighted backend services to send traffic to when a route match occurs. The weights determine the fraction of traffic that flows to their corresponding backend service. If all traffic needs to go to a single backend service, there must be one weightedBackendService with weight set to a non-zero number.
Implementation
const RegionUrlMapPathMatcherDefaultRouteAction({
this.corsPolicy,
this.faultInjectionPolicy,
this.maxStreamDuration,
this.requestMirrorPolicy,
this.retryPolicy,
this.timeout,
this.urlRewrite,
this.weightedBackendServices,
});