- class aws_cdk.aws_s3.ObjectOwnership(value)
The ObjectOwnership of the bucket.
# Example automatically generated from non-compiling source. May contain errors. s3.Bucket(self, "MyBucket", object_ownership=s3.ObjectOwnership.OBJECT_WRITER )
ACLs are disabled, and the bucket owner automatically owns and has full control over every object in the bucket.
ACLs no longer affect permissions to data in the S3 bucket. The bucket uses policies to define access control.
Objects uploaded to the bucket change ownership to the bucket owner .
The uploading account will own the object.