AWS SDK for .NET Documentation
ReplaceKeyPrefixWith Property
AmazonAmazon.S3.ModelRoutingRuleRedirectReplaceKeyPrefixWith 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#
public string ReplaceKeyPrefixWith { get; set; }

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