Class BucketOwnershipControlsRuleArgs


  • public final class BucketOwnershipControlsRuleArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • objectOwnership

        public com.pulumi.core.Output<java.lang.String> objectOwnership()
        Returns:
        Object ownership. Valid values: `BucketOwnerPreferred`, `ObjectWriter` or `BucketOwnerEnforced`. `BucketOwnerPreferred` means 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` means the uploading account will own the object if the object is uploaded with the `bucket-owner-full-control` canned ACL. `BucketOwnerEnforced` means the bucket owner automatically owns and has full control over every object in the bucket, and ACLs no longer affect permissions to data in the S3 bucket.