objectOwnership

@JvmName(name = "vupaflbrjjwnkdvd")
suspend fun objectOwnership(value: Output<String>)
@JvmName(name = "rbehraubpswksisu")
suspend fun objectOwnership(value: String)

Parameters

value

Object ownership. Valid values: BucketOwnerPreferred, ObjectWriter or BucketOwnerEnforced

  • BucketOwnerPreferred - Objects uploaded to the bucket change ownership to the bucket owner if the objects are uploaded with the bucket-owner-full-control canned ACL.

  • ObjectWriter - Uploading account will own the object if the object is uploaded with the bucket-owner-full-control canned ACL.

  • BucketOwnerEnforced - 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.