AWS SDK Version 4 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.S3.Model.ReplicationRuleFilter

Namespace: Amazon.S3.Model
Assembly: AWSSDK.S3.dll
Version: 3.x.y.z

Syntax

C#
public class ReplicationRuleFilter

The ReplicationRuleFilter type exposes the following members

Constructors

NameDescription
Public Method ReplicationRuleFilter()

Properties

NameTypeDescription
Public Property 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:

  • If you specify both a Prefix and a Tag filter, wrap these filters in an And tag.

  • If you specify a filter based on multiple tags, wrap the Tag elements in an And tag.

Public Property 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.

Public Property 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.

Version Information

.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