@aws-solutions-constructs/core 1.124.0 → 2.0.0-rc.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.
Files changed (180) hide show
  1. package/.jsii +3785 -1435
  2. package/index.d.ts +2 -0
  3. package/index.js +3 -1
  4. package/lib/alb-defaults.d.ts +14 -0
  5. package/lib/alb-defaults.js +24 -0
  6. package/lib/alb-helper.d.ts +21 -0
  7. package/lib/alb-helper.js +106 -0
  8. package/lib/apigateway-defaults.d.ts +3 -3
  9. package/lib/apigateway-defaults.js +2 -2
  10. package/lib/apigateway-helper.d.ts +10 -10
  11. package/lib/apigateway-helper.js +14 -8
  12. package/lib/cloudfront-distribution-defaults.d.ts +4 -4
  13. package/lib/cloudfront-distribution-defaults.js +5 -5
  14. package/lib/cloudfront-distribution-helper.d.ts +8 -8
  15. package/lib/cloudfront-distribution-helper.js +15 -11
  16. package/lib/cloudwatch-log-group-defaults.d.ts +1 -1
  17. package/lib/cloudwatch-log-group-defaults.js +2 -2
  18. package/lib/cloudwatch-log-group-helper.d.ts +2 -2
  19. package/lib/cloudwatch-log-group-helper.js +2 -2
  20. package/lib/cognito-defaults.d.ts +1 -1
  21. package/lib/cognito-defaults.js +1 -1
  22. package/lib/cognito-helper.d.ts +3 -3
  23. package/lib/cognito-helper.js +4 -4
  24. package/lib/dynamodb-table-defaults.d.ts +1 -1
  25. package/lib/dynamodb-table-defaults.js +2 -2
  26. package/lib/dynamodb-table-helper.d.ts +2 -2
  27. package/lib/dynamodb-table-helper.js +2 -2
  28. package/lib/elasticsearch-defaults.d.ts +3 -3
  29. package/lib/elasticsearch-defaults.js +3 -3
  30. package/lib/elasticsearch-helper.d.ts +4 -4
  31. package/lib/elasticsearch-helper.js +5 -5
  32. package/lib/eventbridge-helper.d.ts +2 -2
  33. package/lib/eventbridge-helper.js +2 -2
  34. package/lib/events-rule-defaults.d.ts +1 -1
  35. package/lib/events-rule-defaults.js +1 -1
  36. package/lib/glue-database-defaults.d.ts +1 -1
  37. package/lib/glue-database-defaults.js +3 -3
  38. package/lib/glue-database-helper.d.ts +2 -2
  39. package/lib/glue-database-helper.js +2 -2
  40. package/lib/glue-job-defaults.d.ts +2 -2
  41. package/lib/glue-job-defaults.js +1 -1
  42. package/lib/glue-job-helper.d.ts +6 -6
  43. package/lib/glue-job-helper.js +9 -9
  44. package/lib/glue-table-defaults.d.ts +1 -1
  45. package/lib/glue-table-defaults.js +3 -3
  46. package/lib/glue-table-helper.d.ts +2 -2
  47. package/lib/glue-table-helper.js +2 -2
  48. package/lib/input-validation.d.ts +17 -12
  49. package/lib/input-validation.js +9 -2
  50. package/lib/iot-topic-rule-defaults.d.ts +1 -1
  51. package/lib/iot-topic-rule-defaults.js +1 -1
  52. package/lib/kinesis-analytics-defaults.d.ts +1 -1
  53. package/lib/kinesis-analytics-defaults.js +1 -1
  54. package/lib/kinesis-analytics-helper.d.ts +3 -3
  55. package/lib/kinesis-analytics-helper.js +3 -3
  56. package/lib/kinesis-firehose-s3-defaults.d.ts +2 -2
  57. package/lib/kinesis-firehose-s3-defaults.js +1 -1
  58. package/lib/kinesis-streams-defaults.d.ts +1 -1
  59. package/lib/kinesis-streams-defaults.js +2 -2
  60. package/lib/kinesis-streams-helper.d.ts +3 -3
  61. package/lib/kinesis-streams-helper.js +4 -4
  62. package/lib/kms-defaults.d.ts +1 -1
  63. package/lib/kms-defaults.js +1 -1
  64. package/lib/kms-helper.d.ts +2 -2
  65. package/lib/kms-helper.js +2 -2
  66. package/lib/lambda-defaults.d.ts +2 -2
  67. package/lib/lambda-defaults.js +2 -2
  68. package/lib/lambda-event-source-mapping-defaults.d.ts +3 -3
  69. package/lib/lambda-event-source-mapping-defaults.js +7 -7
  70. package/lib/lambda-helper.d.ts +3 -3
  71. package/lib/lambda-helper.js +4 -4
  72. package/lib/mediastore-defaults.d.ts +1 -1
  73. package/lib/mediastore-defaults.js +2 -2
  74. package/lib/mediastore-helper.d.ts +2 -2
  75. package/lib/mediastore-helper.js +3 -3
  76. package/lib/s3-bucket-defaults.d.ts +3 -2
  77. package/lib/s3-bucket-defaults.js +14 -5
  78. package/lib/s3-bucket-helper.d.ts +11 -5
  79. package/lib/s3-bucket-helper.js +36 -23
  80. package/lib/sagemaker-defaults.d.ts +1 -1
  81. package/lib/sagemaker-defaults.js +1 -1
  82. package/lib/sagemaker-helper.d.ts +4 -4
  83. package/lib/sagemaker-helper.js +7 -7
  84. package/lib/secretsmanager-defaults.d.ts +1 -1
  85. package/lib/secretsmanager-defaults.js +3 -3
  86. package/lib/secretsmanager-helper.d.ts +2 -2
  87. package/lib/secretsmanager-helper.js +2 -2
  88. package/lib/security-group-helper.d.ts +2 -2
  89. package/lib/security-group-helper.js +2 -2
  90. package/lib/sns-defaults.d.ts +1 -1
  91. package/lib/sns-defaults.js +1 -1
  92. package/lib/sns-helper.d.ts +3 -3
  93. package/lib/sns-helper.js +7 -7
  94. package/lib/sqs-defaults.d.ts +1 -1
  95. package/lib/sqs-defaults.js +2 -2
  96. package/lib/sqs-helper.d.ts +3 -3
  97. package/lib/sqs-helper.js +5 -5
  98. package/lib/ssm-string-parameter-helper.d.ts +2 -2
  99. package/lib/ssm-string-parameter-helper.js +2 -2
  100. package/lib/step-function-defaults.d.ts +2 -2
  101. package/lib/step-function-defaults.js +2 -2
  102. package/lib/step-function-helper.d.ts +4 -4
  103. package/lib/step-function-helper.js +5 -5
  104. package/lib/utils.d.ts +1 -1
  105. package/lib/utils.js +2 -2
  106. package/lib/vpc-defaults.d.ts +1 -1
  107. package/lib/vpc-defaults.js +3 -3
  108. package/lib/vpc-helper.d.ts +2 -2
  109. package/lib/vpc-helper.js +2 -2
  110. package/lib/waf-defaults.d.ts +1 -1
  111. package/lib/waf-defaults.js +1 -1
  112. package/lib/waf-helper.d.ts +2 -2
  113. package/lib/waf-helper.js +2 -2
  114. package/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
  115. package/node_modules/emoji-regex/README.md +73 -0
  116. package/node_modules/emoji-regex/es2015/index.js +6 -0
  117. package/node_modules/emoji-regex/es2015/text.js +6 -0
  118. package/node_modules/emoji-regex/index.d.ts +23 -0
  119. package/node_modules/emoji-regex/index.js +6 -0
  120. package/node_modules/emoji-regex/package.json +50 -0
  121. package/node_modules/emoji-regex/text.js +6 -0
  122. package/node_modules/wide-align/LICENSE +0 -0
  123. package/node_modules/wide-align/README.md +0 -0
  124. package/node_modules/wide-align/align.js +0 -0
  125. package/node_modules/wide-align/node_modules/ansi-regex/index.d.ts +37 -0
  126. package/node_modules/wide-align/node_modules/ansi-regex/index.js +4 -4
  127. package/node_modules/wide-align/node_modules/ansi-regex/package.json +53 -51
  128. package/node_modules/wide-align/node_modules/ansi-regex/readme.md +35 -3
  129. package/node_modules/wide-align/node_modules/is-fullwidth-code-point/index.d.ts +17 -0
  130. package/node_modules/wide-align/node_modules/is-fullwidth-code-point/index.js +25 -21
  131. package/node_modules/wide-align/node_modules/is-fullwidth-code-point/license +4 -16
  132. package/node_modules/wide-align/node_modules/is-fullwidth-code-point/package.json +40 -43
  133. package/node_modules/wide-align/node_modules/is-fullwidth-code-point/readme.md +6 -6
  134. package/node_modules/wide-align/node_modules/string-width/index.d.ts +29 -0
  135. package/node_modules/wide-align/node_modules/string-width/index.js +16 -5
  136. package/node_modules/wide-align/node_modules/string-width/package.json +11 -10
  137. package/node_modules/wide-align/node_modules/string-width/readme.md +15 -7
  138. package/node_modules/wide-align/node_modules/strip-ansi/index.d.ts +17 -0
  139. package/node_modules/wide-align/node_modules/strip-ansi/index.js +1 -1
  140. package/node_modules/wide-align/node_modules/strip-ansi/package.json +52 -50
  141. package/node_modules/wide-align/node_modules/strip-ansi/readme.md +12 -5
  142. package/node_modules/wide-align/package.json +5 -5
  143. package/package.json +9 -69
  144. package/test/alb-helper.test.d.ts +13 -0
  145. package/test/alb-helper.test.js +321 -0
  146. package/test/apigateway-helper.test.js +27 -20
  147. package/test/cloudfront-distribution-api-gateway-helper.test.js +12 -12
  148. package/test/cloudfront-distribution-mediastore-helper.test.js +12 -12
  149. package/test/cloudfront-distribution-s3-helper.test.js +33 -91
  150. package/test/cloudwatch-log-group-helper.test.js +6 -6
  151. package/test/congnito-helper.test.js +6 -6
  152. package/test/dynamo-table.test.js +13 -13
  153. package/test/elasticsearch-helper.test.js +6 -6
  154. package/test/eventbridge-helper.test.js +6 -6
  155. package/test/events-rule.test.js +9 -9
  156. package/test/glue-job-helper.test.js +25 -21
  157. package/test/glue-table-helper.test.js +6 -6
  158. package/test/input-validation.test.js +26 -26
  159. package/test/iot-rule.test.js +5 -5
  160. package/test/kinesis-analytics.test.js +4 -4
  161. package/test/kinesis-firehose-s3-defaults.test.js +5 -5
  162. package/test/kinesis-streams-defaults.test.js +5 -5
  163. package/test/kinesis-streams-helper.test.js +9 -9
  164. package/test/kms-helper.test.js +4 -4
  165. package/test/lambda-event-source.test.js +19 -19
  166. package/test/lambda-helper.test.js +24 -24
  167. package/test/mediastore-helper.test.js +3 -3
  168. package/test/s3-bucket-helper.test.js +65 -18
  169. package/test/s3-bucket.test.js +19 -10
  170. package/test/sagemaker-helper.test.js +13 -13
  171. package/test/secretsmanager-helper.test.js +5 -5
  172. package/test/security-group-helper.test.js +6 -6
  173. package/test/sns-helper.test.js +6 -6
  174. package/test/sqs-helper.test.js +4 -4
  175. package/test/ssm-string-parameter-helper.test.js +5 -5
  176. package/test/step-function-helper.test.js +7 -7
  177. package/test/test-helper.d.ts +2 -2
  178. package/test/test-helper.js +4 -4
  179. package/test/vpc-helper.test.js +16 -16
  180. package/test/waf-helper.test.js +5 -5
@@ -1,18 +1,25 @@
1
1
  'use strict';
2
2
  const stripAnsi = require('strip-ansi');
3
3
  const isFullwidthCodePoint = require('is-fullwidth-code-point');
4
+ const emojiRegex = require('emoji-regex');
4
5
 
5
- module.exports = str => {
6
- if (typeof str !== 'string' || str.length === 0) {
6
+ const stringWidth = string => {
7
+ if (typeof string !== 'string' || string.length === 0) {
7
8
  return 0;
8
9
  }
9
10
 
10
- str = stripAnsi(str);
11
+ string = stripAnsi(string);
12
+
13
+ if (string.length === 0) {
14
+ return 0;
15
+ }
16
+
17
+ string = string.replace(emojiRegex(), ' ');
11
18
 
12
19
  let width = 0;
13
20
 
14
- for (let i = 0; i < str.length; i++) {
15
- const code = str.codePointAt(i);
21
+ for (let i = 0; i < string.length; i++) {
22
+ const code = string.codePointAt(i);
16
23
 
17
24
  // Ignore control characters
18
25
  if (code <= 0x1F || (code >= 0x7F && code <= 0x9F)) {
@@ -34,3 +41,7 @@ module.exports = str => {
34
41
 
35
42
  return width;
36
43
  };
44
+
45
+ module.exports = stringWidth;
46
+ // TODO: remove this in the next major version
47
+ module.exports.default = stringWidth;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "string-width",
3
- "version": "2.1.1",
3
+ "version": "4.2.3",
4
4
  "description": "Get the visual width of a string - the number of columns required to display it",
5
5
  "license": "MIT",
6
6
  "repository": "sindresorhus/string-width",
@@ -10,19 +10,18 @@
10
10
  "url": "sindresorhus.com"
11
11
  },
12
12
  "engines": {
13
- "node": ">=4"
13
+ "node": ">=8"
14
14
  },
15
15
  "scripts": {
16
- "test": "xo && ava"
16
+ "test": "xo && ava && tsd"
17
17
  },
18
18
  "files": [
19
- "index.js"
19
+ "index.js",
20
+ "index.d.ts"
20
21
  ],
21
22
  "keywords": [
22
23
  "string",
23
- "str",
24
24
  "character",
25
- "char",
26
25
  "unicode",
27
26
  "width",
28
27
  "visual",
@@ -45,11 +44,13 @@
45
44
  "fixed-width"
46
45
  ],
47
46
  "dependencies": {
48
- "is-fullwidth-code-point": "^2.0.0",
49
- "strip-ansi": "^4.0.0"
47
+ "emoji-regex": "^8.0.0",
48
+ "is-fullwidth-code-point": "^3.0.0",
49
+ "strip-ansi": "^6.0.1"
50
50
  },
51
51
  "devDependencies": {
52
- "ava": "*",
53
- "xo": "*"
52
+ "ava": "^1.4.1",
53
+ "tsd": "^0.7.1",
54
+ "xo": "^0.24.0"
54
55
  }
55
56
  }
@@ -1,4 +1,4 @@
1
- # string-width [![Build Status](https://travis-ci.org/sindresorhus/string-width.svg?branch=master)](https://travis-ci.org/sindresorhus/string-width)
1
+ # string-width
2
2
 
3
3
  > Get the visual width of a string - the number of columns required to display it
4
4
 
@@ -19,14 +19,14 @@ $ npm install string-width
19
19
  ```js
20
20
  const stringWidth = require('string-width');
21
21
 
22
+ stringWidth('a');
23
+ //=> 1
24
+
22
25
  stringWidth('古');
23
26
  //=> 2
24
27
 
25
- stringWidth('\u001b[1m古\u001b[22m');
28
+ stringWidth('\u001B[1m古\u001B[22m');
26
29
  //=> 2
27
-
28
- stringWidth('a');
29
- //=> 1
30
30
  ```
31
31
 
32
32
 
@@ -37,6 +37,14 @@ stringWidth('a');
37
37
  - [widest-line](https://github.com/sindresorhus/widest-line) - Get the visual width of the widest line in a string
38
38
 
39
39
 
40
- ## License
40
+ ---
41
41
 
42
- MIT © [Sindre Sorhus](https://sindresorhus.com)
42
+ <div align="center">
43
+ <b>
44
+ <a href="https://tidelift.com/subscription/pkg/npm-string-width?utm_source=npm-string-width&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
45
+ </b>
46
+ <br>
47
+ <sub>
48
+ Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
49
+ </sub>
50
+ </div>
@@ -0,0 +1,17 @@
1
+ /**
2
+ Strip [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) from a string.
3
+
4
+ @example
5
+ ```
6
+ import stripAnsi = require('strip-ansi');
7
+
8
+ stripAnsi('\u001B[4mUnicorn\u001B[0m');
9
+ //=> 'Unicorn'
10
+
11
+ stripAnsi('\u001B]8;;https://github.com\u0007Click\u001B]8;;\u0007');
12
+ //=> 'Click'
13
+ ```
14
+ */
15
+ declare function stripAnsi(string: string): string;
16
+
17
+ export = stripAnsi;
@@ -1,4 +1,4 @@
1
1
  'use strict';
2
2
  const ansiRegex = require('ansi-regex');
3
3
 
4
- module.exports = input => typeof input === 'string' ? input.replace(ansiRegex(), '') : input;
4
+ module.exports = string => typeof string === 'string' ? string.replace(ansiRegex(), '') : string;
@@ -1,52 +1,54 @@
1
1
  {
2
- "name": "strip-ansi",
3
- "version": "4.0.0",
4
- "description": "Strip ANSI escape codes",
5
- "license": "MIT",
6
- "repository": "chalk/strip-ansi",
7
- "author": {
8
- "name": "Sindre Sorhus",
9
- "email": "sindresorhus@gmail.com",
10
- "url": "sindresorhus.com"
11
- },
12
- "engines": {
13
- "node": ">=4"
14
- },
15
- "scripts": {
16
- "test": "xo && ava"
17
- },
18
- "files": [
19
- "index.js"
20
- ],
21
- "keywords": [
22
- "strip",
23
- "trim",
24
- "remove",
25
- "ansi",
26
- "styles",
27
- "color",
28
- "colour",
29
- "colors",
30
- "terminal",
31
- "console",
32
- "string",
33
- "tty",
34
- "escape",
35
- "formatting",
36
- "rgb",
37
- "256",
38
- "shell",
39
- "xterm",
40
- "log",
41
- "logging",
42
- "command-line",
43
- "text"
44
- ],
45
- "dependencies": {
46
- "ansi-regex": "^3.0.0"
47
- },
48
- "devDependencies": {
49
- "ava": "*",
50
- "xo": "*"
51
- }
2
+ "name": "strip-ansi",
3
+ "version": "6.0.1",
4
+ "description": "Strip ANSI escape codes from a string",
5
+ "license": "MIT",
6
+ "repository": "chalk/strip-ansi",
7
+ "author": {
8
+ "name": "Sindre Sorhus",
9
+ "email": "sindresorhus@gmail.com",
10
+ "url": "sindresorhus.com"
11
+ },
12
+ "engines": {
13
+ "node": ">=8"
14
+ },
15
+ "scripts": {
16
+ "test": "xo && ava && tsd"
17
+ },
18
+ "files": [
19
+ "index.js",
20
+ "index.d.ts"
21
+ ],
22
+ "keywords": [
23
+ "strip",
24
+ "trim",
25
+ "remove",
26
+ "ansi",
27
+ "styles",
28
+ "color",
29
+ "colour",
30
+ "colors",
31
+ "terminal",
32
+ "console",
33
+ "string",
34
+ "tty",
35
+ "escape",
36
+ "formatting",
37
+ "rgb",
38
+ "256",
39
+ "shell",
40
+ "xterm",
41
+ "log",
42
+ "logging",
43
+ "command-line",
44
+ "text"
45
+ ],
46
+ "dependencies": {
47
+ "ansi-regex": "^5.0.1"
48
+ },
49
+ "devDependencies": {
50
+ "ava": "^2.4.0",
51
+ "tsd": "^0.10.0",
52
+ "xo": "^0.25.3"
53
+ }
52
54
  }
@@ -1,6 +1,6 @@
1
1
  # strip-ansi [![Build Status](https://travis-ci.org/chalk/strip-ansi.svg?branch=master)](https://travis-ci.org/chalk/strip-ansi)
2
2
 
3
- > Strip [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code)
3
+ > Strip [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) from a string
4
4
 
5
5
 
6
6
  ## Install
@@ -17,12 +17,23 @@ const stripAnsi = require('strip-ansi');
17
17
 
18
18
  stripAnsi('\u001B[4mUnicorn\u001B[0m');
19
19
  //=> 'Unicorn'
20
+
21
+ stripAnsi('\u001B]8;;https://github.com\u0007Click\u001B]8;;\u0007');
22
+ //=> 'Click'
20
23
  ```
21
24
 
22
25
 
26
+ ## strip-ansi for enterprise
27
+
28
+ Available as part of the Tidelift Subscription.
29
+
30
+ The maintainers of strip-ansi and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-strip-ansi?utm_source=npm-strip-ansi&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)
31
+
32
+
23
33
  ## Related
24
34
 
25
35
  - [strip-ansi-cli](https://github.com/chalk/strip-ansi-cli) - CLI for this module
36
+ - [strip-ansi-stream](https://github.com/chalk/strip-ansi-stream) - Streaming version of this module
26
37
  - [has-ansi](https://github.com/chalk/has-ansi) - Check if a string has ANSI escape codes
27
38
  - [ansi-regex](https://github.com/chalk/ansi-regex) - Regular expression for matching ANSI escape codes
28
39
  - [chalk](https://github.com/chalk/chalk) - Terminal string styling done right
@@ -33,7 +44,3 @@ stripAnsi('\u001B[4mUnicorn\u001B[0m');
33
44
  - [Sindre Sorhus](https://github.com/sindresorhus)
34
45
  - [Josh Junon](https://github.com/qix-)
35
46
 
36
-
37
- ## License
38
-
39
- MIT
@@ -1,11 +1,10 @@
1
1
  {
2
2
  "name": "wide-align",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "description": "A wide-character aware text alignment function for use on the console or with fixed width fonts.",
5
5
  "main": "align.js",
6
6
  "scripts": {
7
- "test": "tap --coverage test/*.js",
8
- "version": "perl -pi -e 's/^( \"version\": $ENV{npm_config_node_version}\").*?\",/$1abc\",/' package-lock.json ; git add package-lock.json"
7
+ "test": "tap --coverage test/*.js"
9
8
  },
10
9
  "keywords": [
11
10
  "wide",
@@ -21,11 +20,12 @@
21
20
  "type": "git",
22
21
  "url": "https://github.com/iarna/wide-align"
23
22
  },
23
+ "//": "But not version 5 of string-width, as that's ESM only",
24
24
  "dependencies": {
25
- "string-width": "^1.0.2 || 2"
25
+ "string-width": "^1.0.2 || 2 || 3 || 4"
26
26
  },
27
27
  "devDependencies": {
28
- "tap": "10 || 11 || 12"
28
+ "tap": "*"
29
29
  },
30
30
  "files": [
31
31
  "align.js"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-solutions-constructs/core",
3
- "version": "1.124.0",
3
+ "version": "2.0.0-rc.2",
4
4
  "description": "Core CDK Construct for patterns library",
5
5
  "main": "index.js",
6
6
  "types": "index.ts",
@@ -23,9 +23,9 @@
23
23
  "clean": "tsc -b --clean",
24
24
  "watch": "tsc -b -w",
25
25
  "integ": "cdk-integ",
26
- "integ-assert": "cdk-integ-assert",
26
+ "integ-assert": "cdk-integ-assert-v2",
27
27
  "jsii": "jsii",
28
- "jsii-pacmak": "jsii-pacmak",
28
+ "jsii-pacmak": "jsii-pacmak --targets js java python",
29
29
  "build+lint+test": "npm run jsii && npm run lint && npm test && npm run integ-assert",
30
30
  "snapshot-update": "npm test -- -u"
31
31
  },
@@ -52,38 +52,6 @@
52
52
  }
53
53
  },
54
54
  "dependencies": {
55
- "@aws-cdk/aws-cloudfront": "1.124.0",
56
- "@aws-cdk/aws-cloudfront-origins": "1.124.0",
57
- "@aws-cdk/aws-dynamodb": "1.124.0",
58
- "@aws-cdk/aws-glue": "1.124.0",
59
- "@aws-cdk/aws-iot": "1.124.0",
60
- "@aws-cdk/aws-kinesis": "1.124.0",
61
- "@aws-cdk/aws-kinesisanalytics": "1.124.0",
62
- "@aws-cdk/aws-kinesisfirehose": "1.124.0",
63
- "@aws-cdk/aws-lambda": "1.124.0",
64
- "@aws-cdk/aws-lambda-event-sources": "1.124.0",
65
- "@aws-cdk/aws-logs": "1.124.0",
66
- "@aws-cdk/aws-s3": "1.124.0",
67
- "@aws-cdk/aws-s3-notifications": "1.124.0",
68
- "@aws-cdk/aws-sns": "1.124.0",
69
- "@aws-cdk/aws-sqs": "1.124.0",
70
- "@aws-cdk/core": "1.124.0",
71
- "@aws-cdk/aws-iam": "1.124.0",
72
- "@aws-cdk/aws-apigateway": "1.124.0",
73
- "@aws-cdk/aws-kms": "1.124.0",
74
- "@aws-cdk/aws-events": "1.124.0",
75
- "@aws-cdk/aws-cognito": "1.124.0",
76
- "@aws-cdk/aws-elasticsearch": "1.124.0",
77
- "@aws-cdk/aws-cloudwatch": "1.124.0",
78
- "@aws-cdk/aws-stepfunctions": "1.124.0",
79
- "@aws-cdk/aws-certificatemanager": "1.124.0",
80
- "@aws-cdk/aws-sagemaker": "1.124.0",
81
- "@aws-cdk/aws-ec2": "1.124.0",
82
- "@aws-cdk/aws-mediastore": "1.124.0",
83
- "@aws-cdk/aws-s3-assets": "1.124.0",
84
- "@aws-cdk/aws-secretsmanager": "1.124.0",
85
- "@aws-cdk/aws-ssm": "1.124.0",
86
- "@aws-cdk/aws-wafv2": "1.124.0",
87
55
  "@types/deep-diff": "^1.0.0",
88
56
  "@types/npmlog": "^4.1.2",
89
57
  "deep-diff": "^1.0.2",
@@ -91,9 +59,11 @@
91
59
  "npmlog": "^4.1.2"
92
60
  },
93
61
  "devDependencies": {
94
- "@aws-cdk/assert": "1.124.0",
62
+ "@aws-cdk/assert": "2.0.0-rc.23",
95
63
  "@types/jest": "^26.0.22",
96
- "@types/node": "^10.3.0"
64
+ "@types/node": "^10.3.0",
65
+ "aws-cdk-lib": "2.0.0-rc.23",
66
+ "constructs": "^10.0.0"
97
67
  },
98
68
  "jest": {
99
69
  "moduleFileExtensions": [
@@ -117,37 +87,7 @@
117
87
  "@types/deep-diff"
118
88
  ],
119
89
  "peerDependencies": {
120
- "@aws-cdk/aws-cloudfront": "1.124.0",
121
- "@aws-cdk/aws-dynamodb": "1.124.0",
122
- "@aws-cdk/aws-iot": "1.124.0",
123
- "@aws-cdk/aws-kinesis": "1.124.0",
124
- "@aws-cdk/aws-kinesisanalytics": "1.124.0",
125
- "@aws-cdk/aws-kinesisfirehose": "1.124.0",
126
- "@aws-cdk/aws-lambda": "1.124.0",
127
- "@aws-cdk/aws-lambda-event-sources": "1.124.0",
128
- "@aws-cdk/aws-logs": "1.124.0",
129
- "@aws-cdk/aws-s3": "1.124.0",
130
- "@aws-cdk/aws-s3-notifications": "1.124.0",
131
- "@aws-cdk/aws-sns": "1.124.0",
132
- "@aws-cdk/aws-sqs": "1.124.0",
133
- "@aws-cdk/core": "1.124.0",
134
- "@aws-cdk/aws-iam": "1.124.0",
135
- "@aws-cdk/aws-apigateway": "1.124.0",
136
- "@aws-cdk/aws-kms": "1.124.0",
137
- "@aws-cdk/aws-events": "1.124.0",
138
- "@aws-cdk/aws-cognito": "1.124.0",
139
- "@aws-cdk/aws-elasticsearch": "1.124.0",
140
- "@aws-cdk/aws-cloudwatch": "1.124.0",
141
- "@aws-cdk/aws-stepfunctions": "1.124.0",
142
- "@aws-cdk/aws-cloudfront-origins": "1.124.0",
143
- "@aws-cdk/aws-certificatemanager": "1.124.0",
144
- "@aws-cdk/aws-sagemaker": "1.124.0",
145
- "@aws-cdk/aws-ec2": "1.124.0",
146
- "@aws-cdk/aws-mediastore": "1.124.0",
147
- "@aws-cdk/aws-glue": "1.124.0",
148
- "@aws-cdk/aws-s3-assets": "1.124.0",
149
- "@aws-cdk/aws-secretsmanager": "1.124.0",
150
- "@aws-cdk/aws-ssm": "1.124.0",
151
- "@aws-cdk/aws-wafv2": "1.124.0"
90
+ "aws-cdk-lib": "^2.0.0-rc.23",
91
+ "constructs": "^10.0.0"
152
92
  }
153
93
  }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
5
+ * with the License. A copy of the License is located at
6
+ *
7
+ * http://www.apache.org/licenses/LICENSE-2.0
8
+ *
9
+ * or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
10
+ * OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
11
+ * and limitations under the License.
12
+ */
13
+ import '@aws-cdk/assert/jest';