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

AWSBuckets.bucketExists() method

Check if a bucket of a given name exists

Signature:

bucketExists(bucketName: string): Promise<boolean>;

Parameters

Parameter Type Description
bucketName string Target bucket name

Returns:

Promise<boolean>