@gradientedge/cdk-utils 9.83.0 → 9.85.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (734) hide show
  1. package/.husky/pre-commit +4 -0
  2. package/app/api-destined-function/node_modules/.bin/rimraf +2 -2
  3. package/app/api-destined-function/node_modules/.bin/uuid +4 -4
  4. package/app/api-destined-function/package.json +5 -4
  5. package/babel.config.mjs +16 -0
  6. package/dist/app/api-destined-function/src/lib/lambda.js +4 -8
  7. package/dist/index.d.ts +1 -1
  8. package/dist/index.js +1 -17
  9. package/dist/lib/lambda.js +4 -8
  10. package/dist/lib/lambda.js.map +1 -1
  11. package/dist/src/lib/aws/common/construct.d.ts +3 -3
  12. package/dist/src/lib/aws/common/construct.js +41 -45
  13. package/dist/src/lib/aws/common/index.d.ts +4 -4
  14. package/dist/src/lib/aws/common/index.js +4 -20
  15. package/dist/src/lib/aws/common/resource-name-formatter.d.ts +1 -1
  16. package/dist/src/lib/aws/common/resource-name-formatter.js +12 -14
  17. package/dist/src/lib/aws/common/stack.d.ts +2 -2
  18. package/dist/src/lib/aws/common/stack.js +22 -29
  19. package/dist/src/lib/aws/common/types.d.ts +1 -1
  20. package/dist/src/lib/aws/common/types.js +1 -2
  21. package/dist/src/lib/aws/construct/api-to-any-target/index.d.ts +3 -3
  22. package/dist/src/lib/aws/construct/api-to-any-target/index.js +3 -19
  23. package/dist/src/lib/aws/construct/api-to-any-target/main.d.ts +2 -2
  24. package/dist/src/lib/aws/construct/api-to-any-target/main.js +19 -23
  25. package/dist/src/lib/aws/construct/api-to-any-target/target.d.ts +1 -1
  26. package/dist/src/lib/aws/construct/api-to-any-target/target.js +1 -5
  27. package/dist/src/lib/aws/construct/api-to-any-target/types.d.ts +2 -2
  28. package/dist/src/lib/aws/construct/api-to-any-target/types.js +1 -2
  29. package/dist/src/lib/aws/construct/api-to-eventbridge-target/api.d.ts +1 -1
  30. package/dist/src/lib/aws/construct/api-to-eventbridge-target/api.js +1 -5
  31. package/dist/src/lib/aws/construct/api-to-eventbridge-target/event.d.ts +1 -1
  32. package/dist/src/lib/aws/construct/api-to-eventbridge-target/event.js +1 -5
  33. package/dist/src/lib/aws/construct/api-to-eventbridge-target/index.d.ts +4 -4
  34. package/dist/src/lib/aws/construct/api-to-eventbridge-target/index.js +4 -20
  35. package/dist/src/lib/aws/construct/api-to-eventbridge-target/main.d.ts +2 -2
  36. package/dist/src/lib/aws/construct/api-to-eventbridge-target/main.js +40 -44
  37. package/dist/src/lib/aws/construct/api-to-eventbridge-target/types.d.ts +2 -2
  38. package/dist/src/lib/aws/construct/api-to-eventbridge-target/types.js +1 -2
  39. package/dist/src/lib/aws/construct/api-to-eventbridge-target-with-sns/api-destined-lambda.d.ts +1 -1
  40. package/dist/src/lib/aws/construct/api-to-eventbridge-target-with-sns/api-destined-lambda.js +1 -5
  41. package/dist/src/lib/aws/construct/api-to-eventbridge-target-with-sns/index.d.ts +3 -3
  42. package/dist/src/lib/aws/construct/api-to-eventbridge-target-with-sns/index.js +3 -19
  43. package/dist/src/lib/aws/construct/api-to-eventbridge-target-with-sns/main.d.ts +3 -3
  44. package/dist/src/lib/aws/construct/api-to-eventbridge-target-with-sns/main.js +45 -49
  45. package/dist/src/lib/aws/construct/api-to-eventbridge-target-with-sns/types.d.ts +1 -1
  46. package/dist/src/lib/aws/construct/api-to-eventbridge-target-with-sns/types.js +1 -2
  47. package/dist/src/lib/aws/construct/api-to-lambda-target/api.d.ts +1 -1
  48. package/dist/src/lib/aws/construct/api-to-lambda-target/api.js +1 -5
  49. package/dist/src/lib/aws/construct/api-to-lambda-target/index.d.ts +3 -3
  50. package/dist/src/lib/aws/construct/api-to-lambda-target/index.js +3 -19
  51. package/dist/src/lib/aws/construct/api-to-lambda-target/main.d.ts +2 -2
  52. package/dist/src/lib/aws/construct/api-to-lambda-target/main.js +17 -21
  53. package/dist/src/lib/aws/construct/api-to-lambda-target/types.d.ts +2 -2
  54. package/dist/src/lib/aws/construct/api-to-lambda-target/types.js +1 -2
  55. package/dist/src/lib/aws/construct/application-configuration/index.d.ts +2 -2
  56. package/dist/src/lib/aws/construct/application-configuration/index.js +2 -18
  57. package/dist/src/lib/aws/construct/application-configuration/main.d.ts +2 -2
  58. package/dist/src/lib/aws/construct/application-configuration/main.js +22 -26
  59. package/dist/src/lib/aws/construct/application-configuration/types.d.ts +2 -2
  60. package/dist/src/lib/aws/construct/application-configuration/types.js +1 -2
  61. package/dist/src/lib/aws/construct/event-handler/handler.d.ts +1 -1
  62. package/dist/src/lib/aws/construct/event-handler/handler.js +1 -5
  63. package/dist/src/lib/aws/construct/event-handler/index.d.ts +3 -3
  64. package/dist/src/lib/aws/construct/event-handler/index.js +3 -19
  65. package/dist/src/lib/aws/construct/event-handler/main.d.ts +3 -3
  66. package/dist/src/lib/aws/construct/event-handler/main.js +22 -29
  67. package/dist/src/lib/aws/construct/event-handler/types.d.ts +2 -2
  68. package/dist/src/lib/aws/construct/event-handler/types.js +1 -2
  69. package/dist/src/lib/aws/construct/index.d.ts +14 -14
  70. package/dist/src/lib/aws/construct/index.js +14 -30
  71. package/dist/src/lib/aws/construct/lambda-with-iam-access/index.d.ts +2 -2
  72. package/dist/src/lib/aws/construct/lambda-with-iam-access/index.js +2 -18
  73. package/dist/src/lib/aws/construct/lambda-with-iam-access/main.d.ts +2 -2
  74. package/dist/src/lib/aws/construct/lambda-with-iam-access/main.js +22 -29
  75. package/dist/src/lib/aws/construct/lambda-with-iam-access/types.d.ts +2 -2
  76. package/dist/src/lib/aws/construct/lambda-with-iam-access/types.js +1 -2
  77. package/dist/src/lib/aws/construct/piped-event-handler/index.d.ts +2 -2
  78. package/dist/src/lib/aws/construct/piped-event-handler/index.js +2 -18
  79. package/dist/src/lib/aws/construct/piped-event-handler/main.d.ts +2 -2
  80. package/dist/src/lib/aws/construct/piped-event-handler/main.js +8 -15
  81. package/dist/src/lib/aws/construct/piped-event-handler/types.d.ts +2 -2
  82. package/dist/src/lib/aws/construct/piped-event-handler/types.js +1 -2
  83. package/dist/src/lib/aws/construct/rest-api-lambda/index.d.ts +2 -2
  84. package/dist/src/lib/aws/construct/rest-api-lambda/index.js +2 -18
  85. package/dist/src/lib/aws/construct/rest-api-lambda/main.d.ts +2 -2
  86. package/dist/src/lib/aws/construct/rest-api-lambda/main.js +11 -18
  87. package/dist/src/lib/aws/construct/rest-api-lambda/types.d.ts +2 -2
  88. package/dist/src/lib/aws/construct/rest-api-lambda/types.js +1 -2
  89. package/dist/src/lib/aws/construct/rest-api-lambda-with-cache/index.d.ts +2 -2
  90. package/dist/src/lib/aws/construct/rest-api-lambda-with-cache/index.js +2 -18
  91. package/dist/src/lib/aws/construct/rest-api-lambda-with-cache/main.d.ts +2 -2
  92. package/dist/src/lib/aws/construct/rest-api-lambda-with-cache/main.js +14 -21
  93. package/dist/src/lib/aws/construct/rest-api-lambda-with-cache/types.d.ts +2 -2
  94. package/dist/src/lib/aws/construct/rest-api-lambda-with-cache/types.js +1 -2
  95. package/dist/src/lib/aws/construct/site-with-ecs-backend/constants.js +2 -5
  96. package/dist/src/lib/aws/construct/site-with-ecs-backend/index.d.ts +3 -3
  97. package/dist/src/lib/aws/construct/site-with-ecs-backend/index.js +3 -19
  98. package/dist/src/lib/aws/construct/site-with-ecs-backend/main.d.ts +2 -2
  99. package/dist/src/lib/aws/construct/site-with-ecs-backend/main.js +31 -38
  100. package/dist/src/lib/aws/construct/site-with-ecs-backend/types.d.ts +3 -3
  101. package/dist/src/lib/aws/construct/site-with-ecs-backend/types.js +1 -2
  102. package/dist/src/lib/aws/construct/site-with-lambda-backend/constants.js +3 -6
  103. package/dist/src/lib/aws/construct/site-with-lambda-backend/index.d.ts +3 -3
  104. package/dist/src/lib/aws/construct/site-with-lambda-backend/index.js +3 -19
  105. package/dist/src/lib/aws/construct/site-with-lambda-backend/main.d.ts +2 -2
  106. package/dist/src/lib/aws/construct/site-with-lambda-backend/main.js +31 -38
  107. package/dist/src/lib/aws/construct/site-with-lambda-backend/types.d.ts +3 -3
  108. package/dist/src/lib/aws/construct/site-with-lambda-backend/types.js +1 -2
  109. package/dist/src/lib/aws/construct/static-asset-deployment/index.d.ts +2 -2
  110. package/dist/src/lib/aws/construct/static-asset-deployment/index.js +2 -18
  111. package/dist/src/lib/aws/construct/static-asset-deployment/main.d.ts +2 -2
  112. package/dist/src/lib/aws/construct/static-asset-deployment/main.js +13 -20
  113. package/dist/src/lib/aws/construct/static-asset-deployment/types.d.ts +2 -2
  114. package/dist/src/lib/aws/construct/static-asset-deployment/types.js +1 -2
  115. package/dist/src/lib/aws/construct/static-site/index.d.ts +2 -2
  116. package/dist/src/lib/aws/construct/static-site/index.js +2 -18
  117. package/dist/src/lib/aws/construct/static-site/main.d.ts +2 -5
  118. package/dist/src/lib/aws/construct/static-site/main.js +5 -15
  119. package/dist/src/lib/aws/construct/static-site/types.d.ts +2 -2
  120. package/dist/src/lib/aws/construct/static-site/types.js +1 -2
  121. package/dist/src/lib/aws/index.d.ts +5 -5
  122. package/dist/src/lib/aws/index.js +5 -21
  123. package/dist/src/lib/aws/services/api-gateway/index.d.ts +2 -2
  124. package/dist/src/lib/aws/services/api-gateway/index.js +2 -18
  125. package/dist/src/lib/aws/services/api-gateway/main.d.ts +2 -2
  126. package/dist/src/lib/aws/services/api-gateway/main.js +27 -34
  127. package/dist/src/lib/aws/services/api-gateway/types.d.ts +1 -1
  128. package/dist/src/lib/aws/services/api-gateway/types.js +1 -2
  129. package/dist/src/lib/aws/services/appconfig/constants.js +2 -5
  130. package/dist/src/lib/aws/services/appconfig/index.d.ts +3 -3
  131. package/dist/src/lib/aws/services/appconfig/index.js +3 -19
  132. package/dist/src/lib/aws/services/appconfig/main.d.ts +3 -3
  133. package/dist/src/lib/aws/services/appconfig/main.js +23 -27
  134. package/dist/src/lib/aws/services/appconfig/types.js +1 -2
  135. package/dist/src/lib/aws/services/certificate-manager/index.d.ts +2 -2
  136. package/dist/src/lib/aws/services/certificate-manager/index.js +2 -18
  137. package/dist/src/lib/aws/services/certificate-manager/main.d.ts +2 -2
  138. package/dist/src/lib/aws/services/certificate-manager/main.js +10 -14
  139. package/dist/src/lib/aws/services/certificate-manager/types.js +1 -2
  140. package/dist/src/lib/aws/services/cloudfront/index.d.ts +2 -2
  141. package/dist/src/lib/aws/services/cloudfront/index.js +2 -18
  142. package/dist/src/lib/aws/services/cloudfront/main.d.ts +7 -20
  143. package/dist/src/lib/aws/services/cloudfront/main.js +54 -141
  144. package/dist/src/lib/aws/services/cloudfront/types.d.ts +2 -7
  145. package/dist/src/lib/aws/services/cloudfront/types.js +1 -2
  146. package/dist/src/lib/aws/services/cloudtrail/index.d.ts +2 -2
  147. package/dist/src/lib/aws/services/cloudtrail/index.js +2 -18
  148. package/dist/src/lib/aws/services/cloudtrail/main.d.ts +2 -2
  149. package/dist/src/lib/aws/services/cloudtrail/main.js +6 -10
  150. package/dist/src/lib/aws/services/cloudtrail/types.js +1 -2
  151. package/dist/src/lib/aws/services/cloudwatch/index.d.ts +3 -3
  152. package/dist/src/lib/aws/services/cloudwatch/index.js +3 -19
  153. package/dist/src/lib/aws/services/cloudwatch/logs.d.ts +2 -2
  154. package/dist/src/lib/aws/services/cloudwatch/logs.js +9 -49
  155. package/dist/src/lib/aws/services/cloudwatch/main.d.ts +2 -2
  156. package/dist/src/lib/aws/services/cloudwatch/main.js +8 -48
  157. package/dist/src/lib/aws/services/cloudwatch/types.d.ts +1 -1
  158. package/dist/src/lib/aws/services/cloudwatch/types.js +1 -2
  159. package/dist/src/lib/aws/services/codebuild/index.d.ts +1 -1
  160. package/dist/src/lib/aws/services/codebuild/index.js +1 -17
  161. package/dist/src/lib/aws/services/codebuild/main.d.ts +1 -1
  162. package/dist/src/lib/aws/services/codebuild/main.js +8 -12
  163. package/dist/src/lib/aws/services/constants.js +2 -5
  164. package/dist/src/lib/aws/services/dynamodb/index.d.ts +2 -2
  165. package/dist/src/lib/aws/services/dynamodb/index.js +2 -18
  166. package/dist/src/lib/aws/services/dynamodb/main.d.ts +2 -2
  167. package/dist/src/lib/aws/services/dynamodb/main.js +19 -24
  168. package/dist/src/lib/aws/services/dynamodb/types.d.ts +1 -1
  169. package/dist/src/lib/aws/services/dynamodb/types.js +1 -2
  170. package/dist/src/lib/aws/services/elastic-container-registry/index.d.ts +1 -1
  171. package/dist/src/lib/aws/services/elastic-container-registry/index.js +1 -17
  172. package/dist/src/lib/aws/services/elastic-container-registry/main.d.ts +1 -1
  173. package/dist/src/lib/aws/services/elastic-container-registry/main.js +5 -9
  174. package/dist/src/lib/aws/services/elastic-container-service/index.d.ts +2 -2
  175. package/dist/src/lib/aws/services/elastic-container-service/index.js +2 -18
  176. package/dist/src/lib/aws/services/elastic-container-service/main.d.ts +2 -2
  177. package/dist/src/lib/aws/services/elastic-container-service/main.js +29 -36
  178. package/dist/src/lib/aws/services/elastic-container-service/types.d.ts +1 -1
  179. package/dist/src/lib/aws/services/elastic-container-service/types.js +1 -2
  180. package/dist/src/lib/aws/services/elastic-file-system/index.d.ts +2 -2
  181. package/dist/src/lib/aws/services/elastic-file-system/index.js +2 -18
  182. package/dist/src/lib/aws/services/elastic-file-system/main.d.ts +2 -2
  183. package/dist/src/lib/aws/services/elastic-file-system/main.js +19 -26
  184. package/dist/src/lib/aws/services/elastic-file-system/types.js +1 -2
  185. package/dist/src/lib/aws/services/elastic-kubernetes-service/index.d.ts +2 -2
  186. package/dist/src/lib/aws/services/elastic-kubernetes-service/index.js +2 -18
  187. package/dist/src/lib/aws/services/elastic-kubernetes-service/main.d.ts +2 -2
  188. package/dist/src/lib/aws/services/elastic-kubernetes-service/main.js +9 -13
  189. package/dist/src/lib/aws/services/elastic-kubernetes-service/types.js +1 -2
  190. package/dist/src/lib/aws/services/elasticache/index.d.ts +2 -2
  191. package/dist/src/lib/aws/services/elasticache/index.js +2 -18
  192. package/dist/src/lib/aws/services/elasticache/main.d.ts +2 -2
  193. package/dist/src/lib/aws/services/elasticache/main.js +14 -21
  194. package/dist/src/lib/aws/services/elasticache/types.js +1 -2
  195. package/dist/src/lib/aws/services/eventbridge/index.d.ts +3 -3
  196. package/dist/src/lib/aws/services/eventbridge/index.js +3 -19
  197. package/dist/src/lib/aws/services/eventbridge/main.d.ts +2 -2
  198. package/dist/src/lib/aws/services/eventbridge/main.js +39 -46
  199. package/dist/src/lib/aws/services/eventbridge/target.d.ts +1 -1
  200. package/dist/src/lib/aws/services/eventbridge/target.js +7 -12
  201. package/dist/src/lib/aws/services/eventbridge/types.d.ts +1 -1
  202. package/dist/src/lib/aws/services/eventbridge/types.js +1 -2
  203. package/dist/src/lib/aws/services/evidently/index.d.ts +2 -2
  204. package/dist/src/lib/aws/services/evidently/index.js +2 -18
  205. package/dist/src/lib/aws/services/evidently/main.d.ts +2 -2
  206. package/dist/src/lib/aws/services/evidently/main.js +18 -22
  207. package/dist/src/lib/aws/services/evidently/types.js +1 -2
  208. package/dist/src/lib/aws/services/identity-access-management/index.d.ts +1 -1
  209. package/dist/src/lib/aws/services/identity-access-management/index.js +1 -17
  210. package/dist/src/lib/aws/services/identity-access-management/main.d.ts +1 -1
  211. package/dist/src/lib/aws/services/identity-access-management/main.js +112 -116
  212. package/dist/src/lib/aws/services/index.d.ts +28 -28
  213. package/dist/src/lib/aws/services/index.js +28 -44
  214. package/dist/src/lib/aws/services/key-management-service/index.d.ts +2 -2
  215. package/dist/src/lib/aws/services/key-management-service/index.js +2 -18
  216. package/dist/src/lib/aws/services/key-management-service/main.d.ts +2 -2
  217. package/dist/src/lib/aws/services/key-management-service/main.js +6 -10
  218. package/dist/src/lib/aws/services/key-management-service/types.js +1 -2
  219. package/dist/src/lib/aws/services/lambda/index.d.ts +2 -2
  220. package/dist/src/lib/aws/services/lambda/index.js +2 -18
  221. package/dist/src/lib/aws/services/lambda/main.d.ts +4 -3
  222. package/dist/src/lib/aws/services/lambda/main.js +48 -57
  223. package/dist/src/lib/aws/services/lambda/types.d.ts +4 -3
  224. package/dist/src/lib/aws/services/lambda/types.js +1 -2
  225. package/dist/src/lib/aws/services/route53/index.d.ts +2 -2
  226. package/dist/src/lib/aws/services/route53/index.js +2 -18
  227. package/dist/src/lib/aws/services/route53/main.d.ts +2 -2
  228. package/dist/src/lib/aws/services/route53/main.js +21 -25
  229. package/dist/src/lib/aws/services/route53/types.js +1 -2
  230. package/dist/src/lib/aws/services/secrets-manager/index.d.ts +2 -2
  231. package/dist/src/lib/aws/services/secrets-manager/index.js +2 -18
  232. package/dist/src/lib/aws/services/secrets-manager/main.d.ts +2 -2
  233. package/dist/src/lib/aws/services/secrets-manager/main.js +12 -16
  234. package/dist/src/lib/aws/services/secrets-manager/types.js +1 -2
  235. package/dist/src/lib/aws/services/simple-notification-service/index.d.ts +2 -2
  236. package/dist/src/lib/aws/services/simple-notification-service/index.js +2 -18
  237. package/dist/src/lib/aws/services/simple-notification-service/main.d.ts +2 -2
  238. package/dist/src/lib/aws/services/simple-notification-service/main.js +14 -21
  239. package/dist/src/lib/aws/services/simple-notification-service/types.js +1 -2
  240. package/dist/src/lib/aws/services/simple-queue-service/index.d.ts +2 -2
  241. package/dist/src/lib/aws/services/simple-queue-service/index.js +2 -18
  242. package/dist/src/lib/aws/services/simple-queue-service/main.d.ts +3 -3
  243. package/dist/src/lib/aws/services/simple-queue-service/main.js +18 -25
  244. package/dist/src/lib/aws/services/simple-queue-service/types.d.ts +1 -1
  245. package/dist/src/lib/aws/services/simple-queue-service/types.js +1 -2
  246. package/dist/src/lib/aws/services/simple-storage-service/index.d.ts +2 -2
  247. package/dist/src/lib/aws/services/simple-storage-service/index.js +2 -18
  248. package/dist/src/lib/aws/services/simple-storage-service/main.d.ts +2 -2
  249. package/dist/src/lib/aws/services/simple-storage-service/main.js +35 -42
  250. package/dist/src/lib/aws/services/simple-storage-service/types.d.ts +1 -1
  251. package/dist/src/lib/aws/services/simple-storage-service/types.js +1 -2
  252. package/dist/src/lib/aws/services/step-function/index.d.ts +2 -2
  253. package/dist/src/lib/aws/services/step-function/index.js +2 -18
  254. package/dist/src/lib/aws/services/step-function/main.d.ts +2 -2
  255. package/dist/src/lib/aws/services/step-function/main.js +45 -52
  256. package/dist/src/lib/aws/services/step-function/types.js +1 -2
  257. package/dist/src/lib/aws/services/systems-manager/index.d.ts +2 -2
  258. package/dist/src/lib/aws/services/systems-manager/index.js +2 -18
  259. package/dist/src/lib/aws/services/systems-manager/main.d.ts +2 -2
  260. package/dist/src/lib/aws/services/systems-manager/main.js +11 -16
  261. package/dist/src/lib/aws/services/systems-manager/types.js +1 -2
  262. package/dist/src/lib/aws/services/virtual-private-cloud/index.d.ts +2 -2
  263. package/dist/src/lib/aws/services/virtual-private-cloud/index.js +2 -18
  264. package/dist/src/lib/aws/services/virtual-private-cloud/ipv6.d.ts +2 -2
  265. package/dist/src/lib/aws/services/virtual-private-cloud/ipv6.js +12 -19
  266. package/dist/src/lib/aws/services/virtual-private-cloud/main.d.ts +2 -2
  267. package/dist/src/lib/aws/services/virtual-private-cloud/main.js +19 -26
  268. package/dist/src/lib/aws/services/virtual-private-cloud/types.js +1 -2
  269. package/dist/src/lib/aws/services/web-application-firewall/index.d.ts +2 -2
  270. package/dist/src/lib/aws/services/web-application-firewall/index.js +2 -18
  271. package/dist/src/lib/aws/services/web-application-firewall/main.d.ts +2 -2
  272. package/dist/src/lib/aws/services/web-application-firewall/main.js +9 -13
  273. package/dist/src/lib/aws/services/web-application-firewall/types.js +1 -2
  274. package/dist/src/lib/aws/types/index.js +1 -2
  275. package/dist/src/lib/aws/utils/index.d.ts +1 -1
  276. package/dist/src/lib/aws/utils/index.js +11 -20
  277. package/dist/src/lib/azure/.gen/providers/azapi/provider/index.js +4 -43
  278. package/dist/src/lib/azure/common/constants.js +3 -6
  279. package/dist/src/lib/azure/common/construct.d.ts +3 -3
  280. package/dist/src/lib/azure/common/construct.js +37 -41
  281. package/dist/src/lib/azure/common/index.d.ts +6 -6
  282. package/dist/src/lib/azure/common/index.js +6 -22
  283. package/dist/src/lib/azure/common/resource-name-formatter.d.ts +1 -2
  284. package/dist/src/lib/azure/common/resource-name-formatter.js +2 -6
  285. package/dist/src/lib/azure/common/stack.d.ts +2 -2
  286. package/dist/src/lib/azure/common/stack.js +20 -27
  287. package/dist/src/lib/azure/common/tagging.js +5 -9
  288. package/dist/src/lib/azure/common/types.d.ts +3 -3
  289. package/dist/src/lib/azure/common/types.js +1 -2
  290. package/dist/src/lib/azure/index.d.ts +4 -4
  291. package/dist/src/lib/azure/index.js +4 -20
  292. package/dist/src/lib/azure/services/api-management/index.d.ts +2 -2
  293. package/dist/src/lib/azure/services/api-management/index.js +2 -18
  294. package/dist/src/lib/azure/services/api-management/main.d.ts +10 -10
  295. package/dist/src/lib/azure/services/api-management/main.js +43 -73
  296. package/dist/src/lib/azure/services/api-management/types.d.ts +6 -6
  297. package/dist/src/lib/azure/services/api-management/types.js +1 -2
  298. package/dist/src/lib/azure/services/app-configuration/index.d.ts +2 -2
  299. package/dist/src/lib/azure/services/app-configuration/index.js +2 -18
  300. package/dist/src/lib/azure/services/app-configuration/main.d.ts +3 -3
  301. package/dist/src/lib/azure/services/app-configuration/main.js +9 -13
  302. package/dist/src/lib/azure/services/app-configuration/types.d.ts +1 -1
  303. package/dist/src/lib/azure/services/app-configuration/types.js +1 -2
  304. package/dist/src/lib/azure/services/app-service/index.d.ts +2 -2
  305. package/dist/src/lib/azure/services/app-service/index.js +2 -18
  306. package/dist/src/lib/azure/services/app-service/main.d.ts +4 -4
  307. package/dist/src/lib/azure/services/app-service/main.js +16 -20
  308. package/dist/src/lib/azure/services/app-service/types.d.ts +2 -2
  309. package/dist/src/lib/azure/services/app-service/types.js +1 -2
  310. package/dist/src/lib/azure/services/application-insights/index.d.ts +2 -2
  311. package/dist/src/lib/azure/services/application-insights/index.js +2 -18
  312. package/dist/src/lib/azure/services/application-insights/main.d.ts +3 -3
  313. package/dist/src/lib/azure/services/application-insights/main.js +9 -13
  314. package/dist/src/lib/azure/services/application-insights/types.d.ts +1 -1
  315. package/dist/src/lib/azure/services/application-insights/types.js +1 -2
  316. package/dist/src/lib/azure/services/cosmosdb/index.d.ts +2 -2
  317. package/dist/src/lib/azure/services/cosmosdb/index.js +2 -18
  318. package/dist/src/lib/azure/services/cosmosdb/main.d.ts +5 -5
  319. package/dist/src/lib/azure/services/cosmosdb/main.js +21 -25
  320. package/dist/src/lib/azure/services/cosmosdb/types.d.ts +3 -3
  321. package/dist/src/lib/azure/services/cosmosdb/types.js +1 -2
  322. package/dist/src/lib/azure/services/dns/index.d.ts +2 -2
  323. package/dist/src/lib/azure/services/dns/index.js +2 -18
  324. package/dist/src/lib/azure/services/dns/main.d.ts +6 -6
  325. package/dist/src/lib/azure/services/dns/main.js +24 -28
  326. package/dist/src/lib/azure/services/dns/types.d.ts +4 -4
  327. package/dist/src/lib/azure/services/dns/types.js +1 -2
  328. package/dist/src/lib/azure/services/eventgrid/index.d.ts +2 -2
  329. package/dist/src/lib/azure/services/eventgrid/index.js +2 -18
  330. package/dist/src/lib/azure/services/eventgrid/main.d.ts +6 -6
  331. package/dist/src/lib/azure/services/eventgrid/main.js +34 -38
  332. package/dist/src/lib/azure/services/eventgrid/types.d.ts +3 -3
  333. package/dist/src/lib/azure/services/eventgrid/types.js +1 -2
  334. package/dist/src/lib/azure/services/function/index.d.ts +2 -2
  335. package/dist/src/lib/azure/services/function/index.js +2 -18
  336. package/dist/src/lib/azure/services/function/main.d.ts +5 -5
  337. package/dist/src/lib/azure/services/function/main.js +17 -21
  338. package/dist/src/lib/azure/services/function/types.d.ts +3 -3
  339. package/dist/src/lib/azure/services/function/types.js +1 -2
  340. package/dist/src/lib/azure/services/index.d.ts +15 -15
  341. package/dist/src/lib/azure/services/index.js +15 -31
  342. package/dist/src/lib/azure/services/key-vault/index.d.ts +2 -2
  343. package/dist/src/lib/azure/services/key-vault/index.js +2 -18
  344. package/dist/src/lib/azure/services/key-vault/main.d.ts +3 -3
  345. package/dist/src/lib/azure/services/key-vault/main.js +9 -13
  346. package/dist/src/lib/azure/services/key-vault/types.d.ts +1 -1
  347. package/dist/src/lib/azure/services/key-vault/types.js +1 -2
  348. package/dist/src/lib/azure/services/log-analytics-workspace/index.d.ts +2 -2
  349. package/dist/src/lib/azure/services/log-analytics-workspace/index.js +2 -18
  350. package/dist/src/lib/azure/services/log-analytics-workspace/main.d.ts +3 -3
  351. package/dist/src/lib/azure/services/log-analytics-workspace/main.js +9 -13
  352. package/dist/src/lib/azure/services/log-analytics-workspace/types.d.ts +1 -1
  353. package/dist/src/lib/azure/services/log-analytics-workspace/types.js +1 -2
  354. package/dist/src/lib/azure/services/monitor/index.d.ts +2 -2
  355. package/dist/src/lib/azure/services/monitor/index.js +2 -18
  356. package/dist/src/lib/azure/services/monitor/main.d.ts +3 -3
  357. package/dist/src/lib/azure/services/monitor/main.js +7 -11
  358. package/dist/src/lib/azure/services/monitor/types.d.ts +1 -1
  359. package/dist/src/lib/azure/services/monitor/types.js +1 -2
  360. package/dist/src/lib/azure/services/redis/index.d.ts +2 -2
  361. package/dist/src/lib/azure/services/redis/index.js +2 -18
  362. package/dist/src/lib/azure/services/redis/main.d.ts +3 -3
  363. package/dist/src/lib/azure/services/redis/main.js +9 -13
  364. package/dist/src/lib/azure/services/redis/types.d.ts +1 -1
  365. package/dist/src/lib/azure/services/redis/types.js +1 -2
  366. package/dist/src/lib/azure/services/resource-group/index.d.ts +2 -2
  367. package/dist/src/lib/azure/services/resource-group/index.js +2 -18
  368. package/dist/src/lib/azure/services/resource-group/main.d.ts +3 -3
  369. package/dist/src/lib/azure/services/resource-group/main.js +7 -11
  370. package/dist/src/lib/azure/services/resource-group/types.d.ts +1 -1
  371. package/dist/src/lib/azure/services/resource-group/types.js +1 -2
  372. package/dist/src/lib/azure/services/servicebus/index.d.ts +2 -2
  373. package/dist/src/lib/azure/services/servicebus/index.js +2 -18
  374. package/dist/src/lib/azure/services/servicebus/main.d.ts +7 -7
  375. package/dist/src/lib/azure/services/servicebus/main.js +29 -33
  376. package/dist/src/lib/azure/services/servicebus/types.d.ts +5 -5
  377. package/dist/src/lib/azure/services/servicebus/types.js +1 -2
  378. package/dist/src/lib/azure/services/storage/index.d.ts +2 -2
  379. package/dist/src/lib/azure/services/storage/index.js +2 -18
  380. package/dist/src/lib/azure/services/storage/main.d.ts +6 -6
  381. package/dist/src/lib/azure/services/storage/main.js +27 -31
  382. package/dist/src/lib/azure/services/storage/types.d.ts +5 -5
  383. package/dist/src/lib/azure/services/storage/types.js +1 -2
  384. package/dist/src/lib/azure/types/index.js +1 -2
  385. package/dist/src/lib/azure/utils/index.d.ts +1 -1
  386. package/dist/src/lib/azure/utils/index.js +5 -12
  387. package/dist/src/lib/cloudflare/common/constants.js +2 -5
  388. package/dist/src/lib/cloudflare/common/construct.d.ts +4 -4
  389. package/dist/src/lib/cloudflare/common/construct.js +32 -36
  390. package/dist/src/lib/cloudflare/common/index.d.ts +4 -4
  391. package/dist/src/lib/cloudflare/common/index.js +4 -20
  392. package/dist/src/lib/cloudflare/common/stack.d.ts +2 -2
  393. package/dist/src/lib/cloudflare/common/stack.js +18 -25
  394. package/dist/src/lib/cloudflare/common/types.d.ts +3 -3
  395. package/dist/src/lib/cloudflare/common/types.js +1 -2
  396. package/dist/src/lib/cloudflare/construct/index.d.ts +2 -2
  397. package/dist/src/lib/cloudflare/construct/index.js +2 -18
  398. package/dist/src/lib/cloudflare/construct/pages-static-site/index.d.ts +2 -2
  399. package/dist/src/lib/cloudflare/construct/pages-static-site/index.js +2 -18
  400. package/dist/src/lib/cloudflare/construct/pages-static-site/main.d.ts +7 -7
  401. package/dist/src/lib/cloudflare/construct/pages-static-site/main.js +12 -16
  402. package/dist/src/lib/cloudflare/construct/pages-static-site/types.d.ts +2 -2
  403. package/dist/src/lib/cloudflare/construct/pages-static-site/types.js +1 -2
  404. package/dist/src/lib/cloudflare/construct/worker-site/index.d.ts +2 -2
  405. package/dist/src/lib/cloudflare/construct/worker-site/index.js +2 -18
  406. package/dist/src/lib/cloudflare/construct/worker-site/main.d.ts +5 -5
  407. package/dist/src/lib/cloudflare/construct/worker-site/main.js +15 -19
  408. package/dist/src/lib/cloudflare/construct/worker-site/types.d.ts +2 -2
  409. package/dist/src/lib/cloudflare/construct/worker-site/types.js +1 -2
  410. package/dist/src/lib/cloudflare/index.d.ts +5 -5
  411. package/dist/src/lib/cloudflare/index.js +5 -21
  412. package/dist/src/lib/cloudflare/services/access/index.d.ts +2 -2
  413. package/dist/src/lib/cloudflare/services/access/index.js +2 -18
  414. package/dist/src/lib/cloudflare/services/access/main.d.ts +13 -13
  415. package/dist/src/lib/cloudflare/services/access/main.js +45 -49
  416. package/dist/src/lib/cloudflare/services/access/types.d.ts +11 -11
  417. package/dist/src/lib/cloudflare/services/access/types.js +1 -2
  418. package/dist/src/lib/cloudflare/services/api-shield/index.d.ts +2 -2
  419. package/dist/src/lib/cloudflare/services/api-shield/index.js +2 -18
  420. package/dist/src/lib/cloudflare/services/api-shield/main.d.ts +7 -7
  421. package/dist/src/lib/cloudflare/services/api-shield/main.js +22 -26
  422. package/dist/src/lib/cloudflare/services/api-shield/types.d.ts +5 -5
  423. package/dist/src/lib/cloudflare/services/api-shield/types.js +1 -2
  424. package/dist/src/lib/cloudflare/services/argo/index.d.ts +2 -2
  425. package/dist/src/lib/cloudflare/services/argo/index.js +2 -18
  426. package/dist/src/lib/cloudflare/services/argo/main.d.ts +4 -4
  427. package/dist/src/lib/cloudflare/services/argo/main.js +10 -14
  428. package/dist/src/lib/cloudflare/services/argo/types.d.ts +2 -2
  429. package/dist/src/lib/cloudflare/services/argo/types.js +1 -2
  430. package/dist/src/lib/cloudflare/services/filter/index.d.ts +2 -2
  431. package/dist/src/lib/cloudflare/services/filter/index.js +2 -18
  432. package/dist/src/lib/cloudflare/services/filter/main.d.ts +3 -3
  433. package/dist/src/lib/cloudflare/services/filter/main.js +6 -10
  434. package/dist/src/lib/cloudflare/services/filter/types.d.ts +1 -1
  435. package/dist/src/lib/cloudflare/services/filter/types.js +1 -2
  436. package/dist/src/lib/cloudflare/services/firewall/index.d.ts +2 -2
  437. package/dist/src/lib/cloudflare/services/firewall/index.js +2 -18
  438. package/dist/src/lib/cloudflare/services/firewall/main.d.ts +3 -3
  439. package/dist/src/lib/cloudflare/services/firewall/main.js +6 -10
  440. package/dist/src/lib/cloudflare/services/firewall/types.d.ts +1 -1
  441. package/dist/src/lib/cloudflare/services/firewall/types.js +1 -2
  442. package/dist/src/lib/cloudflare/services/index.d.ts +10 -10
  443. package/dist/src/lib/cloudflare/services/index.js +10 -26
  444. package/dist/src/lib/cloudflare/services/page/index.d.ts +2 -2
  445. package/dist/src/lib/cloudflare/services/page/index.js +2 -18
  446. package/dist/src/lib/cloudflare/services/page/main.d.ts +5 -5
  447. package/dist/src/lib/cloudflare/services/page/main.js +17 -21
  448. package/dist/src/lib/cloudflare/services/page/types.d.ts +3 -3
  449. package/dist/src/lib/cloudflare/services/page/types.js +1 -2
  450. package/dist/src/lib/cloudflare/services/record/index.d.ts +2 -2
  451. package/dist/src/lib/cloudflare/services/record/index.js +2 -18
  452. package/dist/src/lib/cloudflare/services/record/main.d.ts +3 -3
  453. package/dist/src/lib/cloudflare/services/record/main.js +6 -10
  454. package/dist/src/lib/cloudflare/services/record/types.d.ts +1 -1
  455. package/dist/src/lib/cloudflare/services/record/types.js +1 -2
  456. package/dist/src/lib/cloudflare/services/rule-set/index.d.ts +2 -2
  457. package/dist/src/lib/cloudflare/services/rule-set/index.js +2 -18
  458. package/dist/src/lib/cloudflare/services/rule-set/main.d.ts +3 -3
  459. package/dist/src/lib/cloudflare/services/rule-set/main.js +6 -10
  460. package/dist/src/lib/cloudflare/services/rule-set/types.d.ts +1 -1
  461. package/dist/src/lib/cloudflare/services/rule-set/types.js +1 -2
  462. package/dist/src/lib/cloudflare/services/worker/index.d.ts +2 -2
  463. package/dist/src/lib/cloudflare/services/worker/index.js +2 -18
  464. package/dist/src/lib/cloudflare/services/worker/main.d.ts +8 -8
  465. package/dist/src/lib/cloudflare/services/worker/main.js +26 -30
  466. package/dist/src/lib/cloudflare/services/worker/types.d.ts +6 -6
  467. package/dist/src/lib/cloudflare/services/worker/types.js +1 -2
  468. package/dist/src/lib/cloudflare/services/zone/index.d.ts +2 -2
  469. package/dist/src/lib/cloudflare/services/zone/index.js +2 -18
  470. package/dist/src/lib/cloudflare/services/zone/main.d.ts +11 -11
  471. package/dist/src/lib/cloudflare/services/zone/main.js +36 -40
  472. package/dist/src/lib/cloudflare/services/zone/types.d.ts +9 -9
  473. package/dist/src/lib/cloudflare/services/zone/types.js +1 -2
  474. package/dist/src/lib/cloudflare/types/index.js +1 -2
  475. package/dist/src/lib/cloudflare/utils/index.d.ts +1 -1
  476. package/dist/src/lib/cloudflare/utils/index.js +5 -12
  477. package/dist/src/lib/common/construct.d.ts +1 -1
  478. package/dist/src/lib/common/construct.js +2 -6
  479. package/dist/src/lib/common/index.d.ts +4 -4
  480. package/dist/src/lib/common/index.js +7 -28
  481. package/dist/src/lib/common/stack.d.ts +1 -1
  482. package/dist/src/lib/common/stack.js +2 -6
  483. package/dist/src/lib/common/types.js +1 -2
  484. package/dist/src/lib/common/utils.d.ts +15 -4
  485. package/dist/src/lib/common/utils.js +18 -13
  486. package/dist/src/lib/index.d.ts +4 -4
  487. package/dist/src/lib/index.js +4 -20
  488. package/dist/tsconfig.tsbuildinfo +1 -1
  489. package/eslint.config.mjs +60 -2
  490. package/index.ts +1 -1
  491. package/package.json +62 -55
  492. package/setup.js +3 -2
  493. package/src/lib/aws/common/construct.ts +5 -5
  494. package/src/lib/aws/common/index.ts +4 -4
  495. package/src/lib/aws/common/resource-name-formatter.ts +14 -9
  496. package/src/lib/aws/common/stack.ts +4 -4
  497. package/src/lib/aws/common/types.ts +1 -1
  498. package/src/lib/aws/construct/api-to-any-target/index.ts +3 -3
  499. package/src/lib/aws/construct/api-to-any-target/main.ts +3 -3
  500. package/src/lib/aws/construct/api-to-any-target/target.ts +1 -1
  501. package/src/lib/aws/construct/api-to-any-target/types.ts +2 -2
  502. package/src/lib/aws/construct/api-to-eventbridge-target/api.ts +1 -1
  503. package/src/lib/aws/construct/api-to-eventbridge-target/event.ts +1 -1
  504. package/src/lib/aws/construct/api-to-eventbridge-target/index.ts +4 -4
  505. package/src/lib/aws/construct/api-to-eventbridge-target/main.ts +4 -4
  506. package/src/lib/aws/construct/api-to-eventbridge-target/types.ts +2 -2
  507. package/src/lib/aws/construct/api-to-eventbridge-target-with-sns/api-destined-lambda.ts +1 -1
  508. package/src/lib/aws/construct/api-to-eventbridge-target-with-sns/index.ts +3 -3
  509. package/src/lib/aws/construct/api-to-eventbridge-target-with-sns/main.ts +4 -4
  510. package/src/lib/aws/construct/api-to-eventbridge-target-with-sns/types.ts +1 -1
  511. package/src/lib/aws/construct/api-to-lambda-target/api.ts +1 -1
  512. package/src/lib/aws/construct/api-to-lambda-target/index.ts +3 -3
  513. package/src/lib/aws/construct/api-to-lambda-target/main.ts +3 -3
  514. package/src/lib/aws/construct/api-to-lambda-target/types.ts +2 -2
  515. package/src/lib/aws/construct/application-configuration/index.ts +2 -2
  516. package/src/lib/aws/construct/application-configuration/main.ts +2 -2
  517. package/src/lib/aws/construct/application-configuration/types.ts +2 -2
  518. package/src/lib/aws/construct/event-handler/handler.ts +1 -1
  519. package/src/lib/aws/construct/event-handler/index.ts +3 -3
  520. package/src/lib/aws/construct/event-handler/main.ts +3 -3
  521. package/src/lib/aws/construct/event-handler/types.ts +9 -2
  522. package/src/lib/aws/construct/index.ts +14 -14
  523. package/src/lib/aws/construct/lambda-with-iam-access/index.ts +2 -2
  524. package/src/lib/aws/construct/lambda-with-iam-access/main.ts +3 -3
  525. package/src/lib/aws/construct/lambda-with-iam-access/types.ts +2 -2
  526. package/src/lib/aws/construct/piped-event-handler/index.ts +2 -2
  527. package/src/lib/aws/construct/piped-event-handler/main.ts +2 -2
  528. package/src/lib/aws/construct/piped-event-handler/types.ts +2 -2
  529. package/src/lib/aws/construct/rest-api-lambda/index.ts +2 -2
  530. package/src/lib/aws/construct/rest-api-lambda/main.ts +2 -2
  531. package/src/lib/aws/construct/rest-api-lambda/types.ts +2 -2
  532. package/src/lib/aws/construct/rest-api-lambda-with-cache/index.ts +2 -2
  533. package/src/lib/aws/construct/rest-api-lambda-with-cache/main.ts +3 -3
  534. package/src/lib/aws/construct/rest-api-lambda-with-cache/types.ts +2 -2
  535. package/src/lib/aws/construct/site-with-ecs-backend/index.ts +3 -3
  536. package/src/lib/aws/construct/site-with-ecs-backend/main.ts +2 -2
  537. package/src/lib/aws/construct/site-with-ecs-backend/types.ts +3 -3
  538. package/src/lib/aws/construct/site-with-lambda-backend/index.ts +3 -3
  539. package/src/lib/aws/construct/site-with-lambda-backend/main.ts +3 -3
  540. package/src/lib/aws/construct/site-with-lambda-backend/types.ts +4 -5
  541. package/src/lib/aws/construct/static-asset-deployment/index.ts +2 -2
  542. package/src/lib/aws/construct/static-asset-deployment/main.ts +2 -2
  543. package/src/lib/aws/construct/static-asset-deployment/types.ts +2 -2
  544. package/src/lib/aws/construct/static-site/index.ts +2 -2
  545. package/src/lib/aws/construct/static-site/main.ts +2 -10
  546. package/src/lib/aws/construct/static-site/types.ts +2 -2
  547. package/src/lib/aws/index.ts +5 -5
  548. package/src/lib/aws/services/api-gateway/index.ts +2 -2
  549. package/src/lib/aws/services/api-gateway/main.ts +3 -3
  550. package/src/lib/aws/services/api-gateway/types.ts +2 -2
  551. package/src/lib/aws/services/appconfig/index.ts +3 -3
  552. package/src/lib/aws/services/appconfig/main.ts +5 -5
  553. package/src/lib/aws/services/appconfig/types.ts +0 -2
  554. package/src/lib/aws/services/certificate-manager/index.ts +2 -2
  555. package/src/lib/aws/services/certificate-manager/main.ts +3 -3
  556. package/src/lib/aws/services/cloudfront/index.ts +2 -2
  557. package/src/lib/aws/services/cloudfront/main.ts +21 -81
  558. package/src/lib/aws/services/cloudfront/types.ts +2 -13
  559. package/src/lib/aws/services/cloudtrail/index.ts +2 -2
  560. package/src/lib/aws/services/cloudtrail/main.ts +3 -3
  561. package/src/lib/aws/services/cloudtrail/types.ts +0 -1
  562. package/src/lib/aws/services/cloudwatch/index.ts +3 -3
  563. package/src/lib/aws/services/cloudwatch/logs.ts +3 -3
  564. package/src/lib/aws/services/cloudwatch/main.ts +3 -3
  565. package/src/lib/aws/services/cloudwatch/types.ts +1 -1
  566. package/src/lib/aws/services/codebuild/index.ts +1 -1
  567. package/src/lib/aws/services/codebuild/main.ts +1 -1
  568. package/src/lib/aws/services/dynamodb/index.ts +2 -2
  569. package/src/lib/aws/services/dynamodb/main.ts +6 -4
  570. package/src/lib/aws/services/dynamodb/types.ts +1 -2
  571. package/src/lib/aws/services/elastic-container-registry/index.ts +1 -1
  572. package/src/lib/aws/services/elastic-container-registry/main.ts +2 -2
  573. package/src/lib/aws/services/elastic-container-service/index.ts +2 -2
  574. package/src/lib/aws/services/elastic-container-service/main.ts +3 -3
  575. package/src/lib/aws/services/elastic-container-service/types.ts +1 -2
  576. package/src/lib/aws/services/elastic-file-system/index.ts +2 -2
  577. package/src/lib/aws/services/elastic-file-system/main.ts +3 -3
  578. package/src/lib/aws/services/elastic-file-system/types.ts +0 -1
  579. package/src/lib/aws/services/elastic-kubernetes-service/index.ts +2 -2
  580. package/src/lib/aws/services/elastic-kubernetes-service/main.ts +3 -3
  581. package/src/lib/aws/services/elastic-kubernetes-service/types.ts +0 -1
  582. package/src/lib/aws/services/elasticache/index.ts +2 -2
  583. package/src/lib/aws/services/elasticache/main.ts +3 -3
  584. package/src/lib/aws/services/elasticache/types.ts +0 -1
  585. package/src/lib/aws/services/eventbridge/index.ts +3 -3
  586. package/src/lib/aws/services/eventbridge/main.ts +3 -3
  587. package/src/lib/aws/services/eventbridge/target.ts +1 -1
  588. package/src/lib/aws/services/eventbridge/types.ts +1 -2
  589. package/src/lib/aws/services/evidently/index.ts +2 -2
  590. package/src/lib/aws/services/evidently/main.ts +3 -3
  591. package/src/lib/aws/services/evidently/types.ts +0 -1
  592. package/src/lib/aws/services/identity-access-management/index.ts +1 -1
  593. package/src/lib/aws/services/identity-access-management/main.ts +2 -2
  594. package/src/lib/aws/services/index.ts +28 -28
  595. package/src/lib/aws/services/key-management-service/index.ts +2 -2
  596. package/src/lib/aws/services/key-management-service/main.ts +3 -3
  597. package/src/lib/aws/services/key-management-service/types.ts +0 -1
  598. package/src/lib/aws/services/lambda/index.ts +2 -2
  599. package/src/lib/aws/services/lambda/main.ts +10 -15
  600. package/src/lib/aws/services/lambda/types.ts +4 -4
  601. package/src/lib/aws/services/route53/index.ts +2 -2
  602. package/src/lib/aws/services/route53/main.ts +3 -3
  603. package/src/lib/aws/services/secrets-manager/index.ts +2 -2
  604. package/src/lib/aws/services/secrets-manager/main.ts +3 -3
  605. package/src/lib/aws/services/secrets-manager/types.ts +0 -1
  606. package/src/lib/aws/services/simple-notification-service/index.ts +2 -2
  607. package/src/lib/aws/services/simple-notification-service/main.ts +3 -3
  608. package/src/lib/aws/services/simple-notification-service/types.ts +0 -1
  609. package/src/lib/aws/services/simple-queue-service/index.ts +2 -2
  610. package/src/lib/aws/services/simple-queue-service/main.ts +4 -4
  611. package/src/lib/aws/services/simple-queue-service/types.ts +1 -2
  612. package/src/lib/aws/services/simple-storage-service/index.ts +2 -2
  613. package/src/lib/aws/services/simple-storage-service/main.ts +3 -3
  614. package/src/lib/aws/services/simple-storage-service/types.ts +1 -2
  615. package/src/lib/aws/services/step-function/index.ts +2 -2
  616. package/src/lib/aws/services/step-function/main.ts +3 -3
  617. package/src/lib/aws/services/step-function/types.ts +0 -1
  618. package/src/lib/aws/services/systems-manager/index.ts +2 -2
  619. package/src/lib/aws/services/systems-manager/main.ts +3 -3
  620. package/src/lib/aws/services/systems-manager/types.ts +0 -1
  621. package/src/lib/aws/services/virtual-private-cloud/index.ts +2 -2
  622. package/src/lib/aws/services/virtual-private-cloud/ipv6.ts +2 -2
  623. package/src/lib/aws/services/virtual-private-cloud/main.ts +4 -4
  624. package/src/lib/aws/services/virtual-private-cloud/types.ts +0 -1
  625. package/src/lib/aws/services/web-application-firewall/index.ts +2 -2
  626. package/src/lib/aws/services/web-application-firewall/main.ts +3 -3
  627. package/src/lib/aws/services/web-application-firewall/types.ts +0 -1
  628. package/src/lib/aws/utils/index.ts +1 -1
  629. package/src/lib/azure/common/construct.ts +16 -16
  630. package/src/lib/azure/common/index.ts +6 -6
  631. package/src/lib/azure/common/resource-name-formatter.ts +1 -2
  632. package/src/lib/azure/common/stack.ts +5 -5
  633. package/src/lib/azure/common/tagging.ts +1 -1
  634. package/src/lib/azure/common/types.ts +3 -3
  635. package/src/lib/azure/index.ts +4 -4
  636. package/src/lib/azure/services/api-management/index.ts +2 -2
  637. package/src/lib/azure/services/api-management/main.ts +23 -52
  638. package/src/lib/azure/services/api-management/types.ts +6 -6
  639. package/src/lib/azure/services/app-configuration/index.ts +2 -2
  640. package/src/lib/azure/services/app-configuration/main.ts +5 -5
  641. package/src/lib/azure/services/app-configuration/types.ts +1 -1
  642. package/src/lib/azure/services/app-service/index.ts +2 -2
  643. package/src/lib/azure/services/app-service/main.ts +6 -6
  644. package/src/lib/azure/services/app-service/types.ts +2 -2
  645. package/src/lib/azure/services/application-insights/index.ts +2 -2
  646. package/src/lib/azure/services/application-insights/main.ts +5 -5
  647. package/src/lib/azure/services/application-insights/types.ts +1 -1
  648. package/src/lib/azure/services/cosmosdb/index.ts +2 -2
  649. package/src/lib/azure/services/cosmosdb/main.ts +7 -7
  650. package/src/lib/azure/services/cosmosdb/types.ts +3 -3
  651. package/src/lib/azure/services/dns/index.ts +2 -2
  652. package/src/lib/azure/services/dns/main.ts +8 -8
  653. package/src/lib/azure/services/dns/types.ts +4 -4
  654. package/src/lib/azure/services/eventgrid/index.ts +2 -2
  655. package/src/lib/azure/services/eventgrid/main.ts +10 -10
  656. package/src/lib/azure/services/eventgrid/types.ts +3 -3
  657. package/src/lib/azure/services/function/index.ts +2 -2
  658. package/src/lib/azure/services/function/main.ts +7 -7
  659. package/src/lib/azure/services/function/types.ts +3 -3
  660. package/src/lib/azure/services/index.ts +15 -15
  661. package/src/lib/azure/services/key-vault/index.ts +2 -2
  662. package/src/lib/azure/services/key-vault/main.ts +5 -5
  663. package/src/lib/azure/services/key-vault/types.ts +1 -1
  664. package/src/lib/azure/services/log-analytics-workspace/index.ts +2 -2
  665. package/src/lib/azure/services/log-analytics-workspace/main.ts +5 -5
  666. package/src/lib/azure/services/log-analytics-workspace/types.ts +1 -1
  667. package/src/lib/azure/services/monitor/index.ts +2 -2
  668. package/src/lib/azure/services/monitor/main.ts +4 -4
  669. package/src/lib/azure/services/monitor/types.ts +1 -1
  670. package/src/lib/azure/services/redis/index.ts +2 -2
  671. package/src/lib/azure/services/redis/main.ts +5 -5
  672. package/src/lib/azure/services/redis/types.ts +1 -1
  673. package/src/lib/azure/services/resource-group/index.ts +2 -2
  674. package/src/lib/azure/services/resource-group/main.ts +4 -4
  675. package/src/lib/azure/services/resource-group/types.ts +1 -1
  676. package/src/lib/azure/services/servicebus/index.ts +2 -2
  677. package/src/lib/azure/services/servicebus/main.ts +12 -12
  678. package/src/lib/azure/services/servicebus/types.ts +5 -5
  679. package/src/lib/azure/services/storage/index.ts +2 -2
  680. package/src/lib/azure/services/storage/main.ts +11 -11
  681. package/src/lib/azure/services/storage/types.ts +6 -7
  682. package/src/lib/azure/utils/index.ts +1 -1
  683. package/src/lib/cloudflare/common/construct.ts +7 -7
  684. package/src/lib/cloudflare/common/index.ts +4 -4
  685. package/src/lib/cloudflare/common/stack.ts +3 -3
  686. package/src/lib/cloudflare/common/types.ts +3 -3
  687. package/src/lib/cloudflare/construct/index.ts +2 -2
  688. package/src/lib/cloudflare/construct/pages-static-site/index.ts +2 -2
  689. package/src/lib/cloudflare/construct/pages-static-site/main.ts +11 -11
  690. package/src/lib/cloudflare/construct/pages-static-site/types.ts +2 -2
  691. package/src/lib/cloudflare/construct/worker-site/index.ts +2 -2
  692. package/src/lib/cloudflare/construct/worker-site/main.ts +10 -10
  693. package/src/lib/cloudflare/construct/worker-site/types.ts +8 -2
  694. package/src/lib/cloudflare/index.ts +5 -5
  695. package/src/lib/cloudflare/services/access/index.ts +2 -2
  696. package/src/lib/cloudflare/services/access/main.ts +17 -17
  697. package/src/lib/cloudflare/services/access/types.ts +11 -11
  698. package/src/lib/cloudflare/services/api-shield/index.ts +2 -2
  699. package/src/lib/cloudflare/services/api-shield/main.ts +8 -8
  700. package/src/lib/cloudflare/services/api-shield/types.ts +6 -7
  701. package/src/lib/cloudflare/services/argo/index.ts +2 -2
  702. package/src/lib/cloudflare/services/argo/main.ts +5 -6
  703. package/src/lib/cloudflare/services/argo/types.ts +2 -2
  704. package/src/lib/cloudflare/services/filter/index.ts +2 -2
  705. package/src/lib/cloudflare/services/filter/main.ts +4 -4
  706. package/src/lib/cloudflare/services/filter/types.ts +1 -1
  707. package/src/lib/cloudflare/services/firewall/index.ts +2 -2
  708. package/src/lib/cloudflare/services/firewall/main.ts +4 -4
  709. package/src/lib/cloudflare/services/firewall/types.ts +1 -1
  710. package/src/lib/cloudflare/services/index.ts +10 -10
  711. package/src/lib/cloudflare/services/page/index.ts +2 -2
  712. package/src/lib/cloudflare/services/page/main.ts +6 -6
  713. package/src/lib/cloudflare/services/page/types.ts +3 -3
  714. package/src/lib/cloudflare/services/record/index.ts +2 -2
  715. package/src/lib/cloudflare/services/record/main.ts +4 -4
  716. package/src/lib/cloudflare/services/record/types.ts +1 -1
  717. package/src/lib/cloudflare/services/rule-set/index.ts +2 -2
  718. package/src/lib/cloudflare/services/rule-set/main.ts +4 -5
  719. package/src/lib/cloudflare/services/rule-set/types.ts +1 -1
  720. package/src/lib/cloudflare/services/worker/index.ts +2 -2
  721. package/src/lib/cloudflare/services/worker/main.ts +9 -9
  722. package/src/lib/cloudflare/services/worker/types.ts +6 -6
  723. package/src/lib/cloudflare/services/zone/index.ts +2 -2
  724. package/src/lib/cloudflare/services/zone/main.ts +12 -12
  725. package/src/lib/cloudflare/services/zone/types.ts +9 -9
  726. package/src/lib/cloudflare/utils/index.ts +1 -1
  727. package/src/lib/common/construct.ts +1 -1
  728. package/src/lib/common/index.ts +4 -4
  729. package/src/lib/common/stack.ts +1 -1
  730. package/src/lib/common/utils.ts +17 -4
  731. package/src/lib/index.ts +4 -4
  732. package/vitest.config.ts +38 -0
  733. package/dist/src/lib/azure/.gen/providers/azapi/resource/index.d.ts +0 -639
  734. package/dist/src/lib/azure/.gen/providers/azapi/resource/index.js +0 -1177
@@ -1,13 +1,10 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AzureEventgridManager = void 0;
4
- const data_azurerm_resource_group_1 = require("@cdktf/provider-azurerm/lib/data-azurerm-resource-group");
5
- const data_azurerm_eventgrid_topic_1 = require("@cdktf/provider-azurerm/lib/data-azurerm-eventgrid-topic");
6
- const eventgrid_topic_1 = require("@cdktf/provider-azurerm/lib/eventgrid-topic");
7
- const eventgrid_event_subscription_1 = require("@cdktf/provider-azurerm/lib/eventgrid-event-subscription");
8
- const eventgrid_system_topic_1 = require("@cdktf/provider-azurerm/lib/eventgrid-system-topic");
9
- const index_js_1 = require("@cdktf/provider-azurerm/lib/eventgrid-system-topic-event-subscription/index.js");
10
- const utils_1 = require("../../utils");
1
+ import { DataAzurermEventgridTopic, } from '@cdktf/provider-azurerm/lib/data-azurerm-eventgrid-topic/index.js';
2
+ import { DataAzurermResourceGroup } from '@cdktf/provider-azurerm/lib/data-azurerm-resource-group/index.js';
3
+ import { EventgridEventSubscription } from '@cdktf/provider-azurerm/lib/eventgrid-event-subscription/index.js';
4
+ import { EventgridSystemTopicEventSubscription } from '@cdktf/provider-azurerm/lib/eventgrid-system-topic-event-subscription/index.js';
5
+ import { EventgridSystemTopic } from '@cdktf/provider-azurerm/lib/eventgrid-system-topic/index.js';
6
+ import { EventgridTopic } from '@cdktf/provider-azurerm/lib/eventgrid-topic/index.js';
7
+ import { createAzureTfOutput } from '../../utils/index.js';
11
8
  /**
12
9
  * @classdesc Provides operations on Azure Event Grid
13
10
  * - A new instance of this class is injected into {@link CommonAzureConstruct} constructor.
@@ -25,7 +22,7 @@ const utils_1 = require("../../utils");
25
22
  * }
26
23
  * ```
27
24
  */
28
- class AzureEventgridManager {
25
+ export class AzureEventgridManager {
29
26
  /**
30
27
  * @summary Method to create a new eventgrid topic
31
28
  * @param id scoped id of the resource
@@ -36,14 +33,14 @@ class AzureEventgridManager {
36
33
  createEventgridTopic(id, scope, props) {
37
34
  if (!props)
38
35
  throw `Props undefined for ${id}`;
39
- const resourceGroup = new data_azurerm_resource_group_1.DataAzurermResourceGroup(scope, `${id}-et-rg`, {
36
+ const resourceGroup = new DataAzurermResourceGroup(scope, `${id}-et-rg`, {
40
37
  name: scope.props.resourceGroupName
41
38
  ? scope.resourceNameFormatter.format(scope.props.resourceGroupName)
42
39
  : `${props.resourceGroupName}`,
43
40
  });
44
41
  if (!resourceGroup)
45
42
  throw `Resource group undefined for ${id}`;
46
- const eventgridTopic = new eventgrid_topic_1.EventgridTopic(scope, `${id}-et`, {
43
+ const eventgridTopic = new EventgridTopic(scope, `${id}-et`, {
47
44
  ...props,
48
45
  name: scope.resourceNameFormatter.format(props.name, scope.props.resourceNameOptions?.eventGridTopic),
49
46
  location: resourceGroup.location,
@@ -52,10 +49,10 @@ class AzureEventgridManager {
52
49
  environment: scope.props.stage,
53
50
  },
54
51
  });
55
- (0, utils_1.createAzureTfOutput)(`${id}-eventgridTopicName`, scope, eventgridTopic.name);
56
- (0, utils_1.createAzureTfOutput)(`${id}-eventgridTopicFriendlyUniqueId`, scope, eventgridTopic.friendlyUniqueId);
57
- (0, utils_1.createAzureTfOutput)(`${id}-eventgridTopicId`, scope, eventgridTopic.id);
58
- (0, utils_1.createAzureTfOutput)(`${id}-eventgridTopicEndpoint`, scope, eventgridTopic.endpoint);
52
+ createAzureTfOutput(`${id}-eventgridTopicName`, scope, eventgridTopic.name);
53
+ createAzureTfOutput(`${id}-eventgridTopicFriendlyUniqueId`, scope, eventgridTopic.friendlyUniqueId);
54
+ createAzureTfOutput(`${id}-eventgridTopicId`, scope, eventgridTopic.id);
55
+ createAzureTfOutput(`${id}-eventgridTopicEndpoint`, scope, eventgridTopic.endpoint);
59
56
  return eventgridTopic;
60
57
  }
61
58
  /**
@@ -68,22 +65,22 @@ class AzureEventgridManager {
68
65
  resolveEventgridTopic(id, scope, props) {
69
66
  if (!props)
70
67
  throw `Props undefined for ${id}`;
71
- const resourceGroup = new data_azurerm_resource_group_1.DataAzurermResourceGroup(scope, `${id}-et-rg`, {
68
+ const resourceGroup = new DataAzurermResourceGroup(scope, `${id}-et-rg`, {
72
69
  name: scope.props.resourceGroupName
73
70
  ? scope.resourceNameFormatter.format(scope.props.resourceGroupName)
74
71
  : `${props.resourceGroupName}`,
75
72
  });
76
73
  if (!resourceGroup)
77
74
  throw `Resource group undefined for ${id}`;
78
- const eventgridTopic = new data_azurerm_eventgrid_topic_1.DataAzurermEventgridTopic(scope, `${id}-et`, {
75
+ const eventgridTopic = new DataAzurermEventgridTopic(scope, `${id}-et`, {
79
76
  ...props,
80
77
  name: scope.resourceNameFormatter.format(props.name, scope.props.resourceNameOptions?.eventGridTopic),
81
78
  resourceGroupName: resourceGroup.name,
82
79
  });
83
- (0, utils_1.createAzureTfOutput)(`${id}-eventgridTopicName`, scope, eventgridTopic.name);
84
- (0, utils_1.createAzureTfOutput)(`${id}-eventgridTopicFriendlyUniqueId`, scope, eventgridTopic.friendlyUniqueId);
85
- (0, utils_1.createAzureTfOutput)(`${id}-eventgridTopicId`, scope, eventgridTopic.id);
86
- (0, utils_1.createAzureTfOutput)(`${id}-eventgridTopicEndpoint`, scope, eventgridTopic.endpoint);
80
+ createAzureTfOutput(`${id}-eventgridTopicName`, scope, eventgridTopic.name);
81
+ createAzureTfOutput(`${id}-eventgridTopicFriendlyUniqueId`, scope, eventgridTopic.friendlyUniqueId);
82
+ createAzureTfOutput(`${id}-eventgridTopicId`, scope, eventgridTopic.id);
83
+ createAzureTfOutput(`${id}-eventgridTopicEndpoint`, scope, eventgridTopic.endpoint);
87
84
  return eventgridTopic;
88
85
  }
89
86
  /**
@@ -96,7 +93,7 @@ class AzureEventgridManager {
96
93
  createEventgridSubscription(id, scope, props) {
97
94
  if (!props)
98
95
  throw `Props undefined for ${id}`;
99
- const eventgridSubscription = new eventgrid_event_subscription_1.EventgridEventSubscription(scope, `${id}-es`, {
96
+ const eventgridSubscription = new EventgridEventSubscription(scope, `${id}-es`, {
100
97
  ...props,
101
98
  name: scope.resourceNameFormatter.format(props.name, scope.props.resourceNameOptions?.eventGridEventSubscription),
102
99
  eventDeliverySchema: props.eventDeliverySchema ?? 'CloudEventSchemaV1_0',
@@ -106,9 +103,9 @@ class AzureEventgridManager {
106
103
  maxDeliveryAttempts: props.retryPolicy?.maxDeliveryAttempts ?? 7,
107
104
  },
108
105
  });
109
- (0, utils_1.createAzureTfOutput)(`${id}-eventgridSubscriptiontName`, scope, eventgridSubscription.name);
110
- (0, utils_1.createAzureTfOutput)(`${id}-eventgridSubscriptionFriendlyUniqueId`, scope, eventgridSubscription.friendlyUniqueId);
111
- (0, utils_1.createAzureTfOutput)(`${id}-eventgridSubscriptionId`, scope, eventgridSubscription.id);
106
+ createAzureTfOutput(`${id}-eventgridSubscriptiontName`, scope, eventgridSubscription.name);
107
+ createAzureTfOutput(`${id}-eventgridSubscriptionFriendlyUniqueId`, scope, eventgridSubscription.friendlyUniqueId);
108
+ createAzureTfOutput(`${id}-eventgridSubscriptionId`, scope, eventgridSubscription.id);
112
109
  return eventgridSubscription;
113
110
  }
114
111
  /**
@@ -121,14 +118,14 @@ class AzureEventgridManager {
121
118
  createEventgridSystemTopic(id, scope, props) {
122
119
  if (!props)
123
120
  throw `Props undefined for ${id}`;
124
- const resourceGroup = new data_azurerm_resource_group_1.DataAzurermResourceGroup(scope, `${id}-est-rg`, {
121
+ const resourceGroup = new DataAzurermResourceGroup(scope, `${id}-est-rg`, {
125
122
  name: scope.props.resourceGroupName
126
123
  ? scope.resourceNameFormatter.format(scope.props.resourceGroupName)
127
124
  : `${props.resourceGroupName}`,
128
125
  });
129
126
  if (!resourceGroup)
130
127
  throw `Resource group undefined for ${id}`;
131
- const eventgridSystemTopic = new eventgrid_system_topic_1.EventgridSystemTopic(scope, `${id}-est`, {
128
+ const eventgridSystemTopic = new EventgridSystemTopic(scope, `${id}-est`, {
132
129
  ...props,
133
130
  name: scope.resourceNameFormatter.format(props.name, scope.props.resourceNameOptions?.eventGridSystemTopic),
134
131
  location: resourceGroup.location,
@@ -137,9 +134,9 @@ class AzureEventgridManager {
137
134
  environment: scope.props.stage,
138
135
  },
139
136
  });
140
- (0, utils_1.createAzureTfOutput)(`${id}-eventgridSystemTopicName`, scope, eventgridSystemTopic.name);
141
- (0, utils_1.createAzureTfOutput)(`${id}-eventgridSystemTopicFriendlyUniqueId`, scope, eventgridSystemTopic.friendlyUniqueId);
142
- (0, utils_1.createAzureTfOutput)(`${id}-eventgridSystemTopicId`, scope, eventgridSystemTopic.id);
137
+ createAzureTfOutput(`${id}-eventgridSystemTopicName`, scope, eventgridSystemTopic.name);
138
+ createAzureTfOutput(`${id}-eventgridSystemTopicFriendlyUniqueId`, scope, eventgridSystemTopic.friendlyUniqueId);
139
+ createAzureTfOutput(`${id}-eventgridSystemTopicId`, scope, eventgridSystemTopic.id);
143
140
  return eventgridSystemTopic;
144
141
  }
145
142
  /**
@@ -152,23 +149,22 @@ class AzureEventgridManager {
152
149
  createEventgridSystemTopicEventSubscription(id, scope, props, systemTopic) {
153
150
  if (!props)
154
151
  throw `Props undefined for ${id}`;
155
- const resourceGroup = new data_azurerm_resource_group_1.DataAzurermResourceGroup(scope, `${id}-ests-rg`, {
152
+ const resourceGroup = new DataAzurermResourceGroup(scope, `${id}-ests-rg`, {
156
153
  name: scope.props.resourceGroupName
157
154
  ? scope.resourceNameFormatter.format(scope.props.resourceGroupName)
158
155
  : `${props.resourceGroupName}`,
159
156
  });
160
157
  if (!resourceGroup)
161
158
  throw `Resource group undefined for ${id}`;
162
- const eventgridSystemTopicSubscription = new index_js_1.EventgridSystemTopicEventSubscription(scope, `${id}-ests`, {
159
+ const eventgridSystemTopicSubscription = new EventgridSystemTopicEventSubscription(scope, `${id}-ests`, {
163
160
  ...props,
164
161
  name: scope.resourceNameFormatter.format(props.name, scope.props.resourceNameOptions?.eventGridSystemTopicEventSubscription),
165
162
  systemTopic: systemTopic.name,
166
163
  resourceGroupName: resourceGroup.name,
167
164
  });
168
- (0, utils_1.createAzureTfOutput)(`${id}-eventgridSystemTopicEventSubscriptionName`, scope, eventgridSystemTopicSubscription.name);
169
- (0, utils_1.createAzureTfOutput)(`${id}-eventgridSystemTopicEventSubscriptionFriendlyUniqueId`, scope, eventgridSystemTopicSubscription.friendlyUniqueId);
170
- (0, utils_1.createAzureTfOutput)(`${id}-eventgridSystemTopicEventSubscriptionId`, scope, eventgridSystemTopicSubscription.id);
165
+ createAzureTfOutput(`${id}-eventgridSystemTopicEventSubscriptionName`, scope, eventgridSystemTopicSubscription.name);
166
+ createAzureTfOutput(`${id}-eventgridSystemTopicEventSubscriptionFriendlyUniqueId`, scope, eventgridSystemTopicSubscription.friendlyUniqueId);
167
+ createAzureTfOutput(`${id}-eventgridSystemTopicEventSubscriptionId`, scope, eventgridSystemTopicSubscription.id);
171
168
  return eventgridSystemTopicSubscription;
172
169
  }
173
170
  }
174
- exports.AzureEventgridManager = AzureEventgridManager;
@@ -1,7 +1,7 @@
1
- import { EventgridTopicConfig } from '@cdktf/provider-azurerm/lib/eventgrid-topic';
2
- import { EventgridEventSubscriptionConfig } from '@cdktf/provider-azurerm/lib/eventgrid-event-subscription';
3
- import { EventgridSystemTopicConfig } from '@cdktf/provider-azurerm/lib/eventgrid-system-topic';
1
+ import { EventgridEventSubscriptionConfig } from '@cdktf/provider-azurerm/lib/eventgrid-event-subscription/index.js';
4
2
  import { EventgridSystemTopicEventSubscriptionConfig } from '@cdktf/provider-azurerm/lib/eventgrid-system-topic-event-subscription/index.js';
3
+ import { EventgridSystemTopicConfig } from '@cdktf/provider-azurerm/lib/eventgrid-system-topic/index.js';
4
+ import { EventgridTopicConfig } from '@cdktf/provider-azurerm/lib/eventgrid-topic/index.js';
5
5
  export interface EventgridTopicProps extends EventgridTopicConfig {
6
6
  }
7
7
  export interface EventgridEventSubscriptionProps extends EventgridEventSubscriptionConfig {
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ export {};
@@ -1,2 +1,2 @@
1
- export * from './main';
2
- export * from './types';
1
+ export * from './main.js';
2
+ export * from './types.js';
@@ -1,18 +1,2 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./main"), exports);
18
- __exportStar(require("./types"), exports);
1
+ export * from './main.js';
2
+ export * from './types.js';
@@ -1,8 +1,8 @@
1
- import { LinuxFunctionApp } from '@cdktf/provider-azurerm/lib/linux-function-app';
2
- import { FunctionAppFunction } from '@cdktf/provider-azurerm/lib/function-app-function';
3
- import { FunctionAppFlexConsumption } from '@cdktf/provider-azurerm/lib/function-app-flex-consumption';
4
- import { CommonAzureConstruct } from '../../common';
5
- import { FunctionAppProps, FunctionProps, FunctionAppFlexConsumptionProps } from './types';
1
+ import { FunctionAppFlexConsumption } from '@cdktf/provider-azurerm/lib/function-app-flex-consumption/index.js';
2
+ import { FunctionAppFunction } from '@cdktf/provider-azurerm/lib/function-app-function/index.js';
3
+ import { LinuxFunctionApp } from '@cdktf/provider-azurerm/lib/linux-function-app/index.js';
4
+ import { CommonAzureConstruct } from '../../common/index.js';
5
+ import { FunctionAppFlexConsumptionProps, FunctionAppProps, FunctionProps } from './types.js';
6
6
  /**
7
7
  * @classdesc Provides operations on Azure Functions
8
8
  * - A new instance of this class is injected into {@link CommonAzureConstruct} constructor.
@@ -1,11 +1,8 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AzureFunctionManager = void 0;
4
- const data_azurerm_resource_group_1 = require("@cdktf/provider-azurerm/lib/data-azurerm-resource-group");
5
- const linux_function_app_1 = require("@cdktf/provider-azurerm/lib/linux-function-app");
6
- const function_app_function_1 = require("@cdktf/provider-azurerm/lib/function-app-function");
7
- const function_app_flex_consumption_1 = require("@cdktf/provider-azurerm/lib/function-app-flex-consumption");
8
- const utils_1 = require("../../utils");
1
+ import { DataAzurermResourceGroup } from '@cdktf/provider-azurerm/lib/data-azurerm-resource-group/index.js';
2
+ import { FunctionAppFlexConsumption } from '@cdktf/provider-azurerm/lib/function-app-flex-consumption/index.js';
3
+ import { FunctionAppFunction } from '@cdktf/provider-azurerm/lib/function-app-function/index.js';
4
+ import { LinuxFunctionApp } from '@cdktf/provider-azurerm/lib/linux-function-app/index.js';
5
+ import { createAzureTfOutput } from '../../utils/index.js';
9
6
  /**
10
7
  * @classdesc Provides operations on Azure Functions
11
8
  * - A new instance of this class is injected into {@link CommonAzureConstruct} constructor.
@@ -23,7 +20,7 @@ const utils_1 = require("../../utils");
23
20
  * }
24
21
  * ```
25
22
  */
26
- class AzureFunctionManager {
23
+ export class AzureFunctionManager {
27
24
  /**
28
25
  * @summary Method to create a new function app
29
26
  * @param id scoped id of the resource
@@ -34,14 +31,14 @@ class AzureFunctionManager {
34
31
  createFunctionApp(id, scope, props) {
35
32
  if (!props)
36
33
  throw `Props undefined for ${id}`;
37
- const resourceGroup = new data_azurerm_resource_group_1.DataAzurermResourceGroup(scope, `${id}-fa-rg`, {
34
+ const resourceGroup = new DataAzurermResourceGroup(scope, `${id}-fa-rg`, {
38
35
  name: scope.props.resourceGroupName
39
36
  ? scope.resourceNameFormatter.format(scope.props.resourceGroupName)
40
37
  : `${props.resourceGroupName}`,
41
38
  });
42
39
  if (!resourceGroup)
43
40
  throw `Resource group undefined for ${id}`;
44
- const functionApp = new linux_function_app_1.LinuxFunctionApp(scope, `${id}-fa`, {
41
+ const functionApp = new LinuxFunctionApp(scope, `${id}-fa`, {
45
42
  ...props,
46
43
  name: scope.resourceNameFormatter.format(props.name, scope.props.resourceNameOptions?.linuxFunctionApp),
47
44
  resourceGroupName: resourceGroup.name,
@@ -49,9 +46,9 @@ class AzureFunctionManager {
49
46
  environment: scope.props.stage,
50
47
  },
51
48
  });
52
- (0, utils_1.createAzureTfOutput)(`${id}-functionAppName`, scope, functionApp.name);
53
- (0, utils_1.createAzureTfOutput)(`${id}-functionAppFriendlyUniqueId`, scope, functionApp.friendlyUniqueId);
54
- (0, utils_1.createAzureTfOutput)(`${id}-functionAppId`, scope, functionApp.id);
49
+ createAzureTfOutput(`${id}-functionAppName`, scope, functionApp.name);
50
+ createAzureTfOutput(`${id}-functionAppFriendlyUniqueId`, scope, functionApp.friendlyUniqueId);
51
+ createAzureTfOutput(`${id}-functionAppId`, scope, functionApp.id);
55
52
  return functionApp;
56
53
  }
57
54
  /**
@@ -64,14 +61,14 @@ class AzureFunctionManager {
64
61
  createFunction(id, scope, props) {
65
62
  if (!props)
66
63
  throw `Props undefined for ${id}`;
67
- const functionAppFunction = new function_app_function_1.FunctionAppFunction(scope, `${id}-fc`, {
64
+ const functionAppFunction = new FunctionAppFunction(scope, `${id}-fc`, {
68
65
  ...props,
69
66
  name: scope.resourceNameFormatter.format(props.name, scope.props.resourceNameOptions?.functionAppFunction),
70
67
  configJson: JSON.stringify(props.configJson ?? {}),
71
68
  });
72
- (0, utils_1.createAzureTfOutput)(`${id}-functionName`, scope, functionAppFunction.name);
73
- (0, utils_1.createAzureTfOutput)(`${id}-functionFriendlyUniqueId`, scope, functionAppFunction.friendlyUniqueId);
74
- (0, utils_1.createAzureTfOutput)(`${id}-functionId`, scope, functionAppFunction.id);
69
+ createAzureTfOutput(`${id}-functionName`, scope, functionAppFunction.name);
70
+ createAzureTfOutput(`${id}-functionFriendlyUniqueId`, scope, functionAppFunction.friendlyUniqueId);
71
+ createAzureTfOutput(`${id}-functionId`, scope, functionAppFunction.id);
75
72
  return functionAppFunction;
76
73
  }
77
74
  /**
@@ -83,14 +80,14 @@ class AzureFunctionManager {
83
80
  createFunctionAppFlexConsumption(id, scope, props) {
84
81
  if (!props)
85
82
  throw `Props undefined for ${id}`;
86
- const resourceGroup = new data_azurerm_resource_group_1.DataAzurermResourceGroup(scope, `${id}-fa-rg`, {
83
+ const resourceGroup = new DataAzurermResourceGroup(scope, `${id}-fa-rg`, {
87
84
  name: scope.props.resourceGroupName
88
85
  ? scope.resourceNameFormatter.format(scope.props.resourceGroupName)
89
86
  : `${props.resourceGroupName}`,
90
87
  });
91
88
  if (!resourceGroup)
92
89
  throw `Resource group undefined for ${id}`;
93
- const functionApp = new function_app_flex_consumption_1.FunctionAppFlexConsumption(scope, `${id}-fc`, {
90
+ const functionApp = new FunctionAppFlexConsumption(scope, `${id}-fc`, {
94
91
  ...props,
95
92
  name: scope.resourceNameFormatter.format(props.name, scope.props.resourceNameOptions?.functionApp),
96
93
  location: resourceGroup.location,
@@ -115,4 +112,3 @@ class AzureFunctionManager {
115
112
  return functionApp;
116
113
  }
117
114
  }
118
- exports.AzureFunctionManager = AzureFunctionManager;
@@ -1,6 +1,6 @@
1
- import { LinuxFunctionAppConfig } from '@cdktf/provider-azurerm/lib/linux-function-app';
2
- import { FunctionAppFunctionConfig } from '@cdktf/provider-azurerm/lib/function-app-function';
3
- import { FunctionAppFlexConsumptionConfig } from '@cdktf/provider-azurerm/lib/function-app-flex-consumption';
1
+ import { LinuxFunctionAppConfig } from '@cdktf/provider-azurerm/lib/linux-function-app/index.js';
2
+ import { FunctionAppFunctionConfig } from '@cdktf/provider-azurerm/lib/function-app-function/index.js';
3
+ import { FunctionAppFlexConsumptionConfig } from '@cdktf/provider-azurerm/lib/function-app-flex-consumption/index.js';
4
4
  export interface FunctionAppProps extends LinuxFunctionAppConfig {
5
5
  }
6
6
  export interface FunctionProps extends FunctionAppFunctionConfig {
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ export {};
@@ -1,15 +1,15 @@
1
- export * from './api-management';
2
- export * from './app-configuration';
3
- export * from './app-service';
4
- export * from './application-insights';
5
- export * from './cosmosdb';
6
- export * from './dns';
7
- export * from './eventgrid';
8
- export * from './function';
9
- export * from './key-vault';
10
- export * from './log-analytics-workspace';
11
- export * from './monitor';
12
- export * from './redis';
13
- export * from './resource-group';
14
- export * from './servicebus';
15
- export * from './storage';
1
+ export * from './api-management/index.js';
2
+ export * from './app-configuration/index.js';
3
+ export * from './app-service/index.js';
4
+ export * from './application-insights/index.js';
5
+ export * from './cosmosdb/index.js';
6
+ export * from './dns/index.js';
7
+ export * from './eventgrid/index.js';
8
+ export * from './function/index.js';
9
+ export * from './key-vault/index.js';
10
+ export * from './log-analytics-workspace/index.js';
11
+ export * from './monitor/index.js';
12
+ export * from './redis/index.js';
13
+ export * from './resource-group/index.js';
14
+ export * from './servicebus/index.js';
15
+ export * from './storage/index.js';
@@ -1,31 +1,15 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./api-management"), exports);
18
- __exportStar(require("./app-configuration"), exports);
19
- __exportStar(require("./app-service"), exports);
20
- __exportStar(require("./application-insights"), exports);
21
- __exportStar(require("./cosmosdb"), exports);
22
- __exportStar(require("./dns"), exports);
23
- __exportStar(require("./eventgrid"), exports);
24
- __exportStar(require("./function"), exports);
25
- __exportStar(require("./key-vault"), exports);
26
- __exportStar(require("./log-analytics-workspace"), exports);
27
- __exportStar(require("./monitor"), exports);
28
- __exportStar(require("./redis"), exports);
29
- __exportStar(require("./resource-group"), exports);
30
- __exportStar(require("./servicebus"), exports);
31
- __exportStar(require("./storage"), exports);
1
+ export * from './api-management/index.js';
2
+ export * from './app-configuration/index.js';
3
+ export * from './app-service/index.js';
4
+ export * from './application-insights/index.js';
5
+ export * from './cosmosdb/index.js';
6
+ export * from './dns/index.js';
7
+ export * from './eventgrid/index.js';
8
+ export * from './function/index.js';
9
+ export * from './key-vault/index.js';
10
+ export * from './log-analytics-workspace/index.js';
11
+ export * from './monitor/index.js';
12
+ export * from './redis/index.js';
13
+ export * from './resource-group/index.js';
14
+ export * from './servicebus/index.js';
15
+ export * from './storage/index.js';
@@ -1,2 +1,2 @@
1
- export * from './main';
2
- export * from './types';
1
+ export * from './main.js';
2
+ export * from './types.js';
@@ -1,18 +1,2 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./main"), exports);
18
- __exportStar(require("./types"), exports);
1
+ export * from './main.js';
2
+ export * from './types.js';
@@ -1,6 +1,6 @@
1
- import { KeyVault } from '@cdktf/provider-azurerm/lib/key-vault';
2
- import { CommonAzureConstruct } from '../../common';
3
- import { KeyVaultProps } from './types';
1
+ import { KeyVault } from '@cdktf/provider-azurerm/lib/key-vault/index.js';
2
+ import { CommonAzureConstruct } from '../../common/index.js';
3
+ import { KeyVaultProps } from './types.js';
4
4
  /**
5
5
  * @classdesc Provides operations on Azure Key Vault
6
6
  * - A new instance of this class is injected into {@link CommonAzureConstruct} constructor.
@@ -1,9 +1,6 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AzureKeyVaultManager = void 0;
4
- const data_azurerm_resource_group_1 = require("@cdktf/provider-azurerm/lib/data-azurerm-resource-group");
5
- const key_vault_1 = require("@cdktf/provider-azurerm/lib/key-vault");
6
- const utils_1 = require("../../utils");
1
+ import { DataAzurermResourceGroup } from '@cdktf/provider-azurerm/lib/data-azurerm-resource-group/index.js';
2
+ import { KeyVault } from '@cdktf/provider-azurerm/lib/key-vault/index.js';
3
+ import { createAzureTfOutput } from '../../utils/index.js';
7
4
  /**
8
5
  * @classdesc Provides operations on Azure Key Vault
9
6
  * - A new instance of this class is injected into {@link CommonAzureConstruct} constructor.
@@ -21,7 +18,7 @@ const utils_1 = require("../../utils");
21
18
  * }
22
19
  * ```
23
20
  */
24
- class AzureKeyVaultManager {
21
+ export class AzureKeyVaultManager {
25
22
  /**
26
23
  * @summary Method to create a new key vault
27
24
  * @param id scoped id of the resource
@@ -32,14 +29,14 @@ class AzureKeyVaultManager {
32
29
  createKeyVault(id, scope, props) {
33
30
  if (!props)
34
31
  throw `Props undefined for ${id}`;
35
- const resourceGroup = new data_azurerm_resource_group_1.DataAzurermResourceGroup(scope, `${id}-kv-rg`, {
32
+ const resourceGroup = new DataAzurermResourceGroup(scope, `${id}-kv-rg`, {
36
33
  name: scope.props.resourceGroupName
37
34
  ? scope.resourceNameFormatter.format(scope.props.resourceGroupName)
38
35
  : `${props.resourceGroupName}`,
39
36
  });
40
37
  if (!resourceGroup)
41
38
  throw `Resource group undefined for ${id}`;
42
- const keyVault = new key_vault_1.KeyVault(scope, `${id}-kv`, {
39
+ const keyVault = new KeyVault(scope, `${id}-kv`, {
43
40
  ...props,
44
41
  name: scope.resourceNameFormatter.format(props.name, scope.props.resourceNameOptions?.keyVault),
45
42
  location: resourceGroup.location,
@@ -52,10 +49,9 @@ class AzureKeyVaultManager {
52
49
  environment: scope.props.stage,
53
50
  },
54
51
  });
55
- (0, utils_1.createAzureTfOutput)(`${id}-keyVaultName`, scope, keyVault.name);
56
- (0, utils_1.createAzureTfOutput)(`${id}-keyVaultFriendlyUniqueId`, scope, keyVault.friendlyUniqueId);
57
- (0, utils_1.createAzureTfOutput)(`${id}-keyVaultId`, scope, keyVault.id);
52
+ createAzureTfOutput(`${id}-keyVaultName`, scope, keyVault.name);
53
+ createAzureTfOutput(`${id}-keyVaultFriendlyUniqueId`, scope, keyVault.friendlyUniqueId);
54
+ createAzureTfOutput(`${id}-keyVaultId`, scope, keyVault.id);
58
55
  return keyVault;
59
56
  }
60
57
  }
61
- exports.AzureKeyVaultManager = AzureKeyVaultManager;
@@ -1,3 +1,3 @@
1
- import { KeyVaultConfig } from '@cdktf/provider-azurerm/lib/key-vault';
1
+ import { KeyVaultConfig } from '@cdktf/provider-azurerm/lib/key-vault/index.js';
2
2
  export interface KeyVaultProps extends KeyVaultConfig {
3
3
  }
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ export {};
@@ -1,2 +1,2 @@
1
- export * from './main';
2
- export * from './types';
1
+ export * from './main.js';
2
+ export * from './types.js';
@@ -1,18 +1,2 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./main"), exports);
18
- __exportStar(require("./types"), exports);
1
+ export * from './main.js';
2
+ export * from './types.js';
@@ -1,6 +1,6 @@
1
- import { LogAnalyticsWorkspace } from '@cdktf/provider-azurerm/lib/log-analytics-workspace';
2
- import { CommonAzureConstruct } from '../../common';
3
- import { LogAnalyticsWorkspaceProps } from './types';
1
+ import { LogAnalyticsWorkspace } from '@cdktf/provider-azurerm/lib/log-analytics-workspace/index.js';
2
+ import { CommonAzureConstruct } from '../../common/index.js';
3
+ import { LogAnalyticsWorkspaceProps } from './types.js';
4
4
  /**
5
5
  * @classdesc Provides operations on Azure Log Analytics Workspace
6
6
  * - A new instance of this class is injected into {@link CommonAzureConstruct} constructor.
@@ -1,9 +1,6 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AzureLogAnalyticsWorkspaceManager = void 0;
4
- const data_azurerm_resource_group_1 = require("@cdktf/provider-azurerm/lib/data-azurerm-resource-group");
5
- const log_analytics_workspace_1 = require("@cdktf/provider-azurerm/lib/log-analytics-workspace");
6
- const utils_1 = require("../../utils");
1
+ import { DataAzurermResourceGroup } from '@cdktf/provider-azurerm/lib/data-azurerm-resource-group/index.js';
2
+ import { LogAnalyticsWorkspace } from '@cdktf/provider-azurerm/lib/log-analytics-workspace/index.js';
3
+ import { createAzureTfOutput } from '../../utils/index.js';
7
4
  /**
8
5
  * @classdesc Provides operations on Azure Log Analytics Workspace
9
6
  * - A new instance of this class is injected into {@link CommonAzureConstruct} constructor.
@@ -21,7 +18,7 @@ const utils_1 = require("../../utils");
21
18
  * }
22
19
  * ```
23
20
  */
24
- class AzureLogAnalyticsWorkspaceManager {
21
+ export class AzureLogAnalyticsWorkspaceManager {
25
22
  /**
26
23
  * @summary Method to create a new cosmosdb account
27
24
  * @param id scoped id of the resource
@@ -32,14 +29,14 @@ class AzureLogAnalyticsWorkspaceManager {
32
29
  createLogAnalyticsWorkspace(id, scope, props) {
33
30
  if (!props)
34
31
  throw `Props undefined for ${id}`;
35
- const resourceGroup = new data_azurerm_resource_group_1.DataAzurermResourceGroup(scope, `${id}-lw-rg`, {
32
+ const resourceGroup = new DataAzurermResourceGroup(scope, `${id}-lw-rg`, {
36
33
  name: scope.props.resourceGroupName
37
34
  ? scope.resourceNameFormatter.format(scope.props.resourceGroupName)
38
35
  : `${props.resourceGroupName}`,
39
36
  });
40
37
  if (!resourceGroup)
41
38
  throw `Resource group undefined for ${id}`;
42
- const logAnalyticsWorkspace = new log_analytics_workspace_1.LogAnalyticsWorkspace(scope, `${id}-lw`, {
39
+ const logAnalyticsWorkspace = new LogAnalyticsWorkspace(scope, `${id}-lw`, {
43
40
  ...props,
44
41
  name: scope.resourceNameFormatter.format(props.name, scope.props.resourceNameOptions?.logAnalyticsWorkspace),
45
42
  location: resourceGroup.location,
@@ -50,10 +47,9 @@ class AzureLogAnalyticsWorkspaceManager {
50
47
  environment: scope.props.stage,
51
48
  },
52
49
  });
53
- (0, utils_1.createAzureTfOutput)(`${id}-logAnalyticsWorkspaceName`, scope, logAnalyticsWorkspace.name);
54
- (0, utils_1.createAzureTfOutput)(`${id}-logAnalyticsWorkspaceFriendlyUniqueId`, scope, logAnalyticsWorkspace.friendlyUniqueId);
55
- (0, utils_1.createAzureTfOutput)(`${id}-logAnalyticsWorkspaceId`, scope, logAnalyticsWorkspace.id);
50
+ createAzureTfOutput(`${id}-logAnalyticsWorkspaceName`, scope, logAnalyticsWorkspace.name);
51
+ createAzureTfOutput(`${id}-logAnalyticsWorkspaceFriendlyUniqueId`, scope, logAnalyticsWorkspace.friendlyUniqueId);
52
+ createAzureTfOutput(`${id}-logAnalyticsWorkspaceId`, scope, logAnalyticsWorkspace.id);
56
53
  return logAnalyticsWorkspace;
57
54
  }
58
55
  }
59
- exports.AzureLogAnalyticsWorkspaceManager = AzureLogAnalyticsWorkspaceManager;