AWS SDK for .NET Documentation
WithReplaceKeyPrefixWith Method (replaceKeyPrefixWith)
AmazonAmazon.S3.ModelRoutingRuleRedirectWithReplaceKeyPrefixWith(String) Did this page help you?   Yes   No    Tell us about it...
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
[ObsoleteAttribute("The With methods are obsolete and will be removed in version 2 of the AWS SDK for .NET. See for more information.")]
public RoutingRuleRedirect WithReplaceKeyPrefixWith(
	string replaceKeyPrefixWith
replaceKeyPrefixWith (String)
The object key prefix to use in the redirect request
Return Value
the RoutingRuleCondition with the ReplaceKeyPrefixWith set

Assembly: AWSSDK (Module: AWSSDK) Version: (