@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,579 +0,0 @@
1
- # Amazon CloudWatch Construct Library
2
-
3
-
4
- ## Metric objects
5
-
6
- Metric objects represent a metric that is emitted by AWS services or your own
7
- application, such as `CPUUsage`, `FailureCount` or `Bandwidth`.
8
-
9
- Metric objects can be constructed directly or are exposed by resources as
10
- attributes. Resources that expose metrics will have functions that look
11
- like `metricXxx()` which will return a Metric object, initialized with defaults
12
- that make sense.
13
-
14
- For example, `lambda.Function` objects have the `fn.metricErrors()` method, which
15
- represents the amount of errors reported by that Lambda function:
16
-
17
- ```ts
18
- declare const fn: lambda.Function;
19
-
20
- const errors = fn.metricErrors();
21
- ```
22
-
23
- `Metric` objects can be account and region aware. You can specify `account` and `region` as properties of the metric, or use the `metric.attachTo(Construct)` method. `metric.attachTo()` will automatically copy the `region` and `account` fields of the `Construct`, which can come from anywhere in the Construct tree.
24
-
25
- You can also instantiate `Metric` objects to reference any
26
- [published metric](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html)
27
- that's not exposed using a convenience method on the CDK construct.
28
- For example:
29
-
30
- ```ts
31
- const hostedZone = new route53.HostedZone(this, 'MyHostedZone', { zoneName: "example.org" });
32
- const metric = new cloudwatch.Metric({
33
- namespace: 'AWS/Route53',
34
- metricName: 'DNSQueries',
35
- dimensionsMap: {
36
- HostedZoneId: hostedZone.hostedZoneId
37
- }
38
- });
39
- ```
40
-
41
- ### Instantiating a new Metric object
42
-
43
- If you want to reference a metric that is not yet exposed by an existing construct,
44
- you can instantiate a `Metric` object to represent it. For example:
45
-
46
- ```ts
47
- const metric = new cloudwatch.Metric({
48
- namespace: 'MyNamespace',
49
- metricName: 'MyMetric',
50
- dimensionsMap: {
51
- ProcessingStep: 'Download'
52
- }
53
- });
54
- ```
55
-
56
- ### Metric Math
57
-
58
- Math expressions are supported by instantiating the `MathExpression` class.
59
- For example, a math expression that sums two other metrics looks like this:
60
-
61
- ```ts
62
- declare const fn: lambda.Function;
63
-
64
- const allProblems = new cloudwatch.MathExpression({
65
- expression: "errors + throttles",
66
- usingMetrics: {
67
- errors: fn.metricErrors(),
68
- faults: fn.metricThrottles(),
69
- }
70
- });
71
- ```
72
-
73
- You can use `MathExpression` objects like any other metric, including using
74
- them in other math expressions:
75
-
76
- ```ts
77
- declare const fn: lambda.Function;
78
- declare const allProblems: cloudwatch.MathExpression;
79
-
80
- const problemPercentage = new cloudwatch.MathExpression({
81
- expression: "(problems / invocations) * 100",
82
- usingMetrics: {
83
- problems: allProblems,
84
- invocations: fn.metricInvocations()
85
- }
86
- });
87
- ```
88
-
89
- ### Search Expressions
90
-
91
- Math expressions also support search expressions. For example, the following
92
- search expression returns all CPUUtilization metrics that it finds, with the
93
- graph showing the Average statistic with an aggregation period of 5 minutes:
94
-
95
- ```ts
96
- const cpuUtilization = new cloudwatch.MathExpression({
97
- expression: "SEARCH('{AWS/EC2,InstanceId} MetricName=\"CPUUtilization\"', 'Average', 300)",
98
-
99
- // Specifying '' as the label suppresses the default behavior
100
- // of using the expression as metric label. This is especially appropriate
101
- // when using expressions that return multiple time series (like SEARCH()
102
- // or METRICS()), to show the labels of the retrieved metrics only.
103
- label: '',
104
- });
105
- ```
106
-
107
- Cross-account and cross-region search expressions are also supported. Use
108
- the `searchAccount` and `searchRegion` properties to specify the account
109
- and/or region to evaluate the search expression against.
110
-
111
- ### Aggregation
112
-
113
- To graph or alarm on metrics you must aggregate them first, using a function
114
- like `Average` or a percentile function like `P99`. By default, most Metric objects
115
- returned by CDK libraries will be configured as `Average` over `300 seconds` (5 minutes).
116
- The exception is if the metric represents a count of discrete events, such as
117
- failures. In that case, the Metric object will be configured as `Sum` over `300
118
- seconds`, i.e. it represents the number of times that event occurred over the
119
- time period.
120
-
121
- If you want to change the default aggregation of the Metric object (for example,
122
- the function or the period), you can do so by passing additional parameters
123
- to the metric function call:
124
-
125
- ```ts
126
- declare const fn: lambda.Function;
127
-
128
- const minuteErrorRate = fn.metricErrors({
129
- statistic: 'avg',
130
- period: Duration.minutes(1),
131
- label: 'Lambda failure rate'
132
- });
133
- ```
134
-
135
- This function also allows changing the metric label or color (which will be
136
- useful when embedding them in graphs, see below).
137
-
138
- > Rates versus Sums
139
- >
140
- > The reason for using `Sum` to count discrete events is that *some* events are
141
- > emitted as either `0` or `1` (for example `Errors` for a Lambda) and some are
142
- > only emitted as `1` (for example `NumberOfMessagesPublished` for an SNS
143
- > topic).
144
- >
145
- > In case `0`-metrics are emitted, it makes sense to take the `Average` of this
146
- > metric: the result will be the fraction of errors over all executions.
147
- >
148
- > If `0`-metrics are not emitted, the `Average` will always be equal to `1`,
149
- > and not be very useful.
150
- >
151
- > In order to simplify the mental model of `Metric` objects, we default to
152
- > aggregating using `Sum`, which will be the same for both metrics types. If you
153
- > happen to know the Metric you want to alarm on makes sense as a rate
154
- > (`Average`) you can always choose to change the statistic.
155
-
156
- ### Labels
157
-
158
- Metric labels are displayed in the legend of graphs that include the metrics.
159
-
160
- You can use [dynamic labels](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html)
161
- to show summary information about the displayed time series
162
- in the legend. For example, if you use:
163
-
164
- ```ts
165
- declare const fn: lambda.Function;
166
-
167
- const minuteErrorRate = fn.metricErrors({
168
- statistic: 'sum',
169
- period: Duration.hours(1),
170
-
171
- // Show the maximum hourly error count in the legend
172
- label: '[max: ${MAX}] Lambda failure rate',
173
- });
174
- ```
175
-
176
- As the metric label, the maximum value in the visible range will
177
- be shown next to the time series name in the graph's legend.
178
-
179
- If the metric is a math expression producing more than one time series, the
180
- maximum will be individually calculated and shown for each time series produce
181
- by the math expression.
182
-
183
- ## Alarms
184
-
185
- Alarms can be created on metrics in one of two ways. Either create an `Alarm`
186
- object, passing the `Metric` object to set the alarm on:
187
-
188
- ```ts
189
- declare const fn: lambda.Function;
190
-
191
- new cloudwatch.Alarm(this, 'Alarm', {
192
- metric: fn.metricErrors(),
193
- threshold: 100,
194
- evaluationPeriods: 2,
195
- });
196
- ```
197
-
198
- Alternatively, you can call `metric.createAlarm()`:
199
-
200
- ```ts
201
- declare const fn: lambda.Function;
202
-
203
- fn.metricErrors().createAlarm(this, 'Alarm', {
204
- threshold: 100,
205
- evaluationPeriods: 2,
206
- });
207
- ```
208
-
209
- The most important properties to set while creating an Alarms are:
210
-
211
- - `threshold`: the value to compare the metric against.
212
- - `comparisonOperator`: the comparison operation to use, defaults to `metric >= threshold`.
213
- - `evaluationPeriods`: how many consecutive periods the metric has to be
214
- breaching the the threshold for the alarm to trigger.
215
-
216
- To create a cross-account alarm, make sure you have enabled [cross-account functionality](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) in CloudWatch. Then, set the `account` property in the `Metric` object either manually or via the `metric.attachTo()` method.
217
-
218
- ### Alarm Actions
219
-
220
- To add actions to an alarm, use the integration classes from the
221
- `@aws-cdk/aws-cloudwatch-actions` package. For example, to post a message to
222
- an SNS topic when an alarm breaches, do the following:
223
-
224
- ```ts
225
- import * as cw_actions from 'aws-cdk-lib/aws-cloudwatch-actions';
226
- declare const alarm: cloudwatch.Alarm;
227
-
228
- const topic = new sns.Topic(this, 'Topic');
229
- alarm.addAlarmAction(new cw_actions.SnsAction(topic));
230
- ```
231
-
232
- #### Notification formats
233
-
234
- Alarms can be created in one of two "formats":
235
-
236
- - With "top-level parameters" (these are the classic style of CloudWatch Alarms).
237
- - With a list of metrics specifications (these are the modern style of CloudWatch Alarms).
238
-
239
- For backwards compatibility, CDK will try to create classic, top-level CloudWatch alarms
240
- as much as possible, unless you are using features that cannot be expressed in that format.
241
- Features that require the new-style alarm format are:
242
-
243
- - Metric math
244
- - Cross-account metrics
245
- - Labels
246
-
247
- The difference between these two does not impact the functionality of the alarm
248
- in any way, *except* that the format of the notifications the Alarm generates is
249
- different between them. This affects both the notifications sent out over SNS,
250
- as well as the EventBridge events generated by this Alarm. If you are writing
251
- code to consume these notifications, be sure to handle both formats.
252
-
253
- ### Composite Alarms
254
-
255
- [Composite Alarms](https://aws.amazon.com/about-aws/whats-new/2020/03/amazon-cloudwatch-now-allows-you-to-combine-multiple-alarms/)
256
- can be created from existing Alarm resources.
257
-
258
- ```ts
259
- declare const alarm1: cloudwatch.Alarm;
260
- declare const alarm2: cloudwatch.Alarm;
261
- declare const alarm3: cloudwatch.Alarm;
262
- declare const alarm4: cloudwatch.Alarm;
263
-
264
- const alarmRule = cloudwatch.AlarmRule.anyOf(
265
- cloudwatch.AlarmRule.allOf(
266
- cloudwatch.AlarmRule.anyOf(
267
- alarm1,
268
- cloudwatch.AlarmRule.fromAlarm(alarm2, cloudwatch.AlarmState.OK),
269
- alarm3,
270
- ),
271
- cloudwatch.AlarmRule.not(cloudwatch.AlarmRule.fromAlarm(alarm4, cloudwatch.AlarmState.INSUFFICIENT_DATA)),
272
- ),
273
- cloudwatch.AlarmRule.fromBoolean(false),
274
- );
275
-
276
- new cloudwatch.CompositeAlarm(this, 'MyAwesomeCompositeAlarm', {
277
- alarmRule,
278
- });
279
- ```
280
-
281
- ### A note on units
282
-
283
- In CloudWatch, Metrics datums are emitted with units, such as `seconds` or
284
- `bytes`. When `Metric` objects are given a `unit` attribute, it will be used to
285
- *filter* the stream of metric datums for datums emitted using the same `unit`
286
- attribute.
287
-
288
- In particular, the `unit` field is *not* used to rescale datums or alarm threshold
289
- values (for example, it cannot be used to specify an alarm threshold in
290
- *Megabytes* if the metric stream is being emitted as *bytes*).
291
-
292
- You almost certainly don't want to specify the `unit` property when creating
293
- `Metric` objects (which will retrieve all datums regardless of their unit),
294
- unless you have very specific requirements. Note that in any case, CloudWatch
295
- only supports filtering by `unit` for Alarms, not in Dashboard graphs.
296
-
297
- Please see the following GitHub issue for a discussion on real unit
298
- calculations in CDK: https://github.com/aws/aws-cdk/issues/5595
299
-
300
- ## Dashboards
301
-
302
- Dashboards are set of Widgets stored server-side which can be accessed quickly
303
- from the AWS console. Available widgets are graphs of a metric over time, the
304
- current value of a metric, or a static piece of Markdown which explains what the
305
- graphs mean.
306
-
307
- The following widgets are available:
308
-
309
- - `GraphWidget` -- shows any number of metrics on both the left and right
310
- vertical axes.
311
- - `AlarmWidget` -- shows the graph and alarm line for a single alarm.
312
- - `SingleValueWidget` -- shows the current value of a set of metrics.
313
- - `TextWidget` -- shows some static Markdown.
314
- - `AlarmStatusWidget` -- shows the status of your alarms in a grid view.
315
-
316
- ### Graph widget
317
-
318
- A graph widget can display any number of metrics on either the `left` or
319
- `right` vertical axis:
320
-
321
- ```ts
322
- declare const dashboard: cloudwatch.Dashboard;
323
- declare const executionCountMetric: cloudwatch.Metric;
324
- declare const errorCountMetric: cloudwatch.Metric;
325
-
326
- dashboard.addWidgets(new cloudwatch.GraphWidget({
327
- title: "Executions vs error rate",
328
-
329
- left: [executionCountMetric],
330
-
331
- right: [errorCountMetric.with({
332
- statistic: "average",
333
- label: "Error rate",
334
- color: cloudwatch.Color.GREEN,
335
- })]
336
- }));
337
- ```
338
-
339
- Using the methods `addLeftMetric()` and `addRightMetric()` you can add metrics to a graph widget later on.
340
-
341
- Graph widgets can also display annotations attached to the left or the right y-axis.
342
-
343
- ```ts
344
- declare const dashboard: cloudwatch.Dashboard;
345
-
346
- dashboard.addWidgets(new cloudwatch.GraphWidget({
347
- // ...
348
-
349
- leftAnnotations: [
350
- { value: 1800, label: Duration.minutes(30).toHumanString(), color: cloudwatch.Color.RED, },
351
- { value: 3600, label: '1 hour', color: '#2ca02c', }
352
- ],
353
- }));
354
- ```
355
-
356
- The graph legend can be adjusted from the default position at bottom of the widget.
357
-
358
- ```ts
359
- declare const dashboard: cloudwatch.Dashboard;
360
-
361
- dashboard.addWidgets(new cloudwatch.GraphWidget({
362
- // ...
363
-
364
- legendPosition: cloudwatch.LegendPosition.RIGHT,
365
- }));
366
- ```
367
-
368
- The graph can publish live data within the last minute that has not been fully aggregated.
369
-
370
- ```ts
371
- declare const dashboard: cloudwatch.Dashboard;
372
-
373
- dashboard.addWidgets(new cloudwatch.GraphWidget({
374
- // ...
375
-
376
- liveData: true,
377
- }));
378
- ```
379
-
380
- The graph view can be changed from default 'timeSeries' to 'bar' or 'pie'.
381
-
382
- ```ts
383
- declare const dashboard: cloudwatch.Dashboard;
384
-
385
- dashboard.addWidgets(new cloudwatch.GraphWidget({
386
- // ...
387
-
388
- view: cloudwatch.GraphWidgetView.BAR,
389
- }));
390
- ```
391
-
392
- ### Alarm widget
393
-
394
- An alarm widget shows the graph and the alarm line of a single alarm:
395
-
396
- ```ts
397
- declare const dashboard: cloudwatch.Dashboard;
398
- declare const errorAlarm: cloudwatch.Alarm;
399
-
400
- dashboard.addWidgets(new cloudwatch.AlarmWidget({
401
- title: "Errors",
402
- alarm: errorAlarm,
403
- }));
404
- ```
405
-
406
- ### Single value widget
407
-
408
- A single-value widget shows the latest value of a set of metrics (as opposed
409
- to a graph of the value over time):
410
-
411
- ```ts
412
- declare const dashboard: cloudwatch.Dashboard;
413
- declare const visitorCount: cloudwatch.Metric;
414
- declare const purchaseCount: cloudwatch.Metric;
415
-
416
- dashboard.addWidgets(new cloudwatch.SingleValueWidget({
417
- metrics: [visitorCount, purchaseCount],
418
- }));
419
- ```
420
-
421
- Show as many digits as can fit, before rounding.
422
-
423
-
424
- ```ts
425
- declare const dashboard: cloudwatch.Dashboard;
426
-
427
- dashboard.addWidgets(new cloudwatch.SingleValueWidget({
428
- metrics: [ /* ... */ ],
429
-
430
- fullPrecision: true,
431
- }));
432
- ```
433
-
434
- Sparkline allows you to glance the trend of a metric by displaying a simplified linegraph below the value. You can't use `sparkline: true` together with `setPeriodToTimeRange: true`
435
-
436
- ```ts
437
- declare const dashboard: cloudwatch.Dashboard;
438
-
439
- dashboard.addWidgets(new cloudwatch.SingleValueWidget({
440
- metrics: [ /* ... */ ],
441
-
442
- sparkline: true,
443
- }));
444
- ```
445
-
446
- ### Text widget
447
-
448
- A text widget shows an arbitrary piece of MarkDown. Use this to add explanations
449
- to your dashboard:
450
-
451
- ```ts
452
- declare const dashboard: cloudwatch.Dashboard;
453
-
454
- dashboard.addWidgets(new cloudwatch.TextWidget({
455
- markdown: '# Key Performance Indicators'
456
- }));
457
- ```
458
-
459
- ### Alarm Status widget
460
-
461
- An alarm status widget displays instantly the status of any type of alarms and gives the
462
- ability to aggregate one or more alarms together in a small surface.
463
-
464
- ```ts
465
- declare const dashboard: cloudwatch.Dashboard;
466
- declare const errorAlarm: cloudwatch.Alarm;
467
-
468
- dashboard.addWidgets(
469
- new cloudwatch.AlarmStatusWidget({
470
- alarms: [errorAlarm],
471
- })
472
- );
473
- ```
474
-
475
- An alarm status widget only showing firing alarms, sorted by state and timestamp:
476
-
477
- ```ts
478
- declare const dashboard: cloudwatch.Dashboard;
479
- declare const errorAlarm: cloudwatch.Alarm;
480
-
481
- dashboard.addWidgets(new cloudwatch.AlarmStatusWidget({
482
- title: "Errors",
483
- alarms: [errorAlarm],
484
- sortBy: cloudwatch.AlarmStatusWidgetSortBy.STATE_UPDATED_TIMESTAMP,
485
- states: [cloudwatch.AlarmState.ALARM],
486
- }));
487
- ```
488
-
489
- ### Query results widget
490
-
491
- A `LogQueryWidget` shows the results of a query from Logs Insights:
492
-
493
- ```ts
494
- declare const dashboard: cloudwatch.Dashboard;
495
-
496
- dashboard.addWidgets(new cloudwatch.LogQueryWidget({
497
- logGroupNames: ['my-log-group'],
498
- view: cloudwatch.LogQueryVisualizationType.TABLE,
499
- // The lines will be automatically combined using '\n|'.
500
- queryLines: [
501
- 'fields @message',
502
- 'filter @message like /Error/',
503
- ]
504
- }));
505
- ```
506
-
507
- ### Custom widget
508
-
509
- A `CustomWidget` shows the result of an AWS Lambda function:
510
-
511
- ```ts
512
- declare const dashboard: cloudwatch.Dashboard;
513
-
514
- // Import or create a lambda function
515
- const fn = lambda.Function.fromFunctionArn(
516
- dashboard,
517
- 'Function',
518
- 'arn:aws:lambda:us-east-1:123456789012:function:MyFn',
519
- );
520
-
521
- dashboard.addWidgets(new cloudwatch.CustomWidget({
522
- functionArn: fn.functionArn,
523
- title: 'My lambda baked widget',
524
- }));
525
- ```
526
-
527
- You can learn more about custom widgets in the [Amazon Cloudwatch User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/add_custom_widget_dashboard.html).
528
-
529
- ### Dashboard Layout
530
-
531
- The widgets on a dashboard are visually laid out in a grid that is 24 columns
532
- wide. Normally you specify X and Y coordinates for the widgets on a Dashboard,
533
- but because this is inconvenient to do manually, the library contains a simple
534
- layout system to help you lay out your dashboards the way you want them to.
535
-
536
- Widgets have a `width` and `height` property, and they will be automatically
537
- laid out either horizontally or vertically stacked to fill out the available
538
- space.
539
-
540
- Widgets are added to a Dashboard by calling `add(widget1, widget2, ...)`.
541
- Widgets given in the same call will be laid out horizontally. Widgets given
542
- in different calls will be laid out vertically. To make more complex layouts,
543
- you can use the following widgets to pack widgets together in different ways:
544
-
545
- - `Column`: stack two or more widgets vertically.
546
- - `Row`: lay out two or more widgets horizontally.
547
- - `Spacer`: take up empty space
548
-
549
- ### Column widget
550
-
551
- A column widget contains other widgets and they will be laid out in a
552
- vertical column. Widgets will be put one after another in order.
553
-
554
- ```ts
555
- declare const widgetA: cloudwatch.IWidget;
556
- declare const widgetB: cloudwatch.IWidget;
557
-
558
- new cloudwatch.Column(widgetA, widgetB);
559
- ```
560
-
561
- You can add a widget after object instantiation with the method
562
- `addWidget()`. Each new widget will be put at the bottom of the column.
563
-
564
- ### Row widget
565
-
566
- A row widget contains other widgets and they will be laid out in a
567
- horizontal row. Widgets will be put one after another in order.
568
- If the total width of the row exceeds the max width of the grid of 24
569
- columns, the row will wrap automatically and adapt its height.
570
-
571
- ```ts
572
- declare const widgetA: cloudwatch.IWidget;
573
- declare const widgetB: cloudwatch.IWidget;
574
-
575
- new cloudwatch.Row(widgetA, widgetB);
576
- ```
577
-
578
- You can add a widget after object instantiation with the method
579
- `addWidget()`.
@@ -1,43 +0,0 @@
1
- # CloudWatch Alarm Actions library
2
-
3
-
4
- This library contains a set of classes which can be used as CloudWatch Alarm actions.
5
-
6
- The currently implemented actions are: EC2 Actions, SNS Actions, SSM OpsCenter Actions, Autoscaling Actions and Application Autoscaling Actions
7
-
8
-
9
- ## EC2 Action Example
10
-
11
- ```ts
12
- // Alarm must be configured with an EC2 per-instance metric
13
- declare const alarm: cloudwatch.Alarm;
14
- // Attach a reboot when alarm triggers
15
- alarm.addAlarmAction(
16
- new actions.Ec2Action(actions.Ec2InstanceAction.REBOOT),
17
- );
18
- ```
19
-
20
- ## SSM OpsCenter Action Example
21
-
22
- ```ts
23
- declare const alarm: cloudwatch.Alarm;
24
- // Create an OpsItem with specific severity and category when alarm triggers
25
- alarm.addAlarmAction(
26
- new actions.SsmAction(
27
- actions.OpsItemSeverity.CRITICAL,
28
- actions.OpsItemCategory.PERFORMANCE // category is optional
29
- )
30
- );
31
- ```
32
-
33
- ## SSM Incident Manager Action Example
34
-
35
- ```ts
36
- declare const alarm: cloudwatch.Alarm;
37
- // Create an Incident Manager incident based on a specific response plan
38
- alarm.addAlarmAction(
39
- new actions.SsmIncidentAction('ResponsePlanName')
40
- );
41
- ```
42
-
43
- See `@aws-cdk/aws-cloudwatch` for more information.
@@ -1,27 +0,0 @@
1
- # AWS::CodeArtifact 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 codeartifact from 'aws-cdk-lib/aws-codeartifact';
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 CodeArtifact construct libraries](https://constructs.dev/search?q=codeartifact)
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::CodeArtifact resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_CodeArtifact.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::CodeArtifact](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_CodeArtifact.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-->