Bucket Website Routing Rules Routing Rule Redirect
Constructors
Properties
If this field is set to true, the prefix of Object is replaced with the value specified by ReplaceKeyPrefixWith. If this field is not specified or is blank, the Object prefix is truncated.
The status code returned during the jump. It takes effect only when the RedirectType is set to External or AliCDN.
Image back-to-source allows getting Image information
Whether to allow HeadObject in image back-to-source
Mirror back-to-source allows support for video frame truncation
The status code of the mirror back-to-source trigger asynchronous pull mode.
Image back Source station authentication information See mirror_auth
below.
Whether to check the MD5 of the source body. It takes effect only when the RedirectType is set to Mirror.
Mirrored back-to-source high-speed Channel vpregion
Mirroring back-to-source high-speed Channel standby station VpcId
Mirror back-to-source high-speed Channel VpcId
If the result of the image back-to-source acquisition is 3xx, whether to continue to jump to the specified Location to obtain data. It takes effect only when the RedirectType is set to Mirror.
Specifies the Header carried when the image returns to the source. It takes effect only when the RedirectType is set to Mirror. See mirror_headers
below.
Whether it is a mirror back-to-source high-speed Channel
Mirror back-to-source multi-source station configuration container. NOTE:: If you want to clean one configuration, you must set the configuration to empty value, removing from code cannot make effect. See mirror_multi_alternates
below.
Transparent transmission/to source Station
Same as PassQueryString and takes precedence over PassQueryString. It takes effect only when the RedirectType is set to Mirror.
Whether mirroring back to source does not save data
The container that saves the image back to the source and returns the response header rule. NOTE:: If you want to clean one configuration, you must set the configuration to empty value, removing from code cannot make effect. See mirror_return_headers
below.
Roles used when mirroring back-to-source
Mirror back-to-source back-to-source OSS automatically saves user metadata
It is used to judge the status of active-standby switching. The judgment logic of active-standby switching is that the source station returns an error. If MirrorSwitchAllErrors is true, it is considered a failure except the following status code: 200,206,301,302,303,307,404; If false, only the source Station Returns 5xx or times out is considered a failure.
Save the label according to the parameters when saving the file from the mirror back to the source. NOTE:: If you want to clean one configuration, you must set the configuration to empty value, removing from code cannot make effect. See mirror_taggings
below.
Mirror back-to-source leased line back-to-source tunnel ID
Mirror back-to-source Master-backup back-to-source switching decision URL
Mirror back-to-source primary backup back-to-source backup station URL
Whether the source station LastModifiedTime is used for the image back-to-source save file.
Whether to use role for mirroring back to source
Whether to carry the request parameters when executing the jump or mirror back-to-source rule. Did the user carry the request parameters when requesting OSS? a = B & c = d, and set PassQueryString to true. If the rule is a 302 jump, this request parameter is added to the Location header of the jump. For example Location:example.com? a = B & c = d, and the jump type is mirrored back-to-origin, this request parameter is also carried in the back-to-origin request initiated. Values: true, false (default)
Specifies the type of jump. The value range is as follows: Mirror: Mirror back to the source. External: External redirects, that is, OSS returns a 3xx request to redirect to another address. AliCDN: Alibaba Cloud CDN jump, mainly used for Alibaba Cloud CDN. Unlike External, OSS adds an additional Header. After recognizing this Header, Alibaba Cloud CDN redirects the data to the specified address and returns the obtained data to the user instead of returning the 3xx Redirection request to the user.
The prefix of the Object name will be replaced with this value during Redirect. If the prefix is empty, this string is inserted in front of the Object name.
During redirection, the Object name is replaced with the value specified by ReplaceKeyWith. You can set variables in ReplaceKeyWith. Currently, the supported variable is ${key}, which indicates the name of the Object in the request.
Mirror back-to-source transparent source station response code list