ObjectOwnership

class aws_cdk.aws_s3.ObjectOwnership(value)

Bases: enum.Enum

The ObjectOwnership of the bucket.

See

https://docs.aws.amazon.com/AmazonS3/latest/dev/about-object-ownership.html

Attributes

BUCKET_OWNER_PREFERRED

Objects uploaded to the bucket change ownership to the bucket owner .

OBJECT_WRITER

The uploading account will own the object.