@uppy/aws-s3
Version:
Upload to Amazon S3 with Uppy
49 lines (34 loc) • 1.52 kB
Markdown
<img src="https://uppy.io/img/logo.svg" width="120" alt="Uppy logo: a smiling puppy above a pink upwards arrow" align="right">
[](https://www.npmjs.com/package/@uppy/aws-s3)



The AwsS3 plugin can be used to upload files directly to an S3 bucket. Uploads
can be signed using Companion or a custom signing function.
Uppy is being developed by the folks at [Transloadit](https://transloadit.com),
a versatile file encoding service.
```js
import Uppy from '@uppy/core'
import AwsS3 from '@uppy/aws-s3'
const uppy = new Uppy()
uppy.use(AwsS3, {
limit: 2,
timeout: ms('1 minute'),
companionUrl: 'https://companion.myapp.com/',
})
```
```bash
$ npm install @uppy/aws-s3
```
Alternatively, you can also use this plugin in a pre-built bundle from
Transloadit’s CDN: Smart CDN. In that case `Uppy` will attach itself to the
global `window.Uppy` object. See the
[](https://uppy.io/docs/#Installation) for instructions.
Documentation for this plugin can be found on the
[](https://uppy.io/docs/aws-s3).
[](./LICENSE).