Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CreateBucketRequest

import type { CreateBucketRequest } from "https://aws-api.deno.dev/v0.4/services/s3.ts?docs=full";
interface CreateBucketRequest {
ACL?: BucketCannedACL | null;
Bucket: string;
CreateBucketConfiguration?: CreateBucketConfiguration | null;
GrantFullControl?: string | null;
GrantRead?: string | null;
GrantReadACP?: string | null;
GrantWrite?: string | null;
GrantWriteACP?: string | null;
ObjectLockEnabledForBucket?: boolean | null;
ObjectOwnership?: ObjectOwnership | null;
}

§Properties

§

The canned ACL to apply to the bucket.

§
Bucket: string
[src]

The name of the bucket to create.

§
CreateBucketConfiguration?: CreateBucketConfiguration | null
[src]

The configuration information for the bucket.

§
GrantFullControl?: string | null
[src]

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

§
GrantRead?: string | null
[src]

Allows grantee to list the objects in the bucket.

§
GrantReadACP?: string | null
[src]

Allows grantee to read the bucket ACL.

§
GrantWrite?: string | null
[src]

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.

§
GrantWriteACP?: string | null
[src]

Allows grantee to write the ACL for the applicable bucket.

§
ObjectLockEnabledForBucket?: boolean | null
[src]

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

§
ObjectOwnership?: ObjectOwnership | null
[src]