AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Specifies the redirect behavior and when a redirect is applied. For more information about routing rules, see Configuring advanced conditional redirects in the Amazon S3 User Guide.
Namespace: Amazon.S3.Model
Assembly: AWSSDK.S3.dll
Version: 3.x.y.z
public class RoutingRule
The RoutingRule type exposes the following members
| Name | Description | |
|---|---|---|
|
RoutingRule() |
| Name | Type | Description | |
|---|---|---|---|
|
Condition | Amazon.S3.Model.RoutingRuleCondition |
Gets and sets the property Condition.
A container for describing a condition that must be met for the specified redirect
to apply. For example, 1. If request is for pages in the |
|
Redirect | Amazon.S3.Model.RoutingRuleRedirect |
Gets and sets the property Redirect. 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 specify a different error code to return. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer