diff --git a/packages/s3/src/s3-storage.ts b/packages/s3/src/s3-storage.ts index 242361fc..88c719d1 100644 --- a/packages/s3/src/s3-storage.ts +++ b/packages/s3/src/s3-storage.ts @@ -5,6 +5,7 @@ import { CompleteMultipartUploadOutput, CreateMultipartUploadCommand, ListPartsCommand, + ObjectCannedACL, Part, S3Client, S3ClientConfig, @@ -61,7 +62,7 @@ export type S3StorageOptions = BaseStorageOptions & /** * Specifying access rules for uploaded files */ - acl?: 'private' | 'public-read' | string; + acl?: ObjectCannedACL; /** * Force compatible client upload directly to S3 storage */