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

AWSBuckets.getEncryption() method

Get encryption configuration for a bucket

Signature:

getEncryption(bucketName: string): Promise<EncryptionSettings>;

Parameters

Parameter Type Description
bucketName string Bucket name

Returns:

Promise<EncryptionSettings>

Encryption configuration if it is on, null otherwise