@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,973 +0,0 @@
1
- # Amazon CloudFront Construct Library
2
-
3
-
4
- Amazon CloudFront is a web service that speeds up distribution of your static and dynamic web content, such as .html, .css, .js, and image files, to
5
- your users. CloudFront delivers your content through a worldwide network of data centers called edge locations. When a user requests content that
6
- you're serving with CloudFront, the user is routed to the edge location that provides the lowest latency, so that content is delivered with the best
7
- possible performance.
8
-
9
- ## Distribution API
10
-
11
- The `Distribution` API is currently being built to replace the existing `CloudFrontWebDistribution` API. The `Distribution` API is optimized for the
12
- most common use cases of CloudFront distributions (e.g., single origin and behavior, few customizations) while still providing the ability for more
13
- advanced use cases. The API focuses on simplicity for the common use cases, and convenience methods for creating the behaviors and origins necessary
14
- for more complex use cases.
15
-
16
- ### Creating a distribution
17
-
18
- CloudFront distributions deliver your content from one or more origins; an origin is the location where you store the original version of your
19
- content. Origins can be created from S3 buckets or a custom origin (HTTP server). Constructs to define origins are in the `@aws-cdk/aws-cloudfront-origins` module.
20
-
21
- Each distribution has a default behavior which applies to all requests to that distribution, and routes requests to a primary origin.
22
- Additional behaviors may be specified for an origin with a given URL path pattern. Behaviors allow routing with multiple origins,
23
- controlling which HTTP methods to support, whether to require users to use HTTPS, and what query strings or cookies to forward to your origin,
24
- among other settings.
25
-
26
- #### From an S3 Bucket
27
-
28
- An S3 bucket can be added as an origin. If the bucket is configured as a website endpoint, the distribution can use S3 redirects and S3 custom error
29
- documents.
30
-
31
- ```ts
32
- // Creates a distribution from an S3 bucket.
33
- const myBucket = new s3.Bucket(this, 'myBucket');
34
- new cloudfront.Distribution(this, 'myDist', {
35
- defaultBehavior: { origin: new origins.S3Origin(myBucket) },
36
- });
37
- ```
38
-
39
- The above will treat the bucket differently based on if `IBucket.isWebsite` is set or not. If the bucket is configured as a website, the bucket is
40
- treated as an HTTP origin, and the built-in S3 redirects and error pages can be used. Otherwise, the bucket is handled as a bucket origin and
41
- CloudFront's redirect and error handling will be used. In the latter case, the Origin will create an origin access identity and grant it access to the
42
- underlying bucket. This can be used in conjunction with a bucket that is not public to require that your users access your content using CloudFront
43
- URLs and not S3 URLs directly.
44
-
45
- #### ELBv2 Load Balancer
46
-
47
- An Elastic Load Balancing (ELB) v2 load balancer may be used as an origin. In order for a load balancer to serve as an origin, it must be publicly
48
- accessible (`internetFacing` is true). Both Application and Network load balancers are supported.
49
-
50
- ```ts
51
- // Creates a distribution from an ELBv2 load balancer
52
- declare const vpc: ec2.Vpc;
53
- // Create an application load balancer in a VPC. 'internetFacing' must be 'true'
54
- // for CloudFront to access the load balancer and use it as an origin.
55
- const lb = new elbv2.ApplicationLoadBalancer(this, 'LB', {
56
- vpc,
57
- internetFacing: true,
58
- });
59
- new cloudfront.Distribution(this, 'myDist', {
60
- defaultBehavior: { origin: new origins.LoadBalancerV2Origin(lb) },
61
- });
62
- ```
63
-
64
- #### From an HTTP endpoint
65
-
66
- Origins can also be created from any other HTTP endpoint, given the domain name, and optionally, other origin properties.
67
-
68
- ```ts
69
- // Creates a distribution from an HTTP endpoint
70
- new cloudfront.Distribution(this, 'myDist', {
71
- defaultBehavior: { origin: new origins.HttpOrigin('www.example.com') },
72
- });
73
- ```
74
-
75
- ### Domain Names and Certificates
76
-
77
- When you create a distribution, CloudFront assigns a domain name for the distribution, for example: `d111111abcdef8.cloudfront.net`; this value can
78
- be retrieved from `distribution.distributionDomainName`. CloudFront distributions use a default certificate (`*.cloudfront.net`) to support HTTPS by
79
- default. If you want to use your own domain name, such as `www.example.com`, you must associate a certificate with your distribution that contains
80
- your domain name, and provide one (or more) domain names from the certificate for the distribution.
81
-
82
- The certificate must be present in the AWS Certificate Manager (ACM) service in the US East (N. Virginia) region; the certificate
83
- may either be created by ACM, or created elsewhere and imported into ACM. When a certificate is used, the distribution will support HTTPS connections
84
- from SNI only and a minimum protocol version of TLSv1.2_2021 if the `@aws-cdk/aws-cloudfront:defaultSecurityPolicyTLSv1.2_2021` feature flag is set, and TLSv1.2_2019 otherwise.
85
-
86
- ```ts
87
- // To use your own domain name in a Distribution, you must associate a certificate
88
- import * as acm from 'aws-cdk-lib/aws-certificatemanager';
89
- import * as route53 from 'aws-cdk-lib/aws-route53';
90
-
91
- declare const hostedZone: route53.HostedZone;
92
- const myCertificate = new acm.DnsValidatedCertificate(this, 'mySiteCert', {
93
- domainName: 'www.example.com',
94
- hostedZone,
95
- });
96
-
97
- declare const myBucket: s3.Bucket;
98
- new cloudfront.Distribution(this, 'myDist', {
99
- defaultBehavior: { origin: new origins.S3Origin(myBucket) },
100
- domainNames: ['www.example.com'],
101
- certificate: myCertificate,
102
- });
103
- ```
104
-
105
- However, you can customize the minimum protocol version for the certificate while creating the distribution using `minimumProtocolVersion` property.
106
-
107
- ```ts
108
- // Create a Distribution with a custom domain name and a minimum protocol version.
109
- declare const myBucket: s3.Bucket;
110
- new cloudfront.Distribution(this, 'myDist', {
111
- defaultBehavior: { origin: new origins.S3Origin(myBucket) },
112
- domainNames: ['www.example.com'],
113
- minimumProtocolVersion: cloudfront.SecurityPolicyProtocol.TLS_V1_2016,
114
- sslSupportMethod: cloudfront.SSLMethod.SNI,
115
- });
116
- ```
117
-
118
- ### Multiple Behaviors & Origins
119
-
120
- Each distribution has a default behavior which applies to all requests to that distribution; additional behaviors may be specified for a
121
- given URL path pattern. Behaviors allow routing with multiple origins, controlling which HTTP methods to support, whether to require users to
122
- use HTTPS, and what query strings or cookies to forward to your origin, among others.
123
-
124
- The properties of the default behavior can be adjusted as part of the distribution creation. The following example shows configuring the HTTP
125
- methods and viewer protocol policy of the cache.
126
-
127
- ```ts
128
- // Create a Distribution with configured HTTP methods and viewer protocol policy of the cache.
129
- declare const myBucket: s3.Bucket;
130
- const myWebDistribution = new cloudfront.Distribution(this, 'myDist', {
131
- defaultBehavior: {
132
- origin: new origins.S3Origin(myBucket),
133
- allowedMethods: cloudfront.AllowedMethods.ALLOW_ALL,
134
- viewerProtocolPolicy: cloudfront.ViewerProtocolPolicy.REDIRECT_TO_HTTPS,
135
- },
136
- });
137
- ```
138
-
139
- Additional behaviors can be specified at creation, or added after the initial creation. Each additional behavior is associated with an origin,
140
- and enable customization for a specific set of resources based on a URL path pattern. For example, we can add a behavior to `myWebDistribution` to
141
- override the default viewer protocol policy for all of the images.
142
-
143
- ```ts
144
- // Add a behavior to a Distribution after initial creation.
145
- declare const myBucket: s3.Bucket;
146
- declare const myWebDistribution: cloudfront.Distribution;
147
- myWebDistribution.addBehavior('/images/*.jpg', new origins.S3Origin(myBucket), {
148
- viewerProtocolPolicy: cloudfront.ViewerProtocolPolicy.REDIRECT_TO_HTTPS,
149
- });
150
- ```
151
-
152
- These behaviors can also be specified at distribution creation time.
153
-
154
- ```ts
155
- // Create a Distribution with additional behaviors at creation time.
156
- declare const myBucket: s3.Bucket;
157
- const bucketOrigin = new origins.S3Origin(myBucket);
158
- new cloudfront.Distribution(this, 'myDist', {
159
- defaultBehavior: {
160
- origin: bucketOrigin,
161
- allowedMethods: cloudfront.AllowedMethods.ALLOW_ALL,
162
- viewerProtocolPolicy: cloudfront.ViewerProtocolPolicy.REDIRECT_TO_HTTPS,
163
- },
164
- additionalBehaviors: {
165
- '/images/*.jpg': {
166
- origin: bucketOrigin,
167
- viewerProtocolPolicy: cloudfront.ViewerProtocolPolicy.REDIRECT_TO_HTTPS,
168
- },
169
- },
170
- });
171
- ```
172
-
173
- ### Customizing Cache Keys and TTLs with Cache Policies
174
-
175
- You can use a cache policy to improve your cache hit ratio by controlling the values (URL query strings, HTTP headers, and cookies)
176
- that are included in the cache key, and/or adjusting how long items remain in the cache via the time-to-live (TTL) settings.
177
- CloudFront provides some predefined cache policies, known as managed policies, for common use cases. You can use these managed policies,
178
- or you can create your own cache policy that’s specific to your needs.
179
- See https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html for more details.
180
-
181
- ```ts
182
- // Using an existing cache policy for a Distribution
183
- declare const bucketOrigin: origins.S3Origin;
184
- new cloudfront.Distribution(this, 'myDistManagedPolicy', {
185
- defaultBehavior: {
186
- origin: bucketOrigin,
187
- cachePolicy: cloudfront.CachePolicy.CACHING_OPTIMIZED,
188
- },
189
- });
190
- ```
191
-
192
- ```ts
193
- // Creating a custom cache policy for a Distribution -- all parameters optional
194
- declare const bucketOrigin: origins.S3Origin;
195
- const myCachePolicy = new cloudfront.CachePolicy(this, 'myCachePolicy', {
196
- cachePolicyName: 'MyPolicy',
197
- comment: 'A default policy',
198
- defaultTtl: Duration.days(2),
199
- minTtl: Duration.minutes(1),
200
- maxTtl: Duration.days(10),
201
- cookieBehavior: cloudfront.CacheCookieBehavior.all(),
202
- headerBehavior: cloudfront.CacheHeaderBehavior.allowList('X-CustomHeader'),
203
- queryStringBehavior: cloudfront.CacheQueryStringBehavior.denyList('username'),
204
- enableAcceptEncodingGzip: true,
205
- enableAcceptEncodingBrotli: true,
206
- });
207
- new cloudfront.Distribution(this, 'myDistCustomPolicy', {
208
- defaultBehavior: {
209
- origin: bucketOrigin,
210
- cachePolicy: myCachePolicy,
211
- },
212
- });
213
- ```
214
-
215
- ### Customizing Origin Requests with Origin Request Policies
216
-
217
- When CloudFront makes a request to an origin, the URL path, request body (if present), and a few standard headers are included.
218
- Other information from the viewer request, such as URL query strings, HTTP headers, and cookies, is not included in the origin request by default.
219
- You can use an origin request policy to control the information that’s included in an origin request.
220
- CloudFront provides some predefined origin request policies, known as managed policies, for common use cases. You can use these managed policies,
221
- or you can create your own origin request policy that’s specific to your needs.
222
- See https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html for more details.
223
-
224
- ```ts
225
- // Using an existing origin request policy for a Distribution
226
- declare const bucketOrigin: origins.S3Origin;
227
- new cloudfront.Distribution(this, 'myDistManagedPolicy', {
228
- defaultBehavior: {
229
- origin: bucketOrigin,
230
- originRequestPolicy: cloudfront.OriginRequestPolicy.CORS_S3_ORIGIN,
231
- },
232
- });
233
- ```
234
-
235
- ```ts
236
- // Creating a custom origin request policy for a Distribution -- all parameters optional
237
- declare const bucketOrigin: origins.S3Origin;
238
- const myOriginRequestPolicy = new cloudfront.OriginRequestPolicy(this, 'OriginRequestPolicy', {
239
- originRequestPolicyName: 'MyPolicy',
240
- comment: 'A default policy',
241
- cookieBehavior: cloudfront.OriginRequestCookieBehavior.none(),
242
- headerBehavior: cloudfront.OriginRequestHeaderBehavior.all('CloudFront-Is-Android-Viewer'),
243
- queryStringBehavior: cloudfront.OriginRequestQueryStringBehavior.allowList('username'),
244
- });
245
-
246
- new cloudfront.Distribution(this, 'myDistCustomPolicy', {
247
- defaultBehavior: {
248
- origin: bucketOrigin,
249
- originRequestPolicy: myOriginRequestPolicy,
250
- },
251
- });
252
- ```
253
-
254
- ### Customizing Response Headers with Response Headers Policies
255
-
256
- You can configure CloudFront to add one or more HTTP headers to the responses that it sends to viewers (web browsers or other clients), without making any changes to the origin or writing any code.
257
- To specify the headers that CloudFront adds to HTTP responses, you use a response headers policy. CloudFront adds the headers regardless of whether it serves the object from the cache or has to retrieve the object from the origin. If the origin response includes one or more of the headers that’s in a response headers policy, the policy can specify whether CloudFront uses the header it received from the origin or overwrites it with the one in the policy.
258
- See https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/adding-response-headers.html
259
-
260
- ```ts
261
- // Using an existing managed response headers policy
262
- declare const bucketOrigin: origins.S3Origin;
263
- new cloudfront.Distribution(this, 'myDistManagedPolicy', {
264
- defaultBehavior: {
265
- origin: bucketOrigin,
266
- responseHeadersPolicy: cloudfront.ResponseHeadersPolicy.CORS_ALLOW_ALL_ORIGINS,
267
- },
268
- });
269
-
270
- // Creating a custom response headers policy -- all parameters optional
271
- const myResponseHeadersPolicy = new cloudfront.ResponseHeadersPolicy(this, 'ResponseHeadersPolicy', {
272
- responseHeadersPolicyName: 'MyPolicy',
273
- comment: 'A default policy',
274
- corsBehavior: {
275
- accessControlAllowCredentials: false,
276
- accessControlAllowHeaders: ['X-Custom-Header-1', 'X-Custom-Header-2'],
277
- accessControlAllowMethods: ['GET', 'POST'],
278
- accessControlAllowOrigins: ['*'],
279
- accessControlExposeHeaders: ['X-Custom-Header-1', 'X-Custom-Header-2'],
280
- accessControlMaxAge: Duration.seconds(600),
281
- originOverride: true,
282
- },
283
- customHeadersBehavior: {
284
- customHeaders: [
285
- { header: 'X-Amz-Date', value: 'some-value', override: true },
286
- { header: 'X-Amz-Security-Token', value: 'some-value', override: false },
287
- ],
288
- },
289
- securityHeadersBehavior: {
290
- contentSecurityPolicy: { contentSecurityPolicy: 'default-src https:;', override: true },
291
- contentTypeOptions: { override: true },
292
- frameOptions: { frameOption: cloudfront.HeadersFrameOption.DENY, override: true },
293
- referrerPolicy: { referrerPolicy: cloudfront.HeadersReferrerPolicy.NO_REFERRER, override: true },
294
- strictTransportSecurity: { accessControlMaxAge: Duration.seconds(600), includeSubdomains: true, override: true },
295
- xssProtection: { protection: true, modeBlock: true, reportUri: 'https://example.com/csp-report', override: true },
296
- },
297
- });
298
- new cloudfront.Distribution(this, 'myDistCustomPolicy', {
299
- defaultBehavior: {
300
- origin: bucketOrigin,
301
- responseHeadersPolicy: myResponseHeadersPolicy,
302
- },
303
- });
304
- ```
305
-
306
- ### Validating signed URLs or signed cookies with Trusted Key Groups
307
-
308
- CloudFront Distribution supports validating signed URLs or signed cookies using key groups.
309
- When a cache behavior contains trusted key groups, CloudFront requires signed URLs or signed
310
- cookies for all requests that match the cache behavior.
311
-
312
- ```ts
313
- // Validating signed URLs or signed cookies with Trusted Key Groups
314
-
315
- // public key in PEM format
316
- declare const publicKey: string;
317
- const pubKey = new cloudfront.PublicKey(this, 'MyPubKey', {
318
- encodedKey: publicKey,
319
- });
320
-
321
- const keyGroup = new cloudfront.KeyGroup(this, 'MyKeyGroup', {
322
- items: [
323
- pubKey,
324
- ],
325
- });
326
-
327
- new cloudfront.Distribution(this, 'Dist', {
328
- defaultBehavior: {
329
- origin: new origins.HttpOrigin('www.example.com'),
330
- trustedKeyGroups: [
331
- keyGroup,
332
- ],
333
- },
334
- });
335
- ```
336
-
337
- ### Lambda@Edge
338
-
339
- Lambda@Edge is an extension of AWS Lambda, a compute service that lets you execute
340
- functions that customize the content that CloudFront delivers. You can author Node.js
341
- or Python functions in the US East (N. Virginia) region, and then execute them in AWS
342
- locations globally that are closer to the viewer, without provisioning or managing servers.
343
- Lambda@Edge functions are associated with a specific behavior and event type. Lambda@Edge
344
- can be used to rewrite URLs, alter responses based on headers or cookies, or authorize
345
- requests based on headers or authorization tokens.
346
-
347
- The following shows a Lambda@Edge function added to the default behavior and triggered
348
- on every request:
349
-
350
- ```ts
351
- // A Lambda@Edge function added to default behavior of a Distribution
352
- // and triggered on every request
353
- const myFunc = new cloudfront.experimental.EdgeFunction(this, 'MyFunction', {
354
- runtime: lambda.Runtime.NODEJS_14_X,
355
- handler: 'index.handler',
356
- code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),
357
- });
358
-
359
- declare const myBucket: s3.Bucket;
360
- new cloudfront.Distribution(this, 'myDist', {
361
- defaultBehavior: {
362
- origin: new origins.S3Origin(myBucket),
363
- edgeLambdas: [
364
- {
365
- functionVersion: myFunc.currentVersion,
366
- eventType: cloudfront.LambdaEdgeEventType.VIEWER_REQUEST,
367
- }
368
- ],
369
- },
370
- });
371
- ```
372
-
373
- > **Note:** Lambda@Edge functions must be created in the `us-east-1` region, regardless of the region of the CloudFront distribution and stack.
374
- > To make it easier to request functions for Lambda@Edge, the `EdgeFunction` construct can be used.
375
- > The `EdgeFunction` construct will automatically request a function in `us-east-1`, regardless of the region of the current stack.
376
- > `EdgeFunction` has the same interface as `Function` and can be created and used interchangeably.
377
- > Please note that using `EdgeFunction` requires that the `us-east-1` region has been bootstrapped.
378
- > See https://docs.aws.amazon.com/cdk/latest/guide/bootstrapping.html for more about bootstrapping regions.
379
-
380
- If the stack is in `us-east-1`, a "normal" `lambda.Function` can be used instead of an `EdgeFunction`.
381
-
382
- ```ts
383
- // Using a lambda Function instead of an EdgeFunction for stacks in `us-east-`.
384
- const myFunc = new lambda.Function(this, 'MyFunction', {
385
- runtime: lambda.Runtime.NODEJS_14_X,
386
- handler: 'index.handler',
387
- code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),
388
- });
389
- ```
390
-
391
- If the stack is not in `us-east-1`, and you need references from different applications on the same account,
392
- you can also set a specific stack ID for each Lambda@Edge.
393
-
394
- ```ts
395
- // Setting stackIds for EdgeFunctions that can be referenced from different applications
396
- // on the same account.
397
- const myFunc1 = new cloudfront.experimental.EdgeFunction(this, 'MyFunction1', {
398
- runtime: lambda.Runtime.NODEJS_14_X,
399
- handler: 'index.handler',
400
- code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler1')),
401
- stackId: 'edge-lambda-stack-id-1',
402
- });
403
-
404
- const myFunc2 = new cloudfront.experimental.EdgeFunction(this, 'MyFunction2', {
405
- runtime: lambda.Runtime.NODEJS_14_X,
406
- handler: 'index.handler',
407
- code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler2')),
408
- stackId: 'edge-lambda-stack-id-2',
409
- });
410
- ```
411
-
412
- Lambda@Edge functions can also be associated with additional behaviors,
413
- either at or after Distribution creation time.
414
-
415
- ```ts
416
- // Associating a Lambda@Edge function with additional behaviors.
417
-
418
- declare const myFunc: cloudfront.experimental.EdgeFunction;
419
- // assigning at Distribution creation
420
- declare const myBucket: s3.Bucket;
421
- const myOrigin = new origins.S3Origin(myBucket);
422
- const myDistribution = new cloudfront.Distribution(this, 'myDist', {
423
- defaultBehavior: { origin: myOrigin },
424
- additionalBehaviors: {
425
- 'images/*': {
426
- origin: myOrigin,
427
- edgeLambdas: [
428
- {
429
- functionVersion: myFunc.currentVersion,
430
- eventType: cloudfront.LambdaEdgeEventType.ORIGIN_REQUEST,
431
- includeBody: true, // Optional - defaults to false
432
- },
433
- ],
434
- },
435
- },
436
- });
437
-
438
- // assigning after creation
439
- myDistribution.addBehavior('images/*', myOrigin, {
440
- edgeLambdas: [
441
- {
442
- functionVersion: myFunc.currentVersion,
443
- eventType: cloudfront.LambdaEdgeEventType.VIEWER_RESPONSE,
444
- },
445
- ],
446
- });
447
- ```
448
-
449
- Adding an existing Lambda@Edge function created in a different stack to a CloudFront distribution.
450
-
451
- ```ts
452
- // Adding an existing Lambda@Edge function created in a different stack
453
- // to a CloudFront distribution.
454
- declare const s3Bucket: s3.Bucket;
455
- const functionVersion = lambda.Version.fromVersionArn(this, 'Version', 'arn:aws:lambda:us-east-1:123456789012:function:functionName:1');
456
-
457
- new cloudfront.Distribution(this, 'distro', {
458
- defaultBehavior: {
459
- origin: new origins.S3Origin(s3Bucket),
460
- edgeLambdas: [
461
- {
462
- functionVersion,
463
- eventType: cloudfront.LambdaEdgeEventType.VIEWER_REQUEST,
464
- },
465
- ],
466
- },
467
- });
468
- ```
469
-
470
- ### CloudFront Function
471
-
472
- You can also deploy CloudFront functions and add them to a CloudFront distribution.
473
-
474
- ```ts
475
- // Add a cloudfront Function to a Distribution
476
- const cfFunction = new cloudfront.Function(this, 'Function', {
477
- code: cloudfront.FunctionCode.fromInline('function handler(event) { return event.request }'),
478
- });
479
-
480
- declare const s3Bucket: s3.Bucket;
481
- new cloudfront.Distribution(this, 'distro', {
482
- defaultBehavior: {
483
- origin: new origins.S3Origin(s3Bucket),
484
- functionAssociations: [{
485
- function: cfFunction,
486
- eventType: cloudfront.FunctionEventType.VIEWER_REQUEST,
487
- }],
488
- },
489
- });
490
- ```
491
-
492
- It will auto-generate the name of the function and deploy it to the `live` stage.
493
-
494
- Additionally, you can load the function's code from a file using the `FunctionCode.fromFile()` method.
495
-
496
- ### Logging
497
-
498
- You can configure CloudFront to create log files that contain detailed information about every user request that CloudFront receives.
499
- The logs can go to either an existing bucket, or a bucket will be created for you.
500
-
501
- ```ts
502
- // Configure logging for Distributions
503
-
504
- // Simplest form - creates a new bucket and logs to it.
505
- new cloudfront.Distribution(this, 'myDist', {
506
- defaultBehavior: { origin: new origins.HttpOrigin('www.example.com') },
507
- enableLogging: true,
508
- });
509
-
510
- // You can optionally log to a specific bucket, configure whether cookies are logged, and give the log files a prefix.
511
- new cloudfront.Distribution(this, 'myDist', {
512
- defaultBehavior: { origin: new origins.HttpOrigin('www.example.com') },
513
- enableLogging: true, // Optional, this is implied if logBucket is specified
514
- logBucket: new s3.Bucket(this, 'LogBucket'),
515
- logFilePrefix: 'distribution-access-logs/',
516
- logIncludesCookies: true,
517
- });
518
- ```
519
-
520
- ### HTTP Versions
521
-
522
- You can configure CloudFront to use a particular version of the HTTP protocol. By default,
523
- newly created distributions use HTTP/2 but can be configured to use both HTTP/2 and HTTP/3 or
524
- just HTTP/3. For all supported HTTP versions, see the `HttpVerson` enum.
525
-
526
- ```ts
527
- // Configure a distribution to use HTTP/2 and HTTP/3
528
- new cloudfront.Distribution(this, 'myDist', {
529
- defaultBehavior: { origin: new origins.HttpOrigin('www.example.com'); },
530
- httpVersion: cloudfront.HttpVersion.HTTP2_AND_3,
531
- });
532
- ```
533
-
534
- ### Importing Distributions
535
-
536
- Existing distributions can be imported as well; note that like most imported constructs, an imported distribution cannot be modified.
537
- However, it can be used as a reference for other higher-level constructs.
538
-
539
- ```ts
540
- // Using a reference to an imported Distribution
541
- const distribution = cloudfront.Distribution.fromDistributionAttributes(this, 'ImportedDist', {
542
- domainName: 'd111111abcdef8.cloudfront.net',
543
- distributionId: '012345ABCDEF',
544
- });
545
- ```
546
-
547
- ## Migrating from the original CloudFrontWebDistribution to the newer Distribution construct
548
-
549
- It's possible to migrate a distribution from the original to the modern API.
550
- The changes necessary are the following:
551
-
552
- ### The Distribution
553
-
554
- Replace `new CloudFrontWebDistribution` with `new Distribution`. Some
555
- configuration properties have been changed:
556
-
557
- | Old API | New API |
558
- |--------------------------------|------------------------------------------------------------------------------------------------|
559
- | `originConfigs` | `defaultBehavior`; use `additionalBehaviors` if necessary |
560
- | `viewerCertificate` | `certificate`; use `domainNames` for aliases |
561
- | `errorConfigurations` | `errorResponses` |
562
- | `loggingConfig` | `enableLogging`; configure with `logBucket` `logFilePrefix` and `logIncludesCookies` |
563
- | `viewerProtocolPolicy` | removed; set on each behavior instead. default changed from `REDIRECT_TO_HTTPS` to `ALLOW_ALL` |
564
-
565
- After switching constructs, you need to maintain the same logical ID for the underlying [CfnDistribution](https://docs.aws.amazon.com/cdk/api/v1/docs/@aws-cdk_aws-cloudfront.CfnDistribution.html) if you wish to avoid the deletion and recreation of your distribution.
566
- To do this, use [escape hatches](https://docs.aws.amazon.com/cdk/v2/guide/cfn_layer.html) to override the logical ID created by the new Distribution construct with the logical ID created by the old construct.
567
-
568
- Example:
569
-
570
- ```ts
571
- declare const sourceBucket: s3.Bucket;
572
-
573
- const myDistribution = new cloudfront.Distribution(this, 'MyCfWebDistribution', {
574
- defaultBehavior: {
575
- origin: new origins.S3Origin(sourceBucket),
576
- },
577
- });
578
- const cfnDistribution = myDistribution.node.defaultChild as cloudfront.CfnDistribution;
579
- cfnDistribution.overrideLogicalId('MyDistributionCFDistribution3H55TI9Q');
580
- ```
581
-
582
- ### Behaviors
583
-
584
- The modern API makes use of the [CloudFront Origins](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cloudfront_origins-readme.html) module to easily configure your origin. Replace your origin configuration with the relevant CloudFront Origins class. For example, here's a behavior with an S3 origin:
585
-
586
- ```ts
587
- declare const sourceBucket: s3.Bucket;
588
- declare const oai: cloudfront.OriginAccessIdentity;
589
-
590
- new cloudfront.CloudFrontWebDistribution(this, 'MyCfWebDistribution', {
591
- originConfigs: [
592
- {
593
- s3OriginSource: {
594
- s3BucketSource: sourceBucket,
595
- originAccessIdentity: oai,
596
- },
597
- behaviors : [ {isDefaultBehavior: true}],
598
- },
599
- ],
600
- });
601
- ```
602
-
603
- Becomes:
604
-
605
- ```ts
606
- declare const sourceBucket: s3.Bucket;
607
-
608
- const distribution = new cloudfront.Distribution(this, 'MyCfWebDistribution', {
609
- defaultBehavior: {
610
- origin: new origins.S3Origin(sourceBucket) // This class automatically creates an Origin Access Identity
611
- },
612
- });
613
- ```
614
-
615
- In the original API all behaviors are defined in the `originConfigs` property. The new API is optimized for a single origin and behavior, so the default behavior and additional behaviors will be defined separately.
616
-
617
- ```ts
618
- declare const sourceBucket: s3.Bucket;
619
- declare const oai: cloudfront.OriginAccessIdentity;
620
-
621
- new cloudfront.CloudFrontWebDistribution(this, 'MyCfWebDistribution', {
622
- originConfigs: [
623
- {
624
- s3OriginSource: {
625
- s3BucketSource: sourceBucket,
626
- originAccessIdentity: oai,
627
- },
628
- behaviors: [ {isDefaultBehavior: true}],
629
- },
630
- {
631
- customOriginSource: {
632
- domainName: 'MYALIAS',
633
- },
634
- behaviors: [{ pathPattern: '/somewhere' }]
635
- }
636
- ],
637
- });
638
- ```
639
-
640
- Becomes:
641
-
642
- ```ts
643
- declare const sourceBucket: s3.Bucket;
644
-
645
- const distribution = new cloudfront.Distribution(this, 'MyCfWebDistribution', {
646
- defaultBehavior: {
647
- origin: new origins.S3Origin(sourceBucket) // This class automatically creates an Origin Access Identity
648
- },
649
- additionalBehaviors: {
650
- '/somewhere': {
651
- origin: new origins.HttpOrigin('MYALIAS'),
652
- }
653
- }
654
- });
655
- ```
656
-
657
- ### Certificates
658
-
659
- If you are using an ACM certificate, you can pass the certificate directly to the `certificate` prop.
660
- Any aliases used before in the `ViewerCertificate` class should be passed in to the `domainNames` prop in the modern API.
661
-
662
- ```ts
663
- import * as acm from 'aws-cdk-lib/aws-certificatemanager';
664
- declare const certificate: acm.Certificate;
665
- declare const sourceBucket: s3.Bucket;
666
-
667
- const viewerCertificate = cloudfront.ViewerCertificate.fromAcmCertificate(certificate, {
668
- aliases: ['MYALIAS'],
669
- });
670
-
671
- new cloudfront.CloudFrontWebDistribution(this, 'MyCfWebDistribution', {
672
- originConfigs: [
673
- {
674
- s3OriginSource: {
675
- s3BucketSource: sourceBucket,
676
- },
677
- behaviors : [ {isDefaultBehavior: true} ],
678
- },
679
- ],
680
- viewerCertificate: viewerCertificate,
681
- });
682
- ```
683
-
684
- Becomes:
685
-
686
- ```ts
687
- import * as acm from 'aws-cdk-lib/aws-certificatemanager';
688
- declare const certificate: acm.Certificate;
689
- declare const sourceBucket: s3.Bucket;
690
-
691
- const distribution = new cloudfront.Distribution(this, 'MyCfWebDistribution', {
692
- defaultBehavior: {
693
- origin: new origins.S3Origin(sourceBucket),
694
- },
695
- domainNames: ['MYALIAS'],
696
- certificate: certificate,
697
- });
698
- ```
699
-
700
- IAM certificates aren't directly supported by the new API, but can be easily configured through [escape hatches](https://docs.aws.amazon.com/cdk/v2/guide/cfn_layer.html)
701
-
702
- ```ts
703
- declare const sourceBucket: s3.Bucket;
704
- const viewerCertificate = cloudfront.ViewerCertificate.fromIamCertificate('MYIAMROLEIDENTIFIER', {
705
- aliases: ['MYALIAS'],
706
- });
707
-
708
- new cloudfront.CloudFrontWebDistribution(this, 'MyCfWebDistribution', {
709
- originConfigs: [
710
- {
711
- s3OriginSource: {
712
- s3BucketSource: sourceBucket,
713
- },
714
- behaviors : [ {isDefaultBehavior: true} ],
715
- },
716
- ],
717
- viewerCertificate: viewerCertificate,
718
- });
719
- ```
720
-
721
- Becomes:
722
-
723
- ```ts
724
- declare const sourceBucket: s3.Bucket;
725
- const distribution = new cloudfront.Distribution(this, 'MyCfWebDistribution', {
726
- defaultBehavior: {
727
- origin: new origins.S3Origin(sourceBucket),
728
- },
729
- domainNames: ['MYALIAS'],
730
- });
731
-
732
- const cfnDistribution = distribution.node.defaultChild as cloudfront.CfnDistribution;
733
-
734
- cfnDistribution.addPropertyOverride('ViewerCertificate.IamCertificateId', 'MYIAMROLEIDENTIFIER');
735
- cfnDistribution.addPropertyOverride('ViewerCertificate.SslSupportMethod', 'sni-only');
736
- ```
737
-
738
- ### Other changes
739
-
740
- A number of default settings have changed on the new API when creating a new distribution, behavior, and origin.
741
- After making the major changes needed for the migration, run `cdk diff` to see what settings have changed.
742
- If no changes are desired during migration, you will at the least be able to use [escape hatches](https://docs.aws.amazon.com/cdk/v2/guide/cfn_layer.html) to override what the CDK synthesizes, if you can't change the properties directly.
743
-
744
- ## CloudFrontWebDistribution API
745
-
746
- > The `CloudFrontWebDistribution` construct is the original construct written for working with CloudFront distributions.
747
- > Users are encouraged to use the newer `Distribution` instead, as it has a simpler interface and receives new features faster.
748
-
749
- Example usage:
750
-
751
- ```ts
752
- // Using a CloudFrontWebDistribution construct.
753
-
754
- declare const sourceBucket: s3.Bucket;
755
- const distribution = new cloudfront.CloudFrontWebDistribution(this, 'MyDistribution', {
756
- originConfigs: [
757
- {
758
- s3OriginSource: {
759
- s3BucketSource: sourceBucket,
760
- },
761
- behaviors : [ {isDefaultBehavior: true}],
762
- },
763
- ],
764
- });
765
- ```
766
-
767
- ### Viewer certificate
768
-
769
- By default, CloudFront Web Distributions will answer HTTPS requests with CloudFront's default certificate,
770
- only containing the distribution `domainName` (e.g. d111111abcdef8.cloudfront.net).
771
- You can customize the viewer certificate property to provide a custom certificate and/or list of domain name aliases to fit your needs.
772
-
773
- See [Using Alternate Domain Names and HTTPS](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-https-alternate-domain-names.html) in the CloudFront User Guide.
774
-
775
- #### Default certificate
776
-
777
- You can customize the default certificate aliases. This is intended to be used in combination with CNAME records in your DNS zone.
778
-
779
- Example:
780
-
781
- [create a distribution with an default certificate example](test/example.default-cert-alias.lit.ts)
782
-
783
- #### ACM certificate
784
-
785
- You can change the default certificate by one stored AWS Certificate Manager, or ACM.
786
- Those certificate can either be generated by AWS, or purchased by another CA imported into ACM.
787
-
788
- For more information, see
789
- [the aws-certificatemanager module documentation](https://docs.aws.amazon.com/cdk/api/latest/docs/aws-certificatemanager-readme.html)
790
- or [Importing Certificates into AWS Certificate Manager](https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html)
791
- in the AWS Certificate Manager User Guide.
792
-
793
- Example:
794
-
795
- [create a distribution with an acm certificate example](test/example.acm-cert-alias.lit.ts)
796
-
797
- #### IAM certificate
798
-
799
- You can also import a certificate into the IAM certificate store.
800
-
801
- See [Importing an SSL/TLS Certificate](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cnames-and-https-procedures.html#cnames-and-https-uploading-certificates) in the CloudFront User Guide.
802
-
803
- Example:
804
-
805
- [create a distribution with an iam certificate example](test/example.iam-cert-alias.lit.ts)
806
-
807
- ### Trusted Key Groups
808
-
809
- CloudFront Web Distributions supports validating signed URLs or signed cookies using key groups.
810
- When a cache behavior contains trusted key groups, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior.
811
-
812
- Example:
813
-
814
- ```ts
815
- // Using trusted key groups for Cloudfront Web Distributions.
816
- declare const sourceBucket: s3.Bucket;
817
- declare const publicKey: string;
818
- const pubKey = new cloudfront.PublicKey(this, 'MyPubKey', {
819
- encodedKey: publicKey,
820
- });
821
-
822
- const keyGroup = new cloudfront.KeyGroup(this, 'MyKeyGroup', {
823
- items: [
824
- pubKey,
825
- ],
826
- });
827
-
828
- new cloudfront.CloudFrontWebDistribution(this, 'AnAmazingWebsiteProbably', {
829
- originConfigs: [
830
- {
831
- s3OriginSource: {
832
- s3BucketSource: sourceBucket,
833
- },
834
- behaviors: [
835
- {
836
- isDefaultBehavior: true,
837
- trustedKeyGroups: [
838
- keyGroup,
839
- ],
840
- },
841
- ],
842
- },
843
- ],
844
- });
845
- ```
846
-
847
- ### Restrictions
848
-
849
- CloudFront supports adding restrictions to your distribution.
850
-
851
- See [Restricting the Geographic Distribution of Your Content](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/georestrictions.html) in the CloudFront User Guide.
852
-
853
- Example:
854
-
855
- ```ts
856
- // Adding restrictions to a Cloudfront Web Distribution.
857
- declare const sourceBucket: s3.Bucket;
858
- new cloudfront.CloudFrontWebDistribution(this, 'MyDistribution', {
859
- originConfigs: [
860
- {
861
- s3OriginSource: {
862
- s3BucketSource: sourceBucket,
863
- },
864
- behaviors : [ {isDefaultBehavior: true}],
865
- },
866
- ],
867
- geoRestriction: cloudfront.GeoRestriction.allowlist('US', 'GB'),
868
- });
869
- ```
870
-
871
- ### Connection behaviors between CloudFront and your origin
872
-
873
- CloudFront provides you even more control over the connection behaviors between CloudFront and your origin.
874
- You can now configure the number of connection attempts CloudFront will make to your origin and the origin connection timeout for each attempt.
875
-
876
- See [Origin Connection Attempts](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#origin-connection-attempts)
877
-
878
- See [Origin Connection Timeout](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#origin-connection-timeout)
879
-
880
- Example usage:
881
-
882
- ```ts
883
- // Configuring connection behaviors between Cloudfront and your origin
884
- const distribution = new cloudfront.CloudFrontWebDistribution(this, 'MyDistribution', {
885
- originConfigs: [
886
- {
887
- connectionAttempts: 3,
888
- connectionTimeout: Duration.seconds(10),
889
- behaviors: [
890
- {
891
- isDefaultBehavior: true,
892
- },
893
- ],
894
- },
895
- ],
896
- });
897
- ```
898
-
899
- #### Origin Fallback
900
-
901
- In case the origin source is not available and answers with one of the
902
- specified status codes the failover origin source will be used.
903
-
904
- ```ts
905
- // Configuring origin fallback options for the CloudFrontWebDistribution
906
- new cloudfront.CloudFrontWebDistribution(this, 'ADistribution', {
907
- originConfigs: [
908
- {
909
- s3OriginSource: {
910
- s3BucketSource: s3.Bucket.fromBucketName(this, 'aBucket', 'myoriginbucket'),
911
- originPath: '/',
912
- originHeaders: {
913
- 'myHeader': '42',
914
- },
915
- originShieldRegion: 'us-west-2',
916
- },
917
- failoverS3OriginSource: {
918
- s3BucketSource: s3.Bucket.fromBucketName(this, 'aBucketFallback', 'myoriginbucketfallback'),
919
- originPath: '/somewhere',
920
- originHeaders: {
921
- 'myHeader2': '21',
922
- },
923
- originShieldRegion: 'us-east-1',
924
- },
925
- failoverCriteriaStatusCodes: [cloudfront.FailoverStatusCode.INTERNAL_SERVER_ERROR],
926
- behaviors: [
927
- {
928
- isDefaultBehavior: true,
929
- },
930
- ],
931
- },
932
- ],
933
- });
934
- ```
935
-
936
- ## KeyGroup & PublicKey API
937
-
938
- You can create a key group to use with CloudFront signed URLs and signed cookies
939
- You can add public keys to use with CloudFront features such as signed URLs, signed cookies, and field-level encryption.
940
-
941
- The following example command uses OpenSSL to generate an RSA key pair with a length of 2048 bits and save to the file named `private_key.pem`.
942
-
943
- ```bash
944
- openssl genrsa -out private_key.pem 2048
945
- ```
946
-
947
- The resulting file contains both the public and the private key. The following example command extracts the public key from the file named `private_key.pem` and stores it in `public_key.pem`.
948
-
949
- ```bash
950
- openssl rsa -pubout -in private_key.pem -out public_key.pem
951
- ```
952
-
953
- Note: Don't forget to copy/paste the contents of `public_key.pem` file including `-----BEGIN PUBLIC KEY-----` and `-----END PUBLIC KEY-----` lines into `encodedKey` parameter when creating a `PublicKey`.
954
-
955
- Example:
956
-
957
- ```ts
958
- // Create a key group to use with CloudFront signed URLs and signed cookies.
959
- new cloudfront.KeyGroup(this, 'MyKeyGroup', {
960
- items: [
961
- new cloudfront.PublicKey(this, 'MyPublicKey', {
962
- encodedKey: '...', // contents of public_key.pem file
963
- // comment: 'Key is expiring on ...',
964
- }),
965
- ],
966
- // comment: 'Key group containing public keys ...',
967
- });
968
- ```
969
-
970
- See:
971
-
972
- * https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html
973
- * https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-trusted-signers.html