Home > @hapoosjs/api-buckets > Buckets > getPolicy

Buckets.getPolicy() method

Retrieve resource permission policy associated with a bucket

Signature:

getPolicy(bucketName: string): Promise<any>;

Parameters

Parameter Type Description
bucketName string Bucket name

Returns:

Promise<any>