Home > @hapoosjs/aws-buckets > AWSBuckets > getEncryption
Get encryption configuration for a bucket
Signature:
getEncryption(bucketName: string): Promise<EncryptionSettings>;
Parameter | Type | Description |
---|---|---|
bucketName | string | Bucket name |
Returns:
Promise<EncryptionSettings>
Encryption configuration if it is on, null otherwise