@epilot360/icons 0.0.2 → 0.1.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 (479) hide show
  1. package/dist/bundle.js +1 -1
  2. package/dist/bundle.js.map +1 -1
  3. package/index.js.map +1 -1
  4. package/package.json +35 -8
  5. package/react/Close/index.d.ts +4 -0
  6. package/react/Close/index.js +28 -0
  7. package/react/Close/index.js.map +1 -0
  8. package/react/ContentCopy/index.d.ts +4 -0
  9. package/react/ContentCopy/index.js +28 -0
  10. package/react/ContentCopy/index.js.map +1 -0
  11. package/react/DataObject/index.d.ts +4 -0
  12. package/react/DataObject/index.js +28 -0
  13. package/react/DataObject/index.js.map +1 -0
  14. package/react/Edit/index.d.ts +4 -0
  15. package/react/Edit/index.js +28 -0
  16. package/react/Edit/index.js.map +1 -0
  17. package/react/EpilotIcon.d.ts +21 -0
  18. package/react/EpilotIcon.js +41 -0
  19. package/react/EpilotIcon.js.map +1 -0
  20. package/react/OpenInNew/index.d.ts +4 -0
  21. package/react/OpenInNew/index.js +28 -0
  22. package/react/OpenInNew/index.js.map +1 -0
  23. package/react/Share/index.d.ts +4 -0
  24. package/react/Share/index.js +28 -0
  25. package/react/Share/index.js.map +1 -0
  26. package/react/index.d.ts +6 -0
  27. package/react/index.js +6 -0
  28. package/react/index.js.map +1 -1
  29. package/react/types.d.ts +7 -0
  30. package/react/types.js +9 -0
  31. package/react/types.js.map +1 -0
  32. package/src/stories/Readme.mdx +53 -0
  33. package/iac/node_modules/@balena/dockerignore/LICENSE.md +0 -206
  34. package/iac/node_modules/@balena/dockerignore/README.md +0 -261
  35. package/iac/node_modules/@cspotcode/source-map-support/LICENSE.md +0 -21
  36. package/iac/node_modules/@cspotcode/source-map-support/README.md +0 -289
  37. package/iac/node_modules/@jridgewell/resolve-uri/LICENSE +0 -19
  38. package/iac/node_modules/@jridgewell/resolve-uri/README.md +0 -40
  39. package/iac/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs.map +0 -1
  40. package/iac/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js.map +0 -1
  41. package/iac/node_modules/@jridgewell/sourcemap-codec/LICENSE +0 -21
  42. package/iac/node_modules/@jridgewell/sourcemap-codec/README.md +0 -200
  43. package/iac/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs.map +0 -1
  44. package/iac/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js.map +0 -1
  45. package/iac/node_modules/@jridgewell/trace-mapping/LICENSE +0 -19
  46. package/iac/node_modules/@jridgewell/trace-mapping/README.md +0 -193
  47. package/iac/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs.map +0 -1
  48. package/iac/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js.map +0 -1
  49. package/iac/node_modules/@tsconfig/node10/LICENSE +0 -21
  50. package/iac/node_modules/@tsconfig/node10/README.md +0 -40
  51. package/iac/node_modules/@tsconfig/node12/LICENSE +0 -21
  52. package/iac/node_modules/@tsconfig/node12/README.md +0 -40
  53. package/iac/node_modules/@tsconfig/node14/LICENSE +0 -21
  54. package/iac/node_modules/@tsconfig/node14/README.md +0 -40
  55. package/iac/node_modules/@tsconfig/node16/LICENSE +0 -21
  56. package/iac/node_modules/@tsconfig/node16/README.md +0 -40
  57. package/iac/node_modules/@types/jest/LICENSE +0 -21
  58. package/iac/node_modules/@types/jest/README.md +0 -17
  59. package/iac/node_modules/@types/node/LICENSE +0 -21
  60. package/iac/node_modules/@types/node/README.md +0 -16
  61. package/iac/node_modules/@types/prettier/LICENSE +0 -21
  62. package/iac/node_modules/@types/prettier/README.md +0 -16
  63. package/iac/node_modules/acorn/LICENSE +0 -21
  64. package/iac/node_modules/acorn/README.md +0 -273
  65. package/iac/node_modules/acorn-walk/LICENSE +0 -21
  66. package/iac/node_modules/acorn-walk/README.md +0 -126
  67. package/iac/node_modules/ansi-regex/license +0 -9
  68. package/iac/node_modules/ansi-regex/readme.md +0 -78
  69. package/iac/node_modules/ansi-styles/license +0 -9
  70. package/iac/node_modules/ansi-styles/readme.md +0 -144
  71. package/iac/node_modules/arg/LICENSE.md +0 -21
  72. package/iac/node_modules/arg/README.md +0 -280
  73. package/iac/node_modules/at-least-node/LICENSE +0 -6
  74. package/iac/node_modules/at-least-node/README.md +0 -25
  75. package/iac/node_modules/aws-cdk/LICENSE +0 -201
  76. package/iac/node_modules/aws-cdk/README.md +0 -742
  77. package/iac/node_modules/aws-cdk/lib/init-templates/LICENSE +0 -16
  78. package/iac/node_modules/aws-cdk/lib/init-templates/app/csharp/README.md +0 -14
  79. package/iac/node_modules/aws-cdk/lib/init-templates/app/fsharp/README.md +0 -18
  80. package/iac/node_modules/aws-cdk/lib/init-templates/app/go/README.md +0 -12
  81. package/iac/node_modules/aws-cdk/lib/init-templates/app/java/README.md +0 -18
  82. package/iac/node_modules/aws-cdk/lib/init-templates/app/javascript/README.md +0 -12
  83. package/iac/node_modules/aws-cdk/lib/init-templates/app/python/README.template.md +0 -58
  84. package/iac/node_modules/aws-cdk/lib/init-templates/app/typescript/README.md +0 -14
  85. package/iac/node_modules/aws-cdk/lib/init-templates/lib/typescript/README.template.md +0 -12
  86. package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/csharp/README.template.md +0 -19
  87. package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/fsharp/README.template.md +0 -20
  88. package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/go/README.md +0 -12
  89. package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/java/README.template.md +0 -19
  90. package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/javascript/README.template.md +0 -13
  91. package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/python/README.template.md +0 -65
  92. package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/typescript/README.template.md +0 -15
  93. package/iac/node_modules/aws-cdk/test/integ/cli/README.md +0 -48
  94. package/iac/node_modules/aws-cdk/test/integ/cli-regression-patches/README.md +0 -54
  95. package/iac/node_modules/aws-cdk-lib/LICENSE +0 -201
  96. package/iac/node_modules/aws-cdk-lib/README.md +0 -1119
  97. package/iac/node_modules/aws-cdk-lib/alexa-ask/README.md +0 -27
  98. package/iac/node_modules/aws-cdk-lib/assertions/README.md +0 -571
  99. package/iac/node_modules/aws-cdk-lib/assets/README.md +0 -4
  100. package/iac/node_modules/aws-cdk-lib/aws-accessanalyzer/README.md +0 -27
  101. package/iac/node_modules/aws-cdk-lib/aws-acmpca/README.md +0 -59
  102. package/iac/node_modules/aws-cdk-lib/aws-amazonmq/README.md +0 -27
  103. package/iac/node_modules/aws-cdk-lib/aws-amplify/README.md +0 -32
  104. package/iac/node_modules/aws-cdk-lib/aws-amplifyuibuilder/README.md +0 -27
  105. package/iac/node_modules/aws-cdk-lib/aws-apigateway/README.md +0 -1335
  106. package/iac/node_modules/aws-cdk-lib/aws-apigatewayv2/README.md +0 -32
  107. package/iac/node_modules/aws-cdk-lib/aws-appconfig/README.md +0 -27
  108. package/iac/node_modules/aws-cdk-lib/aws-appflow/README.md +0 -27
  109. package/iac/node_modules/aws-cdk-lib/aws-appintegrations/README.md +0 -27
  110. package/iac/node_modules/aws-cdk-lib/aws-applicationautoscaling/README.md +0 -246
  111. package/iac/node_modules/aws-cdk-lib/aws-applicationinsights/README.md +0 -27
  112. package/iac/node_modules/aws-cdk-lib/aws-appmesh/README.md +0 -883
  113. package/iac/node_modules/aws-cdk-lib/aws-apprunner/README.md +0 -32
  114. package/iac/node_modules/aws-cdk-lib/aws-appstream/README.md +0 -27
  115. package/iac/node_modules/aws-cdk-lib/aws-appsync/README.md +0 -32
  116. package/iac/node_modules/aws-cdk-lib/aws-aps/README.md +0 -27
  117. package/iac/node_modules/aws-cdk-lib/aws-athena/README.md +0 -27
  118. package/iac/node_modules/aws-cdk-lib/aws-auditmanager/README.md +0 -27
  119. package/iac/node_modules/aws-cdk-lib/aws-autoscaling/README.md +0 -540
  120. package/iac/node_modules/aws-cdk-lib/aws-autoscaling-common/README.md +0 -8
  121. package/iac/node_modules/aws-cdk-lib/aws-autoscaling-hooktargets/README.md +0 -18
  122. package/iac/node_modules/aws-cdk-lib/aws-autoscalingplans/README.md +0 -27
  123. package/iac/node_modules/aws-cdk-lib/aws-backup/README.md +0 -210
  124. package/iac/node_modules/aws-cdk-lib/aws-batch/README.md +0 -32
  125. package/iac/node_modules/aws-cdk-lib/aws-billingconductor/README.md +0 -27
  126. package/iac/node_modules/aws-cdk-lib/aws-budgets/README.md +0 -27
  127. package/iac/node_modules/aws-cdk-lib/aws-cassandra/README.md +0 -27
  128. package/iac/node_modules/aws-cdk-lib/aws-ce/README.md +0 -27
  129. package/iac/node_modules/aws-cdk-lib/aws-certificatemanager/README.md +0 -166
  130. package/iac/node_modules/aws-cdk-lib/aws-certificatemanager/lambda-packages/dns_validated_certificate_handler/README.md +0 -2
  131. package/iac/node_modules/aws-cdk-lib/aws-certificatemanager/suffixes/README.txt +0 -8
  132. package/iac/node_modules/aws-cdk-lib/aws-chatbot/README.md +0 -44
  133. package/iac/node_modules/aws-cdk-lib/aws-cloud9/README.md +0 -32
  134. package/iac/node_modules/aws-cdk-lib/aws-cloudformation/README.md +0 -4
  135. package/iac/node_modules/aws-cdk-lib/aws-cloudfront/README.md +0 -973
  136. package/iac/node_modules/aws-cdk-lib/aws-cloudfront-origins/README.md +0 -126
  137. package/iac/node_modules/aws-cdk-lib/aws-cloudtrail/README.md +0 -189
  138. package/iac/node_modules/aws-cdk-lib/aws-cloudwatch/README.md +0 -579
  139. package/iac/node_modules/aws-cdk-lib/aws-cloudwatch-actions/README.md +0 -43
  140. package/iac/node_modules/aws-cdk-lib/aws-codeartifact/README.md +0 -27
  141. package/iac/node_modules/aws-cdk-lib/aws-codebuild/README.md +0 -759
  142. package/iac/node_modules/aws-cdk-lib/aws-codecommit/README.md +0 -85
  143. package/iac/node_modules/aws-cdk-lib/aws-codedeploy/README.md +0 -319
  144. package/iac/node_modules/aws-cdk-lib/aws-codeguruprofiler/README.md +0 -37
  145. package/iac/node_modules/aws-cdk-lib/aws-codegurureviewer/README.md +0 -27
  146. package/iac/node_modules/aws-cdk-lib/aws-codepipeline/README.md +0 -481
  147. package/iac/node_modules/aws-cdk-lib/aws-codepipeline-actions/README.md +0 -1203
  148. package/iac/node_modules/aws-cdk-lib/aws-codestar/README.md +0 -32
  149. package/iac/node_modules/aws-cdk-lib/aws-codestarconnections/README.md +0 -27
  150. package/iac/node_modules/aws-cdk-lib/aws-codestarnotifications/README.md +0 -68
  151. package/iac/node_modules/aws-cdk-lib/aws-cognito/README.md +0 -843
  152. package/iac/node_modules/aws-cdk-lib/aws-config/README.md +0 -218
  153. package/iac/node_modules/aws-cdk-lib/aws-connect/README.md +0 -27
  154. package/iac/node_modules/aws-cdk-lib/aws-controltower/README.md +0 -27
  155. package/iac/node_modules/aws-cdk-lib/aws-cur/README.md +0 -27
  156. package/iac/node_modules/aws-cdk-lib/aws-customerprofiles/README.md +0 -27
  157. package/iac/node_modules/aws-cdk-lib/aws-databrew/README.md +0 -27
  158. package/iac/node_modules/aws-cdk-lib/aws-datapipeline/README.md +0 -27
  159. package/iac/node_modules/aws-cdk-lib/aws-datasync/README.md +0 -27
  160. package/iac/node_modules/aws-cdk-lib/aws-dax/README.md +0 -27
  161. package/iac/node_modules/aws-cdk-lib/aws-detective/README.md +0 -27
  162. package/iac/node_modules/aws-cdk-lib/aws-devopsguru/README.md +0 -27
  163. package/iac/node_modules/aws-cdk-lib/aws-directoryservice/README.md +0 -27
  164. package/iac/node_modules/aws-cdk-lib/aws-dlm/README.md +0 -27
  165. package/iac/node_modules/aws-cdk-lib/aws-dms/README.md +0 -27
  166. package/iac/node_modules/aws-cdk-lib/aws-docdb/README.md +0 -153
  167. package/iac/node_modules/aws-cdk-lib/aws-dynamodb/README.md +0 -200
  168. package/iac/node_modules/aws-cdk-lib/aws-ec2/README.md +0 -1514
  169. package/iac/node_modules/aws-cdk-lib/aws-ecr/README.md +0 -110
  170. package/iac/node_modules/aws-cdk-lib/aws-ecr-assets/README.md +0 -167
  171. package/iac/node_modules/aws-cdk-lib/aws-ecs/README.md +0 -1225
  172. package/iac/node_modules/aws-cdk-lib/aws-ecs-patterns/README.md +0 -980
  173. package/iac/node_modules/aws-cdk-lib/aws-efs/README.md +0 -154
  174. package/iac/node_modules/aws-cdk-lib/aws-eks/README.md +0 -1450
  175. package/iac/node_modules/aws-cdk-lib/aws-elasticache/README.md +0 -27
  176. package/iac/node_modules/aws-cdk-lib/aws-elasticbeanstalk/README.md +0 -27
  177. package/iac/node_modules/aws-cdk-lib/aws-elasticloadbalancing/README.md +0 -40
  178. package/iac/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2/README.md +0 -569
  179. package/iac/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-actions/README.md +0 -68
  180. package/iac/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-targets/README.md +0 -4
  181. package/iac/node_modules/aws-cdk-lib/aws-elasticsearch/README.md +0 -441
  182. package/iac/node_modules/aws-cdk-lib/aws-emr/README.md +0 -27
  183. package/iac/node_modules/aws-cdk-lib/aws-emrcontainers/README.md +0 -27
  184. package/iac/node_modules/aws-cdk-lib/aws-emrserverless/README.md +0 -27
  185. package/iac/node_modules/aws-cdk-lib/aws-events/README.md +0 -249
  186. package/iac/node_modules/aws-cdk-lib/aws-events-targets/README.md +0 -339
  187. package/iac/node_modules/aws-cdk-lib/aws-eventschemas/README.md +0 -27
  188. package/iac/node_modules/aws-cdk-lib/aws-evidently/README.md +0 -27
  189. package/iac/node_modules/aws-cdk-lib/aws-finspace/README.md +0 -27
  190. package/iac/node_modules/aws-cdk-lib/aws-fis/README.md +0 -27
  191. package/iac/node_modules/aws-cdk-lib/aws-fms/README.md +0 -27
  192. package/iac/node_modules/aws-cdk-lib/aws-forecast/README.md +0 -27
  193. package/iac/node_modules/aws-cdk-lib/aws-frauddetector/README.md +0 -27
  194. package/iac/node_modules/aws-cdk-lib/aws-fsx/README.md +0 -200
  195. package/iac/node_modules/aws-cdk-lib/aws-gamelift/README.md +0 -27
  196. package/iac/node_modules/aws-cdk-lib/aws-globalaccelerator/README.md +0 -182
  197. package/iac/node_modules/aws-cdk-lib/aws-globalaccelerator-endpoints/README.md +0 -10
  198. package/iac/node_modules/aws-cdk-lib/aws-glue/README.md +0 -32
  199. package/iac/node_modules/aws-cdk-lib/aws-greengrass/README.md +0 -27
  200. package/iac/node_modules/aws-cdk-lib/aws-greengrassv2/README.md +0 -27
  201. package/iac/node_modules/aws-cdk-lib/aws-groundstation/README.md +0 -27
  202. package/iac/node_modules/aws-cdk-lib/aws-guardduty/README.md +0 -27
  203. package/iac/node_modules/aws-cdk-lib/aws-healthlake/README.md +0 -27
  204. package/iac/node_modules/aws-cdk-lib/aws-iam/README.md +0 -509
  205. package/iac/node_modules/aws-cdk-lib/aws-imagebuilder/README.md +0 -27
  206. package/iac/node_modules/aws-cdk-lib/aws-inspector/README.md +0 -27
  207. package/iac/node_modules/aws-cdk-lib/aws-inspectorv2/README.md +0 -27
  208. package/iac/node_modules/aws-cdk-lib/aws-iot/README.md +0 -32
  209. package/iac/node_modules/aws-cdk-lib/aws-iot1click/README.md +0 -27
  210. package/iac/node_modules/aws-cdk-lib/aws-iotanalytics/README.md +0 -27
  211. package/iac/node_modules/aws-cdk-lib/aws-iotcoredeviceadvisor/README.md +0 -27
  212. package/iac/node_modules/aws-cdk-lib/aws-iotevents/README.md +0 -32
  213. package/iac/node_modules/aws-cdk-lib/aws-iotfleethub/README.md +0 -27
  214. package/iac/node_modules/aws-cdk-lib/aws-iotsitewise/README.md +0 -27
  215. package/iac/node_modules/aws-cdk-lib/aws-iotthingsgraph/README.md +0 -27
  216. package/iac/node_modules/aws-cdk-lib/aws-iottwinmaker/README.md +0 -27
  217. package/iac/node_modules/aws-cdk-lib/aws-iotwireless/README.md +0 -27
  218. package/iac/node_modules/aws-cdk-lib/aws-ivs/README.md +0 -32
  219. package/iac/node_modules/aws-cdk-lib/aws-kafkaconnect/README.md +0 -27
  220. package/iac/node_modules/aws-cdk-lib/aws-kendra/README.md +0 -27
  221. package/iac/node_modules/aws-cdk-lib/aws-kinesis/README.md +0 -188
  222. package/iac/node_modules/aws-cdk-lib/aws-kinesisanalytics/README.md +0 -27
  223. package/iac/node_modules/aws-cdk-lib/aws-kinesisanalyticsv2/README.md +0 -27
  224. package/iac/node_modules/aws-cdk-lib/aws-kinesisfirehose/README.md +0 -32
  225. package/iac/node_modules/aws-cdk-lib/aws-kinesisvideo/README.md +0 -27
  226. package/iac/node_modules/aws-cdk-lib/aws-kms/README.md +0 -209
  227. package/iac/node_modules/aws-cdk-lib/aws-lakeformation/README.md +0 -27
  228. package/iac/node_modules/aws-cdk-lib/aws-lambda/README.md +0 -985
  229. package/iac/node_modules/aws-cdk-lib/aws-lambda-destinations/README.md +0 -147
  230. package/iac/node_modules/aws-cdk-lib/aws-lambda-event-sources/README.md +0 -281
  231. package/iac/node_modules/aws-cdk-lib/aws-lambda-nodejs/README.md +0 -317
  232. package/iac/node_modules/aws-cdk-lib/aws-lex/README.md +0 -27
  233. package/iac/node_modules/aws-cdk-lib/aws-licensemanager/README.md +0 -27
  234. package/iac/node_modules/aws-cdk-lib/aws-lightsail/README.md +0 -27
  235. package/iac/node_modules/aws-cdk-lib/aws-location/README.md +0 -27
  236. package/iac/node_modules/aws-cdk-lib/aws-logs/README.md +0 -322
  237. package/iac/node_modules/aws-cdk-lib/aws-logs-destinations/README.md +0 -7
  238. package/iac/node_modules/aws-cdk-lib/aws-lookoutequipment/README.md +0 -27
  239. package/iac/node_modules/aws-cdk-lib/aws-lookoutmetrics/README.md +0 -27
  240. package/iac/node_modules/aws-cdk-lib/aws-lookoutvision/README.md +0 -27
  241. package/iac/node_modules/aws-cdk-lib/aws-m2/README.md +0 -27
  242. package/iac/node_modules/aws-cdk-lib/aws-macie/README.md +0 -27
  243. package/iac/node_modules/aws-cdk-lib/aws-managedblockchain/README.md +0 -27
  244. package/iac/node_modules/aws-cdk-lib/aws-mediaconnect/README.md +0 -27
  245. package/iac/node_modules/aws-cdk-lib/aws-mediaconvert/README.md +0 -27
  246. package/iac/node_modules/aws-cdk-lib/aws-medialive/README.md +0 -27
  247. package/iac/node_modules/aws-cdk-lib/aws-mediapackage/README.md +0 -27
  248. package/iac/node_modules/aws-cdk-lib/aws-mediastore/README.md +0 -27
  249. package/iac/node_modules/aws-cdk-lib/aws-mediatailor/README.md +0 -27
  250. package/iac/node_modules/aws-cdk-lib/aws-memorydb/README.md +0 -27
  251. package/iac/node_modules/aws-cdk-lib/aws-msk/README.md +0 -32
  252. package/iac/node_modules/aws-cdk-lib/aws-mwaa/README.md +0 -27
  253. package/iac/node_modules/aws-cdk-lib/aws-neptune/README.md +0 -32
  254. package/iac/node_modules/aws-cdk-lib/aws-networkfirewall/README.md +0 -27
  255. package/iac/node_modules/aws-cdk-lib/aws-networkmanager/README.md +0 -27
  256. package/iac/node_modules/aws-cdk-lib/aws-nimblestudio/README.md +0 -27
  257. package/iac/node_modules/aws-cdk-lib/aws-opensearchservice/README.md +0 -378
  258. package/iac/node_modules/aws-cdk-lib/aws-opsworks/README.md +0 -27
  259. package/iac/node_modules/aws-cdk-lib/aws-opsworkscm/README.md +0 -27
  260. package/iac/node_modules/aws-cdk-lib/aws-panorama/README.md +0 -27
  261. package/iac/node_modules/aws-cdk-lib/aws-personalize/README.md +0 -27
  262. package/iac/node_modules/aws-cdk-lib/aws-pinpoint/README.md +0 -27
  263. package/iac/node_modules/aws-cdk-lib/aws-pinpointemail/README.md +0 -27
  264. package/iac/node_modules/aws-cdk-lib/aws-qldb/README.md +0 -27
  265. package/iac/node_modules/aws-cdk-lib/aws-quicksight/README.md +0 -27
  266. package/iac/node_modules/aws-cdk-lib/aws-ram/README.md +0 -27
  267. package/iac/node_modules/aws-cdk-lib/aws-rds/README.md +0 -704
  268. package/iac/node_modules/aws-cdk-lib/aws-redshift/README.md +0 -32
  269. package/iac/node_modules/aws-cdk-lib/aws-redshiftserverless/README.md +0 -27
  270. package/iac/node_modules/aws-cdk-lib/aws-refactorspaces/README.md +0 -27
  271. package/iac/node_modules/aws-cdk-lib/aws-rekognition/README.md +0 -27
  272. package/iac/node_modules/aws-cdk-lib/aws-resiliencehub/README.md +0 -27
  273. package/iac/node_modules/aws-cdk-lib/aws-resourcegroups/README.md +0 -27
  274. package/iac/node_modules/aws-cdk-lib/aws-robomaker/README.md +0 -27
  275. package/iac/node_modules/aws-cdk-lib/aws-route53/README.md +0 -281
  276. package/iac/node_modules/aws-cdk-lib/aws-route53-patterns/README.md +0 -45
  277. package/iac/node_modules/aws-cdk-lib/aws-route53-targets/README.md +0 -181
  278. package/iac/node_modules/aws-cdk-lib/aws-route53recoverycontrol/README.md +0 -27
  279. package/iac/node_modules/aws-cdk-lib/aws-route53recoveryreadiness/README.md +0 -27
  280. package/iac/node_modules/aws-cdk-lib/aws-route53resolver/README.md +0 -32
  281. package/iac/node_modules/aws-cdk-lib/aws-rum/README.md +0 -27
  282. package/iac/node_modules/aws-cdk-lib/aws-s3/README.md +0 -581
  283. package/iac/node_modules/aws-cdk-lib/aws-s3-assets/README.md +0 -179
  284. package/iac/node_modules/aws-cdk-lib/aws-s3-deployment/README.md +0 -349
  285. package/iac/node_modules/aws-cdk-lib/aws-s3-notifications/README.md +0 -46
  286. package/iac/node_modules/aws-cdk-lib/aws-s3objectlambda/README.md +0 -32
  287. package/iac/node_modules/aws-cdk-lib/aws-s3outposts/README.md +0 -27
  288. package/iac/node_modules/aws-cdk-lib/aws-sagemaker/README.md +0 -27
  289. package/iac/node_modules/aws-cdk-lib/aws-sam/README.md +0 -27
  290. package/iac/node_modules/aws-cdk-lib/aws-sdb/README.md +0 -27
  291. package/iac/node_modules/aws-cdk-lib/aws-secretsmanager/README.md +0 -285
  292. package/iac/node_modules/aws-cdk-lib/aws-securityhub/README.md +0 -27
  293. package/iac/node_modules/aws-cdk-lib/aws-servicecatalog/README.md +0 -491
  294. package/iac/node_modules/aws-cdk-lib/aws-servicecatalogappregistry/README.md +0 -32
  295. package/iac/node_modules/aws-cdk-lib/aws-servicediscovery/README.md +0 -45
  296. package/iac/node_modules/aws-cdk-lib/aws-ses/README.md +0 -194
  297. package/iac/node_modules/aws-cdk-lib/aws-ses-actions/README.md +0 -16
  298. package/iac/node_modules/aws-cdk-lib/aws-signer/README.md +0 -41
  299. package/iac/node_modules/aws-cdk-lib/aws-sns/README.md +0 -184
  300. package/iac/node_modules/aws-cdk-lib/aws-sns-subscriptions/README.md +0 -120
  301. package/iac/node_modules/aws-cdk-lib/aws-sqs/README.md +0 -57
  302. package/iac/node_modules/aws-cdk-lib/aws-ssm/README.md +0 -99
  303. package/iac/node_modules/aws-cdk-lib/aws-ssmcontacts/README.md +0 -27
  304. package/iac/node_modules/aws-cdk-lib/aws-ssmincidents/README.md +0 -27
  305. package/iac/node_modules/aws-cdk-lib/aws-sso/README.md +0 -27
  306. package/iac/node_modules/aws-cdk-lib/aws-stepfunctions/README.md +0 -884
  307. package/iac/node_modules/aws-cdk-lib/aws-stepfunctions-tasks/README.md +0 -1288
  308. package/iac/node_modules/aws-cdk-lib/aws-supportapp/README.md +0 -27
  309. package/iac/node_modules/aws-cdk-lib/aws-synthetics/README.md +0 -32
  310. package/iac/node_modules/aws-cdk-lib/aws-timestream/README.md +0 -27
  311. package/iac/node_modules/aws-cdk-lib/aws-transfer/README.md +0 -27
  312. package/iac/node_modules/aws-cdk-lib/aws-voiceid/README.md +0 -27
  313. package/iac/node_modules/aws-cdk-lib/aws-waf/README.md +0 -27
  314. package/iac/node_modules/aws-cdk-lib/aws-wafregional/README.md +0 -27
  315. package/iac/node_modules/aws-cdk-lib/aws-wafv2/README.md +0 -27
  316. package/iac/node_modules/aws-cdk-lib/aws-wisdom/README.md +0 -27
  317. package/iac/node_modules/aws-cdk-lib/aws-workspaces/README.md +0 -27
  318. package/iac/node_modules/aws-cdk-lib/aws-xray/README.md +0 -27
  319. package/iac/node_modules/aws-cdk-lib/cloud-assembly-schema/README.md +0 -55
  320. package/iac/node_modules/aws-cdk-lib/cloud-assembly-schema/schema/README.md +0 -5
  321. package/iac/node_modules/aws-cdk-lib/cloudformation-include/README.md +0 -466
  322. package/iac/node_modules/aws-cdk-lib/core/README.md +0 -1078
  323. package/iac/node_modules/aws-cdk-lib/custom-resources/README.md +0 -624
  324. package/iac/node_modules/aws-cdk-lib/cx-api/README.md +0 -98
  325. package/iac/node_modules/aws-cdk-lib/lambda-layer-awscli/README.md +0 -19
  326. package/iac/node_modules/aws-cdk-lib/lambda-layer-kubectl/README.md +0 -20
  327. package/iac/node_modules/aws-cdk-lib/lambda-layer-node-proxy-agent/README.md +0 -18
  328. package/iac/node_modules/aws-cdk-lib/node_modules/@balena/dockerignore/LICENSE.md +0 -206
  329. package/iac/node_modules/aws-cdk-lib/node_modules/@balena/dockerignore/README.md +0 -261
  330. package/iac/node_modules/aws-cdk-lib/node_modules/at-least-node/LICENSE +0 -6
  331. package/iac/node_modules/aws-cdk-lib/node_modules/at-least-node/README.md +0 -25
  332. package/iac/node_modules/aws-cdk-lib/node_modules/balanced-match/LICENSE.md +0 -21
  333. package/iac/node_modules/aws-cdk-lib/node_modules/balanced-match/README.md +0 -97
  334. package/iac/node_modules/aws-cdk-lib/node_modules/brace-expansion/LICENSE +0 -21
  335. package/iac/node_modules/aws-cdk-lib/node_modules/brace-expansion/README.md +0 -129
  336. package/iac/node_modules/aws-cdk-lib/node_modules/case/LICENSE +0 -22
  337. package/iac/node_modules/aws-cdk-lib/node_modules/case/README.md +0 -139
  338. package/iac/node_modules/aws-cdk-lib/node_modules/case/dist/Case.min.js.map +0 -1
  339. package/iac/node_modules/aws-cdk-lib/node_modules/case/dist/Case.plus.min.js.map +0 -1
  340. package/iac/node_modules/aws-cdk-lib/node_modules/concat-map/LICENSE +0 -18
  341. package/iac/node_modules/aws-cdk-lib/node_modules/concat-map/README.markdown +0 -62
  342. package/iac/node_modules/aws-cdk-lib/node_modules/fs-extra/LICENSE +0 -15
  343. package/iac/node_modules/aws-cdk-lib/node_modules/fs-extra/README.md +0 -264
  344. package/iac/node_modules/aws-cdk-lib/node_modules/graceful-fs/LICENSE +0 -15
  345. package/iac/node_modules/aws-cdk-lib/node_modules/graceful-fs/README.md +0 -143
  346. package/iac/node_modules/aws-cdk-lib/node_modules/ignore/README.md +0 -412
  347. package/iac/node_modules/aws-cdk-lib/node_modules/jsonfile/LICENSE +0 -15
  348. package/iac/node_modules/aws-cdk-lib/node_modules/jsonfile/README.md +0 -230
  349. package/iac/node_modules/aws-cdk-lib/node_modules/jsonschema/LICENSE +0 -21
  350. package/iac/node_modules/aws-cdk-lib/node_modules/jsonschema/README.md +0 -421
  351. package/iac/node_modules/aws-cdk-lib/node_modules/lru-cache/LICENSE +0 -15
  352. package/iac/node_modules/aws-cdk-lib/node_modules/lru-cache/README.md +0 -166
  353. package/iac/node_modules/aws-cdk-lib/node_modules/minimatch/LICENSE +0 -15
  354. package/iac/node_modules/aws-cdk-lib/node_modules/minimatch/README.md +0 -230
  355. package/iac/node_modules/aws-cdk-lib/node_modules/punycode/README.md +0 -122
  356. package/iac/node_modules/aws-cdk-lib/node_modules/semver/LICENSE +0 -15
  357. package/iac/node_modules/aws-cdk-lib/node_modules/semver/README.md +0 -568
  358. package/iac/node_modules/aws-cdk-lib/node_modules/universalify/LICENSE +0 -20
  359. package/iac/node_modules/aws-cdk-lib/node_modules/universalify/README.md +0 -76
  360. package/iac/node_modules/aws-cdk-lib/node_modules/yallist/LICENSE +0 -15
  361. package/iac/node_modules/aws-cdk-lib/node_modules/yallist/README.md +0 -204
  362. package/iac/node_modules/aws-cdk-lib/node_modules/yaml/LICENSE +0 -13
  363. package/iac/node_modules/aws-cdk-lib/node_modules/yaml/README.md +0 -127
  364. package/iac/node_modules/aws-cdk-lib/pipelines/README.md +0 -1573
  365. package/iac/node_modules/aws-cdk-lib/region-info/README.md +0 -84
  366. package/iac/node_modules/aws-cdk-lib/triggers/README.md +0 -86
  367. package/iac/node_modules/balanced-match/LICENSE.md +0 -21
  368. package/iac/node_modules/balanced-match/README.md +0 -97
  369. package/iac/node_modules/brace-expansion/LICENSE +0 -21
  370. package/iac/node_modules/brace-expansion/README.md +0 -129
  371. package/iac/node_modules/buffer-from/LICENSE +0 -21
  372. package/iac/node_modules/buffer-from/readme.md +0 -69
  373. package/iac/node_modules/case/LICENSE +0 -22
  374. package/iac/node_modules/case/README.md +0 -139
  375. package/iac/node_modules/case/dist/Case.min.js.map +0 -1
  376. package/iac/node_modules/case/dist/Case.plus.min.js.map +0 -1
  377. package/iac/node_modules/chalk/license +0 -9
  378. package/iac/node_modules/chalk/node_modules/ansi-styles/license +0 -9
  379. package/iac/node_modules/chalk/node_modules/ansi-styles/readme.md +0 -152
  380. package/iac/node_modules/chalk/readme.md +0 -341
  381. package/iac/node_modules/color-convert/LICENSE +0 -21
  382. package/iac/node_modules/color-convert/README.md +0 -68
  383. package/iac/node_modules/color-name/LICENSE +0 -8
  384. package/iac/node_modules/color-name/README.md +0 -11
  385. package/iac/node_modules/concat-map/LICENSE +0 -18
  386. package/iac/node_modules/concat-map/README.markdown +0 -62
  387. package/iac/node_modules/constructs/LICENSE +0 -202
  388. package/iac/node_modules/constructs/README.md +0 -28
  389. package/iac/node_modules/create-require/LICENSE +0 -25
  390. package/iac/node_modules/create-require/README.md +0 -46
  391. package/iac/node_modules/diff/LICENSE +0 -31
  392. package/iac/node_modules/diff/README.md +0 -207
  393. package/iac/node_modules/diff-sequences/LICENSE +0 -21
  394. package/iac/node_modules/diff-sequences/README.md +0 -404
  395. package/iac/node_modules/fs-extra/LICENSE +0 -15
  396. package/iac/node_modules/fs-extra/README.md +0 -264
  397. package/iac/node_modules/fsevents/LICENSE +0 -22
  398. package/iac/node_modules/fsevents/README.md +0 -83
  399. package/iac/node_modules/graceful-fs/LICENSE +0 -15
  400. package/iac/node_modules/graceful-fs/README.md +0 -143
  401. package/iac/node_modules/has-flag/license +0 -9
  402. package/iac/node_modules/has-flag/readme.md +0 -89
  403. package/iac/node_modules/ignore/README.md +0 -412
  404. package/iac/node_modules/jest-diff/LICENSE +0 -21
  405. package/iac/node_modules/jest-diff/README.md +0 -671
  406. package/iac/node_modules/jest-get-type/LICENSE +0 -21
  407. package/iac/node_modules/jest-matcher-utils/LICENSE +0 -21
  408. package/iac/node_modules/jest-matcher-utils/README.md +0 -24
  409. package/iac/node_modules/jsonfile/LICENSE +0 -15
  410. package/iac/node_modules/jsonfile/README.md +0 -230
  411. package/iac/node_modules/jsonschema/LICENSE +0 -21
  412. package/iac/node_modules/jsonschema/README.md +0 -421
  413. package/iac/node_modules/lru-cache/LICENSE +0 -15
  414. package/iac/node_modules/lru-cache/README.md +0 -166
  415. package/iac/node_modules/make-error/LICENSE +0 -5
  416. package/iac/node_modules/make-error/README.md +0 -112
  417. package/iac/node_modules/minimatch/LICENSE +0 -15
  418. package/iac/node_modules/minimatch/README.md +0 -230
  419. package/iac/node_modules/pretty-format/LICENSE +0 -21
  420. package/iac/node_modules/pretty-format/README.md +0 -458
  421. package/iac/node_modules/punycode/README.md +0 -122
  422. package/iac/node_modules/react-is/LICENSE +0 -21
  423. package/iac/node_modules/react-is/README.md +0 -104
  424. package/iac/node_modules/semver/LICENSE +0 -15
  425. package/iac/node_modules/semver/README.md +0 -568
  426. package/iac/node_modules/source-map/LICENSE +0 -28
  427. package/iac/node_modules/source-map/README.md +0 -742
  428. package/iac/node_modules/source-map/dist/source-map.min.js.map +0 -1
  429. package/iac/node_modules/source-map-support/LICENSE.md +0 -21
  430. package/iac/node_modules/source-map-support/README.md +0 -284
  431. package/iac/node_modules/supports-color/license +0 -9
  432. package/iac/node_modules/supports-color/readme.md +0 -76
  433. package/iac/node_modules/ts-node/LICENSE +0 -21
  434. package/iac/node_modules/ts-node/README.md +0 -1442
  435. package/iac/node_modules/ts-node/dist/bin-cwd.js.map +0 -1
  436. package/iac/node_modules/ts-node/dist/bin-esm.js.map +0 -1
  437. package/iac/node_modules/ts-node/dist/bin-script-deprecated.js.map +0 -1
  438. package/iac/node_modules/ts-node/dist/bin-script.js.map +0 -1
  439. package/iac/node_modules/ts-node/dist/bin-transpile.js.map +0 -1
  440. package/iac/node_modules/ts-node/dist/bin.js.map +0 -1
  441. package/iac/node_modules/ts-node/dist/child/argv-payload.js.map +0 -1
  442. package/iac/node_modules/ts-node/dist/child/child-entrypoint.js.map +0 -1
  443. package/iac/node_modules/ts-node/dist/child/child-loader.js.map +0 -1
  444. package/iac/node_modules/ts-node/dist/child/child-require.js.map +0 -1
  445. package/iac/node_modules/ts-node/dist/child/spawn-child.js.map +0 -1
  446. package/iac/node_modules/ts-node/dist/cjs-resolve-hooks.js.map +0 -1
  447. package/iac/node_modules/ts-node/dist/configuration.js.map +0 -1
  448. package/iac/node_modules/ts-node/dist/esm.js.map +0 -1
  449. package/iac/node_modules/ts-node/dist/file-extensions.js.map +0 -1
  450. package/iac/node_modules/ts-node/dist/index.js.map +0 -1
  451. package/iac/node_modules/ts-node/dist/module-type-classifier.js.map +0 -1
  452. package/iac/node_modules/ts-node/dist/node-module-type-classifier.js.map +0 -1
  453. package/iac/node_modules/ts-node/dist/repl.js.map +0 -1
  454. package/iac/node_modules/ts-node/dist/resolver-functions.js.map +0 -1
  455. package/iac/node_modules/ts-node/dist/transpilers/swc.js.map +0 -1
  456. package/iac/node_modules/ts-node/dist/transpilers/types.js.map +0 -1
  457. package/iac/node_modules/ts-node/dist/ts-compiler-types.js.map +0 -1
  458. package/iac/node_modules/ts-node/dist/ts-internals.js.map +0 -1
  459. package/iac/node_modules/ts-node/dist/ts-transpile-module.js.map +0 -1
  460. package/iac/node_modules/ts-node/dist/tsconfig-schema.js.map +0 -1
  461. package/iac/node_modules/ts-node/dist/tsconfigs.js.map +0 -1
  462. package/iac/node_modules/ts-node/dist/util.js.map +0 -1
  463. package/iac/node_modules/ts-node/dist-raw/README.md +0 -36
  464. package/iac/node_modules/typescript/LICENSE.txt +0 -55
  465. package/iac/node_modules/typescript/README.md +0 -104
  466. package/iac/node_modules/typescript/lib/README.md +0 -5
  467. package/iac/node_modules/universalify/LICENSE +0 -20
  468. package/iac/node_modules/universalify/README.md +0 -76
  469. package/iac/node_modules/v8-compile-cache-lib/LICENSE +0 -21
  470. package/iac/node_modules/v8-compile-cache-lib/README.md +0 -60
  471. package/iac/node_modules/yallist/LICENSE +0 -15
  472. package/iac/node_modules/yallist/README.md +0 -204
  473. package/iac/node_modules/yaml/LICENSE +0 -13
  474. package/iac/node_modules/yaml/README.md +0 -127
  475. package/iac/node_modules/yn/license +0 -9
  476. package/iac/node_modules/yn/readme.md +0 -83
  477. package/react/Edit.d.ts +0 -3
  478. package/react/Edit.js +0 -10
  479. package/react/Edit.js.map +0 -1
@@ -1,759 +0,0 @@
1
- # AWS CodeBuild Construct Library
2
-
3
-
4
- AWS CodeBuild is a fully managed continuous integration service that compiles
5
- source code, runs tests, and produces software packages that are ready to
6
- deploy. With CodeBuild, you don’t need to provision, manage, and scale your own
7
- build servers. CodeBuild scales continuously and processes multiple builds
8
- concurrently, so your builds are not left waiting in a queue. You can get
9
- started quickly by using prepackaged build environments, or you can create
10
- custom build environments that use your own build tools. With CodeBuild, you are
11
- charged by the minute for the compute resources you use.
12
-
13
- ## Source
14
-
15
- Build projects are usually associated with a _source_, which is specified via
16
- the `source` property which accepts a class that extends the `Source`
17
- abstract base class.
18
- The default is to have no source associated with the build project;
19
- the `buildSpec` option is required in that case.
20
-
21
- Here's a CodeBuild project with no source which simply prints `Hello,
22
- CodeBuild!`:
23
-
24
- [Minimal Example](./test/integ.defaults.lit.ts)
25
-
26
- ### `CodeCommitSource`
27
-
28
- Use an AWS CodeCommit repository as the source of this build:
29
-
30
- ```ts
31
- import * as codecommit from 'aws-cdk-lib/aws-codecommit';
32
-
33
- const repository = new codecommit.Repository(this, 'MyRepo', { repositoryName: 'foo' });
34
- new codebuild.Project(this, 'MyFirstCodeCommitProject', {
35
- source: codebuild.Source.codeCommit({ repository }),
36
- });
37
- ```
38
-
39
- ### `S3Source`
40
-
41
- Create a CodeBuild project with an S3 bucket as the source:
42
-
43
- ```ts
44
- const bucket = new s3.Bucket(this, 'MyBucket');
45
-
46
- new codebuild.Project(this, 'MyProject', {
47
- source: codebuild.Source.s3({
48
- bucket: bucket,
49
- path: 'path/to/file.zip',
50
- }),
51
- });
52
- ```
53
-
54
- The CodeBuild role will be granted to read just the given path from the given `bucket`.
55
-
56
- ### `GitHubSource` and `GitHubEnterpriseSource`
57
-
58
- These source types can be used to build code from a GitHub repository.
59
- Example:
60
-
61
- ```ts
62
- const gitHubSource = codebuild.Source.gitHub({
63
- owner: 'awslabs',
64
- repo: 'aws-cdk',
65
- webhook: true, // optional, default: true if `webhookFilters` were provided, false otherwise
66
- webhookTriggersBatchBuild: true, // optional, default is false
67
- webhookFilters: [
68
- codebuild.FilterGroup
69
- .inEventOf(codebuild.EventAction.PUSH)
70
- .andBranchIs('main')
71
- .andCommitMessageIs('the commit message'),
72
- ], // optional, by default all pushes and Pull Requests will trigger a build
73
- });
74
- ```
75
-
76
- To provide GitHub credentials, please either go to AWS CodeBuild Console to connect
77
- or call `ImportSourceCredentials` to persist your personal access token.
78
- Example:
79
-
80
- ```console
81
- aws codebuild import-source-credentials --server-type GITHUB --auth-type PERSONAL_ACCESS_TOKEN --token <token_value>
82
- ```
83
-
84
- ### `BitBucketSource`
85
-
86
- This source type can be used to build code from a BitBucket repository.
87
-
88
- ```ts
89
- const bbSource = codebuild.Source.bitBucket({
90
- owner: 'owner',
91
- repo: 'repo',
92
- });
93
- ```
94
-
95
- ### For all Git sources
96
-
97
- For all Git sources, you can fetch submodules while cloing git repo.
98
-
99
- ```ts
100
- const gitHubSource = codebuild.Source.gitHub({
101
- owner: 'awslabs',
102
- repo: 'aws-cdk',
103
- fetchSubmodules: true,
104
- });
105
- ```
106
-
107
- ## Artifacts
108
-
109
- CodeBuild Projects can produce Artifacts and upload them to S3. For example:
110
-
111
- ```ts
112
- declare const bucket: s3.Bucket;
113
-
114
- const project = new codebuild.Project(this, 'MyProject', {
115
- buildSpec: codebuild.BuildSpec.fromObject({
116
- version: '0.2',
117
- }),
118
- artifacts: codebuild.Artifacts.s3({
119
- bucket,
120
- includeBuildId: false,
121
- packageZip: true,
122
- path: 'another/path',
123
- identifier: 'AddArtifact1',
124
- }),
125
- });
126
- ```
127
-
128
- If you'd prefer your buildspec to be rendered as YAML in the template,
129
- use the `fromObjectToYaml()` method instead of `fromObject()`.
130
-
131
- Because we've not set the `name` property, this example will set the
132
- `overrideArtifactName` parameter, and produce an artifact named as defined in
133
- the Buildspec file, uploaded to an S3 bucket (`bucket`). The path will be
134
- `another/path` and the artifact will be a zipfile.
135
-
136
- ## CodePipeline
137
-
138
- To add a CodeBuild Project as an Action to CodePipeline,
139
- use the `PipelineProject` class instead of `Project`.
140
- It's a simple class that doesn't allow you to specify `sources`,
141
- `secondarySources`, `artifacts` or `secondaryArtifacts`,
142
- as these are handled by setting input and output CodePipeline `Artifact` instances on the Action,
143
- instead of setting them on the Project.
144
-
145
- ```ts
146
- const project = new codebuild.PipelineProject(this, 'Project', {
147
- // properties as above...
148
- })
149
- ```
150
-
151
- For more details, see the readme of the `@aws-cdk/@aws-codepipeline-actions` package.
152
-
153
- ## Caching
154
-
155
- You can save time when your project builds by using a cache. A cache can store reusable pieces of your build environment and use them across multiple builds. Your build project can use one of two types of caching: Amazon S3 or local. In general, S3 caching is a good option for small and intermediate build artifacts that are more expensive to build than to download. Local caching is a good option for large intermediate build artifacts because the cache is immediately available on the build host.
156
-
157
- ### S3 Caching
158
-
159
- With S3 caching, the cache is stored in an S3 bucket which is available
160
- regardless from what CodeBuild instance gets selected to run your CodeBuild job
161
- on. When using S3 caching, you must also add in a `cache` section to your
162
- buildspec which indicates the files to be cached:
163
-
164
- ```ts
165
- declare const myCachingBucket: s3.Bucket;
166
-
167
- new codebuild.Project(this, 'Project', {
168
- source: codebuild.Source.bitBucket({
169
- owner: 'awslabs',
170
- repo: 'aws-cdk',
171
- }),
172
-
173
- cache: codebuild.Cache.bucket(myCachingBucket),
174
-
175
- // BuildSpec with a 'cache' section necessary for S3 caching. This can
176
- // also come from 'buildspec.yml' in your source.
177
- buildSpec: codebuild.BuildSpec.fromObject({
178
- version: '0.2',
179
- phases: {
180
- build: {
181
- commands: ['...'],
182
- },
183
- },
184
- cache: {
185
- paths: [
186
- // The '**/*' is required to indicate all files in this directory
187
- '/root/cachedir/**/*',
188
- ],
189
- },
190
- }),
191
- });
192
- ```
193
-
194
- Note that two different CodeBuild Projects using the same S3 bucket will *not*
195
- share their cache: each Project will get a unique file in the S3 bucket to store
196
- the cache in.
197
-
198
- ### Local Caching
199
-
200
- With local caching, the cache is stored on the codebuild instance itself. This
201
- is simple, cheap and fast, but CodeBuild cannot guarantee a reuse of instance
202
- and hence cannot guarantee cache hits. For example, when a build starts and
203
- caches files locally, if two subsequent builds start at the same time afterwards
204
- only one of those builds would get the cache. Three different cache modes are
205
- supported, which can be turned on individually.
206
-
207
- * `LocalCacheMode.SOURCE` caches Git metadata for primary and secondary sources.
208
- * `LocalCacheMode.DOCKER_LAYER` caches existing Docker layers.
209
- * `LocalCacheMode.CUSTOM` caches directories you specify in the buildspec file.
210
-
211
- ```ts
212
- new codebuild.Project(this, 'Project', {
213
- source: codebuild.Source.gitHubEnterprise({
214
- httpsCloneUrl: 'https://my-github-enterprise.com/owner/repo',
215
- }),
216
-
217
- // Enable Docker AND custom caching
218
- cache: codebuild.Cache.local(codebuild.LocalCacheMode.DOCKER_LAYER, codebuild.LocalCacheMode.CUSTOM),
219
-
220
- // BuildSpec with a 'cache' section necessary for 'CUSTOM' caching. This can
221
- // also come from 'buildspec.yml' in your source.
222
- buildSpec: codebuild.BuildSpec.fromObject({
223
- version: '0.2',
224
- phases: {
225
- build: {
226
- commands: ['...'],
227
- },
228
- },
229
- cache: {
230
- paths: [
231
- // The '**/*' is required to indicate all files in this directory
232
- '/root/cachedir/**/*',
233
- ],
234
- },
235
- }),
236
- });
237
- ```
238
-
239
- ## Environment
240
-
241
- By default, projects use a small instance with an Ubuntu 18.04 image. You
242
- can use the `environment` property to customize the build environment:
243
-
244
- * `buildImage` defines the Docker image used. See [Images](#images) below for
245
- details on how to define build images.
246
- * `certificate` defines the location of a PEM encoded certificate to import.
247
- * `computeType` defines the instance type used for the build.
248
- * `privileged` can be set to `true` to allow privileged access.
249
- * `environmentVariables` can be set at this level (and also at the project
250
- level).
251
-
252
- ## Images
253
-
254
- The CodeBuild library supports both Linux and Windows images via the
255
- `LinuxBuildImage` (or `LinuxArmBuildImage`), and `WindowsBuildImage` classes, respectively.
256
-
257
- You can specify one of the predefined Windows/Linux images by using one
258
- of the constants such as `WindowsBuildImage.WIN_SERVER_CORE_2019_BASE`,
259
- `WindowsBuildImage.WINDOWS_BASE_2_0`, `LinuxBuildImage.STANDARD_2_0`, or
260
- `LinuxArmBuildImage.AMAZON_LINUX_2_ARM`.
261
-
262
- Alternatively, you can specify a custom image using one of the static methods on
263
- `LinuxBuildImage`:
264
-
265
- * `LinuxBuildImage.fromDockerRegistry(image[, { secretsManagerCredentials }])` to reference an image in any public or private Docker registry.
266
- * `LinuxBuildImage.fromEcrRepository(repo[, tag])` to reference an image available in an
267
- ECR repository.
268
- * `LinuxBuildImage.fromAsset(parent, id, props)` to use an image created from a
269
- local asset.
270
- * `LinuxBuildImage.fromCodeBuildImageId(id)` to reference a pre-defined, CodeBuild-provided Docker image.
271
-
272
- or one of the corresponding methods on `WindowsBuildImage`:
273
-
274
- * `WindowsBuildImage.fromDockerRegistry(image[, { secretsManagerCredentials }, imageType])`
275
- * `WindowsBuildImage.fromEcrRepository(repo[, tag, imageType])`
276
- * `WindowsBuildImage.fromAsset(parent, id, props, [, imageType])`
277
-
278
- or one of the corresponding methods on `LinuxArmBuildImage`:
279
-
280
- * `LinuxArmBuildImage.fromEcrRepository(repo[, tag])`
281
-
282
- Note that the `WindowsBuildImage` version of the static methods accepts an optional parameter of type `WindowsImageType`,
283
- which can be either `WindowsImageType.STANDARD`, the default, or `WindowsImageType.SERVER_2019`:
284
-
285
- ```ts
286
- declare const ecrRepository: ecr.Repository;
287
-
288
- new codebuild.Project(this, 'Project', {
289
- environment: {
290
- buildImage: codebuild.WindowsBuildImage.fromEcrRepository(ecrRepository, 'v1.0', codebuild.WindowsImageType.SERVER_2019),
291
- // optional certificate to include in the build image
292
- certificate: {
293
- bucket: s3.Bucket.fromBucketName(this, 'Bucket', 'my-bucket'),
294
- objectKey: 'path/to/cert.pem',
295
- },
296
- },
297
- // ...
298
- })
299
- ```
300
-
301
- The following example shows how to define an image from a Docker asset:
302
-
303
- [Docker asset example](./test/integ.docker-asset.lit.ts)
304
-
305
- The following example shows how to define an image from an ECR repository:
306
-
307
- [ECR example](./test/integ.ecr.lit.ts)
308
-
309
- The following example shows how to define an image from a private docker registry:
310
-
311
- [Docker Registry example](./test/integ.docker-registry.lit.ts)
312
-
313
- ### GPU images
314
-
315
- The class `LinuxGpuBuildImage` contains constants for working with
316
- [AWS Deep Learning Container images](https://aws.amazon.com/releasenotes/available-deep-learning-containers-images):
317
-
318
-
319
- ```ts
320
- new codebuild.Project(this, 'Project', {
321
- environment: {
322
- buildImage: codebuild.LinuxGpuBuildImage.DLC_TENSORFLOW_2_1_0_INFERENCE,
323
- },
324
- // ...
325
- })
326
- ```
327
-
328
- One complication is that the repositories for the DLC images are in
329
- different accounts in different AWS regions.
330
- In most cases, the CDK will handle providing the correct account for you;
331
- in rare cases (for example, deploying to new regions)
332
- where our information might be out of date,
333
- you can always specify the account
334
- (along with the repository name and tag)
335
- explicitly using the `awsDeepLearningContainersImage` method:
336
-
337
- ```ts
338
- new codebuild.Project(this, 'Project', {
339
- environment: {
340
- buildImage: codebuild.LinuxGpuBuildImage.awsDeepLearningContainersImage(
341
- 'tensorflow-inference', '2.1.0-gpu-py36-cu101-ubuntu18.04', '123456789012'),
342
- },
343
- // ...
344
- })
345
- ```
346
-
347
- Alternatively, you can reference an image available in an ECR repository using the `LinuxGpuBuildImage.fromEcrRepository(repo[, tag])` method.
348
-
349
- ## Logs
350
-
351
- CodeBuild lets you specify an S3 Bucket, CloudWatch Log Group or both to receive logs from your projects.
352
-
353
- By default, logs will go to cloudwatch.
354
-
355
- ### CloudWatch Logs Example
356
-
357
- ```ts
358
- new codebuild.Project(this, 'Project', {
359
- logging: {
360
- cloudWatch: {
361
- logGroup: new logs.LogGroup(this, `MyLogGroup`),
362
- }
363
- },
364
- })
365
- ```
366
-
367
- ### S3 Logs Example
368
-
369
- ```ts
370
- new codebuild.Project(this, 'Project', {
371
- logging: {
372
- s3: {
373
- bucket: new s3.Bucket(this, `LogBucket`)
374
- }
375
- },
376
- })
377
- ```
378
-
379
- ## Credentials
380
-
381
- CodeBuild allows you to store credentials used when communicating with various sources,
382
- like GitHub:
383
-
384
- ```ts
385
- new codebuild.GitHubSourceCredentials(this, 'CodeBuildGitHubCreds', {
386
- accessToken: SecretValue.secretsManager('my-token'),
387
- });
388
- // GitHub Enterprise is almost the same,
389
- // except the class is called GitHubEnterpriseSourceCredentials
390
- ```
391
-
392
- and BitBucket:
393
-
394
- ```ts
395
- new codebuild.BitBucketSourceCredentials(this, 'CodeBuildBitBucketCreds', {
396
- username: SecretValue.secretsManager('my-bitbucket-creds', { jsonField: 'username' }),
397
- password: SecretValue.secretsManager('my-bitbucket-creds', { jsonField: 'password' }),
398
- });
399
- ```
400
-
401
- **Note**: the credentials are global to a given account in a given region -
402
- they are not defined per CodeBuild project.
403
- CodeBuild only allows storing a single credential of a given type
404
- (GitHub, GitHub Enterprise or BitBucket)
405
- in a given account in a given region -
406
- any attempt to save more than one will result in an error.
407
- You can use the [`list-source-credentials` AWS CLI operation](https://docs.aws.amazon.com/cli/latest/reference/codebuild/list-source-credentials.html)
408
- to inspect what credentials are stored in your account.
409
-
410
- ## Test reports
411
-
412
- You can specify a test report in your buildspec:
413
-
414
- ```ts
415
- const project = new codebuild.Project(this, 'Project', {
416
- buildSpec: codebuild.BuildSpec.fromObject({
417
- // ...
418
- reports: {
419
- myReport: {
420
- files: '**/*',
421
- 'base-directory': 'build/test-results',
422
- },
423
- },
424
- }),
425
- });
426
- ```
427
-
428
- This will create a new test report group,
429
- with the name `<ProjectName>-myReport`.
430
-
431
- The project's role in the CDK will always be granted permissions to create and use report groups
432
- with names starting with the project's name;
433
- if you'd rather not have those permissions added,
434
- you can opt out of it when creating the project:
435
-
436
- ```ts
437
- declare const source: codebuild.Source;
438
-
439
- const project = new codebuild.Project(this, 'Project', {
440
- source,
441
- grantReportGroupPermissions: false,
442
- });
443
- ```
444
-
445
- Alternatively, you can specify an ARN of an existing resource group,
446
- instead of a simple name, in your buildspec:
447
-
448
- ```ts
449
- declare const source: codebuild.Source;
450
-
451
- // create a new ReportGroup
452
- const reportGroup = new codebuild.ReportGroup(this, 'ReportGroup');
453
-
454
- const project = new codebuild.Project(this, 'Project', {
455
- source,
456
- buildSpec: codebuild.BuildSpec.fromObject({
457
- // ...
458
- reports: {
459
- [reportGroup.reportGroupArn]: {
460
- files: '**/*',
461
- 'base-directory': 'build/test-results',
462
- },
463
- },
464
- }),
465
- });
466
- ```
467
-
468
- For a code coverage report, you can specify a report group with the code coverage report group type.
469
-
470
- ```ts
471
- declare const source: codebuild.Source;
472
-
473
- // create a new ReportGroup
474
- const reportGroup = new codebuild.ReportGroup(this, 'ReportGroup', {
475
- type: codebuild.ReportGroupType.CODE_COVERAGE
476
- });
477
-
478
- const project = new codebuild.Project(this, 'Project', {
479
- source,
480
- buildSpec: codebuild.BuildSpec.fromObject({
481
- // ...
482
- reports: {
483
- [reportGroup.reportGroupArn]: {
484
- files: '**/*',
485
- 'base-directory': 'build/coverage-report.xml',
486
- 'file-format': 'JACOCOXML'
487
- },
488
- },
489
- }),
490
- });
491
- ```
492
-
493
- If you specify a report group, you need to grant the project's role permissions to write reports to that report group:
494
-
495
- ```ts
496
- declare const project: codebuild.Project;
497
- declare const reportGroup: codebuild.ReportGroup;
498
-
499
- reportGroup.grantWrite(project);
500
- ```
501
-
502
- The created policy will adjust to the report group type. If no type is specified when creating the report group the created policy will contain the action for the test report group type.
503
-
504
- For more information on the test reports feature,
505
- see the [AWS CodeBuild documentation](https://docs.aws.amazon.com/codebuild/latest/userguide/test-reporting.html).
506
-
507
- ## Events
508
-
509
- CodeBuild projects can be used either as a source for events or be triggered
510
- by events via an event rule.
511
-
512
- ### Using Project as an event target
513
-
514
- The `@aws-cdk/aws-events-targets.CodeBuildProject` allows using an AWS CodeBuild
515
- project as a AWS CloudWatch event rule target:
516
-
517
- ```ts
518
- // start build when a commit is pushed
519
- import * as codecommit from 'aws-cdk-lib/aws-codecommit';
520
- import * as targets from 'aws-cdk-lib/aws-events-targets';
521
-
522
- declare const codeCommitRepository: codecommit.Repository;
523
- declare const project: codebuild.Project;
524
-
525
- codeCommitRepository.onCommit('OnCommit', {
526
- target: new targets.CodeBuildProject(project),
527
- });
528
- ```
529
-
530
- ### Using Project as an event source
531
-
532
- To define Amazon CloudWatch event rules for build projects, use one of the `onXxx`
533
- methods:
534
-
535
- ```ts
536
- import * as targets from 'aws-cdk-lib/aws-events-targets';
537
- declare const fn: lambda.Function;
538
- declare const project: codebuild.Project;
539
-
540
- const rule = project.onStateChange('BuildStateChange', {
541
- target: new targets.LambdaFunction(fn)
542
- });
543
- ```
544
-
545
- ## CodeStar Notifications
546
-
547
- To define CodeStar Notification rules for Projects, use one of the `notifyOnXxx()` methods.
548
- They are very similar to `onXxx()` methods for CloudWatch events:
549
-
550
- ```ts
551
- import * as chatbot from 'aws-cdk-lib/aws-chatbot';
552
-
553
- declare const project: codebuild.Project;
554
-
555
- const target = new chatbot.SlackChannelConfiguration(this, 'MySlackChannel', {
556
- slackChannelConfigurationName: 'YOUR_CHANNEL_NAME',
557
- slackWorkspaceId: 'YOUR_SLACK_WORKSPACE_ID',
558
- slackChannelId: 'YOUR_SLACK_CHANNEL_ID',
559
- });
560
-
561
- const rule = project.notifyOnBuildSucceeded('NotifyOnBuildSucceeded', target);
562
- ```
563
-
564
- ## Secondary sources and artifacts
565
-
566
- CodeBuild Projects can get their sources from multiple places, and produce
567
- multiple outputs. For example:
568
-
569
- ```ts
570
- import * as codecommit from 'aws-cdk-lib/aws-codecommit';
571
- declare const repo: codecommit.Repository;
572
- declare const bucket: s3.Bucket;
573
-
574
- const project = new codebuild.Project(this, 'MyProject', {
575
- secondarySources: [
576
- codebuild.Source.codeCommit({
577
- identifier: 'source2',
578
- repository: repo,
579
- }),
580
- ],
581
- secondaryArtifacts: [
582
- codebuild.Artifacts.s3({
583
- identifier: 'artifact2',
584
- bucket: bucket,
585
- path: 'some/path',
586
- name: 'file.zip',
587
- }),
588
- ],
589
- // ...
590
- });
591
- ```
592
-
593
- Note that the `identifier` property is required for both secondary sources and
594
- artifacts.
595
-
596
- The contents of the secondary source is available to the build under the
597
- directory specified by the `CODEBUILD_SRC_DIR_<identifier>` environment variable
598
- (so, `CODEBUILD_SRC_DIR_source2` in the above case).
599
-
600
- The secondary artifacts have their own section in the buildspec, under the
601
- regular `artifacts` one. Each secondary artifact has its own section, beginning
602
- with their identifier.
603
-
604
- So, a buildspec for the above Project could look something like this:
605
-
606
- ```ts
607
- const project = new codebuild.Project(this, 'MyProject', {
608
- // secondary sources and artifacts as above...
609
- buildSpec: codebuild.BuildSpec.fromObject({
610
- version: '0.2',
611
- phases: {
612
- build: {
613
- commands: [
614
- 'cd $CODEBUILD_SRC_DIR_source2',
615
- 'touch output2.txt',
616
- ],
617
- },
618
- },
619
- artifacts: {
620
- 'secondary-artifacts': {
621
- 'artifact2': {
622
- 'base-directory': '$CODEBUILD_SRC_DIR_source2',
623
- 'files': [
624
- 'output2.txt',
625
- ],
626
- },
627
- },
628
- },
629
- }),
630
- });
631
- ```
632
-
633
- ### Definition of VPC configuration in CodeBuild Project
634
-
635
- Typically, resources in an VPC are not accessible by AWS CodeBuild. To enable
636
- access, you must provide additional VPC-specific configuration information as
637
- part of your CodeBuild project configuration. This includes the VPC ID, the
638
- VPC subnet IDs, and the VPC security group IDs. VPC-enabled builds are then
639
- able to access resources inside your VPC.
640
-
641
- For further Information see https://docs.aws.amazon.com/codebuild/latest/userguide/vpc-support.html
642
-
643
- **Use Cases**
644
- VPC connectivity from AWS CodeBuild builds makes it possible to:
645
-
646
- * Run integration tests from your build against data in an Amazon RDS database that's isolated on a private subnet.
647
- * Query data in an Amazon ElastiCache cluster directly from tests.
648
- * Interact with internal web services hosted on Amazon EC2, Amazon ECS, or services that use internal Elastic Load Balancing.
649
- * Retrieve dependencies from self-hosted, internal artifact repositories, such as PyPI for Python, Maven for Java, and npm for Node.js.
650
- * Access objects in an Amazon S3 bucket configured to allow access through an Amazon VPC endpoint only.
651
- * Query external web services that require fixed IP addresses through the Elastic IP address of the NAT gateway or NAT instance associated with your subnet(s).
652
-
653
- Your builds can access any resource that's hosted in your VPC.
654
-
655
- **Enable Amazon VPC Access in your CodeBuild Projects**
656
-
657
- Pass the VPC when defining your Project, then make sure to
658
- give the CodeBuild's security group the right permissions
659
- to access the resources that it needs by using the
660
- `connections` object.
661
-
662
- For example:
663
-
664
- ```ts
665
- declare const loadBalancer: elbv2.ApplicationLoadBalancer;
666
-
667
- const vpc = new ec2.Vpc(this, 'MyVPC');
668
- const project = new codebuild.Project(this, 'MyProject', {
669
- vpc: vpc,
670
- buildSpec: codebuild.BuildSpec.fromObject({
671
- // ...
672
- }),
673
- });
674
-
675
- project.connections.allowTo(loadBalancer, ec2.Port.tcp(443));
676
- ```
677
-
678
- ## Project File System Location EFS
679
-
680
- Add support for CodeBuild to build on AWS EFS file system mounts using
681
- the new ProjectFileSystemLocation.
682
- The `fileSystemLocations` property which accepts a list `ProjectFileSystemLocation`
683
- as represented by the interface `IFileSystemLocations`.
684
- The only supported file system type is `EFS`.
685
-
686
- For example:
687
-
688
- ```ts
689
- new codebuild.Project(this, 'MyProject', {
690
- buildSpec: codebuild.BuildSpec.fromObject({
691
- version: '0.2',
692
- }),
693
- fileSystemLocations: [
694
- codebuild.FileSystemLocation.efs({
695
- identifier: "myidentifier2",
696
- location: "myclodation.mydnsroot.com:/loc",
697
- mountPoint: "/media",
698
- mountOptions: "opts"
699
- })
700
- ]
701
- });
702
- ```
703
-
704
- Here's a CodeBuild project with a simple example that creates a project mounted on AWS EFS:
705
-
706
- [Minimal Example](./test/integ.project-file-system-location.ts)
707
-
708
- ## Batch builds
709
-
710
- To enable batch builds you should call `enableBatchBuilds()` on the project instance.
711
-
712
- It returns an object containing the batch service role that was created,
713
- or `undefined` if batch builds could not be enabled, for example if the project was imported.
714
-
715
- ```ts
716
- declare const source: codebuild.Source;
717
-
718
- const project = new codebuild.Project(this, 'MyProject', { source, });
719
-
720
- if (project.enableBatchBuilds()) {
721
- console.log('Batch builds were enabled');
722
- }
723
- ```
724
-
725
- ## Timeouts
726
-
727
- There are two types of timeouts that can be set when creating your Project.
728
- The `timeout` property can be used to set an upper limit on how long your Project is able to run without being marked as completed.
729
- The default is 60 minutes.
730
- An example of overriding the default follows.
731
-
732
- ```ts
733
- new codebuild.Project(this, 'MyProject', {
734
- timeout: Duration.minutes(90)
735
- });
736
- ```
737
-
738
- The `queuedTimeout` property can be used to set an upper limit on how your Project remains queued to run.
739
- There is no default value for this property.
740
- As an example, to allow your Project to queue for up to thirty (30) minutes before the build fails,
741
- use the following code.
742
-
743
- ```ts
744
- new codebuild.Project(this, 'MyProject', {
745
- queuedTimeout: Duration.minutes(30)
746
- });
747
- ```
748
-
749
- ## Limiting concurrency
750
-
751
- By default if a new build is triggered it will be run even if there is a previous build already in progress.
752
- It is possible to limit the maximum concurrent builds to value between 1 and the account specific maximum limit.
753
- By default there is no explicit limit.
754
-
755
- ```ts
756
- new codebuild.Project(this, 'MyProject', {
757
- concurrentBuildLimit: 1
758
- });
759
- ```