RegionUrlMapPathMatcherDefaultRouteActionWeightedBackendServiceHeaderAction constructor

const RegionUrlMapPathMatcherDefaultRouteActionWeightedBackendServiceHeaderAction({
  1. Input<List<RegionUrlMapPathMatcherDefaultRouteActionWeightedBackendServiceHeaderActionRequestHeadersToAdd>?>? requestHeadersToAdds,
  2. Input<List<String>?>? requestHeadersToRemoves,
  3. Input<List<RegionUrlMapPathMatcherDefaultRouteActionWeightedBackendServiceHeaderActionResponseHeadersToAdd>?>? responseHeadersToAdds,
  4. Input<List<String>?>? responseHeadersToRemoves,
})

Creates a new RegionUrlMapPathMatcherDefaultRouteActionWeightedBackendServiceHeaderAction. requestHeadersToAdds Headers to add to a matching request before forwarding the request to the backendService. requestHeadersToRemoves A list of header names for headers that need to be removed from the request before forwarding the request to the backendService. responseHeadersToAdds Headers to add the response before sending the response back to the client. responseHeadersToRemoves A list of header names for headers that need to be removed from the response before sending the response back to the client.

Implementation

const RegionUrlMapPathMatcherDefaultRouteActionWeightedBackendServiceHeaderAction({
  this.requestHeadersToAdds,
  this.requestHeadersToRemoves,
  this.responseHeadersToAdds,
  this.responseHeadersToRemoves,
});