@ez4/aws-bucket 0.5.1 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -0
- package/package.json +18 -8
package/README.md
CHANGED
|
@@ -10,6 +10,36 @@ It provides all the components to manage buckets and objects on AWS.
|
|
|
10
10
|
npm install @ez4/aws-bucket -D
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
+
#### Permission
|
|
14
|
+
|
|
15
|
+
Ensure the user performing deployments has the permissions below:
|
|
16
|
+
|
|
17
|
+
```json
|
|
18
|
+
{
|
|
19
|
+
"Version": "2012-10-17",
|
|
20
|
+
"Statement": [
|
|
21
|
+
{
|
|
22
|
+
"Sid": "StorageManagement",
|
|
23
|
+
"Effect": "Allow",
|
|
24
|
+
"Action": [
|
|
25
|
+
"s3:CreateBucket",
|
|
26
|
+
"s3:DeleteBucket",
|
|
27
|
+
"s3:PutObject",
|
|
28
|
+
"s3:GetObject",
|
|
29
|
+
"s3:ListBucket",
|
|
30
|
+
"s3:DeleteObject",
|
|
31
|
+
"s3:PutLifecycleConfiguration",
|
|
32
|
+
"s3:PutBucketPolicy",
|
|
33
|
+
"s3:DeleteBucketPolicy",
|
|
34
|
+
"s3:PutBucketTagging",
|
|
35
|
+
"s3:PutObjectTagging"
|
|
36
|
+
],
|
|
37
|
+
"Resource": ["arn:aws:s3:::{prefix}-*"]
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
```
|
|
42
|
+
|
|
13
43
|
## License
|
|
14
44
|
|
|
15
45
|
MIT License
|
package/package.json
CHANGED
|
@@ -1,10 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ez4/aws-bucket",
|
|
3
|
-
"description": "EZ4: Self-managed AWS S3
|
|
4
|
-
"version": "0.
|
|
3
|
+
"description": "EZ4: Self-managed AWS S3 bucket provider",
|
|
4
|
+
"version": "0.6.0",
|
|
5
5
|
"author": "Silas B.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "module",
|
|
8
|
+
"keywords": [
|
|
9
|
+
"ez4"
|
|
10
|
+
],
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "git+https://github.com/sbalmt/ez4.git",
|
|
14
|
+
"directory": "packages/aws-bucket"
|
|
15
|
+
},
|
|
8
16
|
"engines": {
|
|
9
17
|
"node": ">=20.15.0"
|
|
10
18
|
},
|
|
@@ -36,15 +44,17 @@
|
|
|
36
44
|
"devDependencies": {
|
|
37
45
|
"@types/mime": "^3.0.0"
|
|
38
46
|
},
|
|
47
|
+
"peerDependencies": {
|
|
48
|
+
"@ez4/project": "^0.6.0"
|
|
49
|
+
},
|
|
39
50
|
"dependencies": {
|
|
40
51
|
"@aws-sdk/client-s3": "^3.614.0",
|
|
41
52
|
"@aws-sdk/s3-request-presigner": "^3.651.0",
|
|
42
|
-
"@ez4/aws-common": "^0.
|
|
43
|
-
"@ez4/aws-identity": "^0.
|
|
44
|
-
"@ez4/
|
|
45
|
-
"@ez4/
|
|
46
|
-
"@ez4/
|
|
47
|
-
"@ez4/utils": "^0.5.0",
|
|
53
|
+
"@ez4/aws-common": "^0.6.0",
|
|
54
|
+
"@ez4/aws-identity": "^0.6.0",
|
|
55
|
+
"@ez4/stateful": "^0.6.0",
|
|
56
|
+
"@ez4/storage": "^0.6.0",
|
|
57
|
+
"@ez4/utils": "^0.6.0",
|
|
48
58
|
"mime": "^3.0.0"
|
|
49
59
|
}
|
|
50
60
|
}
|