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
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

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)