Class ReplicationRule
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
Destination
Container for replication destination information.
public ReplicationDestination Destination { get; set; }
Property Value
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
Filter
Gets and sets the property Filter.
public ReplicationRuleFilter Filter { get; set; }
Property Value
Id
Unique identifier for the rule. The value cannot be longer than 255 characters.
public string Id { get; set; }
Property Value
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
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
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
Status
Whether the rule is applied or ignored.
public ReplicationRuleStatus Status { get; set; }