Home > @hapoosjs/aws-buckets > AWSBuckets > getVersioning
Check if versioning of files is enabled for a bucket
Signature:
getVersioning(bucketName: string): Promise<boolean>;
Parameter | Type | Description |
---|---|---|
bucketName | string | Bucket name |
Returns:
Promise<boolean>
true if versioning is enabled, false otherwise