@epilot360/icons 0.0.1 → 0.0.2

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 (459) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +15 -0
  3. package/dist/bundle.js +2 -0
  4. package/dist/bundle.js.map +1 -0
  5. package/iac/node_modules/@balena/dockerignore/LICENSE.md +206 -0
  6. package/iac/node_modules/@balena/dockerignore/README.md +261 -0
  7. package/iac/node_modules/@cspotcode/source-map-support/LICENSE.md +21 -0
  8. package/iac/node_modules/@cspotcode/source-map-support/README.md +289 -0
  9. package/iac/node_modules/@jridgewell/resolve-uri/LICENSE +19 -0
  10. package/iac/node_modules/@jridgewell/resolve-uri/README.md +40 -0
  11. package/iac/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs.map +1 -0
  12. package/iac/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js.map +1 -0
  13. package/iac/node_modules/@jridgewell/sourcemap-codec/LICENSE +21 -0
  14. package/iac/node_modules/@jridgewell/sourcemap-codec/README.md +200 -0
  15. package/iac/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs.map +1 -0
  16. package/iac/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js.map +1 -0
  17. package/iac/node_modules/@jridgewell/trace-mapping/LICENSE +19 -0
  18. package/iac/node_modules/@jridgewell/trace-mapping/README.md +193 -0
  19. package/iac/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs.map +1 -0
  20. package/iac/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js.map +1 -0
  21. package/iac/node_modules/@tsconfig/node10/LICENSE +21 -0
  22. package/iac/node_modules/@tsconfig/node10/README.md +40 -0
  23. package/iac/node_modules/@tsconfig/node12/LICENSE +21 -0
  24. package/iac/node_modules/@tsconfig/node12/README.md +40 -0
  25. package/iac/node_modules/@tsconfig/node14/LICENSE +21 -0
  26. package/iac/node_modules/@tsconfig/node14/README.md +40 -0
  27. package/iac/node_modules/@tsconfig/node16/LICENSE +21 -0
  28. package/iac/node_modules/@tsconfig/node16/README.md +40 -0
  29. package/iac/node_modules/@types/jest/LICENSE +21 -0
  30. package/iac/node_modules/@types/jest/README.md +17 -0
  31. package/iac/node_modules/@types/node/LICENSE +21 -0
  32. package/iac/node_modules/@types/node/README.md +16 -0
  33. package/iac/node_modules/@types/prettier/LICENSE +21 -0
  34. package/iac/node_modules/@types/prettier/README.md +16 -0
  35. package/iac/node_modules/acorn/LICENSE +21 -0
  36. package/iac/node_modules/acorn/README.md +273 -0
  37. package/iac/node_modules/acorn-walk/LICENSE +21 -0
  38. package/iac/node_modules/acorn-walk/README.md +126 -0
  39. package/iac/node_modules/ansi-regex/license +9 -0
  40. package/iac/node_modules/ansi-regex/readme.md +78 -0
  41. package/iac/node_modules/ansi-styles/license +9 -0
  42. package/iac/node_modules/ansi-styles/readme.md +144 -0
  43. package/iac/node_modules/arg/LICENSE.md +21 -0
  44. package/iac/node_modules/arg/README.md +280 -0
  45. package/iac/node_modules/at-least-node/LICENSE +6 -0
  46. package/iac/node_modules/at-least-node/README.md +25 -0
  47. package/iac/node_modules/aws-cdk/LICENSE +201 -0
  48. package/iac/node_modules/aws-cdk/README.md +742 -0
  49. package/iac/node_modules/aws-cdk/lib/init-templates/LICENSE +16 -0
  50. package/iac/node_modules/aws-cdk/lib/init-templates/app/csharp/README.md +14 -0
  51. package/iac/node_modules/aws-cdk/lib/init-templates/app/fsharp/README.md +18 -0
  52. package/iac/node_modules/aws-cdk/lib/init-templates/app/go/README.md +12 -0
  53. package/iac/node_modules/aws-cdk/lib/init-templates/app/java/README.md +18 -0
  54. package/iac/node_modules/aws-cdk/lib/init-templates/app/javascript/README.md +12 -0
  55. package/iac/node_modules/aws-cdk/lib/init-templates/app/python/README.template.md +58 -0
  56. package/iac/node_modules/aws-cdk/lib/init-templates/app/typescript/README.md +14 -0
  57. package/iac/node_modules/aws-cdk/lib/init-templates/lib/typescript/README.template.md +12 -0
  58. package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/csharp/README.template.md +19 -0
  59. package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/fsharp/README.template.md +20 -0
  60. package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/go/README.md +12 -0
  61. package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/java/README.template.md +19 -0
  62. package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/javascript/README.template.md +13 -0
  63. package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/python/README.template.md +65 -0
  64. package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/typescript/README.template.md +15 -0
  65. package/iac/node_modules/aws-cdk/test/integ/cli/README.md +48 -0
  66. package/iac/node_modules/aws-cdk/test/integ/cli-regression-patches/README.md +54 -0
  67. package/iac/node_modules/aws-cdk-lib/LICENSE +201 -0
  68. package/iac/node_modules/aws-cdk-lib/README.md +1119 -0
  69. package/iac/node_modules/aws-cdk-lib/alexa-ask/README.md +27 -0
  70. package/iac/node_modules/aws-cdk-lib/assertions/README.md +571 -0
  71. package/iac/node_modules/aws-cdk-lib/assets/README.md +4 -0
  72. package/iac/node_modules/aws-cdk-lib/aws-accessanalyzer/README.md +27 -0
  73. package/iac/node_modules/aws-cdk-lib/aws-acmpca/README.md +59 -0
  74. package/iac/node_modules/aws-cdk-lib/aws-amazonmq/README.md +27 -0
  75. package/iac/node_modules/aws-cdk-lib/aws-amplify/README.md +32 -0
  76. package/iac/node_modules/aws-cdk-lib/aws-amplifyuibuilder/README.md +27 -0
  77. package/iac/node_modules/aws-cdk-lib/aws-apigateway/README.md +1335 -0
  78. package/iac/node_modules/aws-cdk-lib/aws-apigatewayv2/README.md +32 -0
  79. package/iac/node_modules/aws-cdk-lib/aws-appconfig/README.md +27 -0
  80. package/iac/node_modules/aws-cdk-lib/aws-appflow/README.md +27 -0
  81. package/iac/node_modules/aws-cdk-lib/aws-appintegrations/README.md +27 -0
  82. package/iac/node_modules/aws-cdk-lib/aws-applicationautoscaling/README.md +246 -0
  83. package/iac/node_modules/aws-cdk-lib/aws-applicationinsights/README.md +27 -0
  84. package/iac/node_modules/aws-cdk-lib/aws-appmesh/README.md +883 -0
  85. package/iac/node_modules/aws-cdk-lib/aws-apprunner/README.md +32 -0
  86. package/iac/node_modules/aws-cdk-lib/aws-appstream/README.md +27 -0
  87. package/iac/node_modules/aws-cdk-lib/aws-appsync/README.md +32 -0
  88. package/iac/node_modules/aws-cdk-lib/aws-aps/README.md +27 -0
  89. package/iac/node_modules/aws-cdk-lib/aws-athena/README.md +27 -0
  90. package/iac/node_modules/aws-cdk-lib/aws-auditmanager/README.md +27 -0
  91. package/iac/node_modules/aws-cdk-lib/aws-autoscaling/README.md +540 -0
  92. package/iac/node_modules/aws-cdk-lib/aws-autoscaling-common/README.md +8 -0
  93. package/iac/node_modules/aws-cdk-lib/aws-autoscaling-hooktargets/README.md +18 -0
  94. package/iac/node_modules/aws-cdk-lib/aws-autoscalingplans/README.md +27 -0
  95. package/iac/node_modules/aws-cdk-lib/aws-backup/README.md +210 -0
  96. package/iac/node_modules/aws-cdk-lib/aws-batch/README.md +32 -0
  97. package/iac/node_modules/aws-cdk-lib/aws-billingconductor/README.md +27 -0
  98. package/iac/node_modules/aws-cdk-lib/aws-budgets/README.md +27 -0
  99. package/iac/node_modules/aws-cdk-lib/aws-cassandra/README.md +27 -0
  100. package/iac/node_modules/aws-cdk-lib/aws-ce/README.md +27 -0
  101. package/iac/node_modules/aws-cdk-lib/aws-certificatemanager/README.md +166 -0
  102. package/iac/node_modules/aws-cdk-lib/aws-certificatemanager/lambda-packages/dns_validated_certificate_handler/README.md +2 -0
  103. package/iac/node_modules/aws-cdk-lib/aws-certificatemanager/suffixes/README.txt +8 -0
  104. package/iac/node_modules/aws-cdk-lib/aws-chatbot/README.md +44 -0
  105. package/iac/node_modules/aws-cdk-lib/aws-cloud9/README.md +32 -0
  106. package/iac/node_modules/aws-cdk-lib/aws-cloudformation/README.md +4 -0
  107. package/iac/node_modules/aws-cdk-lib/aws-cloudfront/README.md +973 -0
  108. package/iac/node_modules/aws-cdk-lib/aws-cloudfront-origins/README.md +126 -0
  109. package/iac/node_modules/aws-cdk-lib/aws-cloudtrail/README.md +189 -0
  110. package/iac/node_modules/aws-cdk-lib/aws-cloudwatch/README.md +579 -0
  111. package/iac/node_modules/aws-cdk-lib/aws-cloudwatch-actions/README.md +43 -0
  112. package/iac/node_modules/aws-cdk-lib/aws-codeartifact/README.md +27 -0
  113. package/iac/node_modules/aws-cdk-lib/aws-codebuild/README.md +759 -0
  114. package/iac/node_modules/aws-cdk-lib/aws-codecommit/README.md +85 -0
  115. package/iac/node_modules/aws-cdk-lib/aws-codedeploy/README.md +319 -0
  116. package/iac/node_modules/aws-cdk-lib/aws-codeguruprofiler/README.md +37 -0
  117. package/iac/node_modules/aws-cdk-lib/aws-codegurureviewer/README.md +27 -0
  118. package/iac/node_modules/aws-cdk-lib/aws-codepipeline/README.md +481 -0
  119. package/iac/node_modules/aws-cdk-lib/aws-codepipeline-actions/README.md +1203 -0
  120. package/iac/node_modules/aws-cdk-lib/aws-codestar/README.md +32 -0
  121. package/iac/node_modules/aws-cdk-lib/aws-codestarconnections/README.md +27 -0
  122. package/iac/node_modules/aws-cdk-lib/aws-codestarnotifications/README.md +68 -0
  123. package/iac/node_modules/aws-cdk-lib/aws-cognito/README.md +843 -0
  124. package/iac/node_modules/aws-cdk-lib/aws-config/README.md +218 -0
  125. package/iac/node_modules/aws-cdk-lib/aws-connect/README.md +27 -0
  126. package/iac/node_modules/aws-cdk-lib/aws-controltower/README.md +27 -0
  127. package/iac/node_modules/aws-cdk-lib/aws-cur/README.md +27 -0
  128. package/iac/node_modules/aws-cdk-lib/aws-customerprofiles/README.md +27 -0
  129. package/iac/node_modules/aws-cdk-lib/aws-databrew/README.md +27 -0
  130. package/iac/node_modules/aws-cdk-lib/aws-datapipeline/README.md +27 -0
  131. package/iac/node_modules/aws-cdk-lib/aws-datasync/README.md +27 -0
  132. package/iac/node_modules/aws-cdk-lib/aws-dax/README.md +27 -0
  133. package/iac/node_modules/aws-cdk-lib/aws-detective/README.md +27 -0
  134. package/iac/node_modules/aws-cdk-lib/aws-devopsguru/README.md +27 -0
  135. package/iac/node_modules/aws-cdk-lib/aws-directoryservice/README.md +27 -0
  136. package/iac/node_modules/aws-cdk-lib/aws-dlm/README.md +27 -0
  137. package/iac/node_modules/aws-cdk-lib/aws-dms/README.md +27 -0
  138. package/iac/node_modules/aws-cdk-lib/aws-docdb/README.md +153 -0
  139. package/iac/node_modules/aws-cdk-lib/aws-dynamodb/README.md +200 -0
  140. package/iac/node_modules/aws-cdk-lib/aws-ec2/README.md +1514 -0
  141. package/iac/node_modules/aws-cdk-lib/aws-ecr/README.md +110 -0
  142. package/iac/node_modules/aws-cdk-lib/aws-ecr-assets/README.md +167 -0
  143. package/iac/node_modules/aws-cdk-lib/aws-ecs/README.md +1225 -0
  144. package/iac/node_modules/aws-cdk-lib/aws-ecs-patterns/README.md +980 -0
  145. package/iac/node_modules/aws-cdk-lib/aws-efs/README.md +154 -0
  146. package/iac/node_modules/aws-cdk-lib/aws-eks/README.md +1450 -0
  147. package/iac/node_modules/aws-cdk-lib/aws-elasticache/README.md +27 -0
  148. package/iac/node_modules/aws-cdk-lib/aws-elasticbeanstalk/README.md +27 -0
  149. package/iac/node_modules/aws-cdk-lib/aws-elasticloadbalancing/README.md +40 -0
  150. package/iac/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2/README.md +569 -0
  151. package/iac/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-actions/README.md +68 -0
  152. package/iac/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-targets/README.md +4 -0
  153. package/iac/node_modules/aws-cdk-lib/aws-elasticsearch/README.md +441 -0
  154. package/iac/node_modules/aws-cdk-lib/aws-emr/README.md +27 -0
  155. package/iac/node_modules/aws-cdk-lib/aws-emrcontainers/README.md +27 -0
  156. package/iac/node_modules/aws-cdk-lib/aws-emrserverless/README.md +27 -0
  157. package/iac/node_modules/aws-cdk-lib/aws-events/README.md +249 -0
  158. package/iac/node_modules/aws-cdk-lib/aws-events-targets/README.md +339 -0
  159. package/iac/node_modules/aws-cdk-lib/aws-eventschemas/README.md +27 -0
  160. package/iac/node_modules/aws-cdk-lib/aws-evidently/README.md +27 -0
  161. package/iac/node_modules/aws-cdk-lib/aws-finspace/README.md +27 -0
  162. package/iac/node_modules/aws-cdk-lib/aws-fis/README.md +27 -0
  163. package/iac/node_modules/aws-cdk-lib/aws-fms/README.md +27 -0
  164. package/iac/node_modules/aws-cdk-lib/aws-forecast/README.md +27 -0
  165. package/iac/node_modules/aws-cdk-lib/aws-frauddetector/README.md +27 -0
  166. package/iac/node_modules/aws-cdk-lib/aws-fsx/README.md +200 -0
  167. package/iac/node_modules/aws-cdk-lib/aws-gamelift/README.md +27 -0
  168. package/iac/node_modules/aws-cdk-lib/aws-globalaccelerator/README.md +182 -0
  169. package/iac/node_modules/aws-cdk-lib/aws-globalaccelerator-endpoints/README.md +10 -0
  170. package/iac/node_modules/aws-cdk-lib/aws-glue/README.md +32 -0
  171. package/iac/node_modules/aws-cdk-lib/aws-greengrass/README.md +27 -0
  172. package/iac/node_modules/aws-cdk-lib/aws-greengrassv2/README.md +27 -0
  173. package/iac/node_modules/aws-cdk-lib/aws-groundstation/README.md +27 -0
  174. package/iac/node_modules/aws-cdk-lib/aws-guardduty/README.md +27 -0
  175. package/iac/node_modules/aws-cdk-lib/aws-healthlake/README.md +27 -0
  176. package/iac/node_modules/aws-cdk-lib/aws-iam/README.md +509 -0
  177. package/iac/node_modules/aws-cdk-lib/aws-imagebuilder/README.md +27 -0
  178. package/iac/node_modules/aws-cdk-lib/aws-inspector/README.md +27 -0
  179. package/iac/node_modules/aws-cdk-lib/aws-inspectorv2/README.md +27 -0
  180. package/iac/node_modules/aws-cdk-lib/aws-iot/README.md +32 -0
  181. package/iac/node_modules/aws-cdk-lib/aws-iot1click/README.md +27 -0
  182. package/iac/node_modules/aws-cdk-lib/aws-iotanalytics/README.md +27 -0
  183. package/iac/node_modules/aws-cdk-lib/aws-iotcoredeviceadvisor/README.md +27 -0
  184. package/iac/node_modules/aws-cdk-lib/aws-iotevents/README.md +32 -0
  185. package/iac/node_modules/aws-cdk-lib/aws-iotfleethub/README.md +27 -0
  186. package/iac/node_modules/aws-cdk-lib/aws-iotsitewise/README.md +27 -0
  187. package/iac/node_modules/aws-cdk-lib/aws-iotthingsgraph/README.md +27 -0
  188. package/iac/node_modules/aws-cdk-lib/aws-iottwinmaker/README.md +27 -0
  189. package/iac/node_modules/aws-cdk-lib/aws-iotwireless/README.md +27 -0
  190. package/iac/node_modules/aws-cdk-lib/aws-ivs/README.md +32 -0
  191. package/iac/node_modules/aws-cdk-lib/aws-kafkaconnect/README.md +27 -0
  192. package/iac/node_modules/aws-cdk-lib/aws-kendra/README.md +27 -0
  193. package/iac/node_modules/aws-cdk-lib/aws-kinesis/README.md +188 -0
  194. package/iac/node_modules/aws-cdk-lib/aws-kinesisanalytics/README.md +27 -0
  195. package/iac/node_modules/aws-cdk-lib/aws-kinesisanalyticsv2/README.md +27 -0
  196. package/iac/node_modules/aws-cdk-lib/aws-kinesisfirehose/README.md +32 -0
  197. package/iac/node_modules/aws-cdk-lib/aws-kinesisvideo/README.md +27 -0
  198. package/iac/node_modules/aws-cdk-lib/aws-kms/README.md +209 -0
  199. package/iac/node_modules/aws-cdk-lib/aws-lakeformation/README.md +27 -0
  200. package/iac/node_modules/aws-cdk-lib/aws-lambda/README.md +985 -0
  201. package/iac/node_modules/aws-cdk-lib/aws-lambda-destinations/README.md +147 -0
  202. package/iac/node_modules/aws-cdk-lib/aws-lambda-event-sources/README.md +281 -0
  203. package/iac/node_modules/aws-cdk-lib/aws-lambda-nodejs/README.md +317 -0
  204. package/iac/node_modules/aws-cdk-lib/aws-lex/README.md +27 -0
  205. package/iac/node_modules/aws-cdk-lib/aws-licensemanager/README.md +27 -0
  206. package/iac/node_modules/aws-cdk-lib/aws-lightsail/README.md +27 -0
  207. package/iac/node_modules/aws-cdk-lib/aws-location/README.md +27 -0
  208. package/iac/node_modules/aws-cdk-lib/aws-logs/README.md +322 -0
  209. package/iac/node_modules/aws-cdk-lib/aws-logs-destinations/README.md +7 -0
  210. package/iac/node_modules/aws-cdk-lib/aws-lookoutequipment/README.md +27 -0
  211. package/iac/node_modules/aws-cdk-lib/aws-lookoutmetrics/README.md +27 -0
  212. package/iac/node_modules/aws-cdk-lib/aws-lookoutvision/README.md +27 -0
  213. package/iac/node_modules/aws-cdk-lib/aws-m2/README.md +27 -0
  214. package/iac/node_modules/aws-cdk-lib/aws-macie/README.md +27 -0
  215. package/iac/node_modules/aws-cdk-lib/aws-managedblockchain/README.md +27 -0
  216. package/iac/node_modules/aws-cdk-lib/aws-mediaconnect/README.md +27 -0
  217. package/iac/node_modules/aws-cdk-lib/aws-mediaconvert/README.md +27 -0
  218. package/iac/node_modules/aws-cdk-lib/aws-medialive/README.md +27 -0
  219. package/iac/node_modules/aws-cdk-lib/aws-mediapackage/README.md +27 -0
  220. package/iac/node_modules/aws-cdk-lib/aws-mediastore/README.md +27 -0
  221. package/iac/node_modules/aws-cdk-lib/aws-mediatailor/README.md +27 -0
  222. package/iac/node_modules/aws-cdk-lib/aws-memorydb/README.md +27 -0
  223. package/iac/node_modules/aws-cdk-lib/aws-msk/README.md +32 -0
  224. package/iac/node_modules/aws-cdk-lib/aws-mwaa/README.md +27 -0
  225. package/iac/node_modules/aws-cdk-lib/aws-neptune/README.md +32 -0
  226. package/iac/node_modules/aws-cdk-lib/aws-networkfirewall/README.md +27 -0
  227. package/iac/node_modules/aws-cdk-lib/aws-networkmanager/README.md +27 -0
  228. package/iac/node_modules/aws-cdk-lib/aws-nimblestudio/README.md +27 -0
  229. package/iac/node_modules/aws-cdk-lib/aws-opensearchservice/README.md +378 -0
  230. package/iac/node_modules/aws-cdk-lib/aws-opsworks/README.md +27 -0
  231. package/iac/node_modules/aws-cdk-lib/aws-opsworkscm/README.md +27 -0
  232. package/iac/node_modules/aws-cdk-lib/aws-panorama/README.md +27 -0
  233. package/iac/node_modules/aws-cdk-lib/aws-personalize/README.md +27 -0
  234. package/iac/node_modules/aws-cdk-lib/aws-pinpoint/README.md +27 -0
  235. package/iac/node_modules/aws-cdk-lib/aws-pinpointemail/README.md +27 -0
  236. package/iac/node_modules/aws-cdk-lib/aws-qldb/README.md +27 -0
  237. package/iac/node_modules/aws-cdk-lib/aws-quicksight/README.md +27 -0
  238. package/iac/node_modules/aws-cdk-lib/aws-ram/README.md +27 -0
  239. package/iac/node_modules/aws-cdk-lib/aws-rds/README.md +704 -0
  240. package/iac/node_modules/aws-cdk-lib/aws-redshift/README.md +32 -0
  241. package/iac/node_modules/aws-cdk-lib/aws-redshiftserverless/README.md +27 -0
  242. package/iac/node_modules/aws-cdk-lib/aws-refactorspaces/README.md +27 -0
  243. package/iac/node_modules/aws-cdk-lib/aws-rekognition/README.md +27 -0
  244. package/iac/node_modules/aws-cdk-lib/aws-resiliencehub/README.md +27 -0
  245. package/iac/node_modules/aws-cdk-lib/aws-resourcegroups/README.md +27 -0
  246. package/iac/node_modules/aws-cdk-lib/aws-robomaker/README.md +27 -0
  247. package/iac/node_modules/aws-cdk-lib/aws-route53/README.md +281 -0
  248. package/iac/node_modules/aws-cdk-lib/aws-route53-patterns/README.md +45 -0
  249. package/iac/node_modules/aws-cdk-lib/aws-route53-targets/README.md +181 -0
  250. package/iac/node_modules/aws-cdk-lib/aws-route53recoverycontrol/README.md +27 -0
  251. package/iac/node_modules/aws-cdk-lib/aws-route53recoveryreadiness/README.md +27 -0
  252. package/iac/node_modules/aws-cdk-lib/aws-route53resolver/README.md +32 -0
  253. package/iac/node_modules/aws-cdk-lib/aws-rum/README.md +27 -0
  254. package/iac/node_modules/aws-cdk-lib/aws-s3/README.md +581 -0
  255. package/iac/node_modules/aws-cdk-lib/aws-s3-assets/README.md +179 -0
  256. package/iac/node_modules/aws-cdk-lib/aws-s3-deployment/README.md +349 -0
  257. package/iac/node_modules/aws-cdk-lib/aws-s3-notifications/README.md +46 -0
  258. package/iac/node_modules/aws-cdk-lib/aws-s3objectlambda/README.md +32 -0
  259. package/iac/node_modules/aws-cdk-lib/aws-s3outposts/README.md +27 -0
  260. package/iac/node_modules/aws-cdk-lib/aws-sagemaker/README.md +27 -0
  261. package/iac/node_modules/aws-cdk-lib/aws-sam/README.md +27 -0
  262. package/iac/node_modules/aws-cdk-lib/aws-sdb/README.md +27 -0
  263. package/iac/node_modules/aws-cdk-lib/aws-secretsmanager/README.md +285 -0
  264. package/iac/node_modules/aws-cdk-lib/aws-securityhub/README.md +27 -0
  265. package/iac/node_modules/aws-cdk-lib/aws-servicecatalog/README.md +491 -0
  266. package/iac/node_modules/aws-cdk-lib/aws-servicecatalogappregistry/README.md +32 -0
  267. package/iac/node_modules/aws-cdk-lib/aws-servicediscovery/README.md +45 -0
  268. package/iac/node_modules/aws-cdk-lib/aws-ses/README.md +194 -0
  269. package/iac/node_modules/aws-cdk-lib/aws-ses-actions/README.md +16 -0
  270. package/iac/node_modules/aws-cdk-lib/aws-signer/README.md +41 -0
  271. package/iac/node_modules/aws-cdk-lib/aws-sns/README.md +184 -0
  272. package/iac/node_modules/aws-cdk-lib/aws-sns-subscriptions/README.md +120 -0
  273. package/iac/node_modules/aws-cdk-lib/aws-sqs/README.md +57 -0
  274. package/iac/node_modules/aws-cdk-lib/aws-ssm/README.md +99 -0
  275. package/iac/node_modules/aws-cdk-lib/aws-ssmcontacts/README.md +27 -0
  276. package/iac/node_modules/aws-cdk-lib/aws-ssmincidents/README.md +27 -0
  277. package/iac/node_modules/aws-cdk-lib/aws-sso/README.md +27 -0
  278. package/iac/node_modules/aws-cdk-lib/aws-stepfunctions/README.md +884 -0
  279. package/iac/node_modules/aws-cdk-lib/aws-stepfunctions-tasks/README.md +1288 -0
  280. package/iac/node_modules/aws-cdk-lib/aws-supportapp/README.md +27 -0
  281. package/iac/node_modules/aws-cdk-lib/aws-synthetics/README.md +32 -0
  282. package/iac/node_modules/aws-cdk-lib/aws-timestream/README.md +27 -0
  283. package/iac/node_modules/aws-cdk-lib/aws-transfer/README.md +27 -0
  284. package/iac/node_modules/aws-cdk-lib/aws-voiceid/README.md +27 -0
  285. package/iac/node_modules/aws-cdk-lib/aws-waf/README.md +27 -0
  286. package/iac/node_modules/aws-cdk-lib/aws-wafregional/README.md +27 -0
  287. package/iac/node_modules/aws-cdk-lib/aws-wafv2/README.md +27 -0
  288. package/iac/node_modules/aws-cdk-lib/aws-wisdom/README.md +27 -0
  289. package/iac/node_modules/aws-cdk-lib/aws-workspaces/README.md +27 -0
  290. package/iac/node_modules/aws-cdk-lib/aws-xray/README.md +27 -0
  291. package/iac/node_modules/aws-cdk-lib/cloud-assembly-schema/README.md +55 -0
  292. package/iac/node_modules/aws-cdk-lib/cloud-assembly-schema/schema/README.md +5 -0
  293. package/iac/node_modules/aws-cdk-lib/cloudformation-include/README.md +466 -0
  294. package/iac/node_modules/aws-cdk-lib/core/README.md +1078 -0
  295. package/iac/node_modules/aws-cdk-lib/custom-resources/README.md +624 -0
  296. package/iac/node_modules/aws-cdk-lib/cx-api/README.md +98 -0
  297. package/iac/node_modules/aws-cdk-lib/lambda-layer-awscli/README.md +19 -0
  298. package/iac/node_modules/aws-cdk-lib/lambda-layer-kubectl/README.md +20 -0
  299. package/iac/node_modules/aws-cdk-lib/lambda-layer-node-proxy-agent/README.md +18 -0
  300. package/iac/node_modules/aws-cdk-lib/node_modules/@balena/dockerignore/LICENSE.md +206 -0
  301. package/iac/node_modules/aws-cdk-lib/node_modules/@balena/dockerignore/README.md +261 -0
  302. package/iac/node_modules/aws-cdk-lib/node_modules/at-least-node/LICENSE +6 -0
  303. package/iac/node_modules/aws-cdk-lib/node_modules/at-least-node/README.md +25 -0
  304. package/iac/node_modules/aws-cdk-lib/node_modules/balanced-match/LICENSE.md +21 -0
  305. package/iac/node_modules/aws-cdk-lib/node_modules/balanced-match/README.md +97 -0
  306. package/iac/node_modules/aws-cdk-lib/node_modules/brace-expansion/LICENSE +21 -0
  307. package/iac/node_modules/aws-cdk-lib/node_modules/brace-expansion/README.md +129 -0
  308. package/iac/node_modules/aws-cdk-lib/node_modules/case/LICENSE +22 -0
  309. package/iac/node_modules/aws-cdk-lib/node_modules/case/README.md +139 -0
  310. package/iac/node_modules/aws-cdk-lib/node_modules/case/dist/Case.min.js.map +1 -0
  311. package/iac/node_modules/aws-cdk-lib/node_modules/case/dist/Case.plus.min.js.map +1 -0
  312. package/iac/node_modules/aws-cdk-lib/node_modules/concat-map/LICENSE +18 -0
  313. package/iac/node_modules/aws-cdk-lib/node_modules/concat-map/README.markdown +62 -0
  314. package/iac/node_modules/aws-cdk-lib/node_modules/fs-extra/LICENSE +15 -0
  315. package/iac/node_modules/aws-cdk-lib/node_modules/fs-extra/README.md +264 -0
  316. package/iac/node_modules/aws-cdk-lib/node_modules/graceful-fs/LICENSE +15 -0
  317. package/iac/node_modules/aws-cdk-lib/node_modules/graceful-fs/README.md +143 -0
  318. package/iac/node_modules/aws-cdk-lib/node_modules/ignore/README.md +412 -0
  319. package/iac/node_modules/aws-cdk-lib/node_modules/jsonfile/LICENSE +15 -0
  320. package/iac/node_modules/aws-cdk-lib/node_modules/jsonfile/README.md +230 -0
  321. package/iac/node_modules/aws-cdk-lib/node_modules/jsonschema/LICENSE +21 -0
  322. package/iac/node_modules/aws-cdk-lib/node_modules/jsonschema/README.md +421 -0
  323. package/iac/node_modules/aws-cdk-lib/node_modules/lru-cache/LICENSE +15 -0
  324. package/iac/node_modules/aws-cdk-lib/node_modules/lru-cache/README.md +166 -0
  325. package/iac/node_modules/aws-cdk-lib/node_modules/minimatch/LICENSE +15 -0
  326. package/iac/node_modules/aws-cdk-lib/node_modules/minimatch/README.md +230 -0
  327. package/iac/node_modules/aws-cdk-lib/node_modules/punycode/README.md +122 -0
  328. package/iac/node_modules/aws-cdk-lib/node_modules/semver/LICENSE +15 -0
  329. package/iac/node_modules/aws-cdk-lib/node_modules/semver/README.md +568 -0
  330. package/iac/node_modules/aws-cdk-lib/node_modules/universalify/LICENSE +20 -0
  331. package/iac/node_modules/aws-cdk-lib/node_modules/universalify/README.md +76 -0
  332. package/iac/node_modules/aws-cdk-lib/node_modules/yallist/LICENSE +15 -0
  333. package/iac/node_modules/aws-cdk-lib/node_modules/yallist/README.md +204 -0
  334. package/iac/node_modules/aws-cdk-lib/node_modules/yaml/LICENSE +13 -0
  335. package/iac/node_modules/aws-cdk-lib/node_modules/yaml/README.md +127 -0
  336. package/iac/node_modules/aws-cdk-lib/pipelines/README.md +1573 -0
  337. package/iac/node_modules/aws-cdk-lib/region-info/README.md +84 -0
  338. package/iac/node_modules/aws-cdk-lib/triggers/README.md +86 -0
  339. package/iac/node_modules/balanced-match/LICENSE.md +21 -0
  340. package/iac/node_modules/balanced-match/README.md +97 -0
  341. package/iac/node_modules/brace-expansion/LICENSE +21 -0
  342. package/iac/node_modules/brace-expansion/README.md +129 -0
  343. package/iac/node_modules/buffer-from/LICENSE +21 -0
  344. package/iac/node_modules/buffer-from/readme.md +69 -0
  345. package/iac/node_modules/case/LICENSE +22 -0
  346. package/iac/node_modules/case/README.md +139 -0
  347. package/iac/node_modules/case/dist/Case.min.js.map +1 -0
  348. package/iac/node_modules/case/dist/Case.plus.min.js.map +1 -0
  349. package/iac/node_modules/chalk/license +9 -0
  350. package/iac/node_modules/chalk/node_modules/ansi-styles/license +9 -0
  351. package/iac/node_modules/chalk/node_modules/ansi-styles/readme.md +152 -0
  352. package/iac/node_modules/chalk/readme.md +341 -0
  353. package/iac/node_modules/color-convert/LICENSE +21 -0
  354. package/iac/node_modules/color-convert/README.md +68 -0
  355. package/iac/node_modules/color-name/LICENSE +8 -0
  356. package/iac/node_modules/color-name/README.md +11 -0
  357. package/iac/node_modules/concat-map/LICENSE +18 -0
  358. package/iac/node_modules/concat-map/README.markdown +62 -0
  359. package/iac/node_modules/constructs/LICENSE +202 -0
  360. package/iac/node_modules/constructs/README.md +28 -0
  361. package/iac/node_modules/create-require/LICENSE +25 -0
  362. package/iac/node_modules/create-require/README.md +46 -0
  363. package/iac/node_modules/diff/LICENSE +31 -0
  364. package/iac/node_modules/diff/README.md +207 -0
  365. package/iac/node_modules/diff-sequences/LICENSE +21 -0
  366. package/iac/node_modules/diff-sequences/README.md +404 -0
  367. package/iac/node_modules/fs-extra/LICENSE +15 -0
  368. package/iac/node_modules/fs-extra/README.md +264 -0
  369. package/iac/node_modules/fsevents/LICENSE +22 -0
  370. package/iac/node_modules/fsevents/README.md +83 -0
  371. package/iac/node_modules/graceful-fs/LICENSE +15 -0
  372. package/iac/node_modules/graceful-fs/README.md +143 -0
  373. package/iac/node_modules/has-flag/license +9 -0
  374. package/iac/node_modules/has-flag/readme.md +89 -0
  375. package/iac/node_modules/ignore/README.md +412 -0
  376. package/iac/node_modules/jest-diff/LICENSE +21 -0
  377. package/iac/node_modules/jest-diff/README.md +671 -0
  378. package/iac/node_modules/jest-get-type/LICENSE +21 -0
  379. package/iac/node_modules/jest-matcher-utils/LICENSE +21 -0
  380. package/iac/node_modules/jest-matcher-utils/README.md +24 -0
  381. package/iac/node_modules/jsonfile/LICENSE +15 -0
  382. package/iac/node_modules/jsonfile/README.md +230 -0
  383. package/iac/node_modules/jsonschema/LICENSE +21 -0
  384. package/iac/node_modules/jsonschema/README.md +421 -0
  385. package/iac/node_modules/lru-cache/LICENSE +15 -0
  386. package/iac/node_modules/lru-cache/README.md +166 -0
  387. package/iac/node_modules/make-error/LICENSE +5 -0
  388. package/iac/node_modules/make-error/README.md +112 -0
  389. package/iac/node_modules/minimatch/LICENSE +15 -0
  390. package/iac/node_modules/minimatch/README.md +230 -0
  391. package/iac/node_modules/pretty-format/LICENSE +21 -0
  392. package/iac/node_modules/pretty-format/README.md +458 -0
  393. package/iac/node_modules/punycode/README.md +122 -0
  394. package/iac/node_modules/react-is/LICENSE +21 -0
  395. package/iac/node_modules/react-is/README.md +104 -0
  396. package/iac/node_modules/semver/LICENSE +15 -0
  397. package/iac/node_modules/semver/README.md +568 -0
  398. package/iac/node_modules/source-map/LICENSE +28 -0
  399. package/iac/node_modules/source-map/README.md +742 -0
  400. package/iac/node_modules/source-map/dist/source-map.min.js.map +1 -0
  401. package/iac/node_modules/source-map-support/LICENSE.md +21 -0
  402. package/iac/node_modules/source-map-support/README.md +284 -0
  403. package/iac/node_modules/supports-color/license +9 -0
  404. package/iac/node_modules/supports-color/readme.md +76 -0
  405. package/iac/node_modules/ts-node/LICENSE +21 -0
  406. package/iac/node_modules/ts-node/README.md +1442 -0
  407. package/iac/node_modules/ts-node/dist/bin-cwd.js.map +1 -0
  408. package/iac/node_modules/ts-node/dist/bin-esm.js.map +1 -0
  409. package/iac/node_modules/ts-node/dist/bin-script-deprecated.js.map +1 -0
  410. package/iac/node_modules/ts-node/dist/bin-script.js.map +1 -0
  411. package/iac/node_modules/ts-node/dist/bin-transpile.js.map +1 -0
  412. package/iac/node_modules/ts-node/dist/bin.js.map +1 -0
  413. package/iac/node_modules/ts-node/dist/child/argv-payload.js.map +1 -0
  414. package/iac/node_modules/ts-node/dist/child/child-entrypoint.js.map +1 -0
  415. package/iac/node_modules/ts-node/dist/child/child-loader.js.map +1 -0
  416. package/iac/node_modules/ts-node/dist/child/child-require.js.map +1 -0
  417. package/iac/node_modules/ts-node/dist/child/spawn-child.js.map +1 -0
  418. package/iac/node_modules/ts-node/dist/cjs-resolve-hooks.js.map +1 -0
  419. package/iac/node_modules/ts-node/dist/configuration.js.map +1 -0
  420. package/iac/node_modules/ts-node/dist/esm.js.map +1 -0
  421. package/iac/node_modules/ts-node/dist/file-extensions.js.map +1 -0
  422. package/iac/node_modules/ts-node/dist/index.js.map +1 -0
  423. package/iac/node_modules/ts-node/dist/module-type-classifier.js.map +1 -0
  424. package/iac/node_modules/ts-node/dist/node-module-type-classifier.js.map +1 -0
  425. package/iac/node_modules/ts-node/dist/repl.js.map +1 -0
  426. package/iac/node_modules/ts-node/dist/resolver-functions.js.map +1 -0
  427. package/iac/node_modules/ts-node/dist/transpilers/swc.js.map +1 -0
  428. package/iac/node_modules/ts-node/dist/transpilers/types.js.map +1 -0
  429. package/iac/node_modules/ts-node/dist/ts-compiler-types.js.map +1 -0
  430. package/iac/node_modules/ts-node/dist/ts-internals.js.map +1 -0
  431. package/iac/node_modules/ts-node/dist/ts-transpile-module.js.map +1 -0
  432. package/iac/node_modules/ts-node/dist/tsconfig-schema.js.map +1 -0
  433. package/iac/node_modules/ts-node/dist/tsconfigs.js.map +1 -0
  434. package/iac/node_modules/ts-node/dist/util.js.map +1 -0
  435. package/iac/node_modules/ts-node/dist-raw/README.md +36 -0
  436. package/iac/node_modules/typescript/LICENSE.txt +55 -0
  437. package/iac/node_modules/typescript/README.md +104 -0
  438. package/iac/node_modules/typescript/lib/README.md +5 -0
  439. package/iac/node_modules/universalify/LICENSE +20 -0
  440. package/iac/node_modules/universalify/README.md +76 -0
  441. package/iac/node_modules/v8-compile-cache-lib/LICENSE +21 -0
  442. package/iac/node_modules/v8-compile-cache-lib/README.md +60 -0
  443. package/iac/node_modules/yallist/LICENSE +15 -0
  444. package/iac/node_modules/yallist/README.md +204 -0
  445. package/iac/node_modules/yaml/LICENSE +13 -0
  446. package/iac/node_modules/yaml/README.md +127 -0
  447. package/iac/node_modules/yn/license +9 -0
  448. package/iac/node_modules/yn/readme.md +83 -0
  449. package/index.d.ts +1 -0
  450. package/index.js +18 -0
  451. package/index.js.map +1 -0
  452. package/package.json +26 -5
  453. package/react/Edit.d.ts +3 -0
  454. package/react/Edit.js +10 -0
  455. package/react/Edit.js.map +1 -0
  456. package/react/index.d.ts +1 -0
  457. package/react/index.js +18 -0
  458. package/react/index.js.map +1 -0
  459. package/src/material-symbols.d.ts +4 -0
@@ -0,0 +1,249 @@
1
+ # Amazon EventBridge Construct Library
2
+
3
+
4
+ Amazon EventBridge delivers a near real-time stream of system events that
5
+ describe changes in AWS resources. For example, an AWS CodePipeline emits the
6
+ [State
7
+ Change](https://docs.aws.amazon.com/eventbridge/latest/userguide/event-types.html#codepipeline-event-type)
8
+ event when the pipeline changes its state.
9
+
10
+ * __Events__: An event indicates a change in your AWS environment. AWS resources
11
+ can generate events when their state changes. For example, Amazon EC2
12
+ generates an event when the state of an EC2 instance changes from pending to
13
+ running, and Amazon EC2 Auto Scaling generates events when it launches or
14
+ terminates instances. AWS CloudTrail publishes events when you make API calls.
15
+ You can generate custom application-level events and publish them to
16
+ EventBridge. You can also set up scheduled events that are generated on
17
+ a periodic basis. For a list of services that generate events, and sample
18
+ events from each service, see [EventBridge Event Examples From Each
19
+ Supported
20
+ Service](https://docs.aws.amazon.com/eventbridge/latest/userguide/event-types.html).
21
+ * __Targets__: A target processes events. Targets can include Amazon EC2
22
+ instances, AWS Lambda functions, Kinesis streams, Amazon ECS tasks, Step
23
+ Functions state machines, Amazon SNS topics, Amazon SQS queues, Amazon CloudWatch LogGroups, and built-in
24
+ targets. A target receives events in JSON format.
25
+ * __Rules__: A rule matches incoming events and routes them to targets for
26
+ processing. A single rule can route to multiple targets, all of which are
27
+ processed in parallel. Rules are not processed in a particular order. This
28
+ enables different parts of an organization to look for and process the events
29
+ that are of interest to them. A rule can customize the JSON sent to the
30
+ target, by passing only certain parts or by overwriting it with a constant.
31
+ * __EventBuses__: An event bus can receive events from your own custom applications
32
+ or it can receive events from applications and services created by AWS SaaS partners.
33
+ See [Creating an Event Bus](https://docs.aws.amazon.com/eventbridge/latest/userguide/create-event-bus.html).
34
+
35
+ ## Rule
36
+
37
+ The `Rule` construct defines an EventBridge rule which monitors an
38
+ event based on an [event
39
+ pattern](https://docs.aws.amazon.com/eventbridge/latest/userguide/filtering-examples-structure.html)
40
+ and invoke __event targets__ when the pattern is matched against a triggered
41
+ event. Event targets are objects that implement the `IRuleTarget` interface.
42
+
43
+ Normally, you will use one of the `source.onXxx(name[, target[, options]]) ->
44
+ Rule` methods on the event source to define an event rule associated with
45
+ the specific activity. You can targets either via props, or add targets using
46
+ `rule.addTarget`.
47
+
48
+ For example, to define an rule that triggers a CodeBuild project build when a
49
+ commit is pushed to the "master" branch of a CodeCommit repository:
50
+
51
+ ```ts
52
+ declare const repo: codecommit.Repository;
53
+ declare const project: codebuild.Project;
54
+
55
+ const onCommitRule = repo.onCommit('OnCommit', {
56
+ target: new targets.CodeBuildProject(project),
57
+ branches: ['master']
58
+ });
59
+ ```
60
+
61
+ You can add additional targets, with optional [input
62
+ transformer](https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_InputTransformer.html)
63
+ using `eventRule.addTarget(target[, input])`. For example, we can add a SNS
64
+ topic target which formats a human-readable message for the commit.
65
+
66
+ For example, this adds an SNS topic as a target:
67
+
68
+ ```ts
69
+ declare const onCommitRule: events.Rule;
70
+ declare const topic: sns.Topic;
71
+
72
+ onCommitRule.addTarget(new targets.SnsTopic(topic, {
73
+ message: events.RuleTargetInput.fromText(
74
+ `A commit was pushed to the repository ${codecommit.ReferenceEvent.repositoryName} on branch ${codecommit.ReferenceEvent.referenceName}`
75
+ )
76
+ }));
77
+ ```
78
+
79
+ Or using an Object:
80
+
81
+ ```ts
82
+ declare const onCommitRule: events.Rule;
83
+ declare const topic: sns.Topic;
84
+
85
+ onCommitRule.addTarget(new targets.SnsTopic(topic, {
86
+ message: events.RuleTargetInput.fromObject(
87
+ {
88
+ DataType: `custom_${events.EventField.fromPath('$.detail-type')}`
89
+ }
90
+ )
91
+ }));
92
+ ```
93
+
94
+ To define a pattern, use the matcher API, which provides a number of factory methods to declare different logical predicates. For example, to match all S3 events for objects larger than 1024 bytes, stored using one of the storage classes Glacier, Glacier IR or Deep Archive and coming from any region other than the AWS GovCloud ones:
95
+
96
+ ```ts
97
+ const rule = new events.Rule(this, 'rule', {
98
+ eventPattern: {
99
+ detail: {
100
+ object: {
101
+ // Matchers may appear at any level
102
+ size: events.Match.greaterThan(1024),
103
+ },
104
+
105
+ // 'OR' condition
106
+ 'source-storage-class': events.Match.anyOf(
107
+ events.Match.prefix("GLACIER"),
108
+ events.Match.exactString('DEEP_ARCHIVE'),
109
+ ),
110
+ },
111
+
112
+ // If you prefer, you can use a low level array of strings, as directly consumed by EventBridge
113
+ source: ['aws.s3'],
114
+
115
+ region: events.Match.anythingButPrefix('us-gov'),
116
+ },
117
+ });
118
+ ```
119
+
120
+ ## Scheduling
121
+
122
+ You can configure a Rule to run on a schedule (cron or rate).
123
+ Rate must be specified in minutes, hours or days.
124
+
125
+ The following example runs a task every day at 4am:
126
+
127
+ ```ts fixture=basic
128
+ import { Rule, Schedule } from 'aws-cdk-lib/aws-events';
129
+ import { EcsTask } from 'aws-cdk-lib/aws-events-targets';
130
+ import { Cluster, TaskDefinition } from 'aws-cdk-lib/aws-ecs';
131
+ import { Role } from 'aws-cdk-lib/aws-iam';
132
+
133
+ declare const cluster: Cluster;
134
+ declare const taskDefinition: TaskDefinition;
135
+ declare const role: Role;
136
+
137
+ const ecsTaskTarget = new EcsTask({ cluster, taskDefinition, role });
138
+
139
+ new Rule(this, 'ScheduleRule', {
140
+ schedule: Schedule.cron({ minute: '0', hour: '4' }),
141
+ targets: [ecsTaskTarget],
142
+ });
143
+ ```
144
+
145
+ If you want to specify Fargate platform version, set `platformVersion` in EcsTask's props like the following example:
146
+
147
+ ```ts
148
+ declare const cluster: ecs.Cluster;
149
+ declare const taskDefinition: ecs.TaskDefinition;
150
+ declare const role: iam.Role;
151
+
152
+ const platformVersion = ecs.FargatePlatformVersion.VERSION1_4;
153
+ const ecsTaskTarget = new targets.EcsTask({ cluster, taskDefinition, role, platformVersion });
154
+ ```
155
+
156
+ ## Event Targets
157
+
158
+ The `@aws-cdk/aws-events-targets` module includes classes that implement the `IRuleTarget`
159
+ interface for various AWS services.
160
+
161
+ The following targets are supported:
162
+
163
+ * `targets.CodeBuildProject`: Start an AWS CodeBuild build
164
+ * `targets.CodePipeline`: Start an AWS CodePipeline pipeline execution
165
+ * `targets.EcsTask`: Start a task on an Amazon ECS cluster
166
+ * `targets.LambdaFunction`: Invoke an AWS Lambda function
167
+ * `targets.SnsTopic`: Publish into an SNS topic
168
+ * `targets.SqsQueue`: Send a message to an Amazon SQS Queue
169
+ * `targets.SfnStateMachine`: Trigger an AWS Step Functions state machine
170
+ * `targets.BatchJob`: Queue an AWS Batch Job
171
+ * `targets.AwsApi`: Make an AWS API call
172
+ * `targets.ApiGateway`: Invoke an AWS API Gateway
173
+ * `targets.ApiDestination`: Make an call to an external destination
174
+
175
+ ### Cross-account and cross-region targets
176
+
177
+ It's possible to have the source of the event and a target in separate AWS accounts and regions:
178
+
179
+ ```ts nofixture
180
+ import { App, Stack } from 'aws-cdk-lib';
181
+ import * as codebuild from 'aws-cdk-lib/aws-codebuild';
182
+ import * as codecommit from 'aws-cdk-lib/aws-codecommit';
183
+ import * as targets from 'aws-cdk-lib/aws-events-targets';
184
+
185
+ const app = new App();
186
+
187
+ const account1 = '11111111111';
188
+ const account2 = '22222222222';
189
+
190
+ const stack1 = new Stack(app, 'Stack1', { env: { account: account1, region: 'us-west-1' } });
191
+ const repo = new codecommit.Repository(stack1, 'Repository', {
192
+ repositoryName: 'myrepository',
193
+ });
194
+
195
+ const stack2 = new Stack(app, 'Stack2', { env: { account: account2, region: 'us-east-1' } });
196
+ const project = new codebuild.Project(stack2, 'Project', {
197
+ // ...
198
+ });
199
+
200
+ repo.onCommit('OnCommit', {
201
+ target: new targets.CodeBuildProject(project),
202
+ });
203
+ ```
204
+
205
+ In this situation, the CDK will wire the 2 accounts together:
206
+
207
+ * It will generate a rule in the source stack with the event bus of the target account as the target
208
+ * It will generate a rule in the target stack, with the provided target
209
+ * It will generate a separate stack that gives the source account permissions to publish events
210
+ to the event bus of the target account in the given region,
211
+ and make sure its deployed before the source stack
212
+
213
+ For more information, see the
214
+ [AWS documentation on cross-account events](https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-cross-account-event-delivery.html).
215
+
216
+ ## Archiving
217
+
218
+ It is possible to archive all or some events sent to an event bus. It is then possible to [replay these events](https://aws.amazon.com/blogs/aws/new-archive-and-replay-events-with-amazon-eventbridge/).
219
+
220
+ ```ts
221
+ const bus = new events.EventBus(this, 'bus', {
222
+ eventBusName: 'MyCustomEventBus'
223
+ });
224
+
225
+ bus.archive('MyArchive', {
226
+ archiveName: 'MyCustomEventBusArchive',
227
+ description: 'MyCustomerEventBus Archive',
228
+ eventPattern: {
229
+ account: [Stack.of(this).account],
230
+ },
231
+ retention: Duration.days(365),
232
+ });
233
+ ```
234
+
235
+ ## Granting PutEvents to an existing EventBus
236
+
237
+ To import an existing EventBus into your CDK application, use `EventBus.fromEventBusArn`, `EventBus.fromEventBusAttributes`
238
+ or `EventBus.fromEventBusName` factory method.
239
+
240
+ Then, you can use the `grantPutEventsTo` method to grant `event:PutEvents` to the eventBus.
241
+
242
+ ```ts
243
+ declare const lambdaFunction: lambda.Function;
244
+
245
+ const eventBus = events.EventBus.fromEventBusArn(this, 'ImportedEventBus', 'arn:aws:events:us-east-1:111111111:event-bus/my-event-bus');
246
+
247
+ // now you can just call methods on the eventbus
248
+ eventBus.grantPutEventsTo(lambdaFunction);
249
+ ```
@@ -0,0 +1,339 @@
1
+ # Event Targets for Amazon EventBridge
2
+
3
+
4
+ This library contains integration classes to send Amazon EventBridge to any
5
+ number of supported AWS Services. Instances of these classes should be passed
6
+ to the `rule.addTarget()` method.
7
+
8
+ Currently supported are:
9
+
10
+ * [Start a CodeBuild build](#start-a-codebuild-build)
11
+ * [Start a CodePipeline pipeline](#start-a-codepipeline-pipeline)
12
+ * Run an ECS task
13
+ * [Invoke a Lambda function](#invoke-a-lambda-function)
14
+ * [Invoke a API Gateway REST API](#invoke-an-api-gateway-rest-api)
15
+ * Publish a message to an SNS topic
16
+ * Send a message to an SQS queue
17
+ * [Start a StepFunctions state machine](#start-a-stepfunctions-state-machine)
18
+ * [Queue a Batch job](#queue-a-batch-job)
19
+ * Make an AWS API call
20
+ * Put a record to a Kinesis stream
21
+ * [Log an event into a LogGroup](#log-an-event-into-a-loggroup)
22
+ * Put a record to a Kinesis Data Firehose stream
23
+ * [Put an event on an EventBridge bus](#put-an-event-on-an-eventbridge-bus)
24
+ * [Send an event to EventBridge API Destination](#invoke-an-api-destination)
25
+
26
+ See the README of the `@aws-cdk/aws-events` library for more information on
27
+ EventBridge.
28
+
29
+ ## Event retry policy and using dead-letter queues
30
+
31
+ The Codebuild, CodePipeline, Lambda, StepFunctions, LogGroup, SQSQueue, SNSTopic and ECSTask targets support attaching a [dead letter queue and setting retry policies](https://docs.aws.amazon.com/eventbridge/latest/userguide/rule-dlq.html). See the [lambda example](#invoke-a-lambda-function).
32
+ Use [escape hatches](https://docs.aws.amazon.com/cdk/latest/guide/cfn_layer.html) for the other target types.
33
+
34
+ ## Invoke a Lambda function
35
+
36
+ Use the `LambdaFunction` target to invoke a lambda function.
37
+
38
+ The code snippet below creates an event rule with a Lambda function as a target
39
+ triggered for every events from `aws.ec2` source. You can optionally attach a
40
+ [dead letter queue](https://docs.aws.amazon.com/eventbridge/latest/userguide/rule-dlq.html).
41
+
42
+ ```ts
43
+ import * as lambda from 'aws-cdk-lib/aws-lambda';
44
+
45
+ const fn = new lambda.Function(this, 'MyFunc', {
46
+ runtime: lambda.Runtime.NODEJS_14_X,
47
+ handler: 'index.handler',
48
+ code: lambda.Code.fromInline(`exports.handler = handler.toString()`),
49
+ });
50
+
51
+ const rule = new events.Rule(this, 'rule', {
52
+ eventPattern: {
53
+ source: ["aws.ec2"],
54
+ },
55
+ });
56
+
57
+ const queue = new sqs.Queue(this, 'Queue');
58
+
59
+ rule.addTarget(new targets.LambdaFunction(fn, {
60
+ deadLetterQueue: queue, // Optional: add a dead letter queue
61
+ maxEventAge: cdk.Duration.hours(2), // Optional: set the maxEventAge retry policy
62
+ retryAttempts: 2, // Optional: set the max number of retry attempts
63
+ }));
64
+ ```
65
+
66
+ ## Log an event into a LogGroup
67
+
68
+ Use the `LogGroup` target to log your events in a CloudWatch LogGroup.
69
+
70
+ For example, the following code snippet creates an event rule with a CloudWatch LogGroup as a target.
71
+ Every events sent from the `aws.ec2` source will be sent to the CloudWatch LogGroup.
72
+
73
+ ```ts
74
+ import * as logs from 'aws-cdk-lib/aws-logs';
75
+
76
+ const logGroup = new logs.LogGroup(this, 'MyLogGroup', {
77
+ logGroupName: 'MyLogGroup',
78
+ });
79
+
80
+ const rule = new events.Rule(this, 'rule', {
81
+ eventPattern: {
82
+ source: ["aws.ec2"],
83
+ },
84
+ });
85
+
86
+ rule.addTarget(new targets.CloudWatchLogGroup(logGroup));
87
+ ```
88
+
89
+ A rule target input can also be specified to modify the event that is sent to the log group.
90
+ Unlike other event targets, CloudWatchLogs requires a specific input template format.
91
+
92
+ ```ts
93
+ import * as logs from 'aws-cdk-lib/aws-logs';
94
+ declare const logGroup: logs.LogGroup;
95
+ declare const rule: events.Rule;
96
+
97
+ rule.addTarget(new targets.CloudWatchLogGroup(logGroup, {
98
+ logEvent: targets.LogGroupTargetInput({
99
+ timestamp: events.EventField.from('$.time'),
100
+ message: events.EventField.from('$.detail-type'),
101
+ }),
102
+ }));
103
+ ```
104
+
105
+ If you want to use static values to overwrite the `message` make sure that you provide a `string`
106
+ value.
107
+
108
+ ```ts
109
+ import * as logs from 'aws-cdk-lib/aws-logs';
110
+ declare const logGroup: logs.LogGroup;
111
+ declare const rule: events.Rule;
112
+
113
+ rule.addTarget(new targets.CloudWatchLogGroup(logGroup, {
114
+ logEvent: targets.LogGroupTargetInput({
115
+ message: JSON.stringify({
116
+ CustomField: 'CustomValue',
117
+ }),
118
+ }),
119
+ }));
120
+ ```
121
+
122
+ ## Start a CodeBuild build
123
+
124
+ Use the `CodeBuildProject` target to trigger a CodeBuild project.
125
+
126
+ The code snippet below creates a CodeCommit repository that triggers a CodeBuild project
127
+ on commit to the master branch. You can optionally attach a
128
+ [dead letter queue](https://docs.aws.amazon.com/eventbridge/latest/userguide/rule-dlq.html).
129
+
130
+ ```ts
131
+ import * as codebuild from 'aws-cdk-lib/aws-codebuild';
132
+ import * as codecommit from 'aws-cdk-lib/aws-codecommit';
133
+
134
+ const repo = new codecommit.Repository(this, 'MyRepo', {
135
+ repositoryName: 'aws-cdk-codebuild-events',
136
+ });
137
+
138
+ const project = new codebuild.Project(this, 'MyProject', {
139
+ source: codebuild.Source.codeCommit({ repository: repo }),
140
+ });
141
+
142
+ const deadLetterQueue = new sqs.Queue(this, 'DeadLetterQueue');
143
+
144
+ // trigger a build when a commit is pushed to the repo
145
+ const onCommitRule = repo.onCommit('OnCommit', {
146
+ target: new targets.CodeBuildProject(project, {
147
+ deadLetterQueue: deadLetterQueue,
148
+ }),
149
+ branches: ['master'],
150
+ });
151
+ ```
152
+
153
+ ## Start a CodePipeline pipeline
154
+
155
+ Use the `CodePipeline` target to trigger a CodePipeline pipeline.
156
+
157
+ The code snippet below creates a CodePipeline pipeline that is triggered every hour
158
+
159
+ ```ts
160
+ import * as codepipeline from 'aws-cdk-lib/aws-codepipeline';
161
+
162
+ const pipeline = new codepipeline.Pipeline(this, 'Pipeline');
163
+
164
+ const rule = new events.Rule(this, 'Rule', {
165
+ schedule: events.Schedule.expression('rate(1 hour)'),
166
+ });
167
+
168
+ rule.addTarget(new targets.CodePipeline(pipeline));
169
+ ```
170
+
171
+ ## Start a StepFunctions state machine
172
+
173
+ Use the `SfnStateMachine` target to trigger a State Machine.
174
+
175
+ The code snippet below creates a Simple StateMachine that is triggered every minute with a
176
+ dummy object as input.
177
+ You can optionally attach a
178
+ [dead letter queue](https://docs.aws.amazon.com/eventbridge/latest/userguide/rule-dlq.html)
179
+ to the target.
180
+
181
+ ```ts
182
+ import * as iam from 'aws-cdk-lib/aws-iam';
183
+ import * as sfn from 'aws-cdk-lib/aws-stepfunctions';
184
+
185
+ const rule = new events.Rule(this, 'Rule', {
186
+ schedule: events.Schedule.rate(cdk.Duration.minutes(1)),
187
+ });
188
+
189
+ const dlq = new sqs.Queue(this, 'DeadLetterQueue');
190
+
191
+ const role = new iam.Role(this, 'Role', {
192
+ assumedBy: new iam.ServicePrincipal('events.amazonaws.com'),
193
+ });
194
+ const stateMachine = new sfn.StateMachine(this, 'SM', {
195
+ definition: new sfn.Wait(this, 'Hello', { time: sfn.WaitTime.duration(cdk.Duration.seconds(10)) })
196
+ });
197
+
198
+ rule.addTarget(new targets.SfnStateMachine(stateMachine, {
199
+ input: events.RuleTargetInput.fromObject({ SomeParam: 'SomeValue' }),
200
+ deadLetterQueue: dlq,
201
+ role: role
202
+ }));
203
+ ```
204
+
205
+ ## Queue a Batch job
206
+
207
+ Use the `BatchJob` target to queue a Batch job.
208
+
209
+ The code snippet below creates a Simple JobQueue that is triggered every hour with a
210
+ dummy object as input.
211
+ You can optionally attach a
212
+ [dead letter queue](https://docs.aws.amazon.com/eventbridge/latest/userguide/rule-dlq.html)
213
+ to the target.
214
+
215
+ ```ts
216
+ import * as batch from 'aws-cdk-lib/aws-batch';
217
+ import { ContainerImage } from 'aws-cdk-lib/aws-ecs';
218
+
219
+ const jobQueue = new batch.JobQueue(this, 'MyQueue', {
220
+ computeEnvironments: [
221
+ {
222
+ computeEnvironment: new batch.ComputeEnvironment(this, 'ComputeEnvironment', {
223
+ managed: false,
224
+ }),
225
+ order: 1,
226
+ },
227
+ ],
228
+ });
229
+
230
+ const jobDefinition = new batch.JobDefinition(this, 'MyJob', {
231
+ container: {
232
+ image: ContainerImage.fromRegistry('test-repo'),
233
+ },
234
+ });
235
+
236
+ const queue = new sqs.Queue(this, 'Queue');
237
+
238
+ const rule = new events.Rule(this, 'Rule', {
239
+ schedule: events.Schedule.rate(cdk.Duration.hours(1)),
240
+ });
241
+
242
+ rule.addTarget(new targets.BatchJob(
243
+ jobQueue.jobQueueArn,
244
+ jobQueue,
245
+ jobDefinition.jobDefinitionArn,
246
+ jobDefinition, {
247
+ deadLetterQueue: queue,
248
+ event: events.RuleTargetInput.fromObject({ SomeParam: 'SomeValue' }),
249
+ retryAttempts: 2,
250
+ maxEventAge: cdk.Duration.hours(2),
251
+ },
252
+ ));
253
+ ```
254
+
255
+ ## Invoke an API Gateway REST API
256
+
257
+ Use the `ApiGateway` target to trigger a REST API.
258
+
259
+ The code snippet below creates a Api Gateway REST API that is invoked every hour.
260
+
261
+ ```ts
262
+ import * as api from 'aws-cdk-lib/aws-apigateway';
263
+ import * as lambda from 'aws-cdk-lib/aws-lambda';
264
+
265
+ const rule = new events.Rule(this, 'Rule', {
266
+ schedule: events.Schedule.rate(cdk.Duration.minutes(1)),
267
+ });
268
+
269
+ const fn = new lambda.Function( this, 'MyFunc', {
270
+ handler: 'index.handler',
271
+ runtime: lambda.Runtime.NODEJS_14_X,
272
+ code: lambda.Code.fromInline( 'exports.handler = e => {}' ),
273
+ } );
274
+
275
+ const restApi = new api.LambdaRestApi( this, 'MyRestAPI', { handler: fn } );
276
+
277
+ const dlq = new sqs.Queue(this, 'DeadLetterQueue');
278
+
279
+ rule.addTarget(
280
+ new targets.ApiGateway( restApi, {
281
+ path: '/*/test',
282
+ method: 'GET',
283
+ stage: 'prod',
284
+ pathParameterValues: ['path-value'],
285
+ headerParameters: {
286
+ Header1: 'header1',
287
+ },
288
+ queryStringParameters: {
289
+ QueryParam1: 'query-param-1',
290
+ },
291
+ deadLetterQueue: dlq
292
+ } ),
293
+ )
294
+ ```
295
+
296
+ ## Invoke an API Destination
297
+
298
+ Use the `targets.ApiDestination` target to trigger an external API. You need to
299
+ create an `events.Connection` and `events.ApiDestination` as well.
300
+
301
+ The code snippet below creates an external destination that is invoked every hour.
302
+
303
+ ```ts
304
+ const connection = new events.Connection(this, 'Connection', {
305
+ authorization: events.Authorization.apiKey('x-api-key', SecretValue.secretsManager('ApiSecretName')),
306
+ description: 'Connection with API Key x-api-key',
307
+ });
308
+
309
+ const destination = new events.ApiDestination(this, 'Destination', {
310
+ connection,
311
+ endpoint: 'https://example.com',
312
+ description: 'Calling example.com with API key x-api-key',
313
+ });
314
+
315
+ const rule = new events.Rule(this, 'Rule', {
316
+ schedule: events.Schedule.rate(cdk.Duration.minutes(1)),
317
+ targets: [new targets.ApiDestination(destination)],
318
+ });
319
+ ```
320
+
321
+ ## Put an event on an EventBridge bus
322
+
323
+ Use the `EventBus` target to route event to a different EventBus.
324
+
325
+ The code snippet below creates the scheduled event rule that route events to an imported event bus.
326
+
327
+ ```ts
328
+ const rule = new events.Rule(this, 'Rule', {
329
+ schedule: events.Schedule.expression('rate(1 minute)'),
330
+ });
331
+
332
+ rule.addTarget(new targets.EventBus(
333
+ events.EventBus.fromEventBusArn(
334
+ this,
335
+ 'External',
336
+ `arn:aws:events:eu-west-1:999999999999:event-bus/test-bus`,
337
+ ),
338
+ ));
339
+ ```
@@ -0,0 +1,27 @@
1
+ # AWS::EventSchemas Construct Library
2
+
3
+
4
+ This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
5
+
6
+ ```ts nofixture
7
+ import * as eventschemas from 'aws-cdk-lib/aws-eventschemas';
8
+ ```
9
+
10
+ <!--BEGIN CFNONLY DISCLAIMER-->
11
+
12
+ There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:
13
+
14
+ - Search [Construct Hub for EventSchemas construct libraries](https://constructs.dev/search?q=eventschemas)
15
+ - Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::EventSchemas resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_EventSchemas.html) directly.
16
+
17
+
18
+ <!--BEGIN CFNONLY DISCLAIMER-->
19
+
20
+ There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
21
+ However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.
22
+
23
+ For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::EventSchemas](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_EventSchemas.html).
24
+
25
+ (Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)
26
+
27
+ <!--END CFNONLY DISCLAIMER-->
@@ -0,0 +1,27 @@
1
+ # AWS::Evidently Construct Library
2
+
3
+
4
+ This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
5
+
6
+ ```ts nofixture
7
+ import * as evidently from 'aws-cdk-lib/aws-evidently';
8
+ ```
9
+
10
+ <!--BEGIN CFNONLY DISCLAIMER-->
11
+
12
+ There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:
13
+
14
+ - Search [Construct Hub for Evidently construct libraries](https://constructs.dev/search?q=evidently)
15
+ - Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::Evidently resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_Evidently.html) directly.
16
+
17
+
18
+ <!--BEGIN CFNONLY DISCLAIMER-->
19
+
20
+ There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
21
+ However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.
22
+
23
+ For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::Evidently](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_Evidently.html).
24
+
25
+ (Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)
26
+
27
+ <!--END CFNONLY DISCLAIMER-->
@@ -0,0 +1,27 @@
1
+ # AWS::FinSpace Construct Library
2
+
3
+
4
+ This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
5
+
6
+ ```ts nofixture
7
+ import * as finspace from 'aws-cdk-lib/aws-finspace';
8
+ ```
9
+
10
+ <!--BEGIN CFNONLY DISCLAIMER-->
11
+
12
+ There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:
13
+
14
+ - Search [Construct Hub for FinSpace construct libraries](https://constructs.dev/search?q=finspace)
15
+ - Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::FinSpace resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_FinSpace.html) directly.
16
+
17
+
18
+ <!--BEGIN CFNONLY DISCLAIMER-->
19
+
20
+ There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
21
+ However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.
22
+
23
+ For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::FinSpace](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_FinSpace.html).
24
+
25
+ (Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)
26
+
27
+ <!--END CFNONLY DISCLAIMER-->