Home > @hapoosjs/aws-buckets > AWSBuckets > deleteBucket
Delete a bucket
Signature:
deleteBucket(bucketName: string, options?: DeleteBucketOptions): Promise<void>;
Parameter | Type | Description |
---|---|---|
bucketName | string | Name of the bucket to be deleted |
options | DeleteBucketOptions | (Optional) |
Returns:
Promise<void>