The object key prefix to use in the redirect request. For example, to redirect requests for all pages
with prefix docs/ (objects in the docs/ folder) to documents/, you can set a condition block with
KeyPrefixEquals set to docs/ and in the Redirect set ReplaceKeyPrefixWith to /documents.
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 RoutingRuleRedirect WithReplaceKeyPrefixWith( string replaceKeyPrefixWith )
Parameters
- replaceKeyPrefixWith (String)
- The object key prefix to use in the redirect request
Return Value
the RoutingRuleCondition with the ReplaceKeyPrefixWith set