{ "$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.

" } ] }, "Tag": { "allOf": [ { "$ref": "#/components/schemas/Tag" }, { "description": "

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:

" } ] } }, "description": "A filter that identifies the subset of objects to which the replication rule applies. A 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.

" } ] } }, "description": "

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.

" } }, "required": [ "Status", "Destination" ], "description": "Specifies which Amazon S3 objects to replicate and where to store the replicas." } }