-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
Gen 2Issues related to Gen 2 Amplify projectsIssues related to Gen 2 Amplify projectsStorageRelated to Storage components/categoryRelated to Storage components/categoryfeature-requestRequest a new featureRequest a new featuretransferredThis issue was transferred from another Amplify projectThis issue was transferred from another Amplify project
Description
Environment information
Want a way to upload a file via amplify gen2 using a signed url instead of the fileUpload function.
Describe the feature
Need to be able to write files via a custom library using a pre-signed URL for file upload.
I see this example in the docs, does it support file upload or only file download?
import { getUrl } from 'aws-amplify/storage';
const linkToStorageFile = await getUrl({
path: "album/2024/1.jpg",
// Alternatively, path: ({identityId}) => `album/{identityId}/1.jpg`
});
console.log('signed URL: ', linkToStorageFile.url);
console.log('URL expires at: ', linkToStorageFile.expiresAt);
Use case
Need to upload using a custom httpfs library that does processing.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Gen 2Issues related to Gen 2 Amplify projectsIssues related to Gen 2 Amplify projectsStorageRelated to Storage components/categoryRelated to Storage components/categoryfeature-requestRequest a new featureRequest a new featuretransferredThis issue was transferred from another Amplify projectThis issue was transferred from another Amplify project