Skip to main content
Latest
interface CreateBucketOptions
Re-export
import { type CreateBucketOptions } from "https://deno.land/x/s3@0.5.0/mod.ts";

Properties

optional
acl:
| "private"
| "public-read"
| "public-read-write"
| "authenticated-read"

The canned ACL to apply to the bucket

optional
bucketObjectLockEnabled: string

Specifies whether you want S3 Object Lock to be enabled for the new bucket.

optional
grantFullControl: string

Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.

optional
grantRead: string

Allows grantee to list the objects in the bucket.

optional
grantReadAcp: string

Allows grantee to read the bucket ACL.

optional
grantWrite: string

Allows grantee to create new objects in the bucket. For the bucket and object owners of existing objects, also allows deletions and overwrites of those objects.

optional
grantWriteAcp: string

Allows grantee to write the ACL for the applicable bucket.