@gammarers/aws-stepfunctions-execution-status-change-notification-stack 1.0.0 → 1.0.2

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/.jsii CHANGED
@@ -3685,7 +3685,7 @@
3685
3685
  "stability": "stable"
3686
3686
  },
3687
3687
  "homepage": "https://github.com/gammarers/aws-stepfunctions-execution-status-change-notification-stack.git",
3688
- "jsiiVersion": "5.7.8 (build 2bc6834)",
3688
+ "jsiiVersion": "5.7.9 (build fc02aa4)",
3689
3689
  "keywords": [
3690
3690
  "cdk"
3691
3691
  ],
@@ -3700,7 +3700,7 @@
3700
3700
  },
3701
3701
  "name": "@gammarers/aws-stepfunctions-execution-status-change-notification-stack",
3702
3702
  "readme": {
3703
- "markdown": "# AWS Step Functions Execution Status Change Notification Stack\n\nThis AWS CDK Stack retrieves the status of Step Functions via EventBridge and sends notifications accordingly. Currently, it only detects and notifies when the status of any machine is either \"Failed\" or \"TimeOut.\"\n\n"
3703
+ "markdown": "# AWS Step Functions Execution Status Change Notification Stack\n\n[![GitHub](https://img.shields.io/github/license/gammarers/aws-stepfunctions-execution-status-change-notification-stack?style=flat-square)](https://github.com/gammarers/aws-stepfunctions-execution-status-change-notification-stack/blob/main/LICENSE)\n[![npm (scoped)](https://img.shields.io/npm/v/@gammarers/aws-stepfunctions-execution-status-change-notification-stack?style=flat-square)](https://www.npmjs.com/package/@gammarers/aws-stepfunctions-execution-status-change-notification-stack)\n[![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/gammarers/aws-stepfunctions-execution-status-change-notification-stack/release.yml?branch=main&label=release&style=flat-square)](https://github.com/gammarers/aws-stepfunctions-execution-status-change-notification-stack/actions/workflows/release.yml)\n[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/gammarers/aws-stepfunctions-execution-status-change-notification-stack?sort=semver&style=flat-square)](https://github.com/gammarers/aws-stepfunctions-execution-status-change-notification-stack/releases)\n\n[![View on Construct Hub](https://constructs.dev/badge?package=@gammarers/aws-stepfunctions-execution-status-change-notification-stack)](https://constructs.dev/packages/@gammarers/aws-stepfunctions-execution-status-change-notification-stack)\n\nThis AWS CDK Stack retrieves the status of Step Functions via EventBridge and sends notifications accordingly. Currently, it only detects and notifies when the status of any machine is either \"Failed\" or \"TimeOut.\"\n\n### TypeScript\n\n#### install by npm\n\n```shell\nnpm install @gammarers/aws-stepfunctions-execution-status-change-notification-stack\n```\n\n#### install by yarn\n\n```shell\nyarn add @gammarers/aws-stepfunctions-execution-status-change-notification-stack\n```\n\n## Example\n\n### Code\n\n```typescript\nimport { RDSDatabaseAutoRunningProtectionStack } from '@gammarers/aws-stepfunctions-execution-status-change-notification-stack';\n\nnew StepFunctionsExecutionStatueChangeNotificationStack(app, 'StepFunctionsExecutionStatueChangeNotificationStack', {\n enableRule: true,\n notifications: {\n emails: [\n 'foo@example.com',\n 'bar@example.net',\n ],\n },\n});\n```\n\n## License\n\nThis project is licensed under the Apache-2.0 License.\n"
3704
3704
  },
3705
3705
  "repository": {
3706
3706
  "type": "git",
@@ -3848,6 +3848,6 @@
3848
3848
  "symbolId": "src/index:StepFunctionsExecutionStatueChangeNotificationStackProps"
3849
3849
  }
3850
3850
  },
3851
- "version": "1.0.0",
3852
- "fingerprint": "OZTBaKUUOI32lBvX5wqoMMMb/pwRaLgsvEOWMBNqHQU="
3851
+ "version": "1.0.2",
3852
+ "fingerprint": "IZt8/6ZaNYuisXtAf/wrhI8z1gbNwllXDDZKusVjin4="
3853
3853
  }
package/README.md CHANGED
@@ -1,4 +1,46 @@
1
1
  # AWS Step Functions Execution Status Change Notification Stack
2
2
 
3
+ [![GitHub](https://img.shields.io/github/license/gammarers/aws-stepfunctions-execution-status-change-notification-stack?style=flat-square)](https://github.com/gammarers/aws-stepfunctions-execution-status-change-notification-stack/blob/main/LICENSE)
4
+ [![npm (scoped)](https://img.shields.io/npm/v/@gammarers/aws-stepfunctions-execution-status-change-notification-stack?style=flat-square)](https://www.npmjs.com/package/@gammarers/aws-stepfunctions-execution-status-change-notification-stack)
5
+ [![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/gammarers/aws-stepfunctions-execution-status-change-notification-stack/release.yml?branch=main&label=release&style=flat-square)](https://github.com/gammarers/aws-stepfunctions-execution-status-change-notification-stack/actions/workflows/release.yml)
6
+ [![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/gammarers/aws-stepfunctions-execution-status-change-notification-stack?sort=semver&style=flat-square)](https://github.com/gammarers/aws-stepfunctions-execution-status-change-notification-stack/releases)
7
+
8
+ [![View on Construct Hub](https://constructs.dev/badge?package=@gammarers/aws-stepfunctions-execution-status-change-notification-stack)](https://constructs.dev/packages/@gammarers/aws-stepfunctions-execution-status-change-notification-stack)
9
+
3
10
  This AWS CDK Stack retrieves the status of Step Functions via EventBridge and sends notifications accordingly. Currently, it only detects and notifies when the status of any machine is either "Failed" or "TimeOut."
4
11
 
12
+ ### TypeScript
13
+
14
+ #### install by npm
15
+
16
+ ```shell
17
+ npm install @gammarers/aws-stepfunctions-execution-status-change-notification-stack
18
+ ```
19
+
20
+ #### install by yarn
21
+
22
+ ```shell
23
+ yarn add @gammarers/aws-stepfunctions-execution-status-change-notification-stack
24
+ ```
25
+
26
+ ## Example
27
+
28
+ ### Code
29
+
30
+ ```typescript
31
+ import { RDSDatabaseAutoRunningProtectionStack } from '@gammarers/aws-stepfunctions-execution-status-change-notification-stack';
32
+
33
+ new StepFunctionsExecutionStatueChangeNotificationStack(app, 'StepFunctionsExecutionStatueChangeNotificationStack', {
34
+ enableRule: true,
35
+ notifications: {
36
+ emails: [
37
+ 'foo@example.com',
38
+ 'bar@example.net',
39
+ ],
40
+ },
41
+ });
42
+ ```
43
+
44
+ ## License
45
+
46
+ This project is licensed under the Apache-2.0 License.
package/lib/index.js CHANGED
@@ -47,5 +47,5 @@ class StepFunctionsExecutionStatueChangeNotificationStack extends aws_cdk_lib_1.
47
47
  }
48
48
  exports.StepFunctionsExecutionStatueChangeNotificationStack = StepFunctionsExecutionStatueChangeNotificationStack;
49
49
  _a = JSII_RTTI_SYMBOL_1;
50
- StepFunctionsExecutionStatueChangeNotificationStack[_a] = { fqn: "@gammarers/aws-stepfunctions-execution-status-change-notification-stack.StepFunctionsExecutionStatueChangeNotificationStack", version: "1.0.0" };
50
+ StepFunctionsExecutionStatueChangeNotificationStack[_a] = { fqn: "@gammarers/aws-stepfunctions-execution-status-change-notification-stack.StepFunctionsExecutionStatueChangeNotificationStack", version: "1.0.2" };
51
51
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSw4SkFBaUo7QUFDakosNkNBQTBEO0FBQzFELGlEQUFpRDtBQUNqRCwwREFBMEQ7QUFDMUQsMkNBQTJDO0FBQzNDLG1FQUFtRTtBQUVuRSx1RkFBa0Y7QUFjbEYsTUFBYSxtREFBb0QsU0FBUSxtQkFBSztJQUM1RSxZQUFZLEtBQWdCLEVBQUUsRUFBVSxFQUFFLEtBQStEO1FBQ3ZHLEtBQUssQ0FBQyxLQUFLLEVBQUUsRUFBRSxFQUFFLEtBQUssQ0FBQyxDQUFDO1FBRXhCLGlDQUFpQztRQUNqQyxNQUFNLEtBQUssR0FBYyxJQUFJLEdBQUcsQ0FBQyxLQUFLLENBQUMsSUFBSSxFQUFFLG1CQUFtQixFQUFFO1FBQ2hFLDBDQUEwQztRQUMxQyxtREFBbUQ7U0FDcEQsQ0FBQyxDQUFDO1FBRUgsOENBQThDO1FBQzlDLE1BQU0sTUFBTSxHQUFHLEtBQUssQ0FBQyxhQUFhLEVBQUUsTUFBTSxJQUFJLEVBQUUsQ0FBQztRQUNqRCxLQUFLLE1BQU0sS0FBSyxJQUFJLE1BQU0sRUFBRSxDQUFDO1lBQzNCLEtBQUssQ0F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GVzKDEpLFxuICAgICAgbm90aWZpY2F0aW9uVG9waWM6IHRvcGljLFxuICAgIH0pO1xuXG4gICAgLy8gQHRzLWlnbm9yZVxuICAgIG5ldyBTdGVwRnVuY3Rpb25zRXhlY3V0aW9uU3RhdHVzQ2hhbmdlRGV0ZWN0aW9uRXZlbnRSdWxlKHRoaXMsICdTdGVwRnVuY3Rpb25zRXhlY3V0aW9uU3RhdHVzQ2hhbmdlRGV0ZWN0aW9uRXZlbnRSdWxlJywge1xuICAgICAgdGFyZ2V0czogW1xuICAgICAgICBuZXcgdGFyZ2V0cy5TZm5TdGF0ZU1hY2hpbmUoc3RhdGVNYWNoaW5lLCB7XG4gICAgICAgICAgaW5wdXQ6IGV2ZW50cy5SdWxlVGFyZ2V0SW5wdXQuZnJvbU9iamVjdCh7XG4gICAgICAgICAgICBldmVudDogZXZlbnRzLkV2ZW50RmllbGQuZnJvbVBhdGgoJyQnKSxcbiAgICAgICAgICAgIHBhcmFtczoge1xuICAgICAgICAgICAgICAvLyB0YWdLZXk6IHByb3BzLnRhcmdldFJlc291cmNlLnRhZ0tleSxcbiAgICAgICAgICAgICAgLy8gdGFnVmFsdWVzOiBwcm9wcy50YXJnZXRSZXNvdXJjZS50YWdWYWx1ZXMsXG4gICAgICAgICAgICB9LFxuICAgICAgICAgIH0pLFxuICAgICAgICB9KSxcbiAgICAgIF0sXG4gICAgfSk7XG4gIH1cbn0iXX0=
package/package.json CHANGED
@@ -44,16 +44,16 @@
44
44
  "commit-and-tag-version": "^12",
45
45
  "constructs": "10.0.5",
46
46
  "eslint": "^9",
47
- "eslint-import-resolver-typescript": "^3.8.6",
47
+ "eslint-import-resolver-typescript": "^3.9.1",
48
48
  "eslint-plugin-import": "^2.31.0",
49
49
  "jest": "^29.7.0",
50
50
  "jest-junit": "^16",
51
51
  "jsii": "5.7.x",
52
- "jsii-diff": "^1.109.0",
52
+ "jsii-diff": "^1.110.0",
53
53
  "jsii-docgen": "^10.5.0",
54
- "jsii-pacmak": "^1.109.0",
54
+ "jsii-pacmak": "^1.110.0",
55
55
  "jsii-rosetta": "5.7.x",
56
- "projen": "^0.91.14",
56
+ "projen": "^0.91.18",
57
57
  "ts-jest": "^29.2.6",
58
58
  "ts-node": "^10.9.2",
59
59
  "typescript": "5.7.x"
@@ -76,7 +76,7 @@
76
76
  "publishConfig": {
77
77
  "access": "public"
78
78
  },
79
- "version": "1.0.0",
79
+ "version": "1.0.2",
80
80
  "jest": {
81
81
  "coverageProvider": "v8",
82
82
  "testMatch": [