{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ReplicationRules", "type": "array", "items": { "type": "object", "properties": { "ID": {}, "Priority": {}, "Prefix": {}, "Filter": { "type": "object", "properties": { "Prefix": { "allOf": [ { "$ref": "#/components/schemas/Prefix" }, { "description": "
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.
A container for specifying a tag key and value.
The rule applies only to objects that have the tag in their tag set.
" } ] }, "And": { "allOf": [ { "$ref": "#/components/schemas/ReplicationRuleAndOperator" }, { "description": "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.
Filter must specify exactly one Prefix, Tag, or an And child element."
},
"Status": {},
"SourceSelectionCriteria": {},
"ExistingObjectReplication": {},
"Destination": {},
"DeleteMarkerReplication": {
"type": "object",
"properties": {
"Status": {
"allOf": [
{
"$ref": "#/components/schemas/DeleteMarkerReplicationStatus"
},
{
"description": "Indicates whether to replicate delete markers.
Indicates whether to replicate delete markers.
Specifies whether Amazon S3 replicates delete markers. If you specify a Filter in your replication configuration, you must also include a DeleteMarkerReplication element. If your Filter includes a Tag element, the DeleteMarkerReplication Status must be set to Disabled, because Amazon S3 does not support replicating delete markers for tag-based rules. For an example configuration, see Basic Rule Configuration.
For more information about delete marker replication, see Basic Rule Configuration.
If you are using an earlier version of the replication configuration, Amazon S3 handles replication of delete markers differently. For more information, see Backward Compatibility.