Home > @hapoosjs/aws-buckets > AWSBuckets > createBucket
Create a new bucket
Signature:
createBucket(bucketName: string, options?: CreateBucketOptions): Promise<void>;
Parameter | Type | Description |
---|---|---|
bucketName | string | Bucket name |
options | CreateBucketOptions | (Optional) |
Returns:
Promise<void>
This operation is not atomic if the access is not private