@ndlib/ndlib-cdk2 1.0.28 → 1.0.30

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 (328) hide show
  1. package/README.md +37 -10
  2. package/lib/ec2s/ec2-with-database.d.ts +13 -8
  3. package/lib/ec2s/ec2-with-database.js +54 -15
  4. package/lib/index.d.ts +1 -0
  5. package/lib/index.js +1 -0
  6. package/lib/rds/postgres-stack.d.ts +27 -0
  7. package/lib/rds/postgres-stack.js +117 -0
  8. package/package.json +11 -11
  9. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/CHANGELOG.md +0 -76
  10. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/LICENSE +0 -201
  11. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/README.md +0 -16
  12. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/build/aws_crc32.d.ts +0 -7
  13. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/build/aws_crc32.js +0 -31
  14. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/build/aws_crc32.js.map +0 -1
  15. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/build/index.d.ts +0 -7
  16. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/build/index.js +0 -108
  17. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/build/index.js.map +0 -1
  18. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/CopyrightNotice.txt +0 -15
  19. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/LICENSE.txt +0 -12
  20. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/README.md +0 -142
  21. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/modules/index.js +0 -51
  22. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/modules/package.json +0 -3
  23. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/package.json +0 -37
  24. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js +0 -23
  25. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json +0 -6
  26. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/tslib.d.ts +0 -37
  27. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/tslib.es6.html +0 -1
  28. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/tslib.es6.js +0 -218
  29. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/tslib.html +0 -1
  30. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/node_modules/tslib/tslib.js +0 -284
  31. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/package.json +0 -28
  32. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/src/aws_crc32.ts +0 -24
  33. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/src/index.ts +0 -92
  34. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/crc32/tsconfig.json +0 -23
  35. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/credentialDefaultProvider.js +0 -29
  36. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-es/credentialDefaultProvider.js +0 -3
  37. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/credentialDefaultProvider.d.ts +0 -4
  38. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/credentialDefaultProvider.d.ts +0 -1
  39. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-cjs/credentialDefaultProvider.js +0 -29
  40. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-es/credentialDefaultProvider.js +0 -3
  41. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/credentialDefaultProvider.d.ts +0 -4
  42. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/credentialDefaultProvider.d.ts +0 -1
  43. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/CHANGELOG.md +0 -261
  44. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/api-extractor.json +0 -4
  45. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/client/emitWarningIfUnsupportedVersion.js +0 -1
  46. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/client/index.js +0 -1
  47. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +0 -1
  48. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/index.js +0 -1
  49. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +0 -1
  50. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/index.js +0 -1
  51. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getDateHeader.js +0 -1
  52. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getSkewCorrectedDate.js +0 -1
  53. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +0 -1
  54. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/index.js +0 -1
  55. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/isClockSkewed.js +0 -1
  56. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/coercing-serializers.js +0 -1
  57. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/common.js +0 -1
  58. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/index.js +0 -1
  59. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/json/awsExpectUnion.js +0 -1
  60. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/json/parseJsonBody.js +0 -1
  61. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/xml/parseXmlBody.js +0 -1
  62. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/client/emitWarningIfUnsupportedVersion.js +0 -13
  63. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/client/index.js +0 -1
  64. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +0 -60
  65. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/aws_sdk/index.js +0 -2
  66. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +0 -82
  67. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/index.js +0 -1
  68. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/utils/getDateHeader.js +0 -2
  69. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/utils/getSkewCorrectedDate.js +0 -1
  70. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +0 -8
  71. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/utils/index.js +0 -3
  72. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/utils/isClockSkewed.js +0 -2
  73. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/coercing-serializers.js +0 -53
  74. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/common.js +0 -2
  75. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/index.js +0 -4
  76. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/json/awsExpectUnion.js +0 -10
  77. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/json/parseJsonBody.js +0 -51
  78. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/xml/parseXmlBody.js +0 -57
  79. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/client/emitWarningIfUnsupportedVersion.d.ts +0 -9
  80. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/client/index.d.ts +0 -1
  81. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +0 -17
  82. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/aws_sdk/index.d.ts +0 -2
  83. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +0 -95
  84. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/index.d.ts +0 -1
  85. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/utils/getDateHeader.d.ts +0 -4
  86. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/utils/getSkewCorrectedDate.d.ts +0 -8
  87. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +0 -10
  88. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/utils/index.d.ts +0 -3
  89. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/utils/isClockSkewed.d.ts +0 -9
  90. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/coercing-serializers.d.ts +0 -18
  91. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/common.d.ts +0 -2
  92. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/index.d.ts +0 -4
  93. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/json/awsExpectUnion.d.ts +0 -7
  94. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/json/parseJsonBody.d.ts +0 -4
  95. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/xml/parseXmlBody.d.ts +0 -4
  96. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/client/emitWarningIfUnsupportedVersion.d.ts +0 -1
  97. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/client/index.d.ts +0 -1
  98. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +0 -21
  99. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/aws_sdk/index.d.ts +0 -2
  100. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +0 -55
  101. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/index.d.ts +0 -1
  102. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/utils/getDateHeader.d.ts +0 -1
  103. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/utils/getSkewCorrectedDate.d.ts +0 -1
  104. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +0 -4
  105. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/utils/index.d.ts +0 -3
  106. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/utils/isClockSkewed.d.ts +0 -4
  107. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/coercing-serializers.d.ts +0 -3
  108. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/common.d.ts +0 -5
  109. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/index.d.ts +0 -4
  110. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/json/awsExpectUnion.d.ts +0 -3
  111. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/json/parseJsonBody.d.ts +0 -13
  112. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/xml/parseXmlBody.d.ts +0 -13
  113. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/integ/request-handlers/request-handlers.integ.spec.ts +0 -158
  114. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/jest.config.integ.js +0 -4
  115. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/jest.config.js +0 -6
  116. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/scripts/lint.js +0 -24
  117. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/client/emitWarningIfUnsupportedVersion.spec.ts +0 -70
  118. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/client/emitWarningIfUnsupportedVersion.ts +0 -25
  119. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/client/index.ts +0 -1
  120. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.spec.ts +0 -30
  121. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.ts +0 -134
  122. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/index.ts +0 -2
  123. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.ts +0 -244
  124. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/index.ts +0 -1
  125. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getDateHeader.ts +0 -7
  126. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getSkewCorrectedDate.spec.ts +0 -17
  127. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getSkewCorrectedDate.ts +0 -8
  128. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getUpdatedSystemClockOffset.spec.ts +0 -37
  129. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getUpdatedSystemClockOffset.ts +0 -18
  130. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/index.ts +0 -3
  131. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/isClockSkewed.spec.ts +0 -32
  132. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/isClockSkewed.ts +0 -12
  133. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/index.ts +0 -3
  134. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/coercing-serializers.spec.ts +0 -76
  135. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/coercing-serializers.ts +0 -72
  136. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/common.ts +0 -5
  137. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/index.ts +0 -4
  138. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/json/awsExpectUnion.spec.ts +0 -30
  139. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/json/awsExpectUnion.ts +0 -17
  140. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/json/parseJsonBody.ts +0 -60
  141. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/xml/parseXmlBody.ts +0 -64
  142. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.cjs.json +0 -9
  143. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.cjs.tsbuildinfo +0 -1
  144. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.es.json +0 -9
  145. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.es.tsbuildinfo +0 -1
  146. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.types.json +0 -9
  147. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.types.tsbuildinfo +0 -1
  148. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/loadSts.js +0 -1
  149. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/dist-es/loadSts.js +0 -2
  150. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/dist-types/loadSts.d.ts +0 -3
  151. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/loadSts.d.ts +0 -3
  152. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/loadSts.js +0 -5
  153. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/loadSts.js +0 -2
  154. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/loadSts.d.ts +0 -3
  155. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/loadSts.d.ts +0 -3
  156. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/token-providers/dist-cjs/loadSsoOidc.js +0 -1
  157. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/token-providers/dist-es/loadSsoOidc.js +0 -2
  158. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/token-providers/dist-types/loadSsoOidc.d.ts +0 -2
  159. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/loadSsoOidc.d.ts +0 -2
  160. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/LICENSE +0 -201
  161. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/README.md +0 -4
  162. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/EventStreamCodec.js +0 -1
  163. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/HeaderMarshaller.js +0 -1
  164. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/Int64.js +0 -1
  165. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/Message.js +0 -1
  166. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/MessageDecoderStream.js +0 -1
  167. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/MessageEncoderStream.js +0 -1
  168. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/SmithyMessageDecoderStream.js +0 -1
  169. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/SmithyMessageEncoderStream.js +0 -1
  170. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/TestVectors.fixture.js +0 -1
  171. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/index.js +0 -468
  172. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/splitMessage.js +0 -1
  173. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-cjs/vectorTypes.fixture.js +0 -1
  174. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/EventStreamCodec.js +0 -62
  175. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/HeaderMarshaller.js +0 -182
  176. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/Int64.js +0 -43
  177. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/Message.js +0 -1
  178. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/MessageDecoderStream.js +0 -14
  179. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/MessageEncoderStream.js +0 -17
  180. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageDecoderStream.js +0 -16
  181. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageEncoderStream.js +0 -14
  182. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/TestVectors.fixture.js +0 -690
  183. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/index.js +0 -8
  184. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/splitMessage.js +0 -30
  185. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-es/vectorTypes.fixture.js +0 -1
  186. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/EventStreamCodec.d.ts +0 -31
  187. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/HeaderMarshaller.d.ts +0 -12
  188. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/Int64.d.ts +0 -20
  189. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/Message.d.ts +0 -26
  190. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/MessageDecoderStream.d.ts +0 -17
  191. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/MessageEncoderStream.d.ts +0 -18
  192. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/SmithyMessageDecoderStream.d.ts +0 -17
  193. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/SmithyMessageEncoderStream.d.ts +0 -17
  194. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/TestVectors.fixture.d.ts +0 -2
  195. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/index.d.ts +0 -8
  196. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/splitMessage.d.ts +0 -11
  197. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/EventStreamCodec.d.ts +0 -31
  198. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/HeaderMarshaller.d.ts +0 -12
  199. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/Int64.d.ts +0 -20
  200. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/Message.d.ts +0 -26
  201. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/MessageDecoderStream.d.ts +0 -17
  202. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/MessageEncoderStream.d.ts +0 -18
  203. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/SmithyMessageDecoderStream.d.ts +0 -17
  204. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/SmithyMessageEncoderStream.d.ts +0 -17
  205. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/TestVectors.fixture.d.ts +0 -2
  206. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/index.d.ts +0 -8
  207. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/splitMessage.d.ts +0 -11
  208. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/vectorTypes.fixture.d.ts +0 -12
  209. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/dist-types/vectorTypes.fixture.d.ts +0 -12
  210. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/package.json +0 -61
  211. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/CHANGELOG.md +0 -229
  212. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/CONTRIBUTING.md +0 -18
  213. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/LICENSE.md +0 -9
  214. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/README.md +0 -505
  215. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/bin/uuid +0 -2
  216. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/index.js +0 -9
  217. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/md5.js +0 -215
  218. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/nil.js +0 -1
  219. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/parse.js +0 -35
  220. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/regex.js +0 -1
  221. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/rng.js +0 -19
  222. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/sha1.js +0 -96
  223. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/stringify.js +0 -30
  224. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v1.js +0 -95
  225. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v3.js +0 -4
  226. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v35.js +0 -64
  227. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v4.js +0 -24
  228. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v5.js +0 -4
  229. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/validate.js +0 -7
  230. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/version.js +0 -11
  231. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/index.js +0 -9
  232. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/md5.js +0 -13
  233. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/nil.js +0 -1
  234. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/parse.js +0 -35
  235. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/regex.js +0 -1
  236. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/rng.js +0 -12
  237. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/sha1.js +0 -13
  238. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/stringify.js +0 -29
  239. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v1.js +0 -95
  240. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v3.js +0 -4
  241. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v35.js +0 -64
  242. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v4.js +0 -24
  243. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v5.js +0 -4
  244. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/validate.js +0 -7
  245. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/version.js +0 -11
  246. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/index.js +0 -79
  247. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/md5-browser.js +0 -223
  248. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/md5.js +0 -23
  249. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/nil.js +0 -8
  250. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/parse.js +0 -45
  251. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/regex.js +0 -8
  252. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/rng-browser.js +0 -26
  253. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/rng.js +0 -24
  254. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/sha1-browser.js +0 -104
  255. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/sha1.js +0 -23
  256. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/stringify.js +0 -39
  257. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuid.min.js +0 -1
  258. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidNIL.min.js +0 -1
  259. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidParse.min.js +0 -1
  260. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidStringify.min.js +0 -1
  261. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidValidate.min.js +0 -1
  262. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidVersion.min.js +0 -1
  263. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidv1.min.js +0 -1
  264. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidv3.min.js +0 -1
  265. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidv4.min.js +0 -1
  266. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidv5.min.js +0 -1
  267. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/uuid-bin.js +0 -85
  268. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v1.js +0 -107
  269. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v3.js +0 -16
  270. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v35.js +0 -78
  271. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v4.js +0 -37
  272. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v5.js +0 -16
  273. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/validate.js +0 -17
  274. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/version.js +0 -21
  275. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/package.json +0 -135
  276. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/node_modules/uuid/wrapper.mjs +0 -10
  277. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/commonjs/parse-args.d.ts.map +0 -1
  278. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/commonjs/parse-args.js.map +0 -1
  279. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts +0 -2
  280. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts.map +0 -1
  281. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/assert-valid-pattern.js +0 -14
  282. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/assert-valid-pattern.js.map +0 -1
  283. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/ast.d.ts +0 -19
  284. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/ast.d.ts.map +0 -1
  285. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/ast.js +0 -589
  286. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/ast.js.map +0 -1
  287. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/brace-expressions.d.ts +0 -8
  288. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/brace-expressions.d.ts.map +0 -1
  289. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/brace-expressions.js +0 -152
  290. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/brace-expressions.js.map +0 -1
  291. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/escape.d.ts +0 -12
  292. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/escape.d.ts.map +0 -1
  293. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/escape.js +0 -22
  294. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/escape.js.map +0 -1
  295. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/index.d.ts +0 -94
  296. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/index.d.ts.map +0 -1
  297. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/index.js +0 -1011
  298. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/index.js.map +0 -1
  299. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/package.json +0 -3
  300. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/unescape.d.ts +0 -17
  301. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/unescape.d.ts.map +0 -1
  302. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/unescape.js +0 -24
  303. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/cjs/unescape.js.map +0 -1
  304. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts +0 -2
  305. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts.map +0 -1
  306. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/assert-valid-pattern.js +0 -10
  307. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/assert-valid-pattern.js.map +0 -1
  308. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/ast.d.ts +0 -19
  309. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/ast.d.ts.map +0 -1
  310. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/ast.js +0 -585
  311. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/ast.js.map +0 -1
  312. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/brace-expressions.d.ts +0 -8
  313. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/brace-expressions.d.ts.map +0 -1
  314. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/brace-expressions.js +0 -148
  315. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/brace-expressions.js.map +0 -1
  316. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/escape.d.ts +0 -12
  317. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/escape.d.ts.map +0 -1
  318. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/escape.js +0 -18
  319. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/escape.js.map +0 -1
  320. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/index.d.ts +0 -94
  321. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/index.d.ts.map +0 -1
  322. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/index.js +0 -995
  323. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/index.js.map +0 -1
  324. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/package.json +0 -3
  325. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/unescape.d.ts +0 -17
  326. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/unescape.d.ts.map +0 -1
  327. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/unescape.js +0 -20
  328. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/mjs/unescape.js.map +0 -1
package/README.md CHANGED
@@ -362,9 +362,9 @@ new SourceWatcher(stack, 'TestProject', {
362
362
  NOTE: `webhookResourceStackName` refers to a stack which will manage contains the backend for a CustomResource webhook. Prior to using this construct, an instance of [ndlib/aws-github-webhook](https://github.com/ndlib/aws-github-webhook) should be deployed to the AWS account. One stack can be used for any number of SourceWatcher constructs.
363
363
 
364
364
 
365
- ## EC2 server with access to RDS
365
+ ## EC2 server with access rules
366
366
 
367
- The EC2withDatabase construct builds an EC2 server similar to those used in a large number of our services. The basic concept is to build the server with security group access to an AWS RDS database server. The server is built within an existing VPC. Parameters allow for AMI ID, instance type, root disk storage, IP address, networking, and security group rules for the server upon build. The server is created with the OS only; further configuration will need to be performed, often using ansible.
367
+ The EC2withDatabase construct builds an EC2 server. The basic concept is to build the server with security group access to, possibly, several AWS RDS database servers. The server is built within an existing VPC. Parameters allow for AMI ID, instance type, root disk storage, networking, and security group rules for the server upon build. The server is created with the OS only; further configuration will need to be performed, often using ansible.
368
368
 
369
369
  Example usage:
370
370
 
@@ -380,29 +380,56 @@ new EC2withDatabase (app, 'StackName', {
380
380
  env: { account: 'AccountID', region: 'us-east-1' },
381
381
  amiId: "Valid AMI Id",
382
382
  availabilityZones: [ "us-east-1c" ],
383
+ backup: 'True',
383
384
  instanceClass: ec2.InstanceClass.T3A,
384
385
  instanceSize: ec2.InstanceSize.MEDIUM,
385
386
  instanceName: "InstanceName",
386
387
  keyName: "libnd",
387
388
  privateIpAddress: "IPAddress",
388
- publicSubnetIds: [ "ValidSubnet in VPC" ],
389
+ publicSubnetIds: [ "ValidSubnet in VPC that matches up with AvailabilityZone" ],
389
390
  domainName: "Local domain name",
390
- cnameList: [ Array of cnames/additional IPs to be added ],
391
+ CnameList: [ Array of cnames/additional IPs to be added ],
391
392
  volumeSize: Number (in GB),
392
393
  vpcId: "Valid VPC ID",
393
- sg_ingress_db: 'Security Group of database for access',
394
- sg_ingress_db_port: PortNumber,
395
- sg_ingress_rules: [
394
+ SGDBAccessRules: [
395
+ {
396
+ "database": "sg-088a1b9d4918effb3", // Security groups that provide access to an RDS database
397
+ "port": 3306, // Can be multiple or none at all
398
+ "description": "MySQL access from jumpbox"
399
+ },
400
+ ],
401
+ SGIngressRules: [
396
402
  {
397
- "ipv4": "10.32.0.0/11",
398
- "port": 22,
403
+ "ipv4": "10.32.0.0/11", // Additional access rules to allow connection to the server
404
+ "port": 22, // Can be multiple or none at all
399
405
  "description": "SSH access from campus"
400
406
  },
401
407
  ],
402
408
  });
403
409
  ```
404
410
 
405
-
411
+ ## RDS Build - Postgres
412
+
413
+ Creates a Postgres Serverless V2 database cluster with one writer instance. Several pieces of information must be sent in to the build procedure. This first pass was created specifically for DEC and may change over time.
414
+
415
+ new PostgresRDSConstruct(this, `rds-peered-postgres-dec-${props.namespace}`, {
416
+ availabilityZones: vpc.availabilityZones, // Must be passed in; must align with subnets
417
+ dbClusterIdentifier: 'whatever-you-want-the-name-to-be, // Name of the database cluster
418
+ dbFullVersion: AuroraPostgresEngineVersion.VER_16_4, // Can be any valid version of Postgres
419
+ pgVersion: AuroraPostgresEngineVersion.VER_16_4, // Gives option of parameter group to be different
420
+ rdsPostgresSecret: `whatever-you-want-secret-name`, // Secret with Postgres user password created
421
+ privateSubnetIds: this.vpc.privateSubnets.map(subnet => subnet.subnetId), // Must be passed in
422
+ SGIngressRules: [ // Additional rules for database access; can be empty
423
+ {
424
+ "ipv4": "10.58.250.75/32",
425
+ "port": 5432,
426
+ "description": "Postgres access to conductor server"
427
+ },
428
+ ],
429
+ useVpcId: this.vpc.vpcId,
430
+ // env: props.env,
431
+ })
432
+ Tags.of(this.PostgresDatabase).add('Backup', 'True') // The RDS should be tagged for backup
406
433
 
407
434
  ## Slack Integration
408
435
 
@@ -1,6 +1,12 @@
1
- import { aws_ec2, Stack, StackProps } from 'aws-cdk-lib';
1
+ import { Stack, StackProps } from 'aws-cdk-lib';
2
+ import { InstanceClass, InstanceSize } from 'aws-cdk-lib/aws-ec2';
2
3
  import { Construct } from 'constructs';
3
- export interface IIngress_Rule {
4
+ export interface AccessRule {
5
+ readonly database: string;
6
+ readonly port: number;
7
+ readonly description: string;
8
+ }
9
+ export interface IIngressRule {
4
10
  readonly ipv4: string;
5
11
  readonly port: number;
6
12
  readonly description: string;
@@ -8,17 +14,16 @@ export interface IIngress_Rule {
8
14
  export interface ServiceStackProps extends StackProps {
9
15
  readonly amiId: string;
10
16
  readonly availabilityZones: string[];
11
- readonly instanceClass: aws_ec2.InstanceClass;
12
- readonly instanceSize: aws_ec2.InstanceSize;
17
+ readonly backup?: string;
18
+ readonly instanceClass: InstanceClass;
19
+ readonly instanceSize: InstanceSize;
13
20
  readonly instanceName: string;
14
21
  readonly keyName: string;
15
- readonly privateIpAddress: string;
16
22
  readonly publicSubnetIds: string[];
17
23
  readonly volumeSize: number;
18
24
  readonly vpcId: string;
19
- readonly sg_ingress_rules: IIngress_Rule[];
20
- readonly sg_ingress_db: string;
21
- readonly sg_ingress_db_port: number;
25
+ readonly SGIngressRules?: IIngressRule[];
26
+ readonly SGDBAccessRules?: AccessRule[];
22
27
  readonly domainName: string;
23
28
  readonly privateDomainName: string;
24
29
  readonly CnameList: string[];
@@ -4,11 +4,24 @@ exports.EC2withDatabase = void 0;
4
4
  const aws_cdk_lib_1 = require("aws-cdk-lib");
5
5
  const aws_cdk_lib_2 = require("aws-cdk-lib");
6
6
  const ssm = require("aws-cdk-lib/aws-ssm");
7
+ const aws_kms_1 = require("aws-cdk-lib/aws-kms");
7
8
  const aws_route53_1 = require("aws-cdk-lib/aws-route53");
8
9
  class EC2withDatabase extends aws_cdk_lib_1.Stack {
9
10
  constructor(scope, id, props) {
11
+ var _a, _b, _c;
10
12
  super(scope, id, props);
11
- // Determine the VPC from the availability zones and subnets passed in
13
+ /*
14
+ * Security Group setup and usage are optional parameters
15
+ * SGDBAccessRules = RDS database Access group rules (can be multiple)
16
+ * SGIngressRules = Ingress rules for additional access (can be multiple)
17
+ */
18
+ props = {
19
+ ...props,
20
+ backup: (_a = props.backup) !== null && _a !== void 0 ? _a : 'False',
21
+ SGDBAccessRules: (_b = props.SGDBAccessRules) !== null && _b !== void 0 ? _b : [],
22
+ SGIngressRules: (_c = props.SGIngressRules) !== null && _c !== void 0 ? _c : [],
23
+ };
24
+ // Determine the VPC from the availability zone and subnet passed in. These are expected to align within the VPC
12
25
  const vpc = aws_cdk_lib_1.aws_ec2.Vpc.fromVpcAttributes(this, 'Vpc', {
13
26
  vpcId: props.vpcId,
14
27
  availabilityZones: props.availabilityZones,
@@ -18,23 +31,39 @@ class EC2withDatabase extends aws_cdk_lib_1.Stack {
18
31
  const linux_build = aws_cdk_lib_1.aws_ec2.MachineImage.genericLinux({
19
32
  'us-east-1': props.amiId,
20
33
  });
21
- // Need to look up the role name and then get the ARN value
34
+ // Need to look up the basic role name and then get the ARN value
22
35
  const basic_role = ssm.StringParameter.valueFromLookup(this, '/esu/ec2/basic_role_name');
23
36
  const roleName = `arn:aws:iam::${this.account}:${basic_role}`;
24
37
  const ec2role = aws_cdk_lib_1.aws_iam.Role.fromRoleArn(this, 'Role', roleName);
25
- // Create a security group for this specific server using rules passed in
38
+ /*
39
+ * Create a security group for this specific server and then add the SGIngressRules passed in
40
+ */
26
41
  const ec2SecurityGroup = new aws_cdk_lib_1.aws_ec2.SecurityGroup(this, props.instanceName, {
27
42
  description: 'Security Group for $(props.instanceName)',
28
43
  allowAllOutbound: true,
29
44
  vpc: vpc,
30
45
  });
31
- // Add connections from the new security group to the RDS which will be used by this server
32
- const db_connect_SG = aws_cdk_lib_1.aws_ec2.SecurityGroup.fromSecurityGroupId(this, 'SG', props.sg_ingress_db);
33
- ec2SecurityGroup.connections.allowFrom(db_connect_SG, aws_cdk_lib_1.aws_ec2.Port.tcp(props.sg_ingress_db_port), 'Database SG Access');
34
- ec2SecurityGroup.connections.allowTo(db_connect_SG, aws_cdk_lib_1.aws_ec2.Port.tcp(props.sg_ingress_db_port), 'Database SG Access');
35
- props.sg_ingress_rules.forEach((rule) => {
36
- ec2SecurityGroup.addIngressRule(aws_cdk_lib_1.aws_ec2.Peer.ipv4(rule.ipv4), aws_cdk_lib_1.aws_ec2.Port.tcp(rule.port), rule.description);
46
+ if (props.SGIngressRules) {
47
+ props.SGIngressRules.forEach((rule) => {
48
+ ec2SecurityGroup.addIngressRule(aws_cdk_lib_1.aws_ec2.Peer.ipv4(rule.ipv4), aws_cdk_lib_1.aws_ec2.Port.tcp(rule.port), rule.description);
49
+ });
50
+ }
51
+ // Create a key to allow volume and instance to be backed up
52
+ const backupKey = new aws_kms_1.Key(this, 'BackupKey', {
53
+ enableKeyRotation: true,
54
+ alias: props.instanceName,
37
55
  });
56
+ /*
57
+ * Add connections from the new security group to the RDS which will be used by this server using
58
+ * SGDBAccessRules passed in
59
+ */
60
+ if (props.SGDBAccessRules) {
61
+ props.SGDBAccessRules.forEach((rule) => {
62
+ const db_connect_SG = aws_cdk_lib_1.aws_ec2.SecurityGroup.fromSecurityGroupId(this, `SGAccess${rule.database}`, rule.database);
63
+ ec2SecurityGroup.connections.allowFrom(db_connect_SG, aws_cdk_lib_1.aws_ec2.Port.tcp(rule.port), rule.description);
64
+ ec2SecurityGroup.connections.allowTo(db_connect_SG, aws_cdk_lib_1.aws_ec2.Port.tcp(rule.port), rule.description);
65
+ });
66
+ }
38
67
  // With all of the information gathered, as well as values passed in, create the server
39
68
  const ec2_server = new aws_cdk_lib_1.aws_ec2.Instance(this, 'ec2-server', {
40
69
  blockDevices: [{
@@ -43,6 +72,7 @@ class EC2withDatabase extends aws_cdk_lib_1.Stack {
43
72
  ebsDevice: {
44
73
  volumeSize: props.volumeSize,
45
74
  encrypted: true,
75
+ kmsKey: backupKey,
46
76
  },
47
77
  },
48
78
  }],
@@ -50,24 +80,33 @@ class EC2withDatabase extends aws_cdk_lib_1.Stack {
50
80
  role: ec2role,
51
81
  securityGroup: ec2SecurityGroup,
52
82
  machineImage: linux_build,
53
- // keyName: props.keyName, // deprecated, replaced with keyPair below.
83
+ propagateTagsToVolumeOnCreation: true,
54
84
  keyPair: aws_cdk_lib_1.aws_ec2.KeyPair.fromKeyPairName(this, 'KeyPair', props.keyName),
55
85
  instanceType: aws_cdk_lib_1.aws_ec2.InstanceType.of(props.instanceClass, props.instanceSize),
56
86
  instanceName: props.instanceName,
57
- privateIpAddress: props.privateIpAddress,
58
87
  });
59
88
  // Add an Elastic IP Address to the server
60
89
  const IPAddr = new aws_cdk_lib_1.aws_ec2.CfnEIP(this, 'Ip', {
61
90
  instanceId: ec2_server.instanceId,
62
91
  });
63
- // Then tag the EIP
92
+ // Tag the server and the EIP with the instance name and FQDN
93
+ const FQDN = `${props.instanceName}.${props.domainName}`;
94
+ const schedule = '*'; // Initially the schedule is always up
95
+ const service = props.instanceName; // Initially the service is the instance name
96
+ // Then tag the EIP and the server
64
97
  aws_cdk_lib_1.Tags.of(IPAddr).add('Name', props.instanceName);
98
+ aws_cdk_lib_1.Tags.of(ec2_server).add('FQDN', FQDN);
99
+ aws_cdk_lib_1.Tags.of(ec2_server).add('Schedule', schedule);
100
+ aws_cdk_lib_1.Tags.of(ec2_server).add('Service', service);
101
+ if (props.backup) {
102
+ aws_cdk_lib_1.Tags.of(ec2_server).add('Backup', props.backup);
103
+ }
65
104
  // Create DNS for libnd.nd.edu connection
66
105
  const privateZoneId = ssm.StringParameter.fromStringParameterAttributes(this, 'PrivateZoneId', {
67
106
  parameterName: `/all/dns/${props.keyName}/private/zoneId`,
68
107
  }).stringValue;
69
108
  new aws_route53_1.ARecord(this, 'PrivateARec', {
70
- target: aws_route53_1.RecordTarget.fromIpAddresses(props.privateIpAddress),
109
+ target: aws_route53_1.RecordTarget.fromIpAddresses(ec2_server.instancePrivateIp),
71
110
  recordName: props.instanceName,
72
111
  zone: aws_route53_1.HostedZone.fromHostedZoneAttributes(this, 'PrivateHostedZone', {
73
112
  hostedZoneId: privateZoneId,
@@ -109,7 +148,7 @@ class EC2withDatabase extends aws_cdk_lib_1.Stack {
109
148
  parameterName: `/all/dns/${props.domainName}/${direction}/zoneId`,
110
149
  }).stringValue;
111
150
  new aws_route53_1.ARecord(this, `${direction}ServiceARec`, {
112
- target: aws_route53_1.RecordTarget.fromIpAddresses(props.privateIpAddress),
151
+ target: aws_route53_1.RecordTarget.fromIpAddresses(ec2_server.instancePrivateIp),
113
152
  recordName: props.instanceName,
114
153
  zone: aws_route53_1.HostedZone.fromHostedZoneAttributes(this, `${direction}ImportedHostedZone`, {
115
154
  hostedZoneId: hostedZoneId,
@@ -120,7 +159,7 @@ class EC2withDatabase extends aws_cdk_lib_1.Stack {
120
159
  if (props.CnameList.length != 0) {
121
160
  props.CnameList.forEach(cname => {
122
161
  new aws_route53_1.ARecord(this, `${direction}${cname}`, {
123
- target: aws_route53_1.RecordTarget.fromIpAddresses(props.privateIpAddress),
162
+ target: aws_route53_1.RecordTarget.fromIpAddresses(ec2_server.instancePrivateIp),
124
163
  recordName: cname,
125
164
  zone: aws_route53_1.HostedZone.fromHostedZoneAttributes(this, `${direction}${cname}HostedZone`, {
126
165
  hostedZoneId: hostedZoneId,
package/lib/index.d.ts CHANGED
@@ -9,6 +9,7 @@ export * from './metrics';
9
9
  export * from './newman-runner';
10
10
  export * from './pipeline-notifications';
11
11
  export * from './pipeline-s3-sync';
12
+ export * from './rds/postgres-stack';
12
13
  export * from './slack-integration';
13
14
  export * from './slack-pipeline-status-notifications';
14
15
  export * from './slos/alarms';
package/lib/index.js CHANGED
@@ -25,6 +25,7 @@ __exportStar(require("./metrics"), exports);
25
25
  __exportStar(require("./newman-runner"), exports);
26
26
  __exportStar(require("./pipeline-notifications"), exports);
27
27
  __exportStar(require("./pipeline-s3-sync"), exports);
28
+ __exportStar(require("./rds/postgres-stack"), exports);
28
29
  __exportStar(require("./slack-integration"), exports);
29
30
  __exportStar(require("./slack-pipeline-status-notifications"), exports);
30
31
  __exportStar(require("./slos/alarms"), exports);
@@ -0,0 +1,27 @@
1
+ import { AuroraPostgresEngineVersion } from 'aws-cdk-lib/aws-rds';
2
+ import { Construct } from 'constructs';
3
+ export interface PGIIngress_Rule {
4
+ readonly ipv4: string;
5
+ readonly port: number;
6
+ readonly description: string;
7
+ }
8
+ export interface IClusterEngine {
9
+ readonly engineType: string;
10
+ readonly engineVersion: string;
11
+ }
12
+ export interface PostgresServiceConstructProps {
13
+ readonly availabilityZones: string[];
14
+ readonly dbClusterIdentifier: string;
15
+ readonly dbFullVersion: AuroraPostgresEngineVersion;
16
+ readonly pgVersion: AuroraPostgresEngineVersion;
17
+ readonly maxACU?: number;
18
+ readonly minACU?: number;
19
+ readonly privateSubnetIds: string[];
20
+ readonly rdsPostgresSecret: string;
21
+ readonly SGIngressRules?: PGIIngress_Rule[];
22
+ readonly useVpcId: string;
23
+ }
24
+ export declare class PostgresRDSConstruct extends Construct {
25
+ readonly accessSGID: string;
26
+ constructor(scope: Construct, id: string, props: PostgresServiceConstructProps);
27
+ }
@@ -0,0 +1,117 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PostgresRDSConstruct = void 0;
4
+ const secretsmanager = require("aws-cdk-lib/aws-secretsmanager");
5
+ const aws_rds_1 = require("aws-cdk-lib/aws-rds");
6
+ const aws_cdk_lib_1 = require("aws-cdk-lib");
7
+ const aws_ec2_1 = require("aws-cdk-lib/aws-ec2");
8
+ const constructs_1 = require("constructs");
9
+ ;
10
+ class PostgresRDSConstruct extends constructs_1.Construct {
11
+ constructor(scope, id, props) {
12
+ var _a, _b, _c;
13
+ super(scope, id);
14
+ const stackName = aws_cdk_lib_1.Stack.of(this).stackName;
15
+ /*
16
+ * maxACU, minACU, and SGIngressRules are optional parameters
17
+ */
18
+ props = {
19
+ ...props,
20
+ maxACU: (_a = props.maxACU) !== null && _a !== void 0 ? _a : 8, // default to 8 ACU
21
+ minACU: (_b = props.minACU) !== null && _b !== void 0 ? _b : 0, // default to 0 ACU is now possible
22
+ SGIngressRules: (_c = props.SGIngressRules) !== null && _c !== void 0 ? _c : [],
23
+ };
24
+ const vpc = aws_ec2_1.Vpc.fromVpcAttributes(this, 'Vpc', {
25
+ vpcId: props.useVpcId,
26
+ availabilityZones: props.availabilityZones,
27
+ privateSubnetIds: props.privateSubnetIds,
28
+ });
29
+ // Create a secret for the RDS credentials
30
+ const rdsSecret = new secretsmanager.Secret(this, 'RdsSecret', {
31
+ secretName: props.rdsPostgresSecret,
32
+ description: 'RDS Postgres User for current DEC foundation',
33
+ generateSecretString: {
34
+ secretStringTemplate: JSON.stringify({ username: 'postgres' }),
35
+ generateStringKey: 'password',
36
+ excludeCharacters: '"@/\\',
37
+ },
38
+ });
39
+ const parameterGroupDescription = `Parameter Group for ${props.dbClusterIdentifier}`;
40
+ let auroraParameters = {};
41
+ auroraParameters['timezone'] = 'US/Eastern';
42
+ auroraParameters['idle_session_timeout'] = '60000'; // 1 minute idle timeout for any given session
43
+ const libParameterGroup = new aws_rds_1.ParameterGroup(this, 'LibParameterGroup', {
44
+ engine: aws_rds_1.DatabaseClusterEngine.auroraPostgres({
45
+ version: props.pgVersion,
46
+ }),
47
+ description: parameterGroupDescription,
48
+ parameters: auroraParameters,
49
+ });
50
+ const baseSGname = `${props.dbClusterIdentifier}-Base`;
51
+ const accessSGname = `${props.dbClusterIdentifier}-Access`;
52
+ const baseId = `${props.dbClusterIdentifier}-base`;
53
+ const accessId = `${props.dbClusterIdentifier}-access`;
54
+ const baseSG = new aws_ec2_1.SecurityGroup(this, baseId, {
55
+ vpc: vpc,
56
+ securityGroupName: baseSGname,
57
+ description: 'Base Security Group',
58
+ });
59
+ const accessSG = new aws_ec2_1.SecurityGroup(this, accessId, {
60
+ vpc: vpc,
61
+ securityGroupName: accessSGname,
62
+ description: 'Access Security Group',
63
+ });
64
+ accessSG.connections.allowFrom(baseSG, aws_ec2_1.Port.tcp(5432), 'Postgres to Base SG');
65
+ baseSG.connections.allowFrom(accessSG, aws_ec2_1.Port.tcp(5432), 'Postgres to Access SG');
66
+ const externalSGname = `${props.dbClusterIdentifier}-External`;
67
+ const externalId = `${props.dbClusterIdentifier}-external`;
68
+ const externalSG = new aws_ec2_1.SecurityGroup(this, externalId, {
69
+ vpc: vpc,
70
+ securityGroupName: externalSGname,
71
+ description: 'Outside access Security Group',
72
+ allowAllOutbound: true,
73
+ });
74
+ if (props.SGIngressRules) {
75
+ props.SGIngressRules.forEach((rule) => {
76
+ externalSG.addIngressRule(aws_ec2_1.Peer.ipv4(rule.ipv4), aws_ec2_1.Port.tcp(rule.port), rule.description);
77
+ });
78
+ }
79
+ const dbCluster = new aws_rds_1.DatabaseCluster(this, 'peered-DBCluster', {
80
+ clusterIdentifier: props.dbClusterIdentifier,
81
+ instanceIdentifierBase: props.dbClusterIdentifier,
82
+ credentials: aws_rds_1.Credentials.fromSecret(rdsSecret),
83
+ engine: aws_rds_1.DatabaseClusterEngine.auroraPostgres({ version: props.dbFullVersion }),
84
+ securityGroups: [baseSG, accessSG, externalSG],
85
+ serverlessV2MinCapacity: props.minACU,
86
+ serverlessV2MaxCapacity: props.maxACU,
87
+ storageEncrypted: true,
88
+ parameterGroup: libParameterGroup,
89
+ vpc: vpc,
90
+ storageType: aws_rds_1.DBClusterStorageType.AURORA_IOPT1,
91
+ deletionProtection: true,
92
+ writer: aws_rds_1.ClusterInstance.serverlessV2('writer'),
93
+ vpcSubnets: vpc.selectSubnets({
94
+ subnetType: aws_ec2_1.SubnetType.PRIVATE_WITH_EGRESS,
95
+ }),
96
+ port: 5432,
97
+ });
98
+ this.accessSGID = accessSG.securityGroupId;
99
+ new aws_cdk_lib_1.CfnOutput(this, 'DatabaseEndpoint', {
100
+ description: 'The connection endpoint for the database server',
101
+ value: dbCluster.clusterEndpoint.hostname,
102
+ exportName: `${id}:DatabaseEndpoint`,
103
+ });
104
+ new aws_cdk_lib_1.CfnOutput(this, 'AccessSecurityGroup', {
105
+ description: 'The Access Security Group for the instance',
106
+ value: accessSG.securityGroupId,
107
+ exportName: `${id}:AccessSecurityGroup`,
108
+ });
109
+ new aws_cdk_lib_1.CfnOutput(this, 'ExternalSecurityGroup', {
110
+ description: 'The External Security Group for the instance',
111
+ value: externalSG.securityGroupId,
112
+ exportName: `${id}:ExternalSecurityGroup`,
113
+ });
114
+ }
115
+ }
116
+ exports.PostgresRDSConstruct = PostgresRDSConstruct;
117
+ module.exports = { PostgresRDSConstruct };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ndlib/ndlib-cdk2",
3
- "version": "1.0.28",
3
+ "version": "1.0.30",
4
4
  "description": "Reusable CDK2 modules used within Hesburgh Libraries of Notre Dame",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -13,7 +13,7 @@
13
13
  "generate-changelog": "github-changes -n ${npm_package_version} -o ndlib -r ndlib-cdk2 --only-pulls --use-commit-body",
14
14
  "prepare": "npm run build",
15
15
  "prepublishOnly": "npm test && npm run format && npm run lint",
16
- "preversion": "npm test && npm run format && npm run lint",
16
+ "preversion": "npm test && npm run lint",
17
17
  "version": "npm run generate-changelog && npm run format && git add CHANGELOG.md && git checkout -B bump-$npm_package_version && git add -A src",
18
18
  "postversion": "git push --set-upstream origin bump-$npm_package_version && git push --tags",
19
19
  "watch": "tsc-watch"
@@ -41,30 +41,30 @@
41
41
  },
42
42
  "devDependencies": {
43
43
  "@types/jest": "^29.5.14",
44
- "@types/node": "^22.9.0",
45
- "@typescript-eslint/eslint-plugin": "^8.14.0",
46
- "@typescript-eslint/parser": "^8.14.0",
44
+ "@types/node": "^22.10.0",
45
+ "@typescript-eslint/eslint-plugin": "^8.16.0",
46
+ "@typescript-eslint/parser": "^8.16.0",
47
47
  "aws-sdk-client-mock": "^4.1.0",
48
- "eslint": "^9.14.0",
48
+ "eslint": "^9.15.0",
49
49
  "eslint-plugin-import": "^2.31.0",
50
50
  "eslint-plugin-jest": "^28.9.0",
51
- "eslint-plugin-n": "^17.13.2",
51
+ "eslint-plugin-n": "^17.14.0",
52
52
  "eslint-plugin-node": "^11.1.0",
53
- "eslint-plugin-promise": "^7.1.0",
53
+ "eslint-plugin-promise": "^7.2.1",
54
54
  "github-changes": "^2.0.3",
55
55
  "jest": "^29.7.0",
56
56
  "jest-mock": "^29.7.0",
57
- "prettier": "^3.3.3",
57
+ "prettier": "^3.4.1",
58
58
  "subpackage": "^1.1.0",
59
59
  "ts-jest": "^29.2.5",
60
60
  "tsc-watch": "^6.2.1",
61
- "typescript": "^5.6.3"
61
+ "typescript": "^5.7.2"
62
62
  },
63
63
  "files": [
64
64
  "lib/**/*"
65
65
  ],
66
66
  "dependencies": {
67
- "aws-cdk-lib": "^2.167.1",
67
+ "aws-cdk-lib": "^2.171.0",
68
68
  "constructs": "^10.4.2",
69
69
  "node-fetch": "^3.3.2"
70
70
  },
@@ -1,76 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- # [3.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v2.0.2...v3.0.0) (2023-01-12)
7
-
8
- - feat!: replace Hash implementations with Checksum interface (#492) ([da43dc0](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/da43dc0fdf669d9ebb5bfb1b1f7c79e46c4aaae1)), closes [#492](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/492)
9
-
10
- ### BREAKING CHANGES
11
-
12
- - All classes that implemented `Hash` now implement `Checksum`.
13
-
14
- ## [2.0.2](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v2.0.1...v2.0.2) (2022-09-07)
15
-
16
- ### Bug Fixes
17
-
18
- - **#337:** update @aws-sdk/types ([#373](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/373)) ([b26a811](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/b26a811a392f5209c7ec7e57251500d4d78f97ff)), closes [#337](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/337)
19
-
20
- ## [2.0.1](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v2.0.0...v2.0.1) (2021-12-09)
21
-
22
- **Note:** Version bump only for package @aws-crypto/crc32
23
-
24
- # [2.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.2.2...v2.0.0) (2021-10-25)
25
-
26
- **Note:** Version bump only for package @aws-crypto/crc32
27
-
28
- ## [1.2.2](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.2.1...v1.2.2) (2021-10-12)
29
-
30
- ### Bug Fixes
31
-
32
- - **crc32c:** ie11 does not support Array.from ([#221](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/221)) ([5f49547](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/5f495472ab8988cf203e0f2a70a51f7e1fcd7e60))
33
-
34
- ## [1.2.1](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.2.0...v1.2.1) (2021-09-17)
35
-
36
- **Note:** Version bump only for package @aws-crypto/crc32
37
-
38
- # [1.2.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.1.1...v1.2.0) (2021-09-17)
39
-
40
- ### Features
41
-
42
- - Add AwsCrc32 Hash ([f5d7e81](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/f5d7e815fcbe0f8da1edb855fea3bd33eb1edc15))
43
-
44
- # [1.1.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/crc32@1.0.0...@aws-crypto/crc32@1.1.0) (2021-08-11)
45
-
46
- ### Features
47
-
48
- - Create CRC-32C implementation ([#201](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/201)) ([e43c7ec](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/e43c7ecd30d6499fa696f5839ecc30502a34b8b6))
49
-
50
- # [1.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/crc32@1.0.0-alpha.0...@aws-crypto/crc32@1.0.0) (2020-10-22)
51
-
52
- **Note:** Version bump only for package @aws-crypto/crc32
53
-
54
- # [1.0.0-alpha.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/crc32@0.1.0-preview.4...@aws-crypto/crc32@1.0.0-alpha.0) (2020-02-07)
55
-
56
- **Note:** Version bump only for package @aws-crypto/crc32
57
-
58
- # [0.1.0-preview.4](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/crc32@0.1.0-preview.2...@aws-crypto/crc32@0.1.0-preview.4) (2020-01-16)
59
-
60
- ### Bug Fixes
61
-
62
- - Changed package.json files to point to the right Git repo ([#9](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/9)) ([028245d](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/028245d72e642ca98d82226afb300eb154503c4a)), closes [#8](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/8)
63
- - lerna version maintains package-lock ([#14](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/14)) ([2ef29e1](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/2ef29e13779703a5c9b32e93d18918fcb33b7272)), closes [#13](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/13)
64
-
65
- # [0.1.0-preview.3](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/crc32@0.1.0-preview.2...@aws-crypto/crc32@0.1.0-preview.3) (2019-11-15)
66
-
67
- ### Bug Fixes
68
-
69
- - Changed package.json files to point to the right Git repo ([#9](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/9)) ([028245d](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/028245d72e642ca98d82226afb300eb154503c4a)), closes [#8](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/8)
70
- - lerna version maintains package-lock ([#14](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/14)) ([2ef29e1](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/2ef29e13779703a5c9b32e93d18918fcb33b7272)), closes [#13](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/13)
71
-
72
- # [0.1.0-preview.2](https://github.com/aws/aws-javascript-crypto-helpers/compare/@aws-crypto/crc32@0.1.0-preview.1...@aws-crypto/crc32@0.1.0-preview.2) (2019-10-30)
73
-
74
- ### Bug Fixes
75
-
76
- - remove /src/ from .npmignore (for sourcemaps) ([#5](https://github.com/aws/aws-javascript-crypto-helpers/issues/5)) ([ec52056](https://github.com/aws/aws-javascript-crypto-helpers/commit/ec52056))