@reventlessdev/rescript-pulumi-aws 2.4.0-alpha.47 → 2.4.0-alpha.49

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,20 @@
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.49 (2026-07-11)
7
+
8
+ ### Features
9
+
10
+ * **pulumi-aws:** add email/https/application SNS subscription protocols ([9c70d81](https://github.com/ReventlessDev/reventless-core/commit/9c70d81a92b7f28023850114868142aca828f5ff))
11
+
12
+
13
+ # 2.4.0-alpha.48 (2026-07-11)
14
+
15
+ ### Features
16
+
17
+ * **monitoring:** deploy-time Monitoring hook seam for provisioned execution units ([30f1c23](https://github.com/ReventlessDev/reventless-core/commit/30f1c23ba118805dae83af9115341f4aff6db92b))
18
+
19
+
6
20
  # 2.4.0-alpha.47 (2026-07-08)
7
21
 
8
22
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reventlessdev/rescript-pulumi-aws",
3
- "version": "2.4.0-alpha.47",
3
+ "version": "2.4.0-alpha.49",
4
4
  "description": "ReScript bindings for @pulumi/aws",
5
5
  "license": "Apache-2.0",
6
6
  "jest": {
@@ -5,3 +5,4 @@ module EventRule = Cloudwatch_EventRule
5
5
  module EventTarget = Cloudwatch_EventTarget
6
6
  module LogGroup = Cloudwatch_LogGroup
7
7
  module LogMetricFilter = Cloudwatch_LogMetricFilter
8
+ module MetricAlarm = Cloudwatch_MetricAlarm
@@ -9,10 +9,13 @@ let LogGroup;
9
9
 
10
10
  let LogMetricFilter;
11
11
 
12
+ let MetricAlarm;
13
+
12
14
  export {
13
15
  EventRule,
14
16
  EventTarget,
15
17
  LogGroup,
16
18
  LogMetricFilter,
19
+ MetricAlarm,
17
20
  }
18
21
  /* No side effect */
@@ -0,0 +1,32 @@
1
+ /** @pulumi/aws/cloudwatch/metricalarm
2
+ see: https://www.pulumi.com/registry/packages/aws/api-docs/cloudwatch/metricalarm/
3
+ */
4
+
5
+ type t = {arn: Pulumi.Output.t<string>, id: Pulumi.Output.t<string>}
6
+
7
+ /** Single-metric alarm args. `comparisonOperator` uses CloudWatch's operator
8
+ names (e.g. `"GreaterThanOrEqualToThreshold"`); `statistic` is `"Sum"`,
9
+ `"Average"`, … ; `treatMissingData` is `"missing"`, `"notBreaching"`,
10
+ `"breaching"`, or `"ignore"`; `alarmActions` are ARNs (typically an SNS topic)
11
+ fired when the alarm enters ALARM state. */
12
+ type args = {
13
+ name?: Pulumi.Input.t<string>,
14
+ comparisonOperator: Pulumi.Input.t<string>,
15
+ evaluationPeriods: Pulumi.Input.t<int>,
16
+ metricName: Pulumi.Input.t<string>,
17
+ namespace: Pulumi.Input.t<string>,
18
+ /** Metric period in seconds. */
19
+ period: Pulumi.Input.t<int>,
20
+ statistic: Pulumi.Input.t<string>,
21
+ threshold: Pulumi.Input.t<float>,
22
+ /** Metric dimensions, e.g. `{"FunctionName": "AllAggregatesCmdHandler"}`. */
23
+ dimensions?: Pulumi.Input.t<Dict.t<string>>,
24
+ treatMissingData?: Pulumi.Input.t<string>,
25
+ alarmActions?: Pulumi.Input.t<array<Pulumi.Input.t<string>>>,
26
+ alarmDescription?: Pulumi.Input.t<string>,
27
+ tags?: Pulumi.Input.t<Aws.tags>,
28
+ }
29
+
30
+ @module("@pulumi/aws") @scope("cloudwatch") @new
31
+ external make: (~name: string, ~args: args, ~opts: Pulumi.CustomResourceOptions.t=?) => t =
32
+ "MetricAlarm"
@@ -0,0 +1,2 @@
1
+ // Generated by ReScript, PLEASE EDIT WITH CARE
2
+ /* This output is empty. Its source's type definitions, externals and/or unused code got optimized away. */
@@ -7,13 +7,22 @@ type t = {
7
7
  name: Pulumi.Output.t<string>,
8
8
  }
9
9
 
10
- type protocol = | @as("sqs") SQS | @as("sms") SMS | @as("lambda") Lambda
10
+ type protocol =
11
+ | @as("sqs") SQS
12
+ | @as("sms") SMS
13
+ | @as("lambda") Lambda
14
+ | @as("email") Email
15
+ | @as("email-json") EmailJson
16
+ | @as("http") Http
17
+ | @as("https") Https
18
+ | @as("application") Application
11
19
 
12
20
  type args = {
13
21
  endpoint: Pulumi.Input.t<string>,
14
22
  topic: Pulumi.Input.t<string>,
15
23
  protocol: protocol,
16
- rawMessageDelivery: Pulumi.Input.t<bool>,
24
+ // Only valid for the sqs/http(s) protocols; AWS rejects it for email/sms.
25
+ rawMessageDelivery?: Pulumi.Input.t<bool>,
17
26
  }
18
27
 
19
28
  @module("@pulumi/aws") @scope("sns") @new