@reventlessdev/rescript-pulumi-aws 2.4.0-alpha.55 → 2.4.0-alpha.56
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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,13 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# 2.4.0-alpha.56 (2026-07-19)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **rescript-aws:** S3 ListObjectVersions + BucketNotification bindings ([f0d464a](https://github.com/ReventlessDev/reventless-core/commit/f0d464aedacea930c56aab4849637316fc151dc5))
|
|
11
|
+
|
|
12
|
+
|
|
6
13
|
# 2.4.0-alpha.55 (2026-07-17)
|
|
7
14
|
|
|
8
15
|
**Note:** Version bump only for package @reventlessdev/rescript-pulumi-aws
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reventlessdev/rescript-pulumi-aws",
|
|
3
|
-
"version": "2.4.0-alpha.
|
|
3
|
+
"version": "2.4.0-alpha.56",
|
|
4
4
|
"description": "ReScript bindings for @pulumi/aws",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"jest": {
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"@pulumi/aws": "~7.19.0",
|
|
23
23
|
"@pulumi/aws-native": "^1.62.0",
|
|
24
24
|
"sury": "11.0.0-alpha.4",
|
|
25
|
-
"@reventlessdev/rescript-
|
|
26
|
-
"@reventlessdev/rescript-
|
|
25
|
+
"@reventlessdev/rescript-aws-sdk": "2.2.0-alpha.24",
|
|
26
|
+
"@reventlessdev/rescript-pulumi-pulumi": "2.3.0-alpha.17"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"esbuild": "^0.25.12",
|
package/src/S3/S3.res
CHANGED
package/src/S3/S3.res.mjs
CHANGED
|
@@ -15,6 +15,8 @@ let BucketPublicAccessBlock;
|
|
|
15
15
|
|
|
16
16
|
let BucketPolicy;
|
|
17
17
|
|
|
18
|
+
let BucketNotification;
|
|
19
|
+
|
|
18
20
|
export {
|
|
19
21
|
Bucket,
|
|
20
22
|
BucketV2,
|
|
@@ -23,5 +25,6 @@ export {
|
|
|
23
25
|
BucketOwnershipControls,
|
|
24
26
|
BucketPublicAccessBlock,
|
|
25
27
|
BucketPolicy,
|
|
28
|
+
BucketNotification,
|
|
26
29
|
}
|
|
27
30
|
/* No side effect */
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/** @pulumi/aws/s3/BucketNotification
|
|
2
|
+
see: https://www.pulumi.com/registry/packages/aws/api-docs/s3/bucketnotification
|
|
3
|
+
|
|
4
|
+
Attaches an event notification configuration to an existing bucket, so object
|
|
5
|
+
events (`s3:ObjectCreated:*`, `s3:ObjectRemoved:*`, …) fan out to a Lambda,
|
|
6
|
+
SQS queue, or SNS topic. Unlike the `Bucket.onObjectCreated` magic helper, this
|
|
7
|
+
targets a bucket the stack does not own (created out-of-band / imported); the
|
|
8
|
+
invoke permission for the Lambda principal must be granted separately with a
|
|
9
|
+
`Lambda.Permission`.
|
|
10
|
+
*/
|
|
11
|
+
type t
|
|
12
|
+
|
|
13
|
+
/* Each event field is an S3 event string, e.g. "s3:ObjectCreated:*". */
|
|
14
|
+
type lambdaFunction = {
|
|
15
|
+
id?: string,
|
|
16
|
+
lambdaFunctionArn: Pulumi.Input.t<string>,
|
|
17
|
+
events: array<string>,
|
|
18
|
+
filterPrefix?: string,
|
|
19
|
+
filterSuffix?: string,
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
type queue = {
|
|
23
|
+
id?: string,
|
|
24
|
+
queueArn: Pulumi.Input.t<string>,
|
|
25
|
+
events: array<string>,
|
|
26
|
+
filterPrefix?: string,
|
|
27
|
+
filterSuffix?: string,
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
type topic = {
|
|
31
|
+
id?: string,
|
|
32
|
+
topicArn: Pulumi.Input.t<string>,
|
|
33
|
+
events: array<string>,
|
|
34
|
+
filterPrefix?: string,
|
|
35
|
+
filterSuffix?: string,
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
type args = {
|
|
39
|
+
bucket: Pulumi.Input.t<string> /* bucket.id */,
|
|
40
|
+
eventbridge?: Pulumi.Input.t<bool>,
|
|
41
|
+
lambdaFunctions?: array<lambdaFunction>,
|
|
42
|
+
queues?: array<queue>,
|
|
43
|
+
topics?: array<topic>,
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@module("@pulumi/aws") @scope("s3") @new
|
|
47
|
+
external make: (~name: string, ~args: args, ~opts: Pulumi.CustomResourceOptions.t=?) => t =
|
|
48
|
+
"BucketNotification"
|