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.
A filter that identifies the subset of objects to which the replication rule applies.
A Filter
must specify exactly one Prefix
, Tag
, or an And
child element.
Namespace: Amazon.S3.Model
Assembly: AWSSDK.S3.dll
Version: 3.x.y.z
public class ReplicationRuleFilter
The ReplicationRuleFilter type exposes the following members
Name | Description | |
---|---|---|
![]() |
ReplicationRuleFilter() |
Name | Type | Description | |
---|---|---|---|
![]() |
And | Amazon.S3.Model.ReplicationRuleAndOperator |
Gets and sets the property And. A container for specifying rule filters. The filters determine the subset of objects to which the rule applies. This element is required only if you specify more than one filter. For example:
|
![]() |
Prefix | System.String |
Gets and sets the property Prefix. An object key name prefix that identifies the subset of objects to which the rule applies. Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints. |
![]() |
Tag | Amazon.S3.Model.Tag |
Gets and sets the property Tag. A container for specifying a tag key and value. The rule applies only to objects that have the tag in their tag set. |
.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