AWS SDK Version 3 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.

Filter that identifies 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

Container for specifying rule filters. These filters determine the subset of objects to which the rule applies. The element is required only if you specify more than one filter. For example:

  • You specify both a Prefix and a Tag filters. Then you wrap these in an And tag.

  • You specify filter based on multiple tags. Then you wrap the Tag elements in an And tag.

Public Property Prefix System.String

Object keyname prefix that identifies subset of objects to which the rule applies.

Public Property Tag Amazon.S3.Model.Tag

Container for specifying a tag key and value.

The rule applies only to objects having the tag in its tagset.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5