Home > @hapoosjs/aws-buckets > AWSBuckets > deleteBucket

AWSBuckets.deleteBucket() method

Delete a bucket

Signature:

deleteBucket(bucketName: string, options?: DeleteBucketOptions): Promise<void>;

Parameters

Parameter Type Description
bucketName string Name of the bucket to be deleted
options DeleteBucketOptions (Optional)

Returns:

Promise<void>