Optional
Define access permissions for objects in the S3 bucket.
https://docs.amplify.aws/gen2/build-a-backend/storage/#storage-access
export const storage = defineStorage({ access: (allow) => ({ 'foo/*': [allow.authenticated.to(['read'])], })}) Copy
export const storage = defineStorage({ access: (allow) => ({ 'foo/*': [allow.authenticated.to(['read'])], })})
Define access permissions for objects in the S3 bucket.