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
A container that specifies information about existing object replication. You can choose whether to enable or disable the replication of existing objects.
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 associated with the rule. If you specify multiple rules in a replication configuration, then Amazon S3 applies rule priority in the event there are conflicts (two or more rules identify the same object based on filter specified). The rule with higher priority takes precedence. For example,
-
Same object quality prefix based filter criteria If prefixes you specified in multiple rules overlap.
-
Same object qualify tag based filter criteria specified in multiple rules
For more information, see Cross-Region Replication (CRR) in the Amazon S3 Developer Guide.
public int Priority { get; set; }
Property Value
SourceSelectionCriteria
Container that describes additional filters in identifying source objects that you want to replicate. Currently, Amazon S3 supports only the filter that you can specify for objects created with server-side encryption using an AWS KMS-managed key. You can choose to enable or disable replication of these objects.
if you want Amazon S3 to replicate objects created with server-side encryption using AWS KMS-managed keys.
public SourceSelectionCriteria SourceSelectionCriteria { get; set; }
Property Value
Status
Whether the rule is applied or ignored.
public ReplicationRuleStatus Status { get; set; }