AWS S3 Storage Provider
Amazon S3 is an cloud object storage solution that is widely used for storing files. WunderGraph comes with built-in support for Amazon S3.
Add a S3 storage provider
Edit .wundergraph/wundergraph.config.ts
and add the following configuration to s3UploadProvider
.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Upload a file
Once you've added the S3 storage provider, you can upload files to it using the uploadFile
method of the WunderGraph client.
TypeScript client
1
2
3
4
5
React (SWR) client
1
2
3
4
5
6
7
8
9
Learn more
Reference docs
S3 file upload providers reference.