Table of Contents

Class ReplicationRule

Namespace
Amazon.S3.Model
Assembly
AWSSDK.S3.dll

Rule that specifies the replication configuration.

public class ReplicationRule
Inheritance
ReplicationRule
Inherited Members

Constructors

ReplicationRule()

public ReplicationRule()

Properties

DeleteMarkerReplication

Specifies whether Amazon S3 should replicate delete makers.

public DeleteMarkerReplication DeleteMarkerReplication { get; set; }

Property Value

DeleteMarkerReplication

Destination

Container for replication destination information.

public ReplicationDestination Destination { get; set; }

Property Value

ReplicationDestination

ExistingObjectReplication

Optional configuration to replicate existing source bucket objects. For more information, see Replicating Existing Objects in the Amazon S3 User Guide.

public ExistingObjectReplication ExistingObjectReplication { get; set; }

Property Value

ExistingObjectReplication

Filter

Gets and sets the property Filter.

public ReplicationRuleFilter Filter { get; set; }

Property Value

ReplicationRuleFilter

Id

Unique identifier for the rule. The value cannot be longer than 255 characters.

public string Id { get; set; }

Property Value

string

Prefix

Object keyname prefix identifying one or more objects to which the rule applies. Maximum prefix length can be up to 1,024 characters.

[Obsolete("This property is deprecated. Use Filter instead.")]
public string Prefix { get; set; }

Property Value

string

Priority

The priority indicates which rule has priority when there is a conflict. Amazon S3 will attempt to replicate objects according to all replication rules. However, if objects are replicating to the same destination bucket priority will decide which object will attempt to replicate first. The higher the number, the higher the priority.

For more information, see Replication in the Amazon Simple Storage Service Developer Guide.

public int Priority { get; set; }

Property Value

int

SourceSelectionCriteria

Gets and sets the property SourceSelectionCriteria.

A container that describes additional filters for identifying the source objects that you want to replicate. You can choose to enable or disable the replication of these objects. Currently, Amazon S3 supports only the filter that you can specify for objects created with server-side encryption using a customer managed key stored in Amazon Web Services Key Management Service (SSE-KMS).

public SourceSelectionCriteria SourceSelectionCriteria { get; set; }

Property Value

SourceSelectionCriteria

Status

Whether the rule is applied or ignored.

public ReplicationRuleStatus Status { get; set; }

Property Value

ReplicationRuleStatus