URLMapPathMatcherPathRuleUrlRedirect constructor

const URLMapPathMatcherPathRuleUrlRedirect({
  1. Input<String?>? hostRedirect,
  2. Input<bool?>? httpsRedirect,
  3. Input<String?>? pathRedirect,
  4. Input<String?>? prefixRedirect,
  5. Input<String?>? redirectResponseCode,
  6. required Input<bool> stripQuery,
})

Creates a new URLMapPathMatcherPathRuleUrlRedirect. hostRedirect The host that will be used in the redirect response instead of the one that was httpsRedirect If set to true, the URL scheme in the redirected request is set to https. If set pathRedirect The path that will be used in the redirect response instead of the one that was prefixRedirect The prefix that replaces the prefixMatch specified in the HttpRouteRuleMatch, redirectResponseCode The HTTP Status code to use for this RedirectAction. Supported values are: stripQuery If set to true, any accompanying query portion of the original URL is removed

Implementation

const URLMapPathMatcherPathRuleUrlRedirect({
  this.hostRedirect,
  this.httpsRedirect,
  this.pathRedirect,
  this.prefixRedirect,
  this.redirectResponseCode,
  required this.stripQuery,
});