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

DeleteBucketRequest

import type { DeleteBucketRequest } from "https://aws-api.deno.dev/v0.3/services/lightsail.ts?docs=full";
interface DeleteBucketRequest {
bucketName: string;
forceDelete?: boolean | null;
}

§Properties

§
bucketName: string
[src]

The name of the bucket to delete.

Use the "GetBuckets" action to get a list of bucket names that you can specify.

§
forceDelete?: boolean | null
[src]

A Boolean value that indicates whether to force delete the bucket.

You must force delete the bucket if it has one of the following conditions:

  • The bucket is the origin of a distribution.
  • The bucket has instances that were granted access to it using the "SetResourceAccessForBucket" action.
  • The bucket has objects.
  • The bucket has access keys.

! IMPORTANT: ! Force deleting a bucket might impact other resources that rely on the bucket, such as instances, distributions, or software that use the issued access keys.