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

AWSBuckets.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>