@epilot360/icons 0.0.2 → 1.0.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 (624) hide show
  1. package/README.md +3 -5
  2. package/dist/bundle.js +1 -1
  3. package/dist/bundle.js.map +1 -1
  4. package/index.js.map +1 -1
  5. package/package.json +41 -8
  6. package/react/Account/index.d.ts +4 -0
  7. package/react/Account/index.js +41 -0
  8. package/react/Account/index.js.map +1 -0
  9. package/react/Add/index.d.ts +4 -0
  10. package/react/Add/index.js +41 -0
  11. package/react/Add/index.js.map +1 -0
  12. package/react/AddCircle/index.d.ts +4 -0
  13. package/react/AddCircle/index.js +41 -0
  14. package/react/AddCircle/index.js.map +1 -0
  15. package/react/Browse/index.d.ts +4 -0
  16. package/react/Browse/index.js +27 -0
  17. package/react/Browse/index.js.map +1 -0
  18. package/react/Calendar/index.d.ts +4 -0
  19. package/react/Calendar/index.js +41 -0
  20. package/react/Calendar/index.js.map +1 -0
  21. package/react/Cancel/index.d.ts +4 -0
  22. package/react/Cancel/index.js +41 -0
  23. package/react/Cancel/index.js.map +1 -0
  24. package/react/Check/index.d.ts +4 -0
  25. package/react/Check/index.js +41 -0
  26. package/react/Check/index.js.map +1 -0
  27. package/react/CheckCircle/index.d.ts +4 -0
  28. package/react/CheckCircle/index.js +41 -0
  29. package/react/CheckCircle/index.js.map +1 -0
  30. package/react/Close/index.d.ts +4 -0
  31. package/react/Close/index.js +41 -0
  32. package/react/Close/index.js.map +1 -0
  33. package/react/Compass/index.d.ts +4 -0
  34. package/react/Compass/index.js +27 -0
  35. package/react/Compass/index.js.map +1 -0
  36. package/react/Contact/index.d.ts +4 -0
  37. package/react/Contact/index.js +41 -0
  38. package/react/Contact/index.js.map +1 -0
  39. package/react/ContentCopy/index.d.ts +4 -0
  40. package/react/ContentCopy/index.js +41 -0
  41. package/react/ContentCopy/index.js.map +1 -0
  42. package/react/Contract/index.d.ts +4 -0
  43. package/react/Contract/index.js +41 -0
  44. package/react/Contract/index.js.map +1 -0
  45. package/react/Dashboard/index.d.ts +4 -0
  46. package/react/Dashboard/index.js +41 -0
  47. package/react/Dashboard/index.js.map +1 -0
  48. package/react/DataObject/index.d.ts +4 -0
  49. package/react/DataObject/index.js +41 -0
  50. package/react/DataObject/index.js.map +1 -0
  51. package/react/Delete/index.d.ts +4 -0
  52. package/react/Delete/index.js +41 -0
  53. package/react/Delete/index.js.map +1 -0
  54. package/react/Design/index.d.ts +4 -0
  55. package/react/Design/index.js +41 -0
  56. package/react/Design/index.js.map +1 -0
  57. package/react/Document/index.d.ts +4 -0
  58. package/react/Document/index.js +41 -0
  59. package/react/Document/index.js.map +1 -0
  60. package/react/Draft/index.d.ts +4 -0
  61. package/react/Draft/index.js +41 -0
  62. package/react/Draft/index.js.map +1 -0
  63. package/react/DragIndicator/index.d.ts +4 -0
  64. package/react/DragIndicator/index.js +41 -0
  65. package/react/DragIndicator/index.js.map +1 -0
  66. package/react/Edit/index.d.ts +4 -0
  67. package/react/Edit/index.js +41 -0
  68. package/react/Edit/index.js.map +1 -0
  69. package/react/Entity/index.d.ts +4 -0
  70. package/react/Entity/index.js +41 -0
  71. package/react/Entity/index.js.map +1 -0
  72. package/react/Epilot/index.d.ts +4 -0
  73. package/react/Epilot/index.js +40 -0
  74. package/react/Epilot/index.js.map +1 -0
  75. package/react/EpilotIcon.d.ts +110 -0
  76. package/react/EpilotIcon.js +130 -0
  77. package/react/EpilotIcon.js.map +1 -0
  78. package/react/ExpandLess/index.d.ts +4 -0
  79. package/react/ExpandLess/index.js +41 -0
  80. package/react/ExpandLess/index.js.map +1 -0
  81. package/react/ExpandMore/index.d.ts +4 -0
  82. package/react/ExpandMore/index.js +41 -0
  83. package/react/ExpandMore/index.js.map +1 -0
  84. package/react/Explore/index.d.ts +4 -0
  85. package/react/Explore/index.js +41 -0
  86. package/react/Explore/index.js.map +1 -0
  87. package/react/File/index.d.ts +4 -0
  88. package/react/File/index.js +41 -0
  89. package/react/File/index.js.map +1 -0
  90. package/react/Folder/index.d.ts +4 -0
  91. package/react/Folder/index.js +41 -0
  92. package/react/Folder/index.js.map +1 -0
  93. package/react/Help/index.d.ts +4 -0
  94. package/react/Help/index.js +41 -0
  95. package/react/Help/index.js.map +1 -0
  96. package/react/Info/index.d.ts +4 -0
  97. package/react/Info/index.js +41 -0
  98. package/react/Info/index.js.map +1 -0
  99. package/react/Journey/index.d.ts +4 -0
  100. package/react/Journey/index.js +41 -0
  101. package/react/Journey/index.js.map +1 -0
  102. package/react/Mail/index.d.ts +4 -0
  103. package/react/Mail/index.js +41 -0
  104. package/react/Mail/index.js.map +1 -0
  105. package/react/Menu/index.d.ts +4 -0
  106. package/react/Menu/index.js +41 -0
  107. package/react/Menu/index.js.map +1 -0
  108. package/react/Message/index.d.ts +4 -0
  109. package/react/Message/index.js +41 -0
  110. package/react/Message/index.js.map +1 -0
  111. package/react/Meter/index.d.ts +4 -0
  112. package/react/Meter/index.js +41 -0
  113. package/react/Meter/index.js.map +1 -0
  114. package/react/Notifications/index.d.ts +4 -0
  115. package/react/Notifications/index.js +41 -0
  116. package/react/Notifications/index.js.map +1 -0
  117. package/react/OpenInNew/index.d.ts +4 -0
  118. package/react/OpenInNew/index.js +41 -0
  119. package/react/OpenInNew/index.js.map +1 -0
  120. package/react/Opportunity/index.d.ts +4 -0
  121. package/react/Opportunity/index.js +41 -0
  122. package/react/Opportunity/index.js.map +1 -0
  123. package/react/Order/index.d.ts +4 -0
  124. package/react/Order/index.js +41 -0
  125. package/react/Order/index.js.map +1 -0
  126. package/react/Partner/index.d.ts +4 -0
  127. package/react/Partner/index.js +41 -0
  128. package/react/Partner/index.js.map +1 -0
  129. package/react/Price/index.d.ts +4 -0
  130. package/react/Price/index.js +41 -0
  131. package/react/Price/index.js.map +1 -0
  132. package/react/Product/index.d.ts +4 -0
  133. package/react/Product/index.js +41 -0
  134. package/react/Product/index.js.map +1 -0
  135. package/react/Refresh/index.d.ts +4 -0
  136. package/react/Refresh/index.js +41 -0
  137. package/react/Refresh/index.js.map +1 -0
  138. package/react/Search/index.d.ts +4 -0
  139. package/react/Search/index.js +41 -0
  140. package/react/Search/index.js.map +1 -0
  141. package/react/Settings/index.d.ts +4 -0
  142. package/react/Settings/index.js +41 -0
  143. package/react/Settings/index.js.map +1 -0
  144. package/react/Share/index.d.ts +4 -0
  145. package/react/Share/index.js +41 -0
  146. package/react/Share/index.js.map +1 -0
  147. package/react/Submission/index.d.ts +4 -0
  148. package/react/Submission/index.js +41 -0
  149. package/react/Submission/index.js.map +1 -0
  150. package/react/Tax/index.d.ts +4 -0
  151. package/react/Tax/index.js +41 -0
  152. package/react/Tax/index.js.map +1 -0
  153. package/react/Templates/index.d.ts +4 -0
  154. package/react/Templates/index.js +41 -0
  155. package/react/Templates/index.js.map +1 -0
  156. package/react/Visibility/index.d.ts +4 -0
  157. package/react/Visibility/index.js +41 -0
  158. package/react/Visibility/index.js.map +1 -0
  159. package/react/VisibilityOff/index.d.ts +4 -0
  160. package/react/VisibilityOff/index.js +41 -0
  161. package/react/VisibilityOff/index.js.map +1 -0
  162. package/react/Warning/index.d.ts +4 -0
  163. package/react/Warning/index.js +41 -0
  164. package/react/Warning/index.js.map +1 -0
  165. package/react/Webhook/index.d.ts +4 -0
  166. package/react/Webhook/index.js +41 -0
  167. package/react/Webhook/index.js.map +1 -0
  168. package/react/Workflow/index.d.ts +4 -0
  169. package/react/Workflow/index.js +41 -0
  170. package/react/Workflow/index.js.map +1 -0
  171. package/react/index.d.ts +50 -0
  172. package/react/index.js +50 -0
  173. package/react/index.js.map +1 -1
  174. package/react/types.d.ts +8 -0
  175. package/react/types.js +10 -0
  176. package/react/types.js.map +1 -0
  177. package/src/stories/Readme.mdx +53 -0
  178. package/iac/node_modules/@balena/dockerignore/LICENSE.md +0 -206
  179. package/iac/node_modules/@balena/dockerignore/README.md +0 -261
  180. package/iac/node_modules/@cspotcode/source-map-support/LICENSE.md +0 -21
  181. package/iac/node_modules/@cspotcode/source-map-support/README.md +0 -289
  182. package/iac/node_modules/@jridgewell/resolve-uri/LICENSE +0 -19
  183. package/iac/node_modules/@jridgewell/resolve-uri/README.md +0 -40
  184. package/iac/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs.map +0 -1
  185. package/iac/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js.map +0 -1
  186. package/iac/node_modules/@jridgewell/sourcemap-codec/LICENSE +0 -21
  187. package/iac/node_modules/@jridgewell/sourcemap-codec/README.md +0 -200
  188. package/iac/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs.map +0 -1
  189. package/iac/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js.map +0 -1
  190. package/iac/node_modules/@jridgewell/trace-mapping/LICENSE +0 -19
  191. package/iac/node_modules/@jridgewell/trace-mapping/README.md +0 -193
  192. package/iac/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs.map +0 -1
  193. package/iac/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js.map +0 -1
  194. package/iac/node_modules/@tsconfig/node10/LICENSE +0 -21
  195. package/iac/node_modules/@tsconfig/node10/README.md +0 -40
  196. package/iac/node_modules/@tsconfig/node12/LICENSE +0 -21
  197. package/iac/node_modules/@tsconfig/node12/README.md +0 -40
  198. package/iac/node_modules/@tsconfig/node14/LICENSE +0 -21
  199. package/iac/node_modules/@tsconfig/node14/README.md +0 -40
  200. package/iac/node_modules/@tsconfig/node16/LICENSE +0 -21
  201. package/iac/node_modules/@tsconfig/node16/README.md +0 -40
  202. package/iac/node_modules/@types/jest/LICENSE +0 -21
  203. package/iac/node_modules/@types/jest/README.md +0 -17
  204. package/iac/node_modules/@types/node/LICENSE +0 -21
  205. package/iac/node_modules/@types/node/README.md +0 -16
  206. package/iac/node_modules/@types/prettier/LICENSE +0 -21
  207. package/iac/node_modules/@types/prettier/README.md +0 -16
  208. package/iac/node_modules/acorn/LICENSE +0 -21
  209. package/iac/node_modules/acorn/README.md +0 -273
  210. package/iac/node_modules/acorn-walk/LICENSE +0 -21
  211. package/iac/node_modules/acorn-walk/README.md +0 -126
  212. package/iac/node_modules/ansi-regex/license +0 -9
  213. package/iac/node_modules/ansi-regex/readme.md +0 -78
  214. package/iac/node_modules/ansi-styles/license +0 -9
  215. package/iac/node_modules/ansi-styles/readme.md +0 -144
  216. package/iac/node_modules/arg/LICENSE.md +0 -21
  217. package/iac/node_modules/arg/README.md +0 -280
  218. package/iac/node_modules/at-least-node/LICENSE +0 -6
  219. package/iac/node_modules/at-least-node/README.md +0 -25
  220. package/iac/node_modules/aws-cdk/LICENSE +0 -201
  221. package/iac/node_modules/aws-cdk/README.md +0 -742
  222. package/iac/node_modules/aws-cdk/lib/init-templates/LICENSE +0 -16
  223. package/iac/node_modules/aws-cdk/lib/init-templates/app/csharp/README.md +0 -14
  224. package/iac/node_modules/aws-cdk/lib/init-templates/app/fsharp/README.md +0 -18
  225. package/iac/node_modules/aws-cdk/lib/init-templates/app/go/README.md +0 -12
  226. package/iac/node_modules/aws-cdk/lib/init-templates/app/java/README.md +0 -18
  227. package/iac/node_modules/aws-cdk/lib/init-templates/app/javascript/README.md +0 -12
  228. package/iac/node_modules/aws-cdk/lib/init-templates/app/python/README.template.md +0 -58
  229. package/iac/node_modules/aws-cdk/lib/init-templates/app/typescript/README.md +0 -14
  230. package/iac/node_modules/aws-cdk/lib/init-templates/lib/typescript/README.template.md +0 -12
  231. package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/csharp/README.template.md +0 -19
  232. package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/fsharp/README.template.md +0 -20
  233. package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/go/README.md +0 -12
  234. package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/java/README.template.md +0 -19
  235. package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/javascript/README.template.md +0 -13
  236. package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/python/README.template.md +0 -65
  237. package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/typescript/README.template.md +0 -15
  238. package/iac/node_modules/aws-cdk/test/integ/cli/README.md +0 -48
  239. package/iac/node_modules/aws-cdk/test/integ/cli-regression-patches/README.md +0 -54
  240. package/iac/node_modules/aws-cdk-lib/LICENSE +0 -201
  241. package/iac/node_modules/aws-cdk-lib/README.md +0 -1119
  242. package/iac/node_modules/aws-cdk-lib/alexa-ask/README.md +0 -27
  243. package/iac/node_modules/aws-cdk-lib/assertions/README.md +0 -571
  244. package/iac/node_modules/aws-cdk-lib/assets/README.md +0 -4
  245. package/iac/node_modules/aws-cdk-lib/aws-accessanalyzer/README.md +0 -27
  246. package/iac/node_modules/aws-cdk-lib/aws-acmpca/README.md +0 -59
  247. package/iac/node_modules/aws-cdk-lib/aws-amazonmq/README.md +0 -27
  248. package/iac/node_modules/aws-cdk-lib/aws-amplify/README.md +0 -32
  249. package/iac/node_modules/aws-cdk-lib/aws-amplifyuibuilder/README.md +0 -27
  250. package/iac/node_modules/aws-cdk-lib/aws-apigateway/README.md +0 -1335
  251. package/iac/node_modules/aws-cdk-lib/aws-apigatewayv2/README.md +0 -32
  252. package/iac/node_modules/aws-cdk-lib/aws-appconfig/README.md +0 -27
  253. package/iac/node_modules/aws-cdk-lib/aws-appflow/README.md +0 -27
  254. package/iac/node_modules/aws-cdk-lib/aws-appintegrations/README.md +0 -27
  255. package/iac/node_modules/aws-cdk-lib/aws-applicationautoscaling/README.md +0 -246
  256. package/iac/node_modules/aws-cdk-lib/aws-applicationinsights/README.md +0 -27
  257. package/iac/node_modules/aws-cdk-lib/aws-appmesh/README.md +0 -883
  258. package/iac/node_modules/aws-cdk-lib/aws-apprunner/README.md +0 -32
  259. package/iac/node_modules/aws-cdk-lib/aws-appstream/README.md +0 -27
  260. package/iac/node_modules/aws-cdk-lib/aws-appsync/README.md +0 -32
  261. package/iac/node_modules/aws-cdk-lib/aws-aps/README.md +0 -27
  262. package/iac/node_modules/aws-cdk-lib/aws-athena/README.md +0 -27
  263. package/iac/node_modules/aws-cdk-lib/aws-auditmanager/README.md +0 -27
  264. package/iac/node_modules/aws-cdk-lib/aws-autoscaling/README.md +0 -540
  265. package/iac/node_modules/aws-cdk-lib/aws-autoscaling-common/README.md +0 -8
  266. package/iac/node_modules/aws-cdk-lib/aws-autoscaling-hooktargets/README.md +0 -18
  267. package/iac/node_modules/aws-cdk-lib/aws-autoscalingplans/README.md +0 -27
  268. package/iac/node_modules/aws-cdk-lib/aws-backup/README.md +0 -210
  269. package/iac/node_modules/aws-cdk-lib/aws-batch/README.md +0 -32
  270. package/iac/node_modules/aws-cdk-lib/aws-billingconductor/README.md +0 -27
  271. package/iac/node_modules/aws-cdk-lib/aws-budgets/README.md +0 -27
  272. package/iac/node_modules/aws-cdk-lib/aws-cassandra/README.md +0 -27
  273. package/iac/node_modules/aws-cdk-lib/aws-ce/README.md +0 -27
  274. package/iac/node_modules/aws-cdk-lib/aws-certificatemanager/README.md +0 -166
  275. package/iac/node_modules/aws-cdk-lib/aws-certificatemanager/lambda-packages/dns_validated_certificate_handler/README.md +0 -2
  276. package/iac/node_modules/aws-cdk-lib/aws-certificatemanager/suffixes/README.txt +0 -8
  277. package/iac/node_modules/aws-cdk-lib/aws-chatbot/README.md +0 -44
  278. package/iac/node_modules/aws-cdk-lib/aws-cloud9/README.md +0 -32
  279. package/iac/node_modules/aws-cdk-lib/aws-cloudformation/README.md +0 -4
  280. package/iac/node_modules/aws-cdk-lib/aws-cloudfront/README.md +0 -973
  281. package/iac/node_modules/aws-cdk-lib/aws-cloudfront-origins/README.md +0 -126
  282. package/iac/node_modules/aws-cdk-lib/aws-cloudtrail/README.md +0 -189
  283. package/iac/node_modules/aws-cdk-lib/aws-cloudwatch/README.md +0 -579
  284. package/iac/node_modules/aws-cdk-lib/aws-cloudwatch-actions/README.md +0 -43
  285. package/iac/node_modules/aws-cdk-lib/aws-codeartifact/README.md +0 -27
  286. package/iac/node_modules/aws-cdk-lib/aws-codebuild/README.md +0 -759
  287. package/iac/node_modules/aws-cdk-lib/aws-codecommit/README.md +0 -85
  288. package/iac/node_modules/aws-cdk-lib/aws-codedeploy/README.md +0 -319
  289. package/iac/node_modules/aws-cdk-lib/aws-codeguruprofiler/README.md +0 -37
  290. package/iac/node_modules/aws-cdk-lib/aws-codegurureviewer/README.md +0 -27
  291. package/iac/node_modules/aws-cdk-lib/aws-codepipeline/README.md +0 -481
  292. package/iac/node_modules/aws-cdk-lib/aws-codepipeline-actions/README.md +0 -1203
  293. package/iac/node_modules/aws-cdk-lib/aws-codestar/README.md +0 -32
  294. package/iac/node_modules/aws-cdk-lib/aws-codestarconnections/README.md +0 -27
  295. package/iac/node_modules/aws-cdk-lib/aws-codestarnotifications/README.md +0 -68
  296. package/iac/node_modules/aws-cdk-lib/aws-cognito/README.md +0 -843
  297. package/iac/node_modules/aws-cdk-lib/aws-config/README.md +0 -218
  298. package/iac/node_modules/aws-cdk-lib/aws-connect/README.md +0 -27
  299. package/iac/node_modules/aws-cdk-lib/aws-controltower/README.md +0 -27
  300. package/iac/node_modules/aws-cdk-lib/aws-cur/README.md +0 -27
  301. package/iac/node_modules/aws-cdk-lib/aws-customerprofiles/README.md +0 -27
  302. package/iac/node_modules/aws-cdk-lib/aws-databrew/README.md +0 -27
  303. package/iac/node_modules/aws-cdk-lib/aws-datapipeline/README.md +0 -27
  304. package/iac/node_modules/aws-cdk-lib/aws-datasync/README.md +0 -27
  305. package/iac/node_modules/aws-cdk-lib/aws-dax/README.md +0 -27
  306. package/iac/node_modules/aws-cdk-lib/aws-detective/README.md +0 -27
  307. package/iac/node_modules/aws-cdk-lib/aws-devopsguru/README.md +0 -27
  308. package/iac/node_modules/aws-cdk-lib/aws-directoryservice/README.md +0 -27
  309. package/iac/node_modules/aws-cdk-lib/aws-dlm/README.md +0 -27
  310. package/iac/node_modules/aws-cdk-lib/aws-dms/README.md +0 -27
  311. package/iac/node_modules/aws-cdk-lib/aws-docdb/README.md +0 -153
  312. package/iac/node_modules/aws-cdk-lib/aws-dynamodb/README.md +0 -200
  313. package/iac/node_modules/aws-cdk-lib/aws-ec2/README.md +0 -1514
  314. package/iac/node_modules/aws-cdk-lib/aws-ecr/README.md +0 -110
  315. package/iac/node_modules/aws-cdk-lib/aws-ecr-assets/README.md +0 -167
  316. package/iac/node_modules/aws-cdk-lib/aws-ecs/README.md +0 -1225
  317. package/iac/node_modules/aws-cdk-lib/aws-ecs-patterns/README.md +0 -980
  318. package/iac/node_modules/aws-cdk-lib/aws-efs/README.md +0 -154
  319. package/iac/node_modules/aws-cdk-lib/aws-eks/README.md +0 -1450
  320. package/iac/node_modules/aws-cdk-lib/aws-elasticache/README.md +0 -27
  321. package/iac/node_modules/aws-cdk-lib/aws-elasticbeanstalk/README.md +0 -27
  322. package/iac/node_modules/aws-cdk-lib/aws-elasticloadbalancing/README.md +0 -40
  323. package/iac/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2/README.md +0 -569
  324. package/iac/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-actions/README.md +0 -68
  325. package/iac/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-targets/README.md +0 -4
  326. package/iac/node_modules/aws-cdk-lib/aws-elasticsearch/README.md +0 -441
  327. package/iac/node_modules/aws-cdk-lib/aws-emr/README.md +0 -27
  328. package/iac/node_modules/aws-cdk-lib/aws-emrcontainers/README.md +0 -27
  329. package/iac/node_modules/aws-cdk-lib/aws-emrserverless/README.md +0 -27
  330. package/iac/node_modules/aws-cdk-lib/aws-events/README.md +0 -249
  331. package/iac/node_modules/aws-cdk-lib/aws-events-targets/README.md +0 -339
  332. package/iac/node_modules/aws-cdk-lib/aws-eventschemas/README.md +0 -27
  333. package/iac/node_modules/aws-cdk-lib/aws-evidently/README.md +0 -27
  334. package/iac/node_modules/aws-cdk-lib/aws-finspace/README.md +0 -27
  335. package/iac/node_modules/aws-cdk-lib/aws-fis/README.md +0 -27
  336. package/iac/node_modules/aws-cdk-lib/aws-fms/README.md +0 -27
  337. package/iac/node_modules/aws-cdk-lib/aws-forecast/README.md +0 -27
  338. package/iac/node_modules/aws-cdk-lib/aws-frauddetector/README.md +0 -27
  339. package/iac/node_modules/aws-cdk-lib/aws-fsx/README.md +0 -200
  340. package/iac/node_modules/aws-cdk-lib/aws-gamelift/README.md +0 -27
  341. package/iac/node_modules/aws-cdk-lib/aws-globalaccelerator/README.md +0 -182
  342. package/iac/node_modules/aws-cdk-lib/aws-globalaccelerator-endpoints/README.md +0 -10
  343. package/iac/node_modules/aws-cdk-lib/aws-glue/README.md +0 -32
  344. package/iac/node_modules/aws-cdk-lib/aws-greengrass/README.md +0 -27
  345. package/iac/node_modules/aws-cdk-lib/aws-greengrassv2/README.md +0 -27
  346. package/iac/node_modules/aws-cdk-lib/aws-groundstation/README.md +0 -27
  347. package/iac/node_modules/aws-cdk-lib/aws-guardduty/README.md +0 -27
  348. package/iac/node_modules/aws-cdk-lib/aws-healthlake/README.md +0 -27
  349. package/iac/node_modules/aws-cdk-lib/aws-iam/README.md +0 -509
  350. package/iac/node_modules/aws-cdk-lib/aws-imagebuilder/README.md +0 -27
  351. package/iac/node_modules/aws-cdk-lib/aws-inspector/README.md +0 -27
  352. package/iac/node_modules/aws-cdk-lib/aws-inspectorv2/README.md +0 -27
  353. package/iac/node_modules/aws-cdk-lib/aws-iot/README.md +0 -32
  354. package/iac/node_modules/aws-cdk-lib/aws-iot1click/README.md +0 -27
  355. package/iac/node_modules/aws-cdk-lib/aws-iotanalytics/README.md +0 -27
  356. package/iac/node_modules/aws-cdk-lib/aws-iotcoredeviceadvisor/README.md +0 -27
  357. package/iac/node_modules/aws-cdk-lib/aws-iotevents/README.md +0 -32
  358. package/iac/node_modules/aws-cdk-lib/aws-iotfleethub/README.md +0 -27
  359. package/iac/node_modules/aws-cdk-lib/aws-iotsitewise/README.md +0 -27
  360. package/iac/node_modules/aws-cdk-lib/aws-iotthingsgraph/README.md +0 -27
  361. package/iac/node_modules/aws-cdk-lib/aws-iottwinmaker/README.md +0 -27
  362. package/iac/node_modules/aws-cdk-lib/aws-iotwireless/README.md +0 -27
  363. package/iac/node_modules/aws-cdk-lib/aws-ivs/README.md +0 -32
  364. package/iac/node_modules/aws-cdk-lib/aws-kafkaconnect/README.md +0 -27
  365. package/iac/node_modules/aws-cdk-lib/aws-kendra/README.md +0 -27
  366. package/iac/node_modules/aws-cdk-lib/aws-kinesis/README.md +0 -188
  367. package/iac/node_modules/aws-cdk-lib/aws-kinesisanalytics/README.md +0 -27
  368. package/iac/node_modules/aws-cdk-lib/aws-kinesisanalyticsv2/README.md +0 -27
  369. package/iac/node_modules/aws-cdk-lib/aws-kinesisfirehose/README.md +0 -32
  370. package/iac/node_modules/aws-cdk-lib/aws-kinesisvideo/README.md +0 -27
  371. package/iac/node_modules/aws-cdk-lib/aws-kms/README.md +0 -209
  372. package/iac/node_modules/aws-cdk-lib/aws-lakeformation/README.md +0 -27
  373. package/iac/node_modules/aws-cdk-lib/aws-lambda/README.md +0 -985
  374. package/iac/node_modules/aws-cdk-lib/aws-lambda-destinations/README.md +0 -147
  375. package/iac/node_modules/aws-cdk-lib/aws-lambda-event-sources/README.md +0 -281
  376. package/iac/node_modules/aws-cdk-lib/aws-lambda-nodejs/README.md +0 -317
  377. package/iac/node_modules/aws-cdk-lib/aws-lex/README.md +0 -27
  378. package/iac/node_modules/aws-cdk-lib/aws-licensemanager/README.md +0 -27
  379. package/iac/node_modules/aws-cdk-lib/aws-lightsail/README.md +0 -27
  380. package/iac/node_modules/aws-cdk-lib/aws-location/README.md +0 -27
  381. package/iac/node_modules/aws-cdk-lib/aws-logs/README.md +0 -322
  382. package/iac/node_modules/aws-cdk-lib/aws-logs-destinations/README.md +0 -7
  383. package/iac/node_modules/aws-cdk-lib/aws-lookoutequipment/README.md +0 -27
  384. package/iac/node_modules/aws-cdk-lib/aws-lookoutmetrics/README.md +0 -27
  385. package/iac/node_modules/aws-cdk-lib/aws-lookoutvision/README.md +0 -27
  386. package/iac/node_modules/aws-cdk-lib/aws-m2/README.md +0 -27
  387. package/iac/node_modules/aws-cdk-lib/aws-macie/README.md +0 -27
  388. package/iac/node_modules/aws-cdk-lib/aws-managedblockchain/README.md +0 -27
  389. package/iac/node_modules/aws-cdk-lib/aws-mediaconnect/README.md +0 -27
  390. package/iac/node_modules/aws-cdk-lib/aws-mediaconvert/README.md +0 -27
  391. package/iac/node_modules/aws-cdk-lib/aws-medialive/README.md +0 -27
  392. package/iac/node_modules/aws-cdk-lib/aws-mediapackage/README.md +0 -27
  393. package/iac/node_modules/aws-cdk-lib/aws-mediastore/README.md +0 -27
  394. package/iac/node_modules/aws-cdk-lib/aws-mediatailor/README.md +0 -27
  395. package/iac/node_modules/aws-cdk-lib/aws-memorydb/README.md +0 -27
  396. package/iac/node_modules/aws-cdk-lib/aws-msk/README.md +0 -32
  397. package/iac/node_modules/aws-cdk-lib/aws-mwaa/README.md +0 -27
  398. package/iac/node_modules/aws-cdk-lib/aws-neptune/README.md +0 -32
  399. package/iac/node_modules/aws-cdk-lib/aws-networkfirewall/README.md +0 -27
  400. package/iac/node_modules/aws-cdk-lib/aws-networkmanager/README.md +0 -27
  401. package/iac/node_modules/aws-cdk-lib/aws-nimblestudio/README.md +0 -27
  402. package/iac/node_modules/aws-cdk-lib/aws-opensearchservice/README.md +0 -378
  403. package/iac/node_modules/aws-cdk-lib/aws-opsworks/README.md +0 -27
  404. package/iac/node_modules/aws-cdk-lib/aws-opsworkscm/README.md +0 -27
  405. package/iac/node_modules/aws-cdk-lib/aws-panorama/README.md +0 -27
  406. package/iac/node_modules/aws-cdk-lib/aws-personalize/README.md +0 -27
  407. package/iac/node_modules/aws-cdk-lib/aws-pinpoint/README.md +0 -27
  408. package/iac/node_modules/aws-cdk-lib/aws-pinpointemail/README.md +0 -27
  409. package/iac/node_modules/aws-cdk-lib/aws-qldb/README.md +0 -27
  410. package/iac/node_modules/aws-cdk-lib/aws-quicksight/README.md +0 -27
  411. package/iac/node_modules/aws-cdk-lib/aws-ram/README.md +0 -27
  412. package/iac/node_modules/aws-cdk-lib/aws-rds/README.md +0 -704
  413. package/iac/node_modules/aws-cdk-lib/aws-redshift/README.md +0 -32
  414. package/iac/node_modules/aws-cdk-lib/aws-redshiftserverless/README.md +0 -27
  415. package/iac/node_modules/aws-cdk-lib/aws-refactorspaces/README.md +0 -27
  416. package/iac/node_modules/aws-cdk-lib/aws-rekognition/README.md +0 -27
  417. package/iac/node_modules/aws-cdk-lib/aws-resiliencehub/README.md +0 -27
  418. package/iac/node_modules/aws-cdk-lib/aws-resourcegroups/README.md +0 -27
  419. package/iac/node_modules/aws-cdk-lib/aws-robomaker/README.md +0 -27
  420. package/iac/node_modules/aws-cdk-lib/aws-route53/README.md +0 -281
  421. package/iac/node_modules/aws-cdk-lib/aws-route53-patterns/README.md +0 -45
  422. package/iac/node_modules/aws-cdk-lib/aws-route53-targets/README.md +0 -181
  423. package/iac/node_modules/aws-cdk-lib/aws-route53recoverycontrol/README.md +0 -27
  424. package/iac/node_modules/aws-cdk-lib/aws-route53recoveryreadiness/README.md +0 -27
  425. package/iac/node_modules/aws-cdk-lib/aws-route53resolver/README.md +0 -32
  426. package/iac/node_modules/aws-cdk-lib/aws-rum/README.md +0 -27
  427. package/iac/node_modules/aws-cdk-lib/aws-s3/README.md +0 -581
  428. package/iac/node_modules/aws-cdk-lib/aws-s3-assets/README.md +0 -179
  429. package/iac/node_modules/aws-cdk-lib/aws-s3-deployment/README.md +0 -349
  430. package/iac/node_modules/aws-cdk-lib/aws-s3-notifications/README.md +0 -46
  431. package/iac/node_modules/aws-cdk-lib/aws-s3objectlambda/README.md +0 -32
  432. package/iac/node_modules/aws-cdk-lib/aws-s3outposts/README.md +0 -27
  433. package/iac/node_modules/aws-cdk-lib/aws-sagemaker/README.md +0 -27
  434. package/iac/node_modules/aws-cdk-lib/aws-sam/README.md +0 -27
  435. package/iac/node_modules/aws-cdk-lib/aws-sdb/README.md +0 -27
  436. package/iac/node_modules/aws-cdk-lib/aws-secretsmanager/README.md +0 -285
  437. package/iac/node_modules/aws-cdk-lib/aws-securityhub/README.md +0 -27
  438. package/iac/node_modules/aws-cdk-lib/aws-servicecatalog/README.md +0 -491
  439. package/iac/node_modules/aws-cdk-lib/aws-servicecatalogappregistry/README.md +0 -32
  440. package/iac/node_modules/aws-cdk-lib/aws-servicediscovery/README.md +0 -45
  441. package/iac/node_modules/aws-cdk-lib/aws-ses/README.md +0 -194
  442. package/iac/node_modules/aws-cdk-lib/aws-ses-actions/README.md +0 -16
  443. package/iac/node_modules/aws-cdk-lib/aws-signer/README.md +0 -41
  444. package/iac/node_modules/aws-cdk-lib/aws-sns/README.md +0 -184
  445. package/iac/node_modules/aws-cdk-lib/aws-sns-subscriptions/README.md +0 -120
  446. package/iac/node_modules/aws-cdk-lib/aws-sqs/README.md +0 -57
  447. package/iac/node_modules/aws-cdk-lib/aws-ssm/README.md +0 -99
  448. package/iac/node_modules/aws-cdk-lib/aws-ssmcontacts/README.md +0 -27
  449. package/iac/node_modules/aws-cdk-lib/aws-ssmincidents/README.md +0 -27
  450. package/iac/node_modules/aws-cdk-lib/aws-sso/README.md +0 -27
  451. package/iac/node_modules/aws-cdk-lib/aws-stepfunctions/README.md +0 -884
  452. package/iac/node_modules/aws-cdk-lib/aws-stepfunctions-tasks/README.md +0 -1288
  453. package/iac/node_modules/aws-cdk-lib/aws-supportapp/README.md +0 -27
  454. package/iac/node_modules/aws-cdk-lib/aws-synthetics/README.md +0 -32
  455. package/iac/node_modules/aws-cdk-lib/aws-timestream/README.md +0 -27
  456. package/iac/node_modules/aws-cdk-lib/aws-transfer/README.md +0 -27
  457. package/iac/node_modules/aws-cdk-lib/aws-voiceid/README.md +0 -27
  458. package/iac/node_modules/aws-cdk-lib/aws-waf/README.md +0 -27
  459. package/iac/node_modules/aws-cdk-lib/aws-wafregional/README.md +0 -27
  460. package/iac/node_modules/aws-cdk-lib/aws-wafv2/README.md +0 -27
  461. package/iac/node_modules/aws-cdk-lib/aws-wisdom/README.md +0 -27
  462. package/iac/node_modules/aws-cdk-lib/aws-workspaces/README.md +0 -27
  463. package/iac/node_modules/aws-cdk-lib/aws-xray/README.md +0 -27
  464. package/iac/node_modules/aws-cdk-lib/cloud-assembly-schema/README.md +0 -55
  465. package/iac/node_modules/aws-cdk-lib/cloud-assembly-schema/schema/README.md +0 -5
  466. package/iac/node_modules/aws-cdk-lib/cloudformation-include/README.md +0 -466
  467. package/iac/node_modules/aws-cdk-lib/core/README.md +0 -1078
  468. package/iac/node_modules/aws-cdk-lib/custom-resources/README.md +0 -624
  469. package/iac/node_modules/aws-cdk-lib/cx-api/README.md +0 -98
  470. package/iac/node_modules/aws-cdk-lib/lambda-layer-awscli/README.md +0 -19
  471. package/iac/node_modules/aws-cdk-lib/lambda-layer-kubectl/README.md +0 -20
  472. package/iac/node_modules/aws-cdk-lib/lambda-layer-node-proxy-agent/README.md +0 -18
  473. package/iac/node_modules/aws-cdk-lib/node_modules/@balena/dockerignore/LICENSE.md +0 -206
  474. package/iac/node_modules/aws-cdk-lib/node_modules/@balena/dockerignore/README.md +0 -261
  475. package/iac/node_modules/aws-cdk-lib/node_modules/at-least-node/LICENSE +0 -6
  476. package/iac/node_modules/aws-cdk-lib/node_modules/at-least-node/README.md +0 -25
  477. package/iac/node_modules/aws-cdk-lib/node_modules/balanced-match/LICENSE.md +0 -21
  478. package/iac/node_modules/aws-cdk-lib/node_modules/balanced-match/README.md +0 -97
  479. package/iac/node_modules/aws-cdk-lib/node_modules/brace-expansion/LICENSE +0 -21
  480. package/iac/node_modules/aws-cdk-lib/node_modules/brace-expansion/README.md +0 -129
  481. package/iac/node_modules/aws-cdk-lib/node_modules/case/LICENSE +0 -22
  482. package/iac/node_modules/aws-cdk-lib/node_modules/case/README.md +0 -139
  483. package/iac/node_modules/aws-cdk-lib/node_modules/case/dist/Case.min.js.map +0 -1
  484. package/iac/node_modules/aws-cdk-lib/node_modules/case/dist/Case.plus.min.js.map +0 -1
  485. package/iac/node_modules/aws-cdk-lib/node_modules/concat-map/LICENSE +0 -18
  486. package/iac/node_modules/aws-cdk-lib/node_modules/concat-map/README.markdown +0 -62
  487. package/iac/node_modules/aws-cdk-lib/node_modules/fs-extra/LICENSE +0 -15
  488. package/iac/node_modules/aws-cdk-lib/node_modules/fs-extra/README.md +0 -264
  489. package/iac/node_modules/aws-cdk-lib/node_modules/graceful-fs/LICENSE +0 -15
  490. package/iac/node_modules/aws-cdk-lib/node_modules/graceful-fs/README.md +0 -143
  491. package/iac/node_modules/aws-cdk-lib/node_modules/ignore/README.md +0 -412
  492. package/iac/node_modules/aws-cdk-lib/node_modules/jsonfile/LICENSE +0 -15
  493. package/iac/node_modules/aws-cdk-lib/node_modules/jsonfile/README.md +0 -230
  494. package/iac/node_modules/aws-cdk-lib/node_modules/jsonschema/LICENSE +0 -21
  495. package/iac/node_modules/aws-cdk-lib/node_modules/jsonschema/README.md +0 -421
  496. package/iac/node_modules/aws-cdk-lib/node_modules/lru-cache/LICENSE +0 -15
  497. package/iac/node_modules/aws-cdk-lib/node_modules/lru-cache/README.md +0 -166
  498. package/iac/node_modules/aws-cdk-lib/node_modules/minimatch/LICENSE +0 -15
  499. package/iac/node_modules/aws-cdk-lib/node_modules/minimatch/README.md +0 -230
  500. package/iac/node_modules/aws-cdk-lib/node_modules/punycode/README.md +0 -122
  501. package/iac/node_modules/aws-cdk-lib/node_modules/semver/LICENSE +0 -15
  502. package/iac/node_modules/aws-cdk-lib/node_modules/semver/README.md +0 -568
  503. package/iac/node_modules/aws-cdk-lib/node_modules/universalify/LICENSE +0 -20
  504. package/iac/node_modules/aws-cdk-lib/node_modules/universalify/README.md +0 -76
  505. package/iac/node_modules/aws-cdk-lib/node_modules/yallist/LICENSE +0 -15
  506. package/iac/node_modules/aws-cdk-lib/node_modules/yallist/README.md +0 -204
  507. package/iac/node_modules/aws-cdk-lib/node_modules/yaml/LICENSE +0 -13
  508. package/iac/node_modules/aws-cdk-lib/node_modules/yaml/README.md +0 -127
  509. package/iac/node_modules/aws-cdk-lib/pipelines/README.md +0 -1573
  510. package/iac/node_modules/aws-cdk-lib/region-info/README.md +0 -84
  511. package/iac/node_modules/aws-cdk-lib/triggers/README.md +0 -86
  512. package/iac/node_modules/balanced-match/LICENSE.md +0 -21
  513. package/iac/node_modules/balanced-match/README.md +0 -97
  514. package/iac/node_modules/brace-expansion/LICENSE +0 -21
  515. package/iac/node_modules/brace-expansion/README.md +0 -129
  516. package/iac/node_modules/buffer-from/LICENSE +0 -21
  517. package/iac/node_modules/buffer-from/readme.md +0 -69
  518. package/iac/node_modules/case/LICENSE +0 -22
  519. package/iac/node_modules/case/README.md +0 -139
  520. package/iac/node_modules/case/dist/Case.min.js.map +0 -1
  521. package/iac/node_modules/case/dist/Case.plus.min.js.map +0 -1
  522. package/iac/node_modules/chalk/license +0 -9
  523. package/iac/node_modules/chalk/node_modules/ansi-styles/license +0 -9
  524. package/iac/node_modules/chalk/node_modules/ansi-styles/readme.md +0 -152
  525. package/iac/node_modules/chalk/readme.md +0 -341
  526. package/iac/node_modules/color-convert/LICENSE +0 -21
  527. package/iac/node_modules/color-convert/README.md +0 -68
  528. package/iac/node_modules/color-name/LICENSE +0 -8
  529. package/iac/node_modules/color-name/README.md +0 -11
  530. package/iac/node_modules/concat-map/LICENSE +0 -18
  531. package/iac/node_modules/concat-map/README.markdown +0 -62
  532. package/iac/node_modules/constructs/LICENSE +0 -202
  533. package/iac/node_modules/constructs/README.md +0 -28
  534. package/iac/node_modules/create-require/LICENSE +0 -25
  535. package/iac/node_modules/create-require/README.md +0 -46
  536. package/iac/node_modules/diff/LICENSE +0 -31
  537. package/iac/node_modules/diff/README.md +0 -207
  538. package/iac/node_modules/diff-sequences/LICENSE +0 -21
  539. package/iac/node_modules/diff-sequences/README.md +0 -404
  540. package/iac/node_modules/fs-extra/LICENSE +0 -15
  541. package/iac/node_modules/fs-extra/README.md +0 -264
  542. package/iac/node_modules/fsevents/LICENSE +0 -22
  543. package/iac/node_modules/fsevents/README.md +0 -83
  544. package/iac/node_modules/graceful-fs/LICENSE +0 -15
  545. package/iac/node_modules/graceful-fs/README.md +0 -143
  546. package/iac/node_modules/has-flag/license +0 -9
  547. package/iac/node_modules/has-flag/readme.md +0 -89
  548. package/iac/node_modules/ignore/README.md +0 -412
  549. package/iac/node_modules/jest-diff/LICENSE +0 -21
  550. package/iac/node_modules/jest-diff/README.md +0 -671
  551. package/iac/node_modules/jest-get-type/LICENSE +0 -21
  552. package/iac/node_modules/jest-matcher-utils/LICENSE +0 -21
  553. package/iac/node_modules/jest-matcher-utils/README.md +0 -24
  554. package/iac/node_modules/jsonfile/LICENSE +0 -15
  555. package/iac/node_modules/jsonfile/README.md +0 -230
  556. package/iac/node_modules/jsonschema/LICENSE +0 -21
  557. package/iac/node_modules/jsonschema/README.md +0 -421
  558. package/iac/node_modules/lru-cache/LICENSE +0 -15
  559. package/iac/node_modules/lru-cache/README.md +0 -166
  560. package/iac/node_modules/make-error/LICENSE +0 -5
  561. package/iac/node_modules/make-error/README.md +0 -112
  562. package/iac/node_modules/minimatch/LICENSE +0 -15
  563. package/iac/node_modules/minimatch/README.md +0 -230
  564. package/iac/node_modules/pretty-format/LICENSE +0 -21
  565. package/iac/node_modules/pretty-format/README.md +0 -458
  566. package/iac/node_modules/punycode/README.md +0 -122
  567. package/iac/node_modules/react-is/LICENSE +0 -21
  568. package/iac/node_modules/react-is/README.md +0 -104
  569. package/iac/node_modules/semver/LICENSE +0 -15
  570. package/iac/node_modules/semver/README.md +0 -568
  571. package/iac/node_modules/source-map/LICENSE +0 -28
  572. package/iac/node_modules/source-map/README.md +0 -742
  573. package/iac/node_modules/source-map/dist/source-map.min.js.map +0 -1
  574. package/iac/node_modules/source-map-support/LICENSE.md +0 -21
  575. package/iac/node_modules/source-map-support/README.md +0 -284
  576. package/iac/node_modules/supports-color/license +0 -9
  577. package/iac/node_modules/supports-color/readme.md +0 -76
  578. package/iac/node_modules/ts-node/LICENSE +0 -21
  579. package/iac/node_modules/ts-node/README.md +0 -1442
  580. package/iac/node_modules/ts-node/dist/bin-cwd.js.map +0 -1
  581. package/iac/node_modules/ts-node/dist/bin-esm.js.map +0 -1
  582. package/iac/node_modules/ts-node/dist/bin-script-deprecated.js.map +0 -1
  583. package/iac/node_modules/ts-node/dist/bin-script.js.map +0 -1
  584. package/iac/node_modules/ts-node/dist/bin-transpile.js.map +0 -1
  585. package/iac/node_modules/ts-node/dist/bin.js.map +0 -1
  586. package/iac/node_modules/ts-node/dist/child/argv-payload.js.map +0 -1
  587. package/iac/node_modules/ts-node/dist/child/child-entrypoint.js.map +0 -1
  588. package/iac/node_modules/ts-node/dist/child/child-loader.js.map +0 -1
  589. package/iac/node_modules/ts-node/dist/child/child-require.js.map +0 -1
  590. package/iac/node_modules/ts-node/dist/child/spawn-child.js.map +0 -1
  591. package/iac/node_modules/ts-node/dist/cjs-resolve-hooks.js.map +0 -1
  592. package/iac/node_modules/ts-node/dist/configuration.js.map +0 -1
  593. package/iac/node_modules/ts-node/dist/esm.js.map +0 -1
  594. package/iac/node_modules/ts-node/dist/file-extensions.js.map +0 -1
  595. package/iac/node_modules/ts-node/dist/index.js.map +0 -1
  596. package/iac/node_modules/ts-node/dist/module-type-classifier.js.map +0 -1
  597. package/iac/node_modules/ts-node/dist/node-module-type-classifier.js.map +0 -1
  598. package/iac/node_modules/ts-node/dist/repl.js.map +0 -1
  599. package/iac/node_modules/ts-node/dist/resolver-functions.js.map +0 -1
  600. package/iac/node_modules/ts-node/dist/transpilers/swc.js.map +0 -1
  601. package/iac/node_modules/ts-node/dist/transpilers/types.js.map +0 -1
  602. package/iac/node_modules/ts-node/dist/ts-compiler-types.js.map +0 -1
  603. package/iac/node_modules/ts-node/dist/ts-internals.js.map +0 -1
  604. package/iac/node_modules/ts-node/dist/ts-transpile-module.js.map +0 -1
  605. package/iac/node_modules/ts-node/dist/tsconfig-schema.js.map +0 -1
  606. package/iac/node_modules/ts-node/dist/tsconfigs.js.map +0 -1
  607. package/iac/node_modules/ts-node/dist/util.js.map +0 -1
  608. package/iac/node_modules/ts-node/dist-raw/README.md +0 -36
  609. package/iac/node_modules/typescript/LICENSE.txt +0 -55
  610. package/iac/node_modules/typescript/README.md +0 -104
  611. package/iac/node_modules/typescript/lib/README.md +0 -5
  612. package/iac/node_modules/universalify/LICENSE +0 -20
  613. package/iac/node_modules/universalify/README.md +0 -76
  614. package/iac/node_modules/v8-compile-cache-lib/LICENSE +0 -21
  615. package/iac/node_modules/v8-compile-cache-lib/README.md +0 -60
  616. package/iac/node_modules/yallist/LICENSE +0 -15
  617. package/iac/node_modules/yallist/README.md +0 -204
  618. package/iac/node_modules/yaml/LICENSE +0 -13
  619. package/iac/node_modules/yaml/README.md +0 -127
  620. package/iac/node_modules/yn/license +0 -9
  621. package/iac/node_modules/yn/readme.md +0 -83
  622. package/react/Edit.d.ts +0 -3
  623. package/react/Edit.js +0 -10
  624. package/react/Edit.js.map +0 -1
@@ -1,1119 +0,0 @@
1
- # AWS Cloud Development Kit Library
2
-
3
- The AWS CDK construct library provides APIs to define your CDK application and add
4
- CDK constructs to the application.
5
-
6
- ## Usage
7
-
8
- ### Upgrade from CDK 1.x
9
-
10
- When upgrading from CDK 1.x, remove all dependencies to individual CDK packages
11
- from your dependencies file and follow the rest of the sections.
12
-
13
- ### Installation
14
-
15
- To use this package, you need to declare this package and the `constructs` package as
16
- dependencies.
17
-
18
- According to the kind of project you are developing:
19
-
20
- - For projects that are CDK libraries, declare them both under the `devDependencies`
21
- **and** `peerDependencies` sections.
22
- - For CDK apps, declare them under the `dependencies` section only.
23
-
24
- ### Use in your code
25
-
26
- #### Classic import
27
-
28
- You can use a classic import to get access to each service namespaces:
29
-
30
- ```ts
31
- import { Stack, App, aws_s3 as s3 } from 'aws-cdk-lib';
32
-
33
- const app = new App();
34
- const stack = new Stack(app, 'TestStack');
35
-
36
- new s3.Bucket(stack, 'TestBucket');
37
- ```
38
-
39
- #### Barrel import
40
-
41
- Alternatively, you can use "barrel" imports:
42
-
43
- ```ts
44
- import { App, Stack } from 'aws-cdk-lib';
45
- import { Bucket } from 'aws-cdk-lib/aws-s3';
46
-
47
- const app = new App();
48
- const stack = new Stack(app, 'TestStack');
49
-
50
- new Bucket(stack, 'TestBucket');
51
- ```
52
-
53
- <!--BEGIN CORE DOCUMENTATION-->
54
-
55
- ## Stacks and Stages
56
-
57
- A `Stack` is the smallest physical unit of deployment, and maps directly onto
58
- a CloudFormation Stack. You define a Stack by defining a subclass of `Stack`
59
- -- let's call it `MyStack` -- and instantiating the constructs that make up
60
- your application in `MyStack`'s constructor. You then instantiate this stack
61
- one or more times to define different instances of your application. For example,
62
- you can instantiate it once using few and cheap EC2 instances for testing,
63
- and once again using more and bigger EC2 instances for production.
64
-
65
- When your application grows, you may decide that it makes more sense to split it
66
- out across multiple `Stack` classes. This can happen for a number of reasons:
67
-
68
- - You could be starting to reach the maximum number of resources allowed in a single
69
- stack (this is currently 500).
70
- - You could decide you want to separate out stateful resources and stateless resources
71
- into separate stacks, so that it becomes easy to tear down and recreate the stacks
72
- that don't have stateful resources.
73
- - There could be a single stack with resources (like a VPC) that are shared
74
- between multiple instances of other stacks containing your applications.
75
-
76
- As soon as your conceptual application starts to encompass multiple stacks,
77
- it is convenient to wrap them in another construct that represents your
78
- logical application. You can then treat that new unit the same way you used
79
- to be able to treat a single stack: by instantiating it multiple times
80
- for different instances of your application.
81
-
82
- You can define a custom subclass of `Stage`, holding one or more
83
- `Stack`s, to represent a single logical instance of your application.
84
-
85
- As a final note: `Stack`s are not a unit of reuse. They describe physical
86
- deployment layouts, and as such are best left to application builders to
87
- organize their deployments with. If you want to vend a reusable construct,
88
- define it as a subclasses of `Construct`: the consumers of your construct
89
- will decide where to place it in their own stacks.
90
-
91
- ## Stack Synthesizers
92
-
93
- Each Stack has a *synthesizer*, an object that determines how and where
94
- the Stack should be synthesized and deployed. The synthesizer controls
95
- aspects like:
96
-
97
- - How does the stack reference assets? (Either through CloudFormation
98
- parameters the CLI supplies, or because the Stack knows a predefined
99
- location where assets will be uploaded).
100
- - What roles are used to deploy the stack? These can be bootstrapped
101
- roles, roles created in some other way, or just the CLI's current
102
- credentials.
103
-
104
- The following synthesizers are available:
105
-
106
- - `DefaultStackSynthesizer`: recommended. Uses predefined asset locations and
107
- roles created by the modern bootstrap template. Access control is done by
108
- controlling who can assume the deploy role. This is the default stack
109
- synthesizer in CDKv2.
110
- - `LegacyStackSynthesizer`: Uses CloudFormation parameters to communicate
111
- asset locations, and the CLI's current permissions to deploy stacks. The
112
- is the default stack synthesizer in CDKv1.
113
- - `CliCredentialsStackSynthesizer`: Uses predefined asset locations, and the
114
- CLI's current permissions.
115
-
116
- Each of these synthesizers takes configuration arguments. To configure
117
- a stack with a synthesizer, pass it as one of its properties:
118
-
119
- ```ts
120
- new MyStack(app, 'MyStack', {
121
- synthesizer: new DefaultStackSynthesizer({
122
- fileAssetsBucketName: 'my-orgs-asset-bucket',
123
- }),
124
- });
125
- ```
126
-
127
- For more information on bootstrapping accounts and customizing synthesis,
128
- see [Bootstrapping in the CDK Developer Guide](https://docs.aws.amazon.com/cdk/latest/guide/bootstrapping.html).
129
-
130
- ## Nested Stacks
131
-
132
- [Nested stacks](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html) are stacks created as part of other stacks. You create a nested stack within another stack by using the `NestedStack` construct.
133
-
134
- As your infrastructure grows, common patterns can emerge in which you declare the same components in multiple templates. You can separate out these common components and create dedicated templates for them. Then use the resource in your template to reference other templates, creating nested stacks.
135
-
136
- For example, assume that you have a load balancer configuration that you use for most of your stacks. Instead of copying and pasting the same configurations into your templates, you can create a dedicated template for the load balancer. Then, you just use the resource to reference that template from within other templates.
137
-
138
- The following example will define a single top-level stack that contains two nested stacks: each one with a single Amazon S3 bucket:
139
-
140
- ```ts
141
- class MyNestedStack extends cfn.NestedStack {
142
- constructor(scope: Construct, id: string, props?: cfn.NestedStackProps) {
143
- super(scope, id, props);
144
-
145
- new s3.Bucket(this, 'NestedBucket');
146
- }
147
- }
148
-
149
- class MyParentStack extends Stack {
150
- constructor(scope: Construct, id: string, props?: StackProps) {
151
- super(scope, id, props);
152
-
153
- new MyNestedStack(this, 'Nested1');
154
- new MyNestedStack(this, 'Nested2');
155
- }
156
- }
157
- ```
158
-
159
- Resources references across nested/parent boundaries (even with multiple levels of nesting) will be wired by the AWS CDK
160
- through CloudFormation parameters and outputs. When a resource from a parent stack is referenced by a nested stack,
161
- a CloudFormation parameter will automatically be added to the nested stack and assigned from the parent; when a resource
162
- from a nested stack is referenced by a parent stack, a CloudFormation output will be automatically be added to the
163
- nested stack and referenced using `Fn::GetAtt "Outputs.Xxx"` from the parent.
164
-
165
- Nested stacks also support the use of Docker image and file assets.
166
-
167
- ## Accessing resources in a different stack
168
-
169
- You can access resources in a different stack, as long as they are in the
170
- same account and AWS Region. The following example defines the stack `stack1`,
171
- which defines an Amazon S3 bucket. Then it defines a second stack, `stack2`,
172
- which takes the bucket from stack1 as a constructor property.
173
-
174
- ```ts
175
- const prod = { account: '123456789012', region: 'us-east-1' };
176
-
177
- const stack1 = new StackThatProvidesABucket(app, 'Stack1' , { env: prod });
178
-
179
- // stack2 will take a property { bucket: IBucket }
180
- const stack2 = new StackThatExpectsABucket(app, 'Stack2', {
181
- bucket: stack1.bucket,
182
- env: prod
183
- });
184
- ```
185
-
186
- If the AWS CDK determines that the resource is in the same account and
187
- Region, but in a different stack, it automatically synthesizes AWS
188
- CloudFormation
189
- [Exports](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-exports.html)
190
- in the producing stack and an
191
- [Fn::ImportValue](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-importvalue.html)
192
- in the consuming stack to transfer that information from one stack to the
193
- other.
194
-
195
- ### Removing automatic cross-stack references
196
-
197
- The automatic references created by CDK when you use resources across stacks
198
- are convenient, but may block your deployments if you want to remove the
199
- resources that are referenced in this way. You will see an error like:
200
-
201
- ```text
202
- Export Stack1:ExportsOutputFnGetAtt-****** cannot be deleted as it is in use by Stack1
203
- ```
204
-
205
- Let's say there is a Bucket in the `stack1`, and the `stack2` references its
206
- `bucket.bucketName`. You now want to remove the bucket and run into the error above.
207
-
208
- It's not safe to remove `stack1.bucket` while `stack2` is still using it, so
209
- unblocking yourself from this is a two-step process. This is how it works:
210
-
211
- DEPLOYMENT 1: break the relationship
212
-
213
- - Make sure `stack2` no longer references `bucket.bucketName` (maybe the consumer
214
- stack now uses its own bucket, or it writes to an AWS DynamoDB table, or maybe you just
215
- remove the Lambda Function altogether).
216
- - In the `stack1` class, call `this.exportValue(this.bucket.bucketName)`. This
217
- will make sure the CloudFormation Export continues to exist while the relationship
218
- between the two stacks is being broken.
219
- - Deploy (this will effectively only change the `stack2`, but it's safe to deploy both).
220
-
221
- DEPLOYMENT 2: remove the resource
222
-
223
- - You are now free to remove the `bucket` resource from `stack1`.
224
- - Don't forget to remove the `exportValue()` call as well.
225
- - Deploy again (this time only the `stack1` will be changed -- the bucket will be deleted).
226
-
227
- ## Durations
228
-
229
- To make specifications of time intervals unambiguous, a single class called
230
- `Duration` is used throughout the AWS Construct Library by all constructs
231
- that that take a time interval as a parameter (be it for a timeout, a
232
- rate, or something else).
233
-
234
- An instance of Duration is constructed by using one of the static factory
235
- methods on it:
236
-
237
- ```ts
238
- Duration.seconds(300) // 5 minutes
239
- Duration.minutes(5) // 5 minutes
240
- Duration.hours(1) // 1 hour
241
- Duration.days(7) // 7 days
242
- Duration.parse('PT5M') // 5 minutes
243
- ```
244
-
245
- Durations can be added or subtracted together:
246
-
247
- ```ts
248
- Duration.minutes(1).plus(Duration.seconds(60)); // 2 minutes
249
- Duration.minutes(5).minus(Duration.seconds(10)); // 290 secondes
250
- ```
251
-
252
- ## Size (Digital Information Quantity)
253
-
254
- To make specification of digital storage quantities unambiguous, a class called
255
- `Size` is available.
256
-
257
- An instance of `Size` is initialized through one of its static factory methods:
258
-
259
- ```ts
260
- Size.kibibytes(200) // 200 KiB
261
- Size.mebibytes(5) // 5 MiB
262
- Size.gibibytes(40) // 40 GiB
263
- Size.tebibytes(200) // 200 TiB
264
- Size.pebibytes(3) // 3 PiB
265
- ```
266
-
267
- Instances of `Size` created with one of the units can be converted into others.
268
- By default, conversion to a higher unit will fail if the conversion does not produce
269
- a whole number. This can be overridden by unsetting `integral` property.
270
-
271
- ```ts
272
- Size.mebibytes(2).toKibibytes() // yields 2048
273
- Size.kibibytes(2050).toMebibytes({ rounding: SizeRoundingBehavior.FLOOR }) // yields 2
274
- ```
275
-
276
- ## Secrets
277
-
278
- To help avoid accidental storage of secrets as plain text, we use the `SecretValue` type to
279
- represent secrets. Any construct that takes a value that should be a secret (such as
280
- a password or an access key) will take a parameter of type `SecretValue`.
281
-
282
- The best practice is to store secrets in AWS Secrets Manager and reference them using `SecretValue.secretsManager`:
283
-
284
- ```ts
285
- const secret = SecretValue.secretsManager('secretId', {
286
- jsonField: 'password', // optional: key of a JSON field to retrieve (defaults to all content),
287
- versionId: 'id', // optional: id of the version (default AWSCURRENT)
288
- versionStage: 'stage', // optional: version stage name (default AWSCURRENT)
289
- });
290
- ```
291
-
292
- Using AWS Secrets Manager is the recommended way to reference secrets in a CDK app.
293
- `SecretValue` also supports the following secret sources:
294
-
295
- - `SecretValue.unsafePlainText(secret)`: stores the secret as plain text in your app and the resulting template (not recommended).
296
- - `SecretValue.secretsManager(secret)`: refers to a secret stored in Secrets Manager
297
- - `SecretValue.ssmSecure(param, version)`: refers to a secret stored as a SecureString in the SSM
298
- Parameter Store. If you don't specify the exact version, AWS CloudFormation uses the latest
299
- version of the parameter.
300
- - `SecretValue.cfnParameter(param)`: refers to a secret passed through a CloudFormation parameter (must have `NoEcho: true`).
301
- - `SecretValue.cfnDynamicReference(dynref)`: refers to a secret described by a CloudFormation dynamic reference (used by `ssmSecure` and `secretsManager`).
302
- - `SecretValue.resourceAttribute(attr)`: refers to a secret returned from a CloudFormation resource creation.
303
-
304
- `SecretValue`s should only be passed to constructs that accept properties of type
305
- `SecretValue`. These constructs are written to ensure your secrets will not be
306
- exposed where they shouldn't be. If you try to use a `SecretValue` in a
307
- different location, an error about unsafe secret usage will be thrown at
308
- synthesis time.
309
-
310
- If you rotate the secret's value in Secrets Manager, you must also change at
311
- least one property on the resource where you are using the secret, to force
312
- CloudFormation to re-read the secret.
313
-
314
- `SecretValue.ssmSecure()` is only supported for a limited set of resources.
315
- [Click here for a list of supported resources and properties](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/dynamic-references.html#template-parameters-dynamic-patterns-resources).
316
-
317
- ## ARN manipulation
318
-
319
- Sometimes you will need to put together or pick apart Amazon Resource Names
320
- (ARNs). The functions `stack.formatArn()` and `stack.parseArn()` exist for
321
- this purpose.
322
-
323
- `formatArn()` can be used to build an ARN from components. It will automatically
324
- use the region and account of the stack you're calling it on:
325
-
326
- ```ts
327
- declare const stack: Stack;
328
-
329
- // Builds "arn:<PARTITION>:lambda:<REGION>:<ACCOUNT>:function:MyFunction"
330
- stack.formatArn({
331
- service: 'lambda',
332
- resource: 'function',
333
- sep: ':',
334
- resourceName: 'MyFunction'
335
- });
336
- ```
337
-
338
- `parseArn()` can be used to get a single component from an ARN. `parseArn()`
339
- will correctly deal with both literal ARNs and deploy-time values (tokens),
340
- but in case of a deploy-time value be aware that the result will be another
341
- deploy-time value which cannot be inspected in the CDK application.
342
-
343
- ```ts
344
- declare const stack: Stack;
345
-
346
- // Extracts the function name out of an AWS Lambda Function ARN
347
- const arnComponents = stack.parseArn(arn, ':');
348
- const functionName = arnComponents.resourceName;
349
- ```
350
-
351
- Note that depending on the service, the resource separator can be either
352
- `:` or `/`, and the resource name can be either the 6th or 7th
353
- component in the ARN. When using these functions, you will need to know
354
- the format of the ARN you are dealing with.
355
-
356
- For an exhaustive list of ARN formats used in AWS, see [AWS ARNs and
357
- Namespaces](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
358
- in the AWS General Reference.
359
-
360
- ## Dependencies
361
-
362
- ### Construct Dependencies
363
-
364
- Sometimes AWS resources depend on other resources, and the creation of one
365
- resource must be completed before the next one can be started.
366
-
367
- In general, CloudFormation will correctly infer the dependency relationship
368
- between resources based on the property values that are used. In the cases where
369
- it doesn't, the AWS Construct Library will add the dependency relationship for
370
- you.
371
-
372
- If you need to add an ordering dependency that is not automatically inferred,
373
- you do so by adding a dependency relationship using
374
- `constructA.node.addDependency(constructB)`. This will add a dependency
375
- relationship between all resources in the scope of `constructA` and all
376
- resources in the scope of `constructB`.
377
-
378
- If you want a single object to represent a set of constructs that are not
379
- necessarily in the same scope, you can use a `DependencyGroup`. The
380
- following creates a single object that represents a dependency on two
381
- constructs, `constructB` and `constructC`:
382
-
383
- ```ts
384
- // Declare the dependable object
385
- const bAndC = new DependencyGroup();
386
- bAndC.add(constructB);
387
- bAndC.add(constructC);
388
-
389
- // Take the dependency
390
- constructA.node.addDependency(bAndC);
391
- ```
392
-
393
- ### Stack Dependencies
394
-
395
- Two different stack instances can have a dependency on one another. This
396
- happens when an resource from one stack is referenced in another stack. In
397
- that case, CDK records the cross-stack referencing of resources,
398
- automatically produces the right CloudFormation primitives, and adds a
399
- dependency between the two stacks. You can also manually add a dependency
400
- between two stacks by using the `stackA.addDependency(stackB)` method.
401
-
402
- A stack dependency has the following implications:
403
-
404
- - Cyclic dependencies are not allowed, so if `stackA` is using resources from
405
- `stackB`, the reverse is not possible anymore.
406
- - Stacks with dependencies between them are treated specially by the CDK
407
- toolkit:
408
- - If `stackA` depends on `stackB`, running `cdk deploy stackA` will also
409
- automatically deploy `stackB`.
410
- - `stackB`'s deployment will be performed *before* `stackA`'s deployment.
411
-
412
- ## Custom Resources
413
-
414
- Custom Resources are CloudFormation resources that are implemented by arbitrary
415
- user code. They can do arbitrary lookups or modifications during a
416
- CloudFormation deployment.
417
-
418
- Custom resources are backed by *custom resource providers*. Commonly, these are
419
- Lambda Functions that are deployed in the same deployment as the one that
420
- defines the custom resource itself, but they can also be backed by Lambda
421
- Functions deployed previously, or code responding to SNS Topic events running on
422
- EC2 instances in a completely different account. For more information on custom
423
- resource providers, see the next section.
424
-
425
- Once you have a provider, each definition of a `CustomResource` construct
426
- represents one invocation. A single provider can be used for the implementation
427
- of arbitrarily many custom resource definitions. A single definition looks like
428
- this:
429
-
430
- ```ts
431
- new CustomResource(this, 'MyMagicalResource', {
432
- resourceType: 'Custom::MyCustomResource', // must start with 'Custom::'
433
-
434
- // the resource properties
435
- properties: {
436
- Property1: 'foo',
437
- Property2: 'bar'
438
- },
439
-
440
- // the ARN of the provider (SNS/Lambda) which handles
441
- // CREATE, UPDATE or DELETE events for this resource type
442
- // see next section for details
443
- serviceToken: 'ARN'
444
- });
445
- ```
446
-
447
- ### Custom Resource Providers
448
-
449
- Custom resources are backed by a **custom resource provider** which can be
450
- implemented in one of the following ways. The following table compares the
451
- various provider types (ordered from low-level to high-level):
452
-
453
- | Provider | Compute Type | Error Handling | Submit to CloudFormation | Max Timeout | Language | Footprint |
454
- |----------------------------------------------------------------------|:------------:|:--------------:|:------------------------:|:---------------:|:--------:|:---------:|
455
- | [sns.Topic](#amazon-sns-topic) | Self-managed | Manual | Manual | Unlimited | Any | Depends |
456
- | [lambda.Function](#aws-lambda-function) | AWS Lambda | Manual | Manual | 15min | Any | Small |
457
- | [core.CustomResourceProvider](#the-corecustomresourceprovider-class) | AWS Lambda | Auto | Auto | 15min | Node.js | Small |
458
- | [custom-resources.Provider](#the-custom-resource-provider-framework) | AWS Lambda | Auto | Auto | Unlimited Async | Any | Large |
459
-
460
- Legend:
461
-
462
- - **Compute type**: which type of compute can is used to execute the handler.
463
- - **Error Handling**: whether errors thrown by handler code are automatically
464
- trapped and a FAILED response is submitted to CloudFormation. If this is
465
- "Manual", developers must take care of trapping errors. Otherwise, events
466
- could cause stacks to hang.
467
- - **Submit to CloudFormation**: whether the framework takes care of submitting
468
- SUCCESS/FAILED responses to CloudFormation through the event's response URL.
469
- - **Max Timeout**: maximum allows/possible timeout.
470
- - **Language**: which programming languages can be used to implement handlers.
471
- - **Footprint**: how many resources are used by the provider framework itself.
472
-
473
- **A NOTE ABOUT SINGLETONS**
474
-
475
- When defining resources for a custom resource provider, you will likely want to
476
- define them as a *stack singleton* so that only a single instance of the
477
- provider is created in your stack and which is used by all custom resources of
478
- that type.
479
-
480
- Here is a basic pattern for defining stack singletons in the CDK. The following
481
- examples ensures that only a single SNS topic is defined:
482
-
483
- ```ts
484
- function getOrCreate(scope: Construct): sns.Topic {
485
- const stack = Stack.of(scope);
486
- const uniqueid = 'GloballyUniqueIdForSingleton'; // For example, a UUID from `uuidgen`
487
- const existing = stack.node.tryFindChild(uniqueid);
488
- if (existing) {
489
- return existing as sns.Topic;
490
- }
491
- return new sns.Topic(stack, uniqueid);
492
- }
493
- ```
494
-
495
- #### Amazon SNS Topic
496
-
497
- Every time a resource event occurs (CREATE/UPDATE/DELETE), an SNS notification
498
- is sent to the SNS topic. Users must process these notifications (e.g. through a
499
- fleet of worker hosts) and submit success/failure responses to the
500
- CloudFormation service.
501
-
502
- > You only need to use this type of provider if your custom resource cannot run on AWS Lambda, for reasons other than the 15
503
- > minute timeout. If you are considering using this type of provider because you want to write a custom resource provider that may need
504
- > to wait for more than 15 minutes for the API calls to stabilize, have a look at the [`custom-resources`](#the-custom-resource-provider-framework) module first.
505
- >
506
- > Refer to the [CloudFormation Custom Resource documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-custom-resources.html) for information on the contract your custom resource needs to adhere to.
507
-
508
- Set `serviceToken` to `topic.topicArn` in order to use this provider:
509
-
510
- ```ts
511
- const topic = new sns.Topic(this, 'MyProvider');
512
-
513
- new CustomResource(this, 'MyResource', {
514
- serviceToken: topic.topicArn
515
- });
516
- ```
517
-
518
- #### AWS Lambda Function
519
-
520
- An AWS lambda function is called *directly* by CloudFormation for all resource
521
- events. The handler must take care of explicitly submitting a success/failure
522
- response to the CloudFormation service and handle various error cases.
523
-
524
- > **We do not recommend you use this provider type.** The CDK has wrappers around Lambda Functions that make them easier to work with.
525
- >
526
- > If you do want to use this provider, refer to the [CloudFormation Custom Resource documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-custom-resources.html) for information on the contract your custom resource needs to adhere to.
527
-
528
- Set `serviceToken` to `lambda.functionArn` to use this provider:
529
-
530
- ```ts
531
- const fn = new lambda.Function(this, 'MyProvider', functionProps);
532
-
533
- new CustomResource(this, 'MyResource', {
534
- serviceToken: fn.functionArn,
535
- });
536
- ```
537
-
538
- #### The `core.CustomResourceProvider` class
539
-
540
- The class [`@aws-cdk/core.CustomResourceProvider`] offers a basic low-level
541
- framework designed to implement simple and slim custom resource providers. It
542
- currently only supports Node.js-based user handlers, represents permissions as raw
543
- JSON blobs instead of `iam.PolicyStatement` objects, and it does not have
544
- support for asynchronous waiting (handler cannot exceed the 15min lambda
545
- timeout).
546
-
547
- [`@aws-cdk/core.CustomResourceProvider`]: https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_core.CustomResourceProvider.html
548
-
549
- > **As an application builder, we do not recommend you use this provider type.** This provider exists purely for custom resources that are part of the AWS Construct Library.
550
- >
551
- > The [`custom-resources`](#the-custom-resource-provider-framework) provider is more convenient to work with and more fully-featured.
552
-
553
- The provider has a built-in singleton method which uses the resource type as a
554
- stack-unique identifier and returns the service token:
555
-
556
- ```ts
557
- const serviceToken = CustomResourceProvider.getOrCreate(this, 'Custom::MyCustomResourceType', {
558
- codeDirectory: `${__dirname}/my-handler`,
559
- runtime: CustomResourceProviderRuntime.NODEJS_14_X,
560
- description: "Lambda function created by the custom resource provider",
561
- });
562
-
563
- new CustomResource(this, 'MyResource', {
564
- resourceType: 'Custom::MyCustomResourceType',
565
- serviceToken: serviceToken
566
- });
567
- ```
568
-
569
- The directory (`my-handler` in the above example) must include an `index.js` file. It cannot import
570
- external dependencies or files outside this directory. It must export an async
571
- function named `handler`. This function accepts the CloudFormation resource
572
- event object and returns an object with the following structure:
573
-
574
- ```js
575
- exports.handler = async function(event) {
576
- const id = event.PhysicalResourceId; // only for "Update" and "Delete"
577
- const props = event.ResourceProperties;
578
- const oldProps = event.OldResourceProperties; // only for "Update"s
579
-
580
- switch (event.RequestType) {
581
- case "Create":
582
- // ...
583
-
584
- case "Update":
585
- // ...
586
-
587
- // if an error is thrown, a FAILED response will be submitted to CFN
588
- throw new Error('Failed!');
589
-
590
- case "Delete":
591
- // ...
592
- }
593
-
594
- return {
595
- // (optional) the value resolved from `resource.ref`
596
- // defaults to "event.PhysicalResourceId" or "event.RequestId"
597
- PhysicalResourceId: "REF",
598
-
599
- // (optional) calling `resource.getAtt("Att1")` on the custom resource in the CDK app
600
- // will return the value "BAR".
601
- Data: {
602
- Att1: "BAR",
603
- Att2: "BAZ"
604
- },
605
-
606
- // (optional) user-visible message
607
- Reason: "User-visible message",
608
-
609
- // (optional) hides values from the console
610
- NoEcho: true
611
- };
612
- }
613
- ```
614
-
615
- Here is an complete example of a custom resource that summarizes two numbers:
616
-
617
- `sum-handler/index.js`:
618
-
619
- ```js
620
- exports.handler = async (e) => {
621
- return {
622
- Data: {
623
- Result: e.ResourceProperties.lhs + e.ResourceProperties.rhs,
624
- },
625
- };
626
- };
627
- ```
628
-
629
- `sum.ts`:
630
-
631
- ```ts nofixture
632
- import {
633
- Construct,
634
- CustomResource,
635
- CustomResourceProvider,
636
- CustomResourceProviderRuntime,
637
- Token,
638
- } from '@aws-cdk/core';
639
-
640
- export interface SumProps {
641
- readonly lhs: number;
642
- readonly rhs: number;
643
- }
644
-
645
- export class Sum extends Construct {
646
- public readonly result: number;
647
-
648
- constructor(scope: Construct, id: string, props: SumProps) {
649
- super(scope, id);
650
-
651
- const resourceType = 'Custom::Sum';
652
- const serviceToken = CustomResourceProvider.getOrCreate(this, resourceType, {
653
- codeDirectory: `${__dirname}/sum-handler`,
654
- runtime: CustomResourceProviderRuntime.NODEJS_14_X,
655
- });
656
-
657
- const resource = new CustomResource(this, 'Resource', {
658
- resourceType: resourceType,
659
- serviceToken: serviceToken,
660
- properties: {
661
- lhs: props.lhs,
662
- rhs: props.rhs
663
- }
664
- });
665
-
666
- this.result = Token.asNumber(resource.getAtt('Result'));
667
- }
668
- }
669
- ```
670
-
671
- Usage will look like this:
672
-
673
- ```ts fixture=README-custom-resource-provider
674
- const sum = new Sum(this, 'MySum', { lhs: 40, rhs: 2 });
675
- new CfnOutput(this, 'Result', { value: Token.asString(sum.result) });
676
- ```
677
-
678
- To access the ARN of the provider's AWS Lambda function role, use the `getOrCreateProvider()`
679
- built-in singleton method:
680
-
681
- ```ts
682
- const provider = CustomResourceProvider.getOrCreateProvider(this, 'Custom::MyCustomResourceType', {
683
- codeDirectory: `${__dirname}/my-handler`,
684
- runtime: CustomResourceProviderRuntime.NODEJS_14_X,
685
- });
686
-
687
- const roleArn = provider.roleArn;
688
- ```
689
-
690
- This role ARN can then be used in resource-based IAM policies.
691
-
692
- To add IAM policy statements to this role, use `addToRolePolicy()`:
693
-
694
- ```ts
695
- const provider = CustomResourceProvider.getOrCreateProvider(this, 'Custom::MyCustomResourceType', {
696
- codeDirectory: `${__dirname}/my-handler`,
697
- runtime: CustomResourceProviderRuntime.NODEJS_14_X,
698
- });
699
- provider.addToRolePolicy({
700
- Effect: 'Allow',
701
- Action: 's3:GetObject',
702
- Resource: '*',
703
- })
704
- ```
705
-
706
- Note that `addToRolePolicy()` uses direct IAM JSON policy blobs, *not* a
707
- `iam.PolicyStatement` object like you will see in the rest of the CDK.
708
-
709
- #### The Custom Resource Provider Framework
710
-
711
- The [`@aws-cdk/custom-resources`] module includes an advanced framework for
712
- implementing custom resource providers.
713
-
714
- [`@aws-cdk/custom-resources`]: https://docs.aws.amazon.com/cdk/api/latest/docs/custom-resources-readme.html
715
-
716
- Handlers are implemented as AWS Lambda functions, which means that they can be
717
- implemented in any Lambda-supported runtime. Furthermore, this provider has an
718
- asynchronous mode, which means that users can provide an `isComplete` lambda
719
- function which is called periodically until the operation is complete. This
720
- allows implementing providers that can take up to two hours to stabilize.
721
-
722
- Set `serviceToken` to `provider.serviceToken` to use this type of provider:
723
-
724
- ```ts
725
- const provider = new customresources.Provider(this, 'MyProvider', {
726
- onEventHandler,
727
- isCompleteHandler, // optional async waiter
728
- });
729
-
730
- new CustomResource(this, 'MyResource', {
731
- serviceToken: provider.serviceToken
732
- });
733
- ```
734
-
735
- See the [documentation](https://docs.aws.amazon.com/cdk/api/latest/docs/custom-resources-readme.html) for more details.
736
-
737
- ## AWS CloudFormation features
738
-
739
- A CDK stack synthesizes to an AWS CloudFormation Template. This section
740
- explains how this module allows users to access low-level CloudFormation
741
- features when needed.
742
-
743
- ### Stack Outputs
744
-
745
- CloudFormation [stack outputs][cfn-stack-output] and exports are created using
746
- the `CfnOutput` class:
747
-
748
- ```ts
749
- new CfnOutput(this, 'OutputName', {
750
- value: myBucket.bucketName,
751
- description: 'The name of an S3 bucket', // Optional
752
- exportName: 'TheAwesomeBucket', // Registers a CloudFormation export named "TheAwesomeBucket"
753
- });
754
- ```
755
-
756
- [cfn-stack-output]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/outputs-section-structure.html
757
-
758
- ### Parameters
759
-
760
- CloudFormation templates support the use of [Parameters][cfn-parameters] to
761
- customize a template. They enable CloudFormation users to input custom values to
762
- a template each time a stack is created or updated. While the CDK design
763
- philosophy favors using build-time parameterization, users may need to use
764
- CloudFormation in a number of cases (for example, when migrating an existing
765
- stack to the AWS CDK).
766
-
767
- Template parameters can be added to a stack by using the `CfnParameter` class:
768
-
769
- ```ts
770
- new CfnParameter(this, 'MyParameter', {
771
- type: 'Number',
772
- default: 1337,
773
- // See the API reference for more configuration props
774
- });
775
- ```
776
-
777
- The value of parameters can then be obtained using one of the `value` methods.
778
- As parameters are only resolved at deployment time, the values obtained are
779
- placeholder tokens for the real value (`Token.isUnresolved()` would return `true`
780
- for those):
781
-
782
- ```ts
783
- const param = new CfnParameter(this, 'ParameterName', { /* config */ });
784
-
785
- // If the parameter is a String
786
- param.valueAsString;
787
-
788
- // If the parameter is a Number
789
- param.valueAsNumber;
790
-
791
- // If the parameter is a List
792
- param.valueAsList;
793
- ```
794
-
795
- [cfn-parameters]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/parameters-section-structure.html
796
-
797
- ### Pseudo Parameters
798
-
799
- CloudFormation supports a number of [pseudo parameters][cfn-pseudo-params],
800
- which resolve to useful values at deployment time. CloudFormation pseudo
801
- parameters can be obtained from static members of the `Aws` class.
802
-
803
- It is generally recommended to access pseudo parameters from the scope's `stack`
804
- instead, which guarantees the values produced are qualifying the designated
805
- stack, which is essential in cases where resources are shared cross-stack:
806
-
807
- ```ts
808
- // "this" is the current construct
809
- const stack = Stack.of(this);
810
-
811
- stack.account; // Returns the AWS::AccountId for this stack (or the literal value if known)
812
- stack.region; // Returns the AWS::Region for this stack (or the literal value if known)
813
- stack.partition; // Returns the AWS::Partition for this stack (or the literal value if known)
814
- ```
815
-
816
- [cfn-pseudo-params]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/pseudo-parameter-reference.html
817
-
818
- ### Resource Options
819
-
820
- CloudFormation resources can also specify [resource
821
- attributes][cfn-resource-attributes]. The `CfnResource` class allows
822
- accessing those through the `cfnOptions` property:
823
-
824
- ```ts
825
- const rawBucket = new s3.CfnBucket(this, 'Bucket', { /* ... */ });
826
- // -or-
827
- const rawBucketAlt = myBucket.node.defaultChild as s3.CfnBucket;
828
-
829
- // then
830
- rawBucket.cfnOptions.condition = new CfnCondition(this, 'EnableBucket', { /* ... */ });
831
- rawBucket.cfnOptions.metadata = {
832
- metadataKey: 'MetadataValue',
833
- };
834
- ```
835
-
836
- Resource dependencies (the `DependsOn` attribute) is modified using the
837
- `cfnResource.addDependsOn` method:
838
-
839
- ```ts
840
- const resourceA = new CfnResource(this, 'ResourceA', resourceProps);
841
- const resourceB = new CfnResource(this, 'ResourceB', resourceProps);
842
-
843
- resourceB.addDependsOn(resourceA);
844
- ```
845
-
846
- [cfn-resource-attributes]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-product-attribute-reference.html
847
-
848
- ### Intrinsic Functions and Condition Expressions
849
-
850
- CloudFormation supports [intrinsic functions][cfn-intrinsics]. These functions
851
- can be accessed from the `Fn` class, which provides type-safe methods for each
852
- intrinsic function as well as condition expressions:
853
-
854
- ```ts
855
- declare const myObjectOrArray: any;
856
- declare const myArray: any;
857
-
858
- // To use Fn::Base64
859
- Fn.base64('SGVsbG8gQ0RLIQo=');
860
-
861
- // To compose condition expressions:
862
- const environmentParameter = new CfnParameter(this, 'Environment');
863
- Fn.conditionAnd(
864
- // The "Environment" CloudFormation template parameter evaluates to "Production"
865
- Fn.conditionEquals('Production', environmentParameter),
866
- // The AWS::Region pseudo-parameter value is NOT equal to "us-east-1"
867
- Fn.conditionNot(Fn.conditionEquals('us-east-1', Aws.REGION)),
868
- );
869
-
870
- // To use Fn::ToJsonString
871
- Fn.toJsonString(myObjectOrArray);
872
-
873
- // To use Fn::Length
874
- Fn.len(Fn.split(',', myArray));
875
- ```
876
-
877
- When working with deploy-time values (those for which `Token.isUnresolved`
878
- returns `true`), idiomatic conditionals from the programming language cannot be
879
- used (the value will not be known until deployment time). When conditional logic
880
- needs to be expressed with un-resolved values, it is necessary to use
881
- CloudFormation conditions by means of the `CfnCondition` class:
882
-
883
- ```ts
884
- const environmentParameter = new CfnParameter(this, 'Environment');
885
- const isProd = new CfnCondition(this, 'IsProduction', {
886
- expression: Fn.conditionEquals('Production', environmentParameter),
887
- });
888
-
889
- // Configuration value that is a different string based on IsProduction
890
- const stage = Fn.conditionIf(isProd.logicalId, 'Beta', 'Prod').toString();
891
-
892
- // Make Bucket creation condition to IsProduction by accessing
893
- // and overriding the CloudFormation resource
894
- const bucket = new s3.Bucket(this, 'Bucket');
895
- const cfnBucket = myBucket.node.defaultChild as s3.CfnBucket;
896
- cfnBucket.cfnOptions.condition = isProd;
897
- ```
898
-
899
- [cfn-intrinsics]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference.html
900
-
901
- ### Mappings
902
-
903
- CloudFormation [mappings][cfn-mappings] are created and queried using the
904
- `CfnMappings` class:
905
-
906
- ```ts
907
- const regionTable = new CfnMapping(this, 'RegionTable', {
908
- mapping: {
909
- 'us-east-1': {
910
- regionName: 'US East (N. Virginia)',
911
- // ...
912
- },
913
- 'us-east-2': {
914
- regionName: 'US East (Ohio)',
915
- // ...
916
- },
917
- // ...
918
- }
919
- });
920
-
921
- regionTable.findInMap(Aws.REGION, 'regionName')
922
- ```
923
-
924
- This will yield the following template:
925
-
926
- ```yaml
927
- Mappings:
928
- RegionTable:
929
- us-east-1:
930
- regionName: US East (N. Virginia)
931
- us-east-2:
932
- regionName: US East (Ohio)
933
- ```
934
-
935
- Mappings can also be synthesized "lazily"; lazy mappings will only render a "Mappings"
936
- section in the synthesized CloudFormation template if some `findInMap` call is unable to
937
- immediately return a concrete value due to one or both of the keys being unresolved tokens
938
- (some value only available at deploy-time).
939
-
940
- For example, the following code will not produce anything in the "Mappings" section. The
941
- call to `findInMap` will be able to resolve the value during synthesis and simply return
942
- `'US East (Ohio)'`.
943
-
944
- ```ts
945
- const regionTable = new CfnMapping(this, 'RegionTable', {
946
- mapping: {
947
- 'us-east-1': {
948
- regionName: 'US East (N. Virginia)',
949
- },
950
- 'us-east-2': {
951
- regionName: 'US East (Ohio)',
952
- },
953
- },
954
- lazy: true,
955
- });
956
-
957
- regionTable.findInMap('us-east-2', 'regionName');
958
- ```
959
-
960
- On the other hand, the following code will produce the "Mappings" section shown above,
961
- since the top-level key is an unresolved token. The call to `findInMap` will return a token that resolves to
962
- `{ "Fn::FindInMap": [ "RegionTable", { "Ref": "AWS::Region" }, "regionName" ] }`.
963
-
964
- ```ts
965
- declare const regionTable: CfnMapping;
966
-
967
- regionTable.findInMap(Aws.REGION, 'regionName');
968
- ```
969
-
970
- [cfn-mappings]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/mappings-section-structure.html
971
-
972
- ### Dynamic References
973
-
974
- CloudFormation supports [dynamically resolving][cfn-dynamic-references] values
975
- for SSM parameters (including secure strings) and Secrets Manager. Encoding such
976
- references is done using the `CfnDynamicReference` class:
977
-
978
- ```ts
979
- new CfnDynamicReference(
980
- CfnDynamicReferenceService.SECRETS_MANAGER,
981
- 'secret-id:secret-string:json-key:version-stage:version-id',
982
- );
983
- ```
984
-
985
- [cfn-dynamic-references]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/dynamic-references.html
986
-
987
- ### Template Options & Transform
988
-
989
- CloudFormation templates support a number of options, including which Macros or
990
- [Transforms][cfn-transform] to use when deploying the stack. Those can be
991
- configured using the `stack.templateOptions` property:
992
-
993
- ```ts
994
- const stack = new Stack(app, 'StackName');
995
-
996
- stack.templateOptions.description = 'This will appear in the AWS console';
997
- stack.templateOptions.transforms = ['AWS::Serverless-2016-10-31'];
998
- stack.templateOptions.metadata = {
999
- metadataKey: 'MetadataValue',
1000
- };
1001
- ```
1002
-
1003
- [cfn-transform]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-section-structure.html
1004
-
1005
- ### Emitting Raw Resources
1006
-
1007
- The `CfnResource` class allows emitting arbitrary entries in the
1008
- [Resources][cfn-resources] section of the CloudFormation template.
1009
-
1010
- ```ts
1011
- new CfnResource(this, 'ResourceId', {
1012
- type: 'AWS::S3::Bucket',
1013
- properties: {
1014
- BucketName: 'bucket-name'
1015
- },
1016
- });
1017
- ```
1018
-
1019
- As for any other resource, the logical ID in the CloudFormation template will be
1020
- generated by the AWS CDK, but the type and properties will be copied verbatim in
1021
- the synthesized template.
1022
-
1023
- [cfn-resources]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resources-section-structure.html
1024
-
1025
- ### Including raw CloudFormation template fragments
1026
-
1027
- When migrating a CloudFormation stack to the AWS CDK, it can be useful to
1028
- include fragments of an existing template verbatim in the synthesized template.
1029
- This can be achieved using the `CfnInclude` class.
1030
-
1031
- ```ts
1032
- new CfnInclude(this, 'ID', {
1033
- template: {
1034
- Resources: {
1035
- Bucket: {
1036
- Type: 'AWS::S3::Bucket',
1037
- Properties: {
1038
- BucketName: 'my-shiny-bucket'
1039
- }
1040
- }
1041
- }
1042
- },
1043
- });
1044
- ```
1045
-
1046
- ### Termination Protection
1047
-
1048
- You can prevent a stack from being accidentally deleted by enabling termination
1049
- protection on the stack. If a user attempts to delete a stack with termination
1050
- protection enabled, the deletion fails and the stack--including its status--remains
1051
- unchanged. Enabling or disabling termination protection on a stack sets it for any
1052
- nested stacks belonging to that stack as well. You can enable termination protection
1053
- on a stack by setting the `terminationProtection` prop to `true`.
1054
-
1055
- ```ts
1056
- const stack = new Stack(app, 'StackName', {
1057
- terminationProtection: true,
1058
- });
1059
- ```
1060
-
1061
- By default, termination protection is disabled.
1062
-
1063
- ### Description
1064
-
1065
- You can add a description of the stack in the same way as `StackProps`.
1066
-
1067
- ```ts
1068
- const stack = new Stack(app, 'StackName', {
1069
- description: 'This is a description.',
1070
- });
1071
- ```
1072
-
1073
- ### CfnJson
1074
-
1075
- `CfnJson` allows you to postpone the resolution of a JSON blob from
1076
- deployment-time. This is useful in cases where the CloudFormation JSON template
1077
- cannot express a certain value.
1078
-
1079
- A common example is to use `CfnJson` in order to render a JSON map which needs
1080
- to use intrinsic functions in keys. Since JSON map keys must be strings, it is
1081
- impossible to use intrinsics in keys and `CfnJson` can help.
1082
-
1083
- The following example defines an IAM role which can only be assumed by
1084
- principals that are tagged with a specific tag.
1085
-
1086
- ```ts
1087
- const tagParam = new CfnParameter(this, 'TagName');
1088
-
1089
- const stringEquals = new CfnJson(this, 'ConditionJson', {
1090
- value: {
1091
- [`aws:PrincipalTag/${tagParam.valueAsString}`]: true,
1092
- },
1093
- });
1094
-
1095
- const principal = new iam.AccountRootPrincipal().withConditions({
1096
- StringEquals: stringEquals,
1097
- });
1098
-
1099
- new iam.Role(this, 'MyRole', { assumedBy: principal });
1100
- ```
1101
-
1102
- **Explanation**: since in this example we pass the tag name through a parameter, it
1103
- can only be resolved during deployment. The resolved value can be represented in
1104
- the template through a `{ "Ref": "TagName" }`. However, since we want to use
1105
- this value inside a [`aws:PrincipalTag/TAG-NAME`](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-principaltag)
1106
- IAM operator, we need it in the *key* of a `StringEquals` condition. JSON keys
1107
- *must be* strings, so to circumvent this limitation, we use `CfnJson`
1108
- to "delay" the rendition of this template section to deploy-time. This means
1109
- that the value of `StringEquals` in the template will be `{ "Fn::GetAtt": [ "ConditionJson", "Value" ] }`, and will only "expand" to the operator we synthesized during deployment.
1110
-
1111
- ### Stack Resource Limit
1112
-
1113
- When deploying to AWS CloudFormation, it needs to keep in check the amount of resources being added inside a Stack. Currently it's possible to check the limits in the [AWS CloudFormation quotas](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-limits.html) page.
1114
-
1115
- It's possible to synthesize the project with more Resources than the allowed (or even reduce the number of Resources).
1116
-
1117
- Set the context key `@aws-cdk/core:stackResourceLimit` with the proper value, being 0 for disable the limit of resources.
1118
-
1119
- <!--END CORE DOCUMENTATION-->