Twoorb Plugins  1.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Amazon.S3.Model.RoutingRuleRedirect Class Reference

More...

Properties

string HostName [get, set]
 Name of the host where requests will be redirected. More...
 
string HttpRedirectCode [get, set]
 The HTTP redirect code to use on the response. Not required if one of the siblings is present. More...
 
string Protocol [get, set]
 Protocol to use (http, https) when redirecting requests. The default is the protocol that is used in the original request. More...
 
string ReplaceKeyPrefixWith [get, set]
 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. Not required if one of the siblings is present. Can be present only if ReplaceKeyWith is not provided. More...
 
string ReplaceKeyWith [get, set]
 The specific object key to use in the redirect request. For example, redirect request to error.html. Not required if one of the sibling is present. Can be present only if ReplaceKeyPrefixWith is not provided. More...
 

Detailed Description

Container for redirect information. You can redirect requests to another host, to another page, or with another protocol. In the event of an error, you can can specify a different error code to return.

Property Documentation

string Amazon.S3.Model.RoutingRuleRedirect.HostName
getset

Name of the host where requests will be redirected.

string Amazon.S3.Model.RoutingRuleRedirect.HttpRedirectCode
getset

The HTTP redirect code to use on the response. Not required if one of the siblings is present.

string Amazon.S3.Model.RoutingRuleRedirect.Protocol
getset

Protocol to use (http, https) when redirecting requests. The default is the protocol that is used in the original request.

string Amazon.S3.Model.RoutingRuleRedirect.ReplaceKeyPrefixWith
getset

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. Not required if one of the siblings is present. Can be present only if ReplaceKeyWith is not provided.

string Amazon.S3.Model.RoutingRuleRedirect.ReplaceKeyWith
getset

The specific object key to use in the redirect request. For example, redirect request to error.html. Not required if one of the sibling is present. Can be present only if ReplaceKeyPrefixWith is not provided.


The documentation for this class was generated from the following file: