Amazon S3 API · Schema

OwnershipControlsRule

The container element for an ownership control rule.

Cloud StorageObject StorageStorage

Properties

Name Type Description
ObjectOwnership string

The container element for object ownership for a bucket's ownership controls.

BucketOwnerPreferred - Objects uploaded to the bucket change ownership to the bucket owner if the objects are up

View JSON Schema on GitHub

JSON Schema

s3-ownershipcontrolsrule-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "OwnershipControlsRule",
  "type": "object",
  "properties": {
    "ObjectOwnership": {
      "type": "string",
      "enum": [
        "BucketOwnerPreferred",
        "ObjectWriter",
        "BucketOwnerEnforced"
      ],
      "description": "<p>The container element for object ownership for a bucket's ownership controls.</p> <p>BucketOwnerPreferred - Objects uploaded to the bucket change ownership to the bucket owner if the objects are uploaded with the <code>bucket-owner-full-control</code> canned ACL.</p> <p>ObjectWriter - The uploading account will own the object if the object is uploaded with the <code>bucket-owner-full-control</code> canned ACL.</p> <p>BucketOwnerEnforced - Access control lists (ACLs) are disabled and no longer affect permissions. The bucket owner automatically owns and has full control over every object in the bucket. The bucket only accepts PUT requests that don't specify an ACL or bucket owner full control ACLs, such as the <code>bucket-owner-full-control</code> canned ACL or an equivalent form of this ACL expressed in the XML format.</p>"
    }
  },
  "required": [
    "ObjectOwnership"
  ],
  "description": "The container element for an ownership control rule."
}