@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,843 +0,0 @@
1
- # Amazon Cognito Construct Library
2
-
3
-
4
- [Amazon Cognito](https://docs.aws.amazon.com/cognito/latest/developerguide/what-is-amazon-cognito.html) provides
5
- authentication, authorization, and user management for your web and mobile apps. Your users can sign in directly with a
6
- user name and password, or through a third party such as Facebook, Amazon, Google or Apple.
7
-
8
- The two main components of Amazon Cognito are [user
9
- pools](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html) and [identity
10
- pools](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-identity.html). User pools are user directories
11
- that provide sign-up and sign-in options for your app users. Identity pools enable you to grant your users access to
12
- other AWS services. Identity Pool L2 Constructs can be found [here](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cognito-identitypool-alpha-readme.html).
13
-
14
- This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
15
-
16
- ## Table of Contents
17
-
18
- - [User Pools](#user-pools)
19
- - [Sign Up](#sign-up)
20
- - [Sign In](#sign-in)
21
- - [Attributes](#attributes)
22
- - [Security](#security)
23
- - [Multi-factor Authentication](#multi-factor-authentication-mfa)
24
- - [Account Recovery Settings](#account-recovery-settings)
25
- - [Emails](#emails)
26
- - [Device Tracking](#device-tracking)
27
- - [Lambda Triggers](#lambda-triggers)
28
- - [Trigger Permissions](#trigger-permissions)
29
- - [Import](#importing-user-pools)
30
- - [Identity Providers](#identity-providers)
31
- - [App Clients](#app-clients)
32
- - [Resource Servers](#resource-servers)
33
- - [Domains](#domains)
34
-
35
- ## User Pools
36
-
37
- User pools allow creating and managing your own directory of users that can sign up and sign in. They enable easy
38
- integration with social identity providers such as Facebook, Google, Amazon, Microsoft Active Directory, etc. through
39
- SAML.
40
-
41
- Using the CDK, a new user pool can be created as part of the stack using the construct's constructor. You may specify
42
- the `userPoolName` to give your own identifier to the user pool. If not, CloudFormation will generate a name.
43
-
44
- ```ts
45
- new cognito.UserPool(this, 'myuserpool', {
46
- userPoolName: 'myawesomeapp-userpool',
47
- });
48
- ```
49
-
50
- The default set up for the user pool is configured such that only administrators will be allowed
51
- to create users. Features such as Multi-factor authentication (MFAs) and Lambda Triggers are not
52
- configured by default.
53
-
54
- Use the `grant()` method to add an IAM policy statement associated with the user pool to an
55
- IAM principal's policy.
56
-
57
- ```ts
58
- const userPool = new cognito.UserPool(this, 'myuserpool');
59
- const role = new iam.Role(this, 'role', {
60
- assumedBy: new iam.ServicePrincipal('foo'),
61
- });
62
- userPool.grant(role, 'cognito-idp:AdminCreateUser');
63
- ```
64
-
65
- ### Sign Up
66
-
67
- Users can either be signed up by the app's administrators or can sign themselves up. Once a user has signed up, their
68
- account needs to be confirmed. Cognito provides several ways to sign users up and confirm their accounts. Learn more
69
- about [user sign up here](https://docs.aws.amazon.com/cognito/latest/developerguide/signing-up-users-in-your-app.html).
70
-
71
- When a user signs up, email and SMS messages are used to verify their account and contact methods. The following code
72
- snippet configures a user pool with properties relevant to these verification messages -
73
-
74
- ```ts
75
- new cognito.UserPool(this, 'myuserpool', {
76
- // ...
77
- selfSignUpEnabled: true,
78
- userVerification: {
79
- emailSubject: 'Verify your email for our awesome app!',
80
- emailBody: 'Thanks for signing up to our awesome app! Your verification code is {####}',
81
- emailStyle: cognito.VerificationEmailStyle.CODE,
82
- smsMessage: 'Thanks for signing up to our awesome app! Your verification code is {####}',
83
- },
84
- });
85
- ```
86
-
87
- By default, self sign up is disabled. Learn more about [email and SMS verification messages
88
- here](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-message-customizations.html).
89
-
90
- Besides users signing themselves up, an administrator of any user pool can sign users up. The user then receives an
91
- invitation to join the user pool. The following code snippet configures a user pool with properties relevant to the
92
- invitation messages -
93
-
94
- ```ts
95
- new cognito.UserPool(this, 'myuserpool', {
96
- // ...
97
- userInvitation: {
98
- emailSubject: 'Invite to join our awesome app!',
99
- emailBody: 'Hello {username}, you have been invited to join our awesome app! Your temporary password is {####}',
100
- smsMessage: 'Hello {username}, your temporary password for our awesome app is {####}',
101
- },
102
- });
103
- ```
104
-
105
- All email subjects, bodies and SMS messages for both invitation and verification support Cognito's message templating.
106
- Learn more about [message templates
107
- here](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-message-templates.html).
108
-
109
- ### Sign In
110
-
111
- Users registering or signing in into your application can do so with multiple identifiers. There are 4 options
112
- available:
113
-
114
- - `username`: Allow signing in using the one time immutable user name that the user chose at the time of sign up.
115
- - `email`: Allow signing in using the email address that is associated with the account.
116
- - `phone`: Allow signing in using the phone number that is associated with the account.
117
- - `preferredUsername`: Allow signing in with an alternate user name that the user can change at any time. However, this
118
- is not available if the `username` option is not chosen.
119
-
120
- The following code sets up a user pool so that the user can sign in with either their username or their email address -
121
-
122
- ```ts
123
- new cognito.UserPool(this, 'myuserpool', {
124
- // ...
125
- // ...
126
- signInAliases: {
127
- username: true,
128
- email: true,
129
- },
130
- });
131
- ```
132
-
133
- User pools can either be configured so that user name is primary sign in form, but also allows for the other three to be
134
- used additionally; or it can be configured so that email and/or phone numbers are the only ways a user can register and
135
- sign in. Read more about this
136
- [here](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-attributes.html#user-pool-settings-aliases-settings).
137
-
138
- ⚠️ The Cognito service prevents changing the `signInAlias` property for an existing user pool.
139
-
140
- To match with 'Option 1' in the above link, with a verified email, `signInAliases` should be set to
141
- `{ username: true, email: true }`. To match with 'Option 2' in the above link with both a verified
142
- email and phone number, this property should be set to `{ email: true, phone: true }`.
143
-
144
- Cognito recommends that email and phone number be automatically verified, if they are one of the sign in methods for
145
- the user pool. Read more about that
146
- [here](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-attributes.html#user-pool-settings-aliases).
147
- The CDK does this by default, when email and/or phone number are specified as part of `signInAliases`. This can be
148
- overridden by specifying the `autoVerify` property.
149
-
150
- The following code snippet sets up only email as a sign in alias, but both email and phone number to be auto-verified.
151
-
152
- ```ts
153
- new cognito.UserPool(this, 'myuserpool', {
154
- // ...
155
- // ...
156
- signInAliases: { username: true, email: true },
157
- autoVerify: { email: true, phone: true },
158
- });
159
- ```
160
-
161
- A user pool can optionally ignore case when evaluating sign-ins. When `signInCaseSensitive` is false, Cognito will not
162
- check the capitalization of the alias when signing in. Default is true.
163
-
164
- ### Attributes
165
-
166
- Attributes represent the various properties of each user that's collected and stored in the user pool. Cognito
167
- provides a set of standard attributes that are available for all user pools. Users are allowed to select any of these
168
- standard attributes to be required. Users will not be able to sign up to the user pool without providing the required
169
- attributes. Besides these, additional attributes can be further defined, and are known as custom attributes.
170
-
171
- Learn more on [attributes in Cognito's
172
- documentation](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-attributes.html).
173
-
174
- The following code configures a user pool with two standard attributes (name and address) as required and mutable, and adds
175
- four custom attributes.
176
-
177
- ```ts
178
- new cognito.UserPool(this, 'myuserpool', {
179
- // ...
180
- standardAttributes: {
181
- fullname: {
182
- required: true,
183
- mutable: false,
184
- },
185
- address: {
186
- required: false,
187
- mutable: true,
188
- },
189
- },
190
- customAttributes: {
191
- 'myappid': new cognito.StringAttribute({ minLen: 5, maxLen: 15, mutable: false }),
192
- 'callingcode': new cognito.NumberAttribute({ min: 1, max: 3, mutable: true }),
193
- 'isEmployee': new cognito.BooleanAttribute({ mutable: true }),
194
- 'joinedOn': new cognito.DateTimeAttribute(),
195
- },
196
- });
197
- ```
198
-
199
- As shown in the code snippet, there are data types that are available for custom attributes. The 'String' and 'Number'
200
- data types allow for further constraints on their length and values, respectively.
201
-
202
- Custom attributes cannot be marked as required.
203
-
204
- All custom attributes share the property `mutable` that specifies whether the value of the attribute can be changed.
205
- The default value is `false`.
206
-
207
- User pools come with two 'built-in' attributes - `email_verified` and `phone_number_verified`. These cannot be
208
- configured (required-ness or mutability) as part of user pool creation. However, user pool administrators can modify
209
- them for specific users using the [AdminUpdateUserAttributes API].
210
-
211
- [AdminUpdateUserAttributes API]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminUpdateUserAttributes.html
212
-
213
- ### Attribute verification
214
-
215
- When your user updates an email address or phone number attribute, Amazon Cognito marks it unverified until they verify the new value.
216
- You can’t send messages to an unverified email address or phone number.
217
- Your user can’t sign in with an unverified alias attribute.
218
- You can choose how Amazon Cognito handles an updated email address or phone number after the update and before the verification.
219
-
220
- Learn more on [configuring email or phone verification in Cognito's documentation.](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-email-phone-verification.html?icmpid=docs_cognito_console_help_panel)
221
-
222
- The following code configures a user pool that keeps the original value for the two standard attributes (email and phone_number) until the new values are verified.
223
-
224
- ```ts
225
- new cognito.UserPool(this, 'myuserpool', {
226
- // ...
227
- signInAliases: { username: true },
228
- autoVerify: { email: true, phone: true },
229
- keepOriginal: {
230
- email: true,
231
- phone: true,
232
- },
233
- });
234
- ```
235
-
236
-
237
- ### Security
238
-
239
- Cognito sends various messages to its users via SMS, for different actions, ranging from account verification to
240
- marketing. In order to send SMS messages, Cognito needs an IAM role that it can assume, with permissions that allow it
241
- to send SMS messages.
242
-
243
- By default, the CDK looks at all of the specified properties (and their defaults when not explicitly specified) and
244
- automatically creates an SMS role, when needed. For example, if MFA second factor by SMS is enabled, the CDK will
245
- create a new role. The `smsRole` property can be used to specify the user supplied role that should be used instead.
246
- Additionally, the property `enableSmsRole` can be used to override the CDK's default behaviour to either enable or
247
- suppress automatic role creation.
248
-
249
- ```ts
250
- const poolSmsRole = new iam.Role(this, 'userpoolsmsrole', {
251
- assumedBy: new iam.ServicePrincipal('foo'),
252
- });
253
-
254
- new cognito.UserPool(this, 'myuserpool', {
255
- // ...
256
- smsRole: poolSmsRole,
257
- smsRoleExternalId: 'c87467be-4f34-11ea-b77f-2e728ce88125',
258
- });
259
- ```
260
-
261
- When the `smsRole` property is specified, the `smsRoleExternalId` may also be specified. The value of
262
- `smsRoleExternalId` will be used as the `sts:ExternalId` when the Cognito service assumes the role. In turn, the role's
263
- assume role policy should be configured to accept this value as the ExternalId. Learn more about [ExternalId
264
- here](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html).
265
-
266
- #### Multi-factor Authentication (MFA)
267
-
268
- User pools can be configured to enable multi-factor authentication (MFA). It can either be turned off, set to optional
269
- or made required. Setting MFA to optional means that individual users can choose to enable it.
270
- Additionally, the MFA code can be sent either via SMS text message or via a time-based software token.
271
- See the [documentation on MFA](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-mfa.html) to
272
- learn more.
273
-
274
- The following code snippet marks MFA for the user pool as required. This means that all users are required to
275
- configure an MFA token and use it for sign in. It also allows for the users to use both SMS based MFA, as well,
276
- [time-based one time password
277
- (TOTP)](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-mfa-totp.html).
278
-
279
- ```ts
280
- new cognito.UserPool(this, 'myuserpool', {
281
- // ...
282
- mfa: cognito.Mfa.REQUIRED,
283
- mfaSecondFactor: {
284
- sms: true,
285
- otp: true,
286
- },
287
- });
288
- ```
289
-
290
- User pools can be configured with policies around a user's password. This includes the password length and the
291
- character sets that they must contain.
292
-
293
- Further to this, it can also be configured with the validity of the auto-generated temporary password. A temporary
294
- password is generated by the user pool either when an admin signs up a user or when a password reset is requested.
295
- The validity of this password dictates how long to give the user to use this password before expiring it.
296
-
297
- The following code snippet configures these properties -
298
-
299
- ```ts
300
- new cognito.UserPool(this, 'myuserpool', {
301
- // ...
302
- passwordPolicy: {
303
- minLength: 12,
304
- requireLowercase: true,
305
- requireUppercase: true,
306
- requireDigits: true,
307
- requireSymbols: true,
308
- tempPasswordValidity: Duration.days(3),
309
- },
310
- });
311
- ```
312
-
313
- Note that, `tempPasswordValidity` can be specified only in whole days. Specifying fractional days would throw an error.
314
-
315
- #### Account Recovery Settings
316
-
317
- User pools can be configured on which method a user should use when recovering the password for their account. This
318
- can either be email and/or SMS. Read more at [Recovering User Accounts](https://docs.aws.amazon.com/cognito/latest/developerguide/how-to-recover-a-user-account.html)
319
-
320
- ```ts
321
- new cognito.UserPool(this, 'UserPool', {
322
- // ...
323
- accountRecovery: cognito.AccountRecovery.EMAIL_ONLY,
324
- })
325
- ```
326
-
327
- The default for account recovery is by phone if available and by email otherwise.
328
- A user will not be allowed to reset their password via phone if they are also using it for MFA.
329
-
330
-
331
- ### Emails
332
-
333
- Cognito sends emails to users in the user pool, when particular actions take place, such as welcome emails, invitation
334
- emails, password resets, etc. The address from which these emails are sent can be configured on the user pool.
335
- Read more at [Email settings for User Pools](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-email.html).
336
-
337
- By default, user pools are configured to use Cognito's built in email capability, which will send emails
338
- from `no-reply@verificationemail.com`. If you want to use a custom email address you can configure
339
- Cognito to send emails through Amazon SES, which is detailed below.
340
-
341
- ```ts
342
- new cognito.UserPool(this, 'myuserpool', {
343
- email: cognito.UserPoolEmail.withCognito('support@myawesomeapp.com'),
344
- });
345
- ```
346
-
347
- For typical production environments, the default email limit is below the required delivery volume.
348
- To enable a higher delivery volume, you can configure the UserPool to send emails through Amazon SES. To do
349
- so, follow the steps in the [Cognito Developer Guide](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-email.html#user-pool-email-developer)
350
- to verify an email address, move the account out of the SES sandbox, and grant Cognito email permissions via an
351
- authorization policy.
352
-
353
- Once the SES setup is complete, the UserPool can be configured to use the SES email.
354
-
355
- ```ts
356
- new cognito.UserPool(this, 'myuserpool', {
357
- email: cognito.UserPoolEmail.withSES({
358
- fromEmail: 'noreply@myawesomeapp.com',
359
- fromName: 'Awesome App',
360
- replyTo: 'support@myawesomeapp.com',
361
- }),
362
- });
363
- ```
364
-
365
- Sending emails through SES requires that SES be configured (as described above) in a valid SES region.
366
- If the UserPool is being created in a different region, `sesRegion` must be used to specify the correct SES region.
367
-
368
- ```ts
369
- new cognito.UserPool(this, 'myuserpool', {
370
- email: cognito.UserPoolEmail.withSES({
371
- sesRegion: 'us-east-1',
372
- fromEmail: 'noreply@myawesomeapp.com',
373
- fromName: 'Awesome App',
374
- replyTo: 'support@myawesomeapp.com',
375
- }),
376
- });
377
-
378
- ```
379
-
380
- When sending emails from an SES verified domain, `sesVerifiedDomain` can be used to specify the domain.
381
- The email address does not need to be verified when sending emails from a verified domain, because the identity of the email configuration is can be determined from the domain alone.
382
-
383
- ```ts
384
- new cognito.UserPool(this, 'myuserpool', {
385
- email: cognito.UserPoolEmail.withSES({
386
- sesRegion: 'us-east-1',
387
- fromEmail: 'noreply@myawesomeapp.com',
388
- fromName: 'Awesome App',
389
- replyTo: 'support@myawesomeapp.com',
390
- sesVerifiedDomain: 'myawesomeapp.com',
391
- }),
392
- });
393
- ```
394
-
395
- ### Device Tracking
396
-
397
- User pools can be configured to track devices that users have logged in to.
398
- Read more at [Device Tracking](https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-device-tracking.html)
399
-
400
- ```ts
401
- new cognito.UserPool(this, 'myuserpool', {
402
- // ...
403
- deviceTracking: {
404
- challengeRequiredOnNewDevice: true,
405
- deviceOnlyRememberedOnUserPrompt: true,
406
- },
407
- });
408
- ```
409
-
410
- The default is to not track devices.
411
-
412
- ### Lambda Triggers
413
-
414
- User pools can be configured such that AWS Lambda functions can be triggered when certain user operations or actions
415
- occur, such as, sign up, user confirmation, sign in, etc. They can also be used to add custom authentication
416
- challenges, user migrations and custom verification messages. Learn more about triggers at [User Pool Workflows with
417
- Triggers](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html).
418
-
419
- Lambda triggers can either be specified as part of the `UserPool` initialization, or it can be added later, via methods
420
- on the construct, as so -
421
-
422
- ```ts
423
- const authChallengeFn = new lambda.Function(this, 'authChallengeFn', {
424
- runtime: lambda.Runtime.NODEJS_14_X,
425
- handler: 'index.handler',
426
- code: lambda.Code.fromAsset(path.join(__dirname, 'path/to/asset')),
427
- });
428
-
429
- const userpool = new cognito.UserPool(this, 'myuserpool', {
430
- // ...
431
- lambdaTriggers: {
432
- createAuthChallenge: authChallengeFn,
433
- // ...
434
- },
435
- });
436
-
437
- userpool.addTrigger(cognito.UserPoolOperation.USER_MIGRATION, new lambda.Function(this, 'userMigrationFn', {
438
- runtime: lambda.Runtime.NODEJS_14_X,
439
- handler: 'index.handler',
440
- code: lambda.Code.fromAsset(path.join(__dirname, 'path/to/asset')),
441
- }));
442
- ```
443
-
444
- The following table lists the set of triggers available, and their corresponding method to add it to the user pool.
445
- For more information on the function of these triggers and how to configure them, read [User Pool Workflows with
446
- Triggers](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html).
447
-
448
- #### Trigger Permissions
449
-
450
- The `function.attachToRolePolicy()` API can be used to add additional IAM permissions to the lambda trigger
451
- as necessary.
452
-
453
- ⚠️ Using the `attachToRolePolicy` API to provide permissions to your user pool will result in a circular dependency. See [aws/aws-cdk#7016](https://github.com/aws/aws-cdk/issues/7016).
454
- Error message when running `cdk synth` or `cdk deploy`:
455
- > Circular dependency between resources: [pool056F3F7E, fnPostAuthFnCognitoA630A2B1, ...]
456
-
457
- To work around the circular dependency issue, use the `attachInlinePolicy()` API instead, as shown below.
458
-
459
- ```ts
460
- declare const postAuthFn: lambda.Function;
461
-
462
- const userpool = new cognito.UserPool(this, 'myuserpool', {
463
- lambdaTriggers: {
464
- postAuthentication: postAuthFn,
465
- },
466
- });
467
-
468
- // provide permissions to describe the user pool scoped to the ARN the user pool
469
- postAuthFn.role?.attachInlinePolicy(new iam.Policy(this, 'userpool-policy', {
470
- statements: [new iam.PolicyStatement({
471
- actions: ['cognito-idp:DescribeUserPool'],
472
- resources: [userpool.userPoolArn],
473
- })],
474
- }));
475
- ```
476
-
477
- ### Importing User Pools
478
-
479
- Any user pool that has been created outside of this stack, can be imported into the CDK app. Importing a user pool
480
- allows for it to be used in other parts of the CDK app that reference an `IUserPool`. However, imported user pools have
481
- limited configurability. As a rule of thumb, none of the properties that are part of the
482
- [`AWS::Cognito::UserPool`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpool.html)
483
- CloudFormation resource can be configured.
484
-
485
- User pools can be imported either using their id via the `UserPool.fromUserPoolId()`, or by using their ARN, via the
486
- `UserPool.fromUserPoolArn()` API.
487
-
488
- ```ts
489
- const awesomePool = cognito.UserPool.fromUserPoolId(this, 'awesome-user-pool', 'us-east-1_oiuR12Abd');
490
-
491
- const otherAwesomePool = cognito.UserPool.fromUserPoolArn(this, 'other-awesome-user-pool',
492
- 'arn:aws:cognito-idp:eu-west-1:123456789012:userpool/us-east-1_mtRyYQ14D');
493
- ```
494
-
495
- ### Identity Providers
496
-
497
- Users that are part of a user pool can sign in either directly through a user pool, or federate through a third-party
498
- identity provider. Once configured, the Cognito backend will take care of integrating with the third-party provider.
499
- Read more about [Adding User Pool Sign-in Through a Third
500
- Party](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-identity-federation.html).
501
-
502
- The following third-party identity providers are currently supported in the CDK -
503
-
504
- - [Login With Amazon](https://developer.amazon.com/apps-and-games/login-with-amazon)
505
- - [Facebook Login](https://developers.facebook.com/docs/facebook-login/)
506
- - [Google Login](https://developers.google.com/identity/sign-in/web/sign-in)
507
- - [Sign In With Apple](https://developer.apple.com/sign-in-with-apple/get-started/)
508
- - [OpenID Connect](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-oidc-idp.html)
509
- - [SAML](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-saml-idp.html)
510
-
511
- The following code configures a user pool to federate with the third party provider, 'Login with Amazon'. The identity
512
- provider needs to be configured with a set of credentials that the Cognito backend can use to federate with the
513
- third-party identity provider.
514
-
515
- ```ts
516
- const userpool = new cognito.UserPool(this, 'Pool');
517
-
518
- const provider = new cognito.UserPoolIdentityProviderAmazon(this, 'Amazon', {
519
- clientId: 'amzn-client-id',
520
- clientSecret: 'amzn-client-secret',
521
- userPool: userpool,
522
- });
523
- ```
524
-
525
- Attribute mapping allows mapping attributes provided by the third-party identity providers to [standard and custom
526
- attributes](#Attributes) of the user pool. Learn more about [Specifying Identity Provider Attribute Mappings for Your
527
- User Pool](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-specifying-attribute-mapping.html).
528
-
529
- The following code shows how different attributes provided by 'Login With Amazon' can be mapped to standard and custom
530
- user pool attributes.
531
-
532
- ```ts
533
- const userpool = new cognito.UserPool(this, 'Pool');
534
-
535
- new cognito.UserPoolIdentityProviderAmazon(this, 'Amazon', {
536
- clientId: 'amzn-client-id',
537
- clientSecret: 'amzn-client-secret',
538
- userPool: userpool,
539
- attributeMapping: {
540
- email: cognito.ProviderAttribute.AMAZON_EMAIL,
541
- website: cognito.ProviderAttribute.other('url'), // use other() when an attribute is not pre-defined in the CDK
542
- custom: {
543
- // custom user pool attributes go here
544
- uniqueId: cognito.ProviderAttribute.AMAZON_USER_ID,
545
- },
546
- },
547
- });
548
- ```
549
-
550
- ### App Clients
551
-
552
- An app is an entity within a user pool that has permission to call unauthenticated APIs (APIs that do not have an
553
- authenticated user), such as APIs to register, sign in, and handle forgotten passwords. To call these APIs, you need an
554
- app client ID and an optional client secret. Read [Configuring a User Pool App
555
- Client](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-client-apps.html) to learn more.
556
-
557
- The following code creates an app client and retrieves the client id -
558
-
559
- ```ts
560
- const pool = new cognito.UserPool(this, 'pool');
561
- const client = pool.addClient('customer-app-client');
562
- const clientId = client.userPoolClientId;
563
- ```
564
-
565
- Existing app clients can be imported into the CDK app using the `UserPoolClient.fromUserPoolClientId()` API. For new
566
- and imported user pools, clients can also be created via the `UserPoolClient` constructor, as so -
567
-
568
- ```ts
569
- const importedPool = cognito.UserPool.fromUserPoolId(this, 'imported-pool', 'us-east-1_oiuR12Abd');
570
- new cognito.UserPoolClient(this, 'customer-app-client', {
571
- userPool: importedPool,
572
- });
573
- ```
574
-
575
- Clients can be configured with authentication flows. Authentication flows allow users on a client to be authenticated
576
- with a user pool. Cognito user pools provide several different types of authentication, such as, SRP (Secure
577
- Remote Password) authentication, username-and-password authentication, etc. Learn more about this at [UserPool Authentication
578
- Flow](https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-authentication-flow.html).
579
-
580
- The following code configures a client to use both SRP and username-and-password authentication -
581
-
582
- ```ts
583
- const pool = new cognito.UserPool(this, 'pool');
584
- pool.addClient('app-client', {
585
- authFlows: {
586
- userPassword: true,
587
- userSrp: true,
588
- },
589
- });
590
- ```
591
-
592
- Custom authentication protocols can be configured by setting the `custom` property under `authFlow` and defining lambda
593
- functions for the corresponding user pool [triggers](#lambda-triggers). Learn more at [Custom Authentication
594
- Flow](https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-authentication-flow.html#amazon-cognito-user-pools-custom-authentication-flow).
595
-
596
- In addition to these authentication mechanisms, Cognito user pools also support using OAuth 2.0 framework for
597
- authenticating users. User pool clients can be configured with OAuth 2.0 authorization flows and scopes. Learn more
598
- about the [OAuth 2.0 authorization framework](https://tools.ietf.org/html/rfc6749) and [Cognito user pool's
599
- implementation of
600
- OAuth2.0](https://aws.amazon.com/blogs/mobile/understanding-amazon-cognito-user-pool-oauth-2-0-grants/).
601
-
602
- The following code configures an app client with the authorization code grant flow and registers the the app's welcome
603
- page as a callback (or redirect) URL. It also configures the access token scope to 'openid'. All of these concepts can
604
- be found in the [OAuth 2.0 RFC](https://tools.ietf.org/html/rfc6749).
605
-
606
- ```ts
607
- const pool = new cognito.UserPool(this, 'Pool');
608
- pool.addClient('app-client', {
609
- oAuth: {
610
- flows: {
611
- authorizationCodeGrant: true,
612
- },
613
- scopes: [ cognito.OAuthScope.OPENID ],
614
- callbackUrls: [ 'https://my-app-domain.com/welcome' ],
615
- logoutUrls: [ 'https://my-app-domain.com/signin' ],
616
- },
617
- });
618
- ```
619
-
620
- An app client can be configured to prevent user existence errors. This
621
- instructs the Cognito authentication API to return generic authentication
622
- failure responses instead of an UserNotFoundException. By default, the flag
623
- is not set, which means the CloudFormation default (false) will be used. See the
624
- [documentation](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-managing-errors.html)
625
- for the full details on the behavior of this flag.
626
-
627
- ```ts
628
- const pool = new cognito.UserPool(this, 'Pool');
629
- pool.addClient('app-client', {
630
- preventUserExistenceErrors: true,
631
- });
632
- ```
633
-
634
- All identity providers created in the CDK app are automatically registered into the corresponding user pool. All app
635
- clients created in the CDK have all of the identity providers enabled by default. The 'Cognito' identity provider,
636
- that allows users to register and sign in directly with the Cognito user pool, is also enabled by default.
637
- Alternatively, the list of supported identity providers for a client can be explicitly specified -
638
-
639
- ```ts
640
- const pool = new cognito.UserPool(this, 'Pool');
641
- pool.addClient('app-client', {
642
- // ...
643
- supportedIdentityProviders: [
644
- cognito.UserPoolClientIdentityProvider.AMAZON,
645
- cognito.UserPoolClientIdentityProvider.COGNITO,
646
- ],
647
- });
648
- ```
649
-
650
- If the identity provider and the app client are created in the same stack, specify the dependency between both constructs to
651
- make sure that the identity provider already exists when the app client will be created. The app client cannot handle the
652
- dependency to the identity provider automatically because the client does not have access to the provider's construct.
653
-
654
- ```ts
655
- const pool = new cognito.UserPool(this, 'Pool');
656
- const provider = new cognito.UserPoolIdentityProviderAmazon(this, 'Amazon', {
657
- userPool: pool,
658
- clientId: 'amzn-client-id',
659
- clientSecret: 'amzn-client-secret',
660
- });
661
-
662
- const client = pool.addClient('app-client', {
663
- // ...
664
- supportedIdentityProviders: [
665
- cognito.UserPoolClientIdentityProvider.AMAZON,
666
- ],
667
- });
668
-
669
- client.node.addDependency(provider);
670
- ```
671
-
672
- In accordance with the OIDC open standard, Cognito user pool clients provide access tokens, ID tokens and refresh tokens.
673
- More information is available at [Using Tokens with User Pools](https://docs.aws.amazon.com/en_us/cognito/latest/developerguide/amazon-cognito-user-pools-using-tokens-with-identity-providers.html).
674
- The expiration time for these tokens can be configured as shown below.
675
-
676
- ```ts
677
- const pool = new cognito.UserPool(this, 'Pool');
678
- pool.addClient('app-client', {
679
- // ...
680
- accessTokenValidity: Duration.minutes(60),
681
- idTokenValidity: Duration.minutes(60),
682
- refreshTokenValidity: Duration.days(30),
683
- });
684
- ```
685
-
686
- Clients can (and should) be allowed to read and write relevant user attributes only. Usually every client can be allowed to
687
- read the `given_name` attribute but not every client should be allowed to set the `email_verified` attribute.
688
- The same criteria applies for both standard and custom attributes, more info is available at
689
- [Attribute Permissions and Scopes](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-attributes.html#user-pool-settings-attribute-permissions-and-scopes).
690
- The default behaviour is to allow read and write permissions on all attributes. The following code shows how this can be
691
- configured for a client.
692
-
693
- ```ts
694
- const pool = new cognito.UserPool(this, 'Pool');
695
-
696
- const clientWriteAttributes = (new cognito.ClientAttributes())
697
- .withStandardAttributes({fullname: true, email: true})
698
- .withCustomAttributes('favouritePizza', 'favouriteBeverage');
699
-
700
- const clientReadAttributes = clientWriteAttributes
701
- .withStandardAttributes({emailVerified: true})
702
- .withCustomAttributes('pointsEarned');
703
-
704
- pool.addClient('app-client', {
705
- // ...
706
- readAttributes: clientReadAttributes,
707
- writeAttributes: clientWriteAttributes,
708
- });
709
- ```
710
-
711
- [Token revocation](https://docs.aws.amazon.com/cognito/latest/developerguide/token-revocation.html)
712
- can be configured to be able to revoke refresh tokens in app clients. By default, token revocation is enabled for new user
713
- pools. The property can be used to enable the token revocation in existing app clients or to change the default behavior.
714
-
715
- ```ts
716
- const pool = new cognito.UserPool(this, 'Pool');
717
- pool.addClient('app-client', {
718
- // ...
719
- enableTokenRevocation: true,
720
- });
721
- ```
722
-
723
- User Pool clients can generate a client ID as well as a client secret, to support more advanced authentication workflows.
724
-
725
- To create a client with an autogenerated client secret, pass the `generateSecret: true` prop:
726
-
727
- ```ts
728
- const userPoolClient = new cognito.UserPoolClient(this, 'UserPoolClient', {
729
- userPool: importedPool,
730
- generateSecret: true,
731
- });
732
-
733
- // Allows you to pass the generated secret to other pieces of infrastructure
734
- const secret = userPoolClient.userPoolClientSecret;
735
- ```
736
-
737
- ### Resource Servers
738
-
739
- A resource server is a server for access-protected resources. It handles authenticated requests from an app that has an
740
- access token. See [Defining Resource
741
- Servers](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-define-resource-servers.html)
742
- for more information.
743
-
744
- An application may choose to model custom permissions via OAuth. Resource Servers provide this capability via custom scopes
745
- that are attached to an app client. The following example sets up a resource server for the 'users' resource for two different
746
- app clients and configures the clients to use these scopes.
747
-
748
- ```ts
749
- const pool = new cognito.UserPool(this, 'Pool');
750
-
751
- const readOnlyScope = new cognito.ResourceServerScope({ scopeName: 'read', scopeDescription: 'Read-only access' });
752
- const fullAccessScope = new cognito.ResourceServerScope({ scopeName: '*', scopeDescription: 'Full access' });
753
-
754
- const userServer = pool.addResourceServer('ResourceServer', {
755
- identifier: 'users',
756
- scopes: [ readOnlyScope, fullAccessScope ],
757
- });
758
-
759
- const readOnlyClient = pool.addClient('read-only-client', {
760
- // ...
761
- oAuth: {
762
- // ...
763
- scopes: [ cognito.OAuthScope.resourceServer(userServer, readOnlyScope) ],
764
- },
765
- });
766
-
767
- const fullAccessClient = pool.addClient('full-access-client', {
768
- // ...
769
- oAuth: {
770
- // ...
771
- scopes: [ cognito.OAuthScope.resourceServer(userServer, fullAccessScope) ],
772
- },
773
- });
774
- ```
775
-
776
-
777
- ### Domains
778
-
779
- After setting up an [app client](#app-clients), the address for the user pool's sign-up and sign-in webpages can be
780
- configured using domains. There are two ways to set up a domain - either the Amazon Cognito hosted domain can be chosen
781
- with an available domain prefix, or a custom domain name can be chosen. The custom domain must be one that is already
782
- owned, and whose certificate is registered in AWS Certificate Manager.
783
-
784
- The following code sets up a user pool domain in Amazon Cognito hosted domain with the prefix 'my-awesome-app', and
785
- another domain with the custom domain 'user.myapp.com' -
786
-
787
- ```ts
788
- const pool = new cognito.UserPool(this, 'Pool');
789
-
790
- pool.addDomain('CognitoDomain', {
791
- cognitoDomain: {
792
- domainPrefix: 'my-awesome-app',
793
- },
794
- });
795
-
796
- const certificateArn = 'arn:aws:acm:us-east-1:123456789012:certificate/11-3336f1-44483d-adc7-9cd375c5169d';
797
-
798
- const domainCert = certificatemanager.Certificate.fromCertificateArn(this, 'domainCert', certificateArn);
799
- pool.addDomain('CustomDomain', {
800
- customDomain: {
801
- domainName: 'user.myapp.com',
802
- certificate: domainCert,
803
- },
804
- });
805
- ```
806
-
807
- Read more about [Using the Amazon Cognito
808
- Domain](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-assign-domain-prefix.html) and [Using Your Own
809
- Domain](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-add-custom-domain.html).
810
-
811
- The `signInUrl()` methods returns the fully qualified URL to the login page for the user pool. This page comes from the
812
- hosted UI configured with Cognito. Learn more at [Hosted UI with the Amazon Cognito
813
- Console](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-app-integration.html#cognito-user-pools-create-an-app-integration).
814
-
815
- ```ts
816
- const userpool = new cognito.UserPool(this, 'UserPool', {
817
- // ...
818
- });
819
- const client = userpool.addClient('Client', {
820
- // ...
821
- oAuth: {
822
- flows: {
823
- implicitCodeGrant: true,
824
- },
825
- callbackUrls: [
826
- 'https://myapp.com/home',
827
- 'https://myapp.com/users',
828
- ],
829
- },
830
- });
831
- const domain = userpool.addDomain('Domain', {
832
- // ...
833
- });
834
- const signInUrl = domain.signInUrl(client, {
835
- redirectUri: 'https://myapp.com/home', // must be a URL configured under 'callbackUrls' with the client
836
- });
837
- ```
838
-
839
- Existing domains can be imported into CDK apps using `UserPoolDomain.fromDomainName()` API
840
-
841
- ```ts
842
- const myUserPoolDomain = cognito.UserPoolDomain.fromDomainName(this, 'my-user-pool-domain', 'domain-name');
843
- ```