Home > @hapoosjs/aws-buckets > AWSBuckets > getPolicy
Retrieve resource permission policy associated with a bucket
Signature:
getPolicy(bucketName: string): Promise<any>;
Parameter | Type | Description |
---|---|---|
bucketName | string | Bucket name |
Returns:
Promise<any>