You can redirect requests to another host, to
another page, or with another protocol. In the event of an error, you can can specify a different error code to return.
Declaration Syntax
C# |
[ObsoleteAttribute("The With methods are obsolete and will be removed in version 2 of the AWS SDK for .NET. See http://aws.amazon.com/sdkfornet/#version2 for more information.")] public RoutingRule WithRedirect( RoutingRuleRedirect redirect )
Parameters
- redirect (RoutingRuleRedirect)
- The redirect settings for the routing rule.
Return Value
the RoutingRuleCondition with the Redirect set