You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/s3-store/README.md
+24-2Lines changed: 24 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@
10
10
-[Use](#use)
11
11
-[API](#api)
12
12
-[`new S3Store(options)`](#new-s3storeoptions)
13
+
-[Extensions](#extensions)
13
14
-[Examples](#examples)
14
15
-[Example: using `credentials` to fetch credentials inside a AWS container](#example-using-credentials-to-fetch-credentials-inside-a-aws-container)
15
16
-[Types](#types)
@@ -56,16 +57,29 @@ Creates a new AWS S3 store with options.
56
57
> All options except for `bucket` and `partSize` are directly passed to the S3 client.
57
58
> This means you can also provide alternative authentication properties, such as [credentials](https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/Credentials.html#constructor-property).
58
59
59
-
#### `bucket`
60
+
#### `options.bucket`
60
61
61
62
The bucket name.
62
63
63
-
#### `partSize`
64
+
#### `options.partSize`
64
65
65
66
The preferred part size for parts send to S3. Can not be lower than 5MB or more than 500MB.
66
67
The server calculates the optimal part size, which takes this size into account,
67
68
but may increase it to not exceed the S3 10K parts limit.
68
69
70
+
## Extensions
71
+
72
+
The tus protocol supports optional [extensions][]. Below is a table of the supported extensions in `@tus/s3-store`.
73
+
74
+
| Extension |`@tus/s3-store`|
75
+
| ------------------------ | --------------- |
76
+
|[Creation][]| ✅ |
77
+
|[Creation With Upload][]| ✅ |
78
+
|[Expiration][]| ❌ |
79
+
|[Checksum][]| ❌ |
80
+
|[Termination][]| ❌ |
81
+
|[Concatenation][]| ❌ |
82
+
69
83
## Examples
70
84
71
85
### Example: using `credentials` to fetch credentials inside a AWS container
@@ -108,3 +122,11 @@ See [`contributing.md`](https://github.com/tus/tus-node-server/blob/main/.github
0 commit comments