A container for describing a condition that must be met for the specified redirect to apply.
For example if request is for pages in the /docs folder, redirect to the /documents folder or
if request results in HTTP error 4xx, redirect request to another host where you might process the error.
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 WithCondition( RoutingRuleCondition condition )
Parameters
- condition (RoutingRuleCondition)
- A container for describing a condition that must be met for the specified redirect to apply.
Return Value
the RoutingRuleCondition with the Condition set