@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,985 +0,0 @@
1
- # AWS Lambda Construct Library
2
-
3
-
4
- This construct library allows you to define AWS Lambda Functions.
5
-
6
- ```ts
7
- const fn = new lambda.Function(this, 'MyFunction', {
8
- runtime: lambda.Runtime.NODEJS_16_X,
9
- handler: 'index.handler',
10
- code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),
11
- });
12
- ```
13
-
14
- ## Handler Code
15
-
16
- The `lambda.Code` class includes static convenience methods for various types of
17
- runtime code.
18
-
19
- * `lambda.Code.fromBucket(bucket, key[, objectVersion])` - specify an S3 object
20
- that contains the archive of your runtime code.
21
- * `lambda.Code.fromInline(code)` - inline the handle code as a string. This is
22
- limited to supported runtimes.
23
- * `lambda.Code.fromAsset(path)` - specify a directory or a .zip file in the local
24
- filesystem which will be zipped and uploaded to S3 before deployment. See also
25
- [bundling asset code](#bundling-asset-code).
26
- * `lambda.Code.fromDockerBuild(path, options)` - use the result of a Docker
27
- build as code. The runtime code is expected to be located at `/asset` in the
28
- image and will be zipped and uploaded to S3 as an asset.
29
-
30
- The following example shows how to define a Python function and deploy the code
31
- from the local directory `my-lambda-handler` to it:
32
-
33
- [Example of Lambda Code from Local Assets](test/integ.assets.lit.ts)
34
-
35
- When deploying a stack that contains this code, the directory will be zip
36
- archived and then uploaded to an S3 bucket, then the exact location of the S3
37
- objects will be passed when the stack is deployed.
38
-
39
- During synthesis, the CDK expects to find a directory on disk at the asset
40
- directory specified. Note that we are referencing the asset directory relatively
41
- to our CDK project directory. This is especially important when we want to share
42
- this construct through a library. Different programming languages will have
43
- different techniques for bundling resources into libraries.
44
-
45
- ## Docker Images
46
-
47
- Lambda functions allow specifying their handlers within docker images. The docker
48
- image can be an image from ECR or a local asset that the CDK will package and load
49
- into ECR.
50
-
51
- The following `DockerImageFunction` construct uses a local folder with a
52
- Dockerfile as the asset that will be used as the function handler.
53
-
54
- ```ts
55
- new lambda.DockerImageFunction(this, 'AssetFunction', {
56
- code: lambda.DockerImageCode.fromImageAsset(path.join(__dirname, 'docker-handler')),
57
- });
58
- ```
59
-
60
- You can also specify an image that already exists in ECR as the function handler.
61
-
62
- ```ts
63
- import * as ecr from 'aws-cdk-lib/aws-ecr';
64
- const repo = new ecr.Repository(this, 'Repository');
65
-
66
- new lambda.DockerImageFunction(this, 'ECRFunction', {
67
- code: lambda.DockerImageCode.fromEcr(repo),
68
- });
69
- ```
70
-
71
- The props for these docker image resources allow overriding the image's `CMD`, `ENTRYPOINT`, and `WORKDIR`
72
- configurations as well as choosing a specific tag or digest. See their docs for more information.
73
-
74
- To deploy a `DockerImageFunction` on Lambda `arm64` architecture, specify `Architecture.ARM_64` in `architecture`.
75
- This will bundle docker image assets for `arm64` architecture with `--platform linux/arm64` even if build within an `x86_64` host.
76
-
77
- ```ts
78
- new DockerImageFunction(this, 'AssetFunction', {
79
- code: DockerImageCode.fromImageAsset(path.join(__dirname, 'docker-arm64-handler')),
80
- architecture: Architecture.ARM_64,
81
- });
82
- ```
83
-
84
- ## Execution Role
85
-
86
- Lambda functions assume an IAM role during execution. In CDK by default, Lambda
87
- functions will use an autogenerated Role if one is not provided.
88
-
89
- The autogenerated Role is automatically given permissions to execute the Lambda
90
- function. To reference the autogenerated Role:
91
-
92
- ```ts
93
- const fn = new lambda.Function(this, 'MyFunction', {
94
- runtime: lambda.Runtime.NODEJS_16_X,
95
- handler: 'index.handler',
96
- code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),
97
- });
98
-
99
- const role = fn.role; // the Role
100
- ```
101
-
102
- You can also provide your own IAM role. Provided IAM roles will not automatically
103
- be given permissions to execute the Lambda function. To provide a role and grant
104
- it appropriate permissions:
105
-
106
- ```ts
107
- const myRole = new iam.Role(this, 'My Role', {
108
- assumedBy: new iam.ServicePrincipal('lambda.amazonaws.com'),
109
- });
110
-
111
- const fn = new lambda.Function(this, 'MyFunction', {
112
- runtime: lambda.Runtime.NODEJS_16_X,
113
- handler: 'index.handler',
114
- code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),
115
- role: myRole, // user-provided role
116
- });
117
-
118
- myRole.addManagedPolicy(iam.ManagedPolicy.fromAwsManagedPolicyName("service-role/AWSLambdaBasicExecutionRole"));
119
- myRole.addManagedPolicy(iam.ManagedPolicy.fromAwsManagedPolicyName("service-role/AWSLambdaVPCAccessExecutionRole")); // only required if your function lives in a VPC
120
- ```
121
-
122
- ## Function Timeout
123
-
124
- AWS Lambda functions have a default timeout of 3 seconds, but this can be increased
125
- up to 15 minutes. The timeout is available as a property of `Function` so that
126
- you can reference it elsewhere in your stack. For instance, you could use it to create
127
- a CloudWatch alarm to report when your function timed out:
128
-
129
- ```ts
130
- import * as cdk from 'aws-cdk-lib';
131
- import * as cloudwatch from 'aws-cdk-lib/aws-cloudwatch';
132
-
133
- const fn = new lambda.Function(this, 'MyFunction', {
134
- runtime: lambda.Runtime.NODEJS_16_X,
135
- handler: 'index.handler',
136
- code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),
137
- timeout: cdk.Duration.minutes(5),
138
- });
139
-
140
- if (fn.timeout) {
141
- new cloudwatch.Alarm(this, `MyAlarm`, {
142
- metric: fn.metricDuration().with({
143
- statistic: 'Maximum',
144
- }),
145
- evaluationPeriods: 1,
146
- datapointsToAlarm: 1,
147
- threshold: fn.timeout.toMilliseconds(),
148
- treatMissingData: cloudwatch.TreatMissingData.IGNORE,
149
- alarmName: 'My Lambda Timeout',
150
- });
151
- }
152
- ```
153
-
154
- ## Resource-based Policies
155
-
156
- AWS Lambda supports resource-based policies for controlling access to Lambda
157
- functions and layers on a per-resource basis. In particular, this allows you to
158
- give permission to AWS services, AWS Organizations, or other AWS accounts to
159
- modify and invoke your functions.
160
-
161
- ### Grant function access to AWS services
162
-
163
- ```ts
164
- // Grant permissions to a service
165
- declare const fn: lambda.Function;
166
- const principal = new iam.ServicePrincipal('my-service');
167
-
168
- fn.grantInvoke(principal);
169
-
170
- // Equivalent to:
171
- fn.addPermission('my-service Invocation', {
172
- principal: principal,
173
- });
174
- ```
175
-
176
- You can also restrict permissions given to AWS services by providing
177
- a source account or ARN (representing the account and identifier of the resource
178
- that accesses the function or layer).
179
-
180
- For more information, see
181
- [Granting function access to AWS services](https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html#permissions-resource-serviceinvoke)
182
- in the AWS Lambda Developer Guide.
183
-
184
- ### Grant function access to an AWS Organization
185
-
186
- ```ts
187
- // Grant permissions to an entire AWS organization
188
- declare const fn: lambda.Function;
189
- const org = new iam.OrganizationPrincipal('o-xxxxxxxxxx');
190
-
191
- fn.grantInvoke(org);
192
- ```
193
-
194
- In the above example, the `principal` will be `*` and all users in the
195
- organization `o-xxxxxxxxxx` will get function invocation permissions.
196
-
197
- You can restrict permissions given to the organization by specifying an
198
- AWS account or role as the `principal`:
199
-
200
- ```ts
201
- // Grant permission to an account ONLY IF they are part of the organization
202
- declare const fn: lambda.Function;
203
- const account = new iam.AccountPrincipal('123456789012');
204
-
205
- fn.grantInvoke(account.inOrganization('o-xxxxxxxxxx'));
206
- ```
207
-
208
- For more information, see
209
- [Granting function access to an organization](https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html#permissions-resource-xorginvoke)
210
- in the AWS Lambda Developer Guide.
211
-
212
- ### Grant function access to other AWS accounts
213
-
214
- ```ts
215
- // Grant permission to other AWS account
216
- declare const fn: lambda.Function;
217
- const account = new iam.AccountPrincipal('123456789012');
218
-
219
- fn.grantInvoke(account);
220
- ```
221
-
222
- For more information, see
223
- [Granting function access to other accounts](https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html#permissions-resource-xaccountinvoke)
224
- in the AWS Lambda Developer Guide.
225
-
226
- ### Grant function access to unowned principals
227
-
228
- Providing an unowned principal (such as account principals, generic ARN
229
- principals, service principals, and principals in other accounts) to a call to
230
- `fn.grantInvoke` will result in a resource-based policy being created. If the
231
- principal in question has conditions limiting the source account or ARN of the
232
- operation (see above), these conditions will be automatically added to the
233
- resource policy.
234
-
235
- ```ts
236
- declare const fn: lambda.Function;
237
- const servicePrincipal = new iam.ServicePrincipal('my-service');
238
- const sourceArn = 'arn:aws:s3:::my-bucket';
239
- const sourceAccount = '111122223333';
240
- const servicePrincipalWithConditions = servicePrincipal.withConditions({
241
- ArnLike: {
242
- 'aws:SourceArn': sourceArn,
243
- },
244
- StringEquals: {
245
- 'aws:SourceAccount': sourceAccount,
246
- },
247
- });
248
-
249
- fn.grantInvoke(servicePrincipalWithConditions);
250
- ```
251
-
252
- ## Versions
253
-
254
- You can use
255
- [versions](https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html)
256
- to manage the deployment of your AWS Lambda functions. For example, you can
257
- publish a new version of a function for beta testing without affecting users of
258
- the stable production version.
259
-
260
- The function version includes the following information:
261
-
262
- * The function code and all associated dependencies.
263
- * The Lambda runtime that executes the function.
264
- * All of the function settings, including the environment variables.
265
- * A unique Amazon Resource Name (ARN) to identify this version of the function.
266
-
267
- You could create a version to your lambda function using the `Version` construct.
268
-
269
- ```ts
270
- declare const fn: lambda.Function;
271
- const version = new lambda.Version(this, 'MyVersion', {
272
- lambda: fn,
273
- });
274
- ```
275
-
276
- The major caveat to know here is that a function version must always point to a
277
- specific 'version' of the function. When the function is modified, the version
278
- will continue to point to the 'then version' of the function.
279
-
280
- One way to ensure that the `lambda.Version` always points to the latest version
281
- of your `lambda.Function` is to set an environment variable which changes at
282
- least as often as your code does. This makes sure the function always has the
283
- latest code. For instance -
284
-
285
- ```ts
286
- const codeVersion = "stringOrMethodToGetCodeVersion";
287
- const fn = new lambda.Function(this, 'MyFunction', {
288
- runtime: lambda.Runtime.NODEJS_16_X,
289
- handler: 'index.handler',
290
- code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),
291
- environment: {
292
- 'CodeVersionString': codeVersion,
293
- },
294
- });
295
- ```
296
-
297
- The `fn.latestVersion` property returns a `lambda.IVersion` which represents
298
- the `$LATEST` pseudo-version.
299
-
300
- However, most AWS services require a specific AWS Lambda version,
301
- and won't allow you to use `$LATEST`. Therefore, you would normally want
302
- to use `lambda.currentVersion`.
303
-
304
- The `fn.currentVersion` property can be used to obtain a `lambda.Version`
305
- resource that represents the AWS Lambda function defined in your application.
306
- Any change to your function's code or configuration will result in the creation
307
- of a new version resource. You can specify options for this version through the
308
- `currentVersionOptions` property.
309
-
310
- NOTE: The `currentVersion` property is only supported when your AWS Lambda function
311
- uses either `lambda.Code.fromAsset` or `lambda.Code.fromInline`. Other types
312
- of code providers (such as `lambda.Code.fromBucket`) require that you define a
313
- `lambda.Version` resource directly since the CDK is unable to determine if
314
- their contents had changed.
315
-
316
- ### `currentVersion`: Updated hashing logic
317
-
318
- To produce a new lambda version each time the lambda function is modified, the
319
- `currentVersion` property under the hood, computes a new logical id based on the
320
- properties of the function. This informs CloudFormation that a new
321
- `AWS::Lambda::Version` resource should be created pointing to the updated Lambda
322
- function.
323
-
324
- However, a bug was introduced in this calculation that caused the logical id to
325
- change when it was not required (ex: when the Function's `Tags` property, or
326
- when the `DependsOn` clause was modified). This caused the deployment to fail
327
- since the Lambda service does not allow creating duplicate versions.
328
-
329
- This has been fixed in the AWS CDK but *existing* users need to opt-in via a
330
- [feature flag]. Users who have run `cdk init` since this fix will be opted in,
331
- by default.
332
-
333
- Otherwise, you will need to enable the [feature flag]
334
- `@aws-cdk/aws-lambda:recognizeVersionProps`. Since CloudFormation does not
335
- allow duplicate versions, you will also need to make some modification to
336
- your function so that a new version can be created. To efficiently and trivially
337
- modify all your lambda functions at once, you can attach the
338
- `FunctionVersionUpgrade` aspect to the stack, which slightly alters the
339
- function description. This aspect is intended for one-time use to upgrade the
340
- version of all your functions at the same time, and can safely be removed after
341
- deploying once.
342
-
343
- ```ts
344
- const stack = new Stack();
345
- Aspects.of(stack).add(new lambda.FunctionVersionUpgrade(LAMBDA_RECOGNIZE_VERSION_PROPS));
346
- ```
347
-
348
- When the new logic is in effect, you may rarely come across the following error:
349
- `The following properties are not recognized as version properties`. This will
350
- occur, typically when [property overrides] are used, when a new property
351
- introduced in `AWS::Lambda::Function` is used that CDK is still unaware of.
352
-
353
- To overcome this error, use the API `Function.classifyVersionProperty()` to
354
- record whether a new version should be generated when this property is changed.
355
- This can be typically determined by checking whether the property can be
356
- modified using the *[UpdateFunctionConfiguration]* API or not.
357
-
358
- ### `currentVersion`: Updated hashing logic for layer versions
359
-
360
- An additional update to the hashing logic fixes two issues surrounding layers.
361
- Prior to this change, updating the lambda layer version would have no effect on
362
- the function version. Also, the order of lambda layers provided to the function
363
- was unnecessarily baked into the hash.
364
-
365
- This has been fixed in the AWS CDK starting with version 2.27. If you ran
366
- `cdk init` with an earlier version, you will need to opt-in via a [feature flag].
367
- If you run `cdk init` with v2.27 or later, this fix will be opted in, by default.
368
-
369
- Existing users will need to enable the [feature flag]
370
- `@aws-cdk/aws-lambda:recognizeLayerVersion`. Since CloudFormation does not
371
- allow duplicate versions, they will also need to make some modification to
372
- their function so that a new version can be created. To efficiently and trivially
373
- modify all your lambda functions at once, users can attach the
374
- `FunctionVersionUpgrade` aspect to the stack, which slightly alters the
375
- function description. This aspect is intended for one-time use to upgrade the
376
- version of all your functions at the same time, and can safely be removed after
377
- deploying once.
378
-
379
- ```ts
380
- const stack = new Stack();
381
- Aspects.of(stack).add(new lambda.FunctionVersionUpgrade(LAMBDA_RECOGNIZE_LAYER_VERSION));
382
- ```
383
-
384
- [feature flag]: https://docs.aws.amazon.com/cdk/latest/guide/featureflags.html
385
- [property overrides]: https://docs.aws.amazon.com/cdk/latest/guide/cfn_layer.html#cfn_layer_raw
386
- [UpdateFunctionConfiguration]: https://docs.aws.amazon.com/lambda/latest/dg/API_UpdateFunctionConfiguration.html
387
-
388
- ## Aliases
389
-
390
- You can define one or more
391
- [aliases](https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html)
392
- for your AWS Lambda function. A Lambda alias is like a pointer to a specific
393
- Lambda function version. Users can access the function version using the alias
394
- ARN.
395
-
396
- The `version.addAlias()` method can be used to define an AWS Lambda alias that
397
- points to a specific version.
398
-
399
- The following example defines an alias named `live` which will always point to a
400
- version that represents the function as defined in your CDK app. When you change
401
- your lambda code or configuration, a new resource will be created. You can
402
- specify options for the current version through the `currentVersionOptions`
403
- property.
404
-
405
- ```ts
406
- const fn = new lambda.Function(this, 'MyFunction', {
407
- currentVersionOptions: {
408
- removalPolicy: RemovalPolicy.RETAIN, // retain old versions
409
- retryAttempts: 1, // async retry attempts
410
- },
411
- runtime: lambda.Runtime.NODEJS_16_X,
412
- handler: 'index.handler',
413
- code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),
414
- });
415
-
416
- fn.addAlias('live');
417
- ```
418
-
419
- ## Function URL
420
-
421
- A function URL is a dedicated HTTP(S) endpoint for your Lambda function. When you create a function URL, Lambda automatically generates a unique URL endpoint for you. Function URLs can be created for the latest version Lambda Functions, or Function Aliases (but not for Versions).
422
-
423
- Function URLs are dual stack-enabled, supporting IPv4 and IPv6, and cross-origin resource sharing (CORS) configuration. After you configure a function URL for your function, you can invoke your function through its HTTP(S) endpoint via a web browser, curl, Postman, or any HTTP client. To invoke a function using IAM authentication your HTTP client must support SigV4 signing.
424
-
425
- See the [Invoking Function URLs](https://docs.aws.amazon.com/lambda/latest/dg/urls-invocation.html) section of the AWS Lambda Developer Guide
426
- for more information on the input and output payloads of Functions invoked in this way.
427
-
428
- ### IAM-authenticated Function URLs
429
-
430
- To create a Function URL which can be called by an IAM identity, call `addFunctionUrl()`, followed by `grantInvokeFunctionUrl()`:
431
-
432
- ```ts
433
- // Can be a Function or an Alias
434
- declare const fn: lambda.Function;
435
- declare const myRole: iam.Role;
436
-
437
- const fnUrl = fn.addFunctionUrl();
438
- fnUrl.grantInvokeUrl(myRole);
439
-
440
- new CfnOutput(this, 'TheUrl', {
441
- // The .url attributes will return the unique Function URL
442
- value: fnUrl.url,
443
- });
444
- ```
445
-
446
- Calls to this URL need to be signed with SigV4.
447
-
448
- ### Anonymous Function URLs
449
-
450
- To create a Function URL which can be called anonymously, pass `authType: FunctionUrlAuthType.NONE` to `addFunctionUrl()`:
451
-
452
- ```ts
453
- // Can be a Function or an Alias
454
- declare const fn: lambda.Function;
455
-
456
- const fnUrl = fn.addFunctionUrl({
457
- authType: lambda.FunctionUrlAuthType.NONE,
458
- });
459
-
460
- new CfnOutput(this, 'TheUrl', {
461
- value: fnUrl.url,
462
- });
463
- ```
464
-
465
- ### CORS configuration for Function URLs
466
-
467
- If you want your Function URLs to be invokable from a web page in browser, you
468
- will need to configure cross-origin resource sharing to allow the call (if you do
469
- not do this, your browser will refuse to make the call):
470
-
471
- ```ts
472
- declare const fn: lambda.Function;
473
-
474
- fn.addFunctionUrl({
475
- authType: lambda.FunctionUrlAuthType.NONE,
476
- cors: {
477
- // Allow this to be called from websites on https://example.com.
478
- // Can also be ['*'] to allow all domain.
479
- allowedOrigins: ['https://example.com'],
480
-
481
- // More options are possible here, see the documentation for FunctionUrlCorsOptions
482
- },
483
- });
484
- ```
485
-
486
- ## Layers
487
-
488
- The `lambda.LayerVersion` class can be used to define Lambda layers and manage
489
- granting permissions to other AWS accounts or organizations.
490
-
491
- [Example of Lambda Layer usage](test/integ.layer-version.lit.ts)
492
-
493
- By default, updating a layer creates a new layer version, and CloudFormation will delete the old version as part of the stack update.
494
-
495
- Alternatively, a removal policy can be used to retain the old version:
496
-
497
- ```ts
498
- new lambda.LayerVersion(this, 'MyLayer', {
499
- removalPolicy: RemovalPolicy.RETAIN,
500
- code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),
501
- });
502
- ```
503
-
504
- ## Architecture
505
-
506
- Lambda functions, by default, run on compute systems that have the 64 bit x86 architecture.
507
-
508
- The AWS Lambda service also runs compute on the ARM architecture, which can reduce cost
509
- for some workloads.
510
-
511
- A lambda function can be configured to be run on one of these platforms:
512
-
513
- ```ts
514
- new lambda.Function(this, 'MyFunction', {
515
- runtime: lambda.Runtime.NODEJS_16_X,
516
- handler: 'index.handler',
517
- code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),
518
- architecture: lambda.Architecture.ARM_64,
519
- });
520
- ```
521
-
522
- Similarly, lambda layer versions can also be tagged with architectures it is compatible with.
523
-
524
- ```ts
525
- new lambda.LayerVersion(this, 'MyLayer', {
526
- removalPolicy: RemovalPolicy.RETAIN,
527
- code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),
528
- compatibleArchitectures: [lambda.Architecture.X86_64, lambda.Architecture.ARM_64],
529
- });
530
- ```
531
-
532
- ## Lambda Insights
533
-
534
- Lambda functions can be configured to use CloudWatch [Lambda Insights](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Lambda-Insights.html)
535
- which provides low-level runtime metrics for a Lambda functions.
536
-
537
- ```ts
538
- new lambda.Function(this, 'MyFunction', {
539
- runtime: lambda.Runtime.NODEJS_16_X,
540
- handler: 'index.handler',
541
- code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),
542
- insightsVersion: lambda.LambdaInsightsVersion.VERSION_1_0_98_0,
543
- });
544
- ```
545
-
546
- If the version of insights is not yet available in the CDK, you can also provide the ARN directly as so -
547
-
548
- ```ts
549
- const layerArn = 'arn:aws:lambda:us-east-1:580247275435:layer:LambdaInsightsExtension:14';
550
- new lambda.Function(this, 'MyFunction', {
551
- runtime: lambda.Runtime.NODEJS_16_X,
552
- handler: 'index.handler',
553
- code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),
554
- insightsVersion: lambda.LambdaInsightsVersion.fromInsightVersionArn(layerArn),
555
- });
556
- ```
557
-
558
- If you are deploying an ARM_64 Lambda Function, you must specify a
559
- Lambda Insights Version >= `1_0_119_0`.
560
-
561
- ```ts
562
- new lambda.Function(this, 'MyFunction', {
563
- runtime: lambda.Runtime.NODEJS_16_X,
564
- handler: 'index.handler',
565
- architecture: lambda.Architecture.ARM_64,
566
- code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),
567
- insightsVersion: lambda.LambdaInsightsVersion.VERSION_1_0_119_0,
568
- });
569
- ```
570
-
571
- ## Event Rule Target
572
-
573
- You can use an AWS Lambda function as a target for an Amazon CloudWatch event
574
- rule:
575
-
576
- ```ts
577
- import * as events from 'aws-cdk-lib/aws-events';
578
- import * as targets from 'aws-cdk-lib/aws-events-targets';
579
-
580
- declare const fn: lambda.Function;
581
- const rule = new events.Rule(this, 'Schedule Rule', {
582
- schedule: events.Schedule.cron({ minute: '0', hour: '4' }),
583
- });
584
- rule.addTarget(new targets.LambdaFunction(fn));
585
- ```
586
-
587
- ## Event Sources
588
-
589
- AWS Lambda supports a [variety of event sources](https://docs.aws.amazon.com/lambda/latest/dg/invoking-lambda-function.html).
590
-
591
- In most cases, it is possible to trigger a function as a result of an event by
592
- using one of the `add<Event>Notification` methods on the source construct. For
593
- example, the `s3.Bucket` construct has an `onEvent` method which can be used to
594
- trigger a Lambda when an event, such as PutObject occurs on an S3 bucket.
595
-
596
- An alternative way to add event sources to a function is to use `function.addEventSource(source)`.
597
- This method accepts an `IEventSource` object. The module __@aws-cdk/aws-lambda-event-sources__
598
- includes classes for the various event sources supported by AWS Lambda.
599
-
600
- For example, the following code adds an SQS queue as an event source for a function:
601
-
602
- ```ts
603
- import * as eventsources from 'aws-cdk-lib/aws-lambda-event-sources';
604
- import * as sqs from 'aws-cdk-lib/aws-sqs';
605
-
606
- declare const fn: lambda.Function;
607
- const queue = new sqs.Queue(this, 'Queue');
608
- fn.addEventSource(new eventsources.SqsEventSource(queue));
609
- ```
610
-
611
- The following code adds an S3 bucket notification as an event source:
612
-
613
- ```ts
614
- import * as eventsources from 'aws-cdk-lib/aws-lambda-event-sources';
615
- import * as s3 from 'aws-cdk-lib/aws-s3';
616
-
617
- declare const fn: lambda.Function;
618
- const bucket = new s3.Bucket(this, 'Bucket');
619
- fn.addEventSource(new eventsources.S3EventSource(bucket, {
620
- events: [ s3.EventType.OBJECT_CREATED, s3.EventType.OBJECT_REMOVED ],
621
- filters: [ { prefix: 'subdir/' } ] // optional
622
- }));
623
- ```
624
-
625
- The following code adds an DynamoDB notification as an event source filtering insert events:
626
-
627
- ```ts
628
- import * as eventsources from 'aws-cdk-lib/aws-lambda-event-sources';
629
- import * as dynamodb from 'aws-cdk-lib/aws-dynamodb';
630
-
631
- declare const fn: lambda.Function;
632
- const table = new dynamodb.Table(this, 'Table', {
633
- partitionKey: {
634
- name: 'id',
635
- type: dynamodb.AttributeType.STRING,
636
- },
637
- stream: dynamodb.StreamViewType.NEW_IMAGE,
638
- });
639
- fn.addEventSource(new eventsources.DynamoEventSource(table, {
640
- startingPosition: lambda.StartingPosition.LATEST,
641
- filters: [{ eventName: lambda.FilterRule.isEqual('INSERT') }],
642
- }));
643
- ```
644
-
645
- See the documentation for the __@aws-cdk/aws-lambda-event-sources__ module for more details.
646
-
647
- ## Imported Lambdas
648
-
649
- When referencing an imported lambda in the CDK, use `fromFunctionArn()` for most use cases:
650
-
651
- ```ts
652
- const fn = lambda.Function.fromFunctionArn(
653
- this,
654
- 'Function',
655
- 'arn:aws:lambda:us-east-1:123456789012:function:MyFn',
656
- );
657
- ```
658
-
659
- The `fromFunctionAttributes()` API is available for more specific use cases:
660
-
661
- ```ts
662
- const fn = lambda.Function.fromFunctionAttributes(this, 'Function', {
663
- functionArn: 'arn:aws:lambda:us-east-1:123456789012:function:MyFn',
664
- // The following are optional properties for specific use cases and should be used with caution:
665
-
666
- // Use Case: imported function is in the same account as the stack. This tells the CDK that it
667
- // can modify the function's permissions.
668
- sameEnvironment: true,
669
-
670
- // Use Case: imported function is in a different account and user commits to ensuring that the
671
- // imported function has the correct permissions outside the CDK.
672
- skipPermissions: true,
673
- });
674
- ```
675
-
676
- If `fromFunctionArn()` causes an error related to having to provide an account and/or region in a different construct,
677
- and the lambda is in the same account and region as the stack you're importing it into,
678
- you can use `Function.fromFunctionName()` instead:
679
-
680
- ```ts
681
- const fn = lambda.Function.fromFunctionName(this, 'Function', 'MyFn');
682
- ```
683
-
684
- ## Lambda with DLQ
685
-
686
- A dead-letter queue can be automatically created for a Lambda function by
687
- setting the `deadLetterQueueEnabled: true` configuration. In such case CDK creates
688
- a `sqs.Queue` as `deadLetterQueue`.
689
-
690
- ```ts
691
- const fn = new lambda.Function(this, 'MyFunction', {
692
- runtime: lambda.Runtime.NODEJS_16_X,
693
- handler: 'index.handler',
694
- code: lambda.Code.fromInline('exports.handler = function(event, ctx, cb) { return cb(null, "hi"); }'),
695
- deadLetterQueueEnabled: true,
696
- });
697
- ```
698
-
699
- It is also possible to provide a dead-letter queue instead of getting a new queue created:
700
-
701
- ```ts
702
- import * as sqs from 'aws-cdk-lib/aws-sqs';
703
-
704
- const dlq = new sqs.Queue(this, 'DLQ');
705
- const fn = new lambda.Function(this, 'MyFunction', {
706
- runtime: lambda.Runtime.NODEJS_16_X,
707
- handler: 'index.handler',
708
- code: lambda.Code.fromInline('exports.handler = function(event, ctx, cb) { return cb(null, "hi"); }'),
709
- deadLetterQueue: dlq,
710
- });
711
- ```
712
-
713
- You can also use a `sns.Topic` instead of an `sqs.Queue` as dead-letter queue:
714
-
715
- ```ts
716
- import * as sns from 'aws-cdk-lib/aws-sns';
717
-
718
- const dlt = new sns.Topic(this, 'DLQ');
719
- const fn = new lambda.Function(this, 'MyFunction', {
720
- runtime: lambda.Runtime.NODEJS_16_X,
721
- handler: 'index.handler',
722
- code: lambda.Code.fromInline('// your code here'),
723
- deadLetterTopic: dlt,
724
- });
725
- ```
726
-
727
- See [the AWS documentation](https://docs.aws.amazon.com/lambda/latest/dg/dlq.html)
728
- to learn more about AWS Lambdas and DLQs.
729
-
730
- ## Lambda with X-Ray Tracing
731
-
732
- ```ts
733
- const fn = new lambda.Function(this, 'MyFunction', {
734
- runtime: lambda.Runtime.NODEJS_16_X,
735
- handler: 'index.handler',
736
- code: lambda.Code.fromInline('exports.handler = function(event, ctx, cb) { return cb(null, "hi"); }'),
737
- tracing: lambda.Tracing.ACTIVE,
738
- });
739
- ```
740
-
741
- See [the AWS documentation](https://docs.aws.amazon.com/lambda/latest/dg/lambda-x-ray.html)
742
- to learn more about AWS Lambda's X-Ray support.
743
-
744
- ## Lambda with Profiling
745
-
746
- The following code configures the lambda function with CodeGuru profiling. By default, this creates a new CodeGuru
747
- profiling group -
748
-
749
- ```ts
750
- const fn = new lambda.Function(this, 'MyFunction', {
751
- runtime: lambda.Runtime.PYTHON_3_9,
752
- handler: 'index.handler',
753
- code: lambda.Code.fromAsset('lambda-handler'),
754
- profiling: true,
755
- });
756
- ```
757
-
758
- The `profilingGroup` property can be used to configure an existing CodeGuru profiler group.
759
-
760
- CodeGuru profiling is supported for all Java runtimes and Python3.6+ runtimes.
761
-
762
- See [the AWS documentation](https://docs.aws.amazon.com/codeguru/latest/profiler-ug/setting-up-lambda.html)
763
- to learn more about AWS Lambda's Profiling support.
764
-
765
- ## Lambda with Reserved Concurrent Executions
766
-
767
- ```ts
768
- const fn = new lambda.Function(this, 'MyFunction', {
769
- runtime: lambda.Runtime.NODEJS_16_X,
770
- handler: 'index.handler',
771
- code: lambda.Code.fromInline('exports.handler = function(event, ctx, cb) { return cb(null, "hi"); }'),
772
- reservedConcurrentExecutions: 100,
773
- });
774
- ```
775
-
776
- See [the AWS documentation](https://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html)
777
- managing concurrency.
778
-
779
- ## AutoScaling
780
-
781
- You can use Application AutoScaling to automatically configure the provisioned concurrency for your functions. AutoScaling can be set to track utilization or be based on a schedule. To configure AutoScaling on a function alias:
782
-
783
- ```ts
784
- import * as autoscaling from 'aws-cdk-lib/aws-autoscaling';
785
-
786
- declare const fn: lambda.Function;
787
- const alias = fn.addAlias('prod');
788
-
789
- // Create AutoScaling target
790
- const as = alias.addAutoScaling({ maxCapacity: 50 });
791
-
792
- // Configure Target Tracking
793
- as.scaleOnUtilization({
794
- utilizationTarget: 0.5,
795
- });
796
-
797
- // Configure Scheduled Scaling
798
- as.scaleOnSchedule('ScaleUpInTheMorning', {
799
- schedule: autoscaling.Schedule.cron({ hour: '8', minute: '0'}),
800
- minCapacity: 20,
801
- });
802
- ```
803
-
804
- [Example of Lambda AutoScaling usage](test/integ.autoscaling.lit.ts)
805
-
806
- See [the AWS documentation](https://docs.aws.amazon.com/lambda/latest/dg/invocation-scaling.html) on autoscaling lambda functions.
807
-
808
- ## Log Group
809
-
810
- Lambda functions automatically create a log group with the name `/aws/lambda/<function-name>` upon first execution with
811
- log data set to never expire.
812
-
813
- The `logRetention` property can be used to set a different expiration period.
814
-
815
- It is possible to obtain the function's log group as a `logs.ILogGroup` by calling the `logGroup` property of the
816
- `Function` construct.
817
-
818
- By default, CDK uses the AWS SDK retry options when creating a log group. The `logRetentionRetryOptions` property
819
- allows you to customize the maximum number of retries and base backoff duration.
820
-
821
- *Note* that, if either `logRetention` is set or `logGroup` property is called, a [CloudFormation custom
822
- resource](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cfn-customresource.html) is added
823
- to the stack that pre-creates the log group as part of the stack deployment, if it already doesn't exist, and sets the
824
- correct log retention period (never expire, by default).
825
-
826
- *Further note* that, if the log group already exists and the `logRetention` is not set, the custom resource will reset
827
- the log retention to never expire even if it was configured with a different value.
828
-
829
- ## FileSystem Access
830
-
831
- You can configure a function to mount an Amazon Elastic File System (Amazon EFS) to a
832
- directory in your runtime environment with the `filesystem` property. To access Amazon EFS
833
- from lambda function, the Amazon EFS access point will be required.
834
-
835
- The following sample allows the lambda function to mount the Amazon EFS access point to `/mnt/msg` in the runtime environment and access the filesystem with the POSIX identity defined in `posixUser`.
836
-
837
- ```ts
838
- import * as ec2 from 'aws-cdk-lib/aws-ec2';
839
- import * as efs from 'aws-cdk-lib/aws-efs';
840
-
841
- // create a new VPC
842
- const vpc = new ec2.Vpc(this, 'VPC');
843
-
844
- // create a new Amazon EFS filesystem
845
- const fileSystem = new efs.FileSystem(this, 'Efs', { vpc });
846
-
847
- // create a new access point from the filesystem
848
- const accessPoint = fileSystem.addAccessPoint('AccessPoint', {
849
- // set /export/lambda as the root of the access point
850
- path: '/export/lambda',
851
- // as /export/lambda does not exist in a new efs filesystem, the efs will create the directory with the following createAcl
852
- createAcl: {
853
- ownerUid: '1001',
854
- ownerGid: '1001',
855
- permissions: '750',
856
- },
857
- // enforce the POSIX identity so lambda function will access with this identity
858
- posixUser: {
859
- uid: '1001',
860
- gid: '1001',
861
- },
862
- });
863
-
864
- const fn = new lambda.Function(this, 'MyLambda', {
865
- // mount the access point to /mnt/msg in the lambda runtime environment
866
- filesystem: lambda.FileSystem.fromEfsAccessPoint(accessPoint, '/mnt/msg'),
867
- runtime: lambda.Runtime.NODEJS_16_X,
868
- handler: 'index.handler',
869
- code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),
870
- vpc,
871
- });
872
- ```
873
-
874
- ## Ephemeral Storage
875
-
876
- You can configure ephemeral storage on a function to control the amount of storage it gets for reading
877
- or writing data, allowing you to use AWS Lambda for ETL jobs, ML inference, or other data-intensive workloads.
878
- The ephemeral storage will be accessible in the functions' `/tmp` directory.
879
-
880
- ```ts
881
- import { Size } from 'aws-cdk-lib';
882
-
883
- const fn = new lambda.Function(this, 'MyFunction', {
884
- runtime: lambda.Runtime.NODEJS_16_X,
885
- handler: 'index.handler',
886
- code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),
887
- ephemeralStorageSize: Size.mebibytes(1024),
888
- });
889
- ```
890
-
891
- Read more about using this feature in [this AWS blog post](https://aws.amazon.com/blogs/aws/aws-lambda-now-supports-up-to-10-gb-ephemeral-storage/).
892
-
893
- ## Singleton Function
894
-
895
- The `SingletonFunction` construct is a way to guarantee that a lambda function will be guaranteed to be part of the stack,
896
- once and only once, irrespective of how many times the construct is declared to be part of the stack. This is guaranteed
897
- as long as the `uuid` property and the optional `lambdaPurpose` property stay the same whenever they're declared into the
898
- stack.
899
-
900
- A typical use case of this function is when a higher level construct needs to declare a Lambda function as part of it but
901
- needs to guarantee that the function is declared once. However, a user of this higher level construct can declare it any
902
- number of times and with different properties. Using `SingletonFunction` here with a fixed `uuid` will guarantee this.
903
-
904
- For example, the `LogRetention` construct requires only one single lambda function for all different log groups whose
905
- retention it seeks to manage.
906
-
907
- ## Bundling Asset Code
908
-
909
- When using `lambda.Code.fromAsset(path)` it is possible to bundle the code by running a
910
- command in a Docker container. The asset path will be mounted at `/asset-input`. The
911
- Docker container is responsible for putting content at `/asset-output`. The content at
912
- `/asset-output` will be zipped and used as Lambda code.
913
-
914
- Example with Python:
915
-
916
- ```ts
917
- new lambda.Function(this, 'Function', {
918
- code: lambda.Code.fromAsset(path.join(__dirname, 'my-python-handler'), {
919
- bundling: {
920
- image: lambda.Runtime.PYTHON_3_9.bundlingImage,
921
- command: [
922
- 'bash', '-c',
923
- 'pip install -r requirements.txt -t /asset-output && cp -au . /asset-output'
924
- ],
925
- },
926
- }),
927
- runtime: lambda.Runtime.PYTHON_3_9,
928
- handler: 'index.handler',
929
- });
930
- ```
931
-
932
- Runtimes expose a `bundlingImage` property that points to the [AWS SAM](https://github.com/awslabs/aws-sam-cli) build image.
933
-
934
- Use `cdk.DockerImage.fromRegistry(image)` to use an existing image or
935
- `cdk.DockerImage.fromBuild(path)` to build a specific image:
936
-
937
- ```ts
938
- new lambda.Function(this, 'Function', {
939
- code: lambda.Code.fromAsset('/path/to/handler', {
940
- bundling: {
941
- image: DockerImage.fromBuild('/path/to/dir/with/DockerFile', {
942
- buildArgs: {
943
- ARG1: 'value1',
944
- },
945
- }),
946
- command: ['my', 'cool', 'command'],
947
- },
948
- }),
949
- runtime: lambda.Runtime.PYTHON_3_9,
950
- handler: 'index.handler',
951
- });
952
- ```
953
-
954
- ## Language-specific APIs
955
-
956
- Language-specific higher level constructs are provided in separate modules:
957
-
958
- * `@aws-cdk/aws-lambda-nodejs`: [Github](https://github.com/aws/aws-cdk/tree/main/packages/%40aws-cdk/aws-lambda-nodejs) & [CDK Docs](https://docs.aws.amazon.com/cdk/api/latest/docs/aws-lambda-nodejs-readme.html)
959
- * `@aws-cdk/aws-lambda-python`: [Github](https://github.com/aws/aws-cdk/tree/main/packages/%40aws-cdk/aws-lambda-python) & [CDK Docs](https://docs.aws.amazon.com/cdk/api/latest/docs/aws-lambda-python-readme.html)
960
-
961
- ## Code Signing
962
-
963
- Code signing for AWS Lambda helps to ensure that only trusted code runs in your Lambda functions.
964
- When enabled, AWS Lambda checks every code deployment and verifies that the code package is signed by a trusted source.
965
- For more information, see [Configuring code signing for AWS Lambda](https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html).
966
- The following code configures a function with code signing.
967
-
968
- ```ts
969
- import * as signer from 'aws-cdk-lib/aws-signer';
970
-
971
- const signingProfile = new signer.SigningProfile(this, 'SigningProfile', {
972
- platform: signer.Platform.AWS_LAMBDA_SHA384_ECDSA,
973
- });
974
-
975
- const codeSigningConfig = new lambda.CodeSigningConfig(this, 'CodeSigningConfig', {
976
- signingProfiles: [signingProfile],
977
- });
978
-
979
- new lambda.Function(this, 'Function', {
980
- codeSigningConfig,
981
- runtime: lambda.Runtime.NODEJS_16_X,
982
- handler: 'index.handler',
983
- code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),
984
- });
985
- ```