@rio-cloud/cdk-v2-constructs 1.0.1-alpha.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.
Files changed (110) hide show
  1. package/.gitattributes +15 -0
  2. package/.jsii +7832 -0
  3. package/.versionrc.json +14 -0
  4. package/API.md +8136 -0
  5. package/CHANGELOG.md +5 -0
  6. package/LICENSE +202 -0
  7. package/README.md +56 -0
  8. package/lib/datadog/datadogLogIndexMonitoring.d.ts +49 -0
  9. package/lib/datadog/datadogLogIndexMonitoring.js +116 -0
  10. package/lib/datadog/datadogMonitor.d.ts +13 -0
  11. package/lib/datadog/datadogMonitor.js +19 -0
  12. package/lib/datadog/index.d.ts +1 -0
  13. package/lib/datadog/index.js +19 -0
  14. package/lib/fargate/datadog.d.ts +18 -0
  15. package/lib/fargate/datadog.js +225 -0
  16. package/lib/fargate/rio-fargate-service.d.ts +276 -0
  17. package/lib/fargate/rio-fargate-service.js +147 -0
  18. package/lib/fargate/spring.d.ts +6 -0
  19. package/lib/fargate/spring.js +39 -0
  20. package/lib/index.d.ts +21 -0
  21. package/lib/index.js +34 -0
  22. package/lib/kafka/index.d.ts +2 -0
  23. package/lib/kafka/index.js +15 -0
  24. package/lib/kafka/kafka-event-spec.d.ts +43 -0
  25. package/lib/kafka/kafka-event-spec.js +106 -0
  26. package/lib/kafka/kafka-topic.d.ts +102 -0
  27. package/lib/kafka/kafka-topic.js +70 -0
  28. package/lib/pipeline/rio-backup-secrets-restore-stage.d.ts +40 -0
  29. package/lib/pipeline/rio-backup-secrets-restore-stage.js +104 -0
  30. package/lib/pipeline/rio-bitbucket-source-action.d.ts +25 -0
  31. package/lib/pipeline/rio-bitbucket-source-action.js +36 -0
  32. package/lib/rio-claidometer.d.ts +21 -0
  33. package/lib/rio-claidometer.js +39 -0
  34. package/lib/rio-landing-zone.d.ts +16 -0
  35. package/lib/rio-landing-zone.js +57 -0
  36. package/lib/rio-load-balancer.d.ts +26 -0
  37. package/lib/rio-load-balancer.js +42 -0
  38. package/lib/toggle.d.ts +21 -0
  39. package/lib/toggle.js +44 -0
  40. package/lib/watchful/alb.d.ts +47 -0
  41. package/lib/watchful/alb.js +52 -0
  42. package/lib/watchful/aspect.d.ts +16 -0
  43. package/lib/watchful/aspect.js +55 -0
  44. package/lib/watchful/cloudfront.d.ts +50 -0
  45. package/lib/watchful/cloudfront.js +65 -0
  46. package/lib/watchful/datadog-log-alarm.d.ts +37 -0
  47. package/lib/watchful/datadog-log-alarm.js +88 -0
  48. package/lib/watchful/datadog-metric-alarm.d.ts +32 -0
  49. package/lib/watchful/datadog-metric-alarm.js +158 -0
  50. package/lib/watchful/docdb.d.ts +62 -0
  51. package/lib/watchful/docdb.js +102 -0
  52. package/lib/watchful/dynamodb.d.ts +69 -0
  53. package/lib/watchful/dynamodb.js +87 -0
  54. package/lib/watchful/ecs.d.ts +50 -0
  55. package/lib/watchful/ecs.js +69 -0
  56. package/lib/watchful/lambda.d.ts +59 -0
  57. package/lib/watchful/lambda.js +65 -0
  58. package/lib/watchful/metric-alarm.d.ts +34 -0
  59. package/lib/watchful/metric-alarm.js +3 -0
  60. package/lib/watchful/rds.d.ts +47 -0
  61. package/lib/watchful/rds.js +47 -0
  62. package/lib/watchful/targetgroup.d.ts +47 -0
  63. package/lib/watchful/targetgroup.js +54 -0
  64. package/lib/watchful/upperToLower.d.ts +7 -0
  65. package/lib/watchful/upperToLower.js +35 -0
  66. package/lib/watchful/watchful.d.ts +119 -0
  67. package/lib/watchful/watchful.js +182 -0
  68. package/node_modules/argparse/CHANGELOG.md +216 -0
  69. package/node_modules/argparse/LICENSE +254 -0
  70. package/node_modules/argparse/README.md +84 -0
  71. package/node_modules/argparse/argparse.js +3707 -0
  72. package/node_modules/argparse/lib/sub.js +67 -0
  73. package/node_modules/argparse/lib/textwrap.js +440 -0
  74. package/node_modules/argparse/package.json +31 -0
  75. package/node_modules/js-yaml/CHANGELOG.md +616 -0
  76. package/node_modules/js-yaml/LICENSE +21 -0
  77. package/node_modules/js-yaml/README.md +246 -0
  78. package/node_modules/js-yaml/bin/js-yaml.js +126 -0
  79. package/node_modules/js-yaml/dist/js-yaml.js +3874 -0
  80. package/node_modules/js-yaml/dist/js-yaml.min.js +2 -0
  81. package/node_modules/js-yaml/dist/js-yaml.mjs +3851 -0
  82. package/node_modules/js-yaml/index.js +47 -0
  83. package/node_modules/js-yaml/lib/common.js +59 -0
  84. package/node_modules/js-yaml/lib/dumper.js +965 -0
  85. package/node_modules/js-yaml/lib/exception.js +55 -0
  86. package/node_modules/js-yaml/lib/loader.js +1727 -0
  87. package/node_modules/js-yaml/lib/schema/core.js +11 -0
  88. package/node_modules/js-yaml/lib/schema/default.js +22 -0
  89. package/node_modules/js-yaml/lib/schema/failsafe.js +17 -0
  90. package/node_modules/js-yaml/lib/schema/json.js +19 -0
  91. package/node_modules/js-yaml/lib/schema.js +121 -0
  92. package/node_modules/js-yaml/lib/snippet.js +101 -0
  93. package/node_modules/js-yaml/lib/type/binary.js +125 -0
  94. package/node_modules/js-yaml/lib/type/bool.js +35 -0
  95. package/node_modules/js-yaml/lib/type/float.js +97 -0
  96. package/node_modules/js-yaml/lib/type/int.js +156 -0
  97. package/node_modules/js-yaml/lib/type/map.js +8 -0
  98. package/node_modules/js-yaml/lib/type/merge.js +12 -0
  99. package/node_modules/js-yaml/lib/type/null.js +35 -0
  100. package/node_modules/js-yaml/lib/type/omap.js +44 -0
  101. package/node_modules/js-yaml/lib/type/pairs.js +53 -0
  102. package/node_modules/js-yaml/lib/type/seq.js +8 -0
  103. package/node_modules/js-yaml/lib/type/set.js +29 -0
  104. package/node_modules/js-yaml/lib/type/str.js +8 -0
  105. package/node_modules/js-yaml/lib/type/timestamp.js +88 -0
  106. package/node_modules/js-yaml/lib/type.js +66 -0
  107. package/node_modules/js-yaml/package.json +66 -0
  108. package/package.json +126 -0
  109. package/release-commit-check.js +6 -0
  110. package/version.json +3 -0
package/package.json ADDED
@@ -0,0 +1,126 @@
1
+ {
2
+ "name": "@rio-cloud/cdk-v2-constructs",
3
+ "description": "CDK constructs to build RIO flavored CI/CD pipeline in AWS.",
4
+ "repository": {
5
+ "type": "git",
6
+ "url": "https://collaboration.msi.audi.com/stash/scm/riodev/cdk-v2-constructs.git"
7
+ },
8
+ "author": {
9
+ "name": "TB Digital Services GmbH",
10
+ "url": "https://rio.cloud/",
11
+ "organization": true
12
+ },
13
+ "keywords": [
14
+ "cdk"
15
+ ],
16
+ "main": "lib/index.js",
17
+ "license": "Apache-2.0",
18
+ "version": "1.0.1-alpha.0",
19
+ "types": "lib/index.d.ts",
20
+ "stability": "stable",
21
+ "jsii": {
22
+ "outdir": "dist",
23
+ "targets": {},
24
+ "tsc": {
25
+ "outDir": "lib",
26
+ "rootDir": "src"
27
+ }
28
+ },
29
+ "awscdkio": {
30
+ "announce": false
31
+ },
32
+ "standard-version": {
33
+ "commitUrlFormat": "https://collaboration.msi.audi.com/stash/projects/RIODEV/repos/cdk-v2-constructs/commits/{{hash}}",
34
+ "compareUrlFormat": "{{host}}/stash/projects/RIODEV/repos/cdk-v2-constructs/compare/commits?targetBranch=refs%2Ftags%2F{{previousTag}}&sourceBranch=refs%2Ftags%2F{{currentTag}}",
35
+ "issueUrlFormat": "https://collaboration.msi.audi.com/jira/browse/{{id}}"
36
+ },
37
+ "scripts": {
38
+ "compile": "jsii",
39
+ "build": "npm run compile && npm run eslint && npm test",
40
+ "watch": "jsii -w",
41
+ "bump": "standard-version",
42
+ "test": "jest --coverage",
43
+ "test:watch": "jest --watch",
44
+ "eslint": "eslint --ext .ts,.tsx --fix --no-error-on-unmatched-pattern src test",
45
+ "cdk": "cdk",
46
+ "release:check-last-commit": "node release-commit-check.js",
47
+ "release:build": "npm run build && npm run bump",
48
+ "release:push": "echo '✅ pushing release' && git push origin master --follow-tags",
49
+ "release": "npm run release:check-last-commit && npm run release:build && npm run release:push"
50
+ },
51
+ "devDependencies": {
52
+ "@types/jest": "27.4.1",
53
+ "@types/js-yaml": "4.0.5",
54
+ "@types/node": "17.0.23",
55
+ "@typescript-eslint/eslint-plugin": "5.18.0",
56
+ "@typescript-eslint/parser": "5.18.0",
57
+ "aws-cdk": "2.19.0",
58
+ "aws-cdk-lib": "2.19.0",
59
+ "constructs": "10.0.107",
60
+ "esbuild": "0.14.32",
61
+ "eslint": "8.12.0",
62
+ "eslint-import-resolver-node": "0.3.6",
63
+ "eslint-import-resolver-typescript": "2.7.1",
64
+ "eslint-plugin-import": "2.26.0",
65
+ "jest": "27.5.1 ",
66
+ "jest-junit": "13.1.0",
67
+ "jsii": "1.55.1",
68
+ "jsii-diff": "1.55.1",
69
+ "standard-version": "9.3.2",
70
+ "ts-jest": "27.1.4",
71
+ "ts-node": "10.7.0",
72
+ "typescript": "4.6.3"
73
+ },
74
+ "peerDependencies": {
75
+ "aws-cdk-lib": "2.19.0",
76
+ "constructs": "10.0.107"
77
+ },
78
+ "dependencies": {
79
+ "js-yaml": "4.1.0"
80
+ },
81
+ "bundledDependencies": [
82
+ "js-yaml"
83
+ ],
84
+ "jest": {
85
+ "testMatch": [
86
+ "<rootDir>/src/**/__tests__/**/*.ts?(x)",
87
+ "<rootDir>/(test|src)/**/?(*.)+(spec|test).ts?(x)"
88
+ ],
89
+ "clearMocks": true,
90
+ "collectCoverage": true,
91
+ "coverageReporters": [
92
+ "json",
93
+ "lcov",
94
+ "clover",
95
+ "cobertura",
96
+ "text"
97
+ ],
98
+ "coverageDirectory": "coverage",
99
+ "coveragePathIgnorePatterns": [
100
+ "/node_modules/",
101
+ "infrastructure"
102
+ ],
103
+ "testPathIgnorePatterns": [
104
+ "/node_modules/",
105
+ "infrastructure"
106
+ ],
107
+ "watchPathIgnorePatterns": [
108
+ "/node_modules/"
109
+ ],
110
+ "reporters": [
111
+ "default",
112
+ [
113
+ "jest-junit",
114
+ {
115
+ "outputDirectory": "test-reports"
116
+ }
117
+ ]
118
+ ],
119
+ "preset": "ts-jest",
120
+ "globals": {
121
+ "ts-jest": {
122
+ "tsconfig": "tsconfig.dev.json"
123
+ }
124
+ }
125
+ }
126
+ }
@@ -0,0 +1,6 @@
1
+ require('child_process').exec('git log --oneline -1 | grep -q "chore(release):"', (err) => {
2
+ if (err === null) {
3
+ console.log('❌ no change to release');
4
+ process.exit(1);
5
+ }
6
+ });
package/version.json ADDED
@@ -0,0 +1,3 @@
1
+ {
2
+ "version": "1.0.1-alpha.0"
3
+ }