Amazon S3 API · JSON Structure

S3 Replicationrule Structure

Specifies which Amazon S3 objects to replicate and where to store the replicas.

Type: object Properties: 0
Cloud StorageObject StorageStorage

S3 Replicationrule Structure is a JSON Structure definition published by Amazon S3 API. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "title": "ReplicationRule",
  "type": "object",
  "description": "Specifies which Amazon S3 objects to replicate and where to store the replicas.",
  "fields": [
    {
      "name": "ID",
      "type": "string"
    },
    {
      "name": "Priority",
      "type": "string"
    },
    {
      "name": "Prefix",
      "type": "string"
    },
    {
      "name": "Filter",
      "type": "object",
      "description": "A filter that identifies the subset of objects to which the replication rule applies. A <code>Filter</code> must specify exactly one <code>Prefix</code>, <code>Tag</code>, or an <code>And</code> child element."
    },
    {
      "name": "Status",
      "type": "string"
    },
    {
      "name": "SourceSelectionCriteria",
      "type": "string"
    },
    {
      "name": "ExistingObjectReplication",
      "type": "string"
    },
    {
      "name": "Destination",
      "type": "string"
    },
    {
      "name": "DeleteMarkerReplication",
      "type": "object",
      "description": "<p>Specifies whether Amazon S3 replicates delete markers. If you specify a <code>Filter</code> in your replication configuration, you must also include a <code>DeleteMarkerReplication</code> element. If your <code>Filter</code> includes a <code>Tag</code> element, the <code>DeleteMarkerReplication</code> <code>Status</code> must be set to Disabled, because Amazon S3 does not support replicating delete markers for tag-based rules. For an example configuration, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-add-config.html#replication-config-min-rule-config\">Basic Rule Configuration</a>. </p> <p>For more information about delete marker replication, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/dev/delete-marker-replication.html\">Basic Rule Configuration</a>. </p> <note> <p>If you are using an earlier version of the replication configuration, Amazon S3 handles replication of delete markers differently. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-add-config.html#replication-backward-compat-considerations\">Backward Compatibility</a>.</p> </note>"
    }
  ]
}