class Aws::S3::Types::OwnershipControlsRule


@see docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/OwnershipControlsRule AWS API Documentation
@return [String]<br>: docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html<br><br><br><br></note>
Ownership.
buckets use the bucket owner enforced setting for S3 Object
<note markdown=“1”> This functionality is not supported for directory buckets. Directory<br><br>bucket] in the *Amazon S3 User Guide*.
[Controlling ownership of objects and disabling ACLs for your
individually. For more information about S3 Object Ownership, see
uncommon use cases where you must control access for each object
ACLs are disabled. We recommend keeping ACLs disabled, except in
By default, ‘ObjectOwnership` is set to `BucketOwnerEnforced` and
that grants the same permissions).
`bucket-owner-full-control` canned ACL or a custom ACL in XML format
bucket owner full control ACLs (such as the predefined
only accepts PUT requests that don’t specify an ACL or specify
and has full control over every object in the bucket. The bucket
no longer affect permissions. The bucket owner automatically owns
`BucketOwnerEnforced` - Access control lists (ACLs) are disabled and
object is uploaded with the ‘bucket-owner-full-control` canned ACL.
`ObjectWriter` - The uploading account will own the object if the
`bucket-owner-full-control` canned ACL.
ownership to the bucket owner if the objects are uploaded with the
`BucketOwnerPreferred` - Objects uploaded to the bucket change
controls.
The container element for object ownership for a bucket’s ownership
@!attribute [rw] object_ownership
The container element for an ownership control rule.