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.3/services/lightsail.ts?docs=full";
interface CreateBucketRequest {
bucketName: string;
bundleId: string;
enableObjectVersioning?: boolean | null;
tags?: Tag[] | null;
}

§Properties

§
bucketName: string
[src]

The name for the bucket.

For more information about bucket names, see Bucket naming rules in Amazon Lightsail in the Amazon Lightsail Developer Guide.

§
bundleId: string
[src]

The ID of the bundle to use for the bucket.

A bucket bundle specifies the monthly cost, storage space, and data transfer quota for a bucket.

Use the "GetBucketBundles" action to get a list of bundle IDs that you can specify.

Use the "UpdateBucketBundle" action to change the bundle after the bucket is created.

§
enableObjectVersioning?: boolean | null
[src]

A Boolean value that indicates whether to enable versioning of objects in the bucket.

For more information about versioning, see Enabling and suspending object versioning in a bucket in Amazon Lightsail in the Amazon Lightsail Developer Guide.

§
tags?: Tag[] | null
[src]

The tag keys and optional values to add to the bucket during creation.

Use the "TagResource" action to tag the bucket after it's created.