@epilot360/icons 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (459) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +15 -0
  3. package/dist/bundle.js +2 -0
  4. package/dist/bundle.js.map +1 -0
  5. package/iac/node_modules/@balena/dockerignore/LICENSE.md +206 -0
  6. package/iac/node_modules/@balena/dockerignore/README.md +261 -0
  7. package/iac/node_modules/@cspotcode/source-map-support/LICENSE.md +21 -0
  8. package/iac/node_modules/@cspotcode/source-map-support/README.md +289 -0
  9. package/iac/node_modules/@jridgewell/resolve-uri/LICENSE +19 -0
  10. package/iac/node_modules/@jridgewell/resolve-uri/README.md +40 -0
  11. package/iac/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs.map +1 -0
  12. package/iac/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js.map +1 -0
  13. package/iac/node_modules/@jridgewell/sourcemap-codec/LICENSE +21 -0
  14. package/iac/node_modules/@jridgewell/sourcemap-codec/README.md +200 -0
  15. package/iac/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs.map +1 -0
  16. package/iac/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js.map +1 -0
  17. package/iac/node_modules/@jridgewell/trace-mapping/LICENSE +19 -0
  18. package/iac/node_modules/@jridgewell/trace-mapping/README.md +193 -0
  19. package/iac/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs.map +1 -0
  20. package/iac/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js.map +1 -0
  21. package/iac/node_modules/@tsconfig/node10/LICENSE +21 -0
  22. package/iac/node_modules/@tsconfig/node10/README.md +40 -0
  23. package/iac/node_modules/@tsconfig/node12/LICENSE +21 -0
  24. package/iac/node_modules/@tsconfig/node12/README.md +40 -0
  25. package/iac/node_modules/@tsconfig/node14/LICENSE +21 -0
  26. package/iac/node_modules/@tsconfig/node14/README.md +40 -0
  27. package/iac/node_modules/@tsconfig/node16/LICENSE +21 -0
  28. package/iac/node_modules/@tsconfig/node16/README.md +40 -0
  29. package/iac/node_modules/@types/jest/LICENSE +21 -0
  30. package/iac/node_modules/@types/jest/README.md +17 -0
  31. package/iac/node_modules/@types/node/LICENSE +21 -0
  32. package/iac/node_modules/@types/node/README.md +16 -0
  33. package/iac/node_modules/@types/prettier/LICENSE +21 -0
  34. package/iac/node_modules/@types/prettier/README.md +16 -0
  35. package/iac/node_modules/acorn/LICENSE +21 -0
  36. package/iac/node_modules/acorn/README.md +273 -0
  37. package/iac/node_modules/acorn-walk/LICENSE +21 -0
  38. package/iac/node_modules/acorn-walk/README.md +126 -0
  39. package/iac/node_modules/ansi-regex/license +9 -0
  40. package/iac/node_modules/ansi-regex/readme.md +78 -0
  41. package/iac/node_modules/ansi-styles/license +9 -0
  42. package/iac/node_modules/ansi-styles/readme.md +144 -0
  43. package/iac/node_modules/arg/LICENSE.md +21 -0
  44. package/iac/node_modules/arg/README.md +280 -0
  45. package/iac/node_modules/at-least-node/LICENSE +6 -0
  46. package/iac/node_modules/at-least-node/README.md +25 -0
  47. package/iac/node_modules/aws-cdk/LICENSE +201 -0
  48. package/iac/node_modules/aws-cdk/README.md +742 -0
  49. package/iac/node_modules/aws-cdk/lib/init-templates/LICENSE +16 -0
  50. package/iac/node_modules/aws-cdk/lib/init-templates/app/csharp/README.md +14 -0
  51. package/iac/node_modules/aws-cdk/lib/init-templates/app/fsharp/README.md +18 -0
  52. package/iac/node_modules/aws-cdk/lib/init-templates/app/go/README.md +12 -0
  53. package/iac/node_modules/aws-cdk/lib/init-templates/app/java/README.md +18 -0
  54. package/iac/node_modules/aws-cdk/lib/init-templates/app/javascript/README.md +12 -0
  55. package/iac/node_modules/aws-cdk/lib/init-templates/app/python/README.template.md +58 -0
  56. package/iac/node_modules/aws-cdk/lib/init-templates/app/typescript/README.md +14 -0
  57. package/iac/node_modules/aws-cdk/lib/init-templates/lib/typescript/README.template.md +12 -0
  58. package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/csharp/README.template.md +19 -0
  59. package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/fsharp/README.template.md +20 -0
  60. package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/go/README.md +12 -0
  61. package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/java/README.template.md +19 -0
  62. package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/javascript/README.template.md +13 -0
  63. package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/python/README.template.md +65 -0
  64. package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/typescript/README.template.md +15 -0
  65. package/iac/node_modules/aws-cdk/test/integ/cli/README.md +48 -0
  66. package/iac/node_modules/aws-cdk/test/integ/cli-regression-patches/README.md +54 -0
  67. package/iac/node_modules/aws-cdk-lib/LICENSE +201 -0
  68. package/iac/node_modules/aws-cdk-lib/README.md +1119 -0
  69. package/iac/node_modules/aws-cdk-lib/alexa-ask/README.md +27 -0
  70. package/iac/node_modules/aws-cdk-lib/assertions/README.md +571 -0
  71. package/iac/node_modules/aws-cdk-lib/assets/README.md +4 -0
  72. package/iac/node_modules/aws-cdk-lib/aws-accessanalyzer/README.md +27 -0
  73. package/iac/node_modules/aws-cdk-lib/aws-acmpca/README.md +59 -0
  74. package/iac/node_modules/aws-cdk-lib/aws-amazonmq/README.md +27 -0
  75. package/iac/node_modules/aws-cdk-lib/aws-amplify/README.md +32 -0
  76. package/iac/node_modules/aws-cdk-lib/aws-amplifyuibuilder/README.md +27 -0
  77. package/iac/node_modules/aws-cdk-lib/aws-apigateway/README.md +1335 -0
  78. package/iac/node_modules/aws-cdk-lib/aws-apigatewayv2/README.md +32 -0
  79. package/iac/node_modules/aws-cdk-lib/aws-appconfig/README.md +27 -0
  80. package/iac/node_modules/aws-cdk-lib/aws-appflow/README.md +27 -0
  81. package/iac/node_modules/aws-cdk-lib/aws-appintegrations/README.md +27 -0
  82. package/iac/node_modules/aws-cdk-lib/aws-applicationautoscaling/README.md +246 -0
  83. package/iac/node_modules/aws-cdk-lib/aws-applicationinsights/README.md +27 -0
  84. package/iac/node_modules/aws-cdk-lib/aws-appmesh/README.md +883 -0
  85. package/iac/node_modules/aws-cdk-lib/aws-apprunner/README.md +32 -0
  86. package/iac/node_modules/aws-cdk-lib/aws-appstream/README.md +27 -0
  87. package/iac/node_modules/aws-cdk-lib/aws-appsync/README.md +32 -0
  88. package/iac/node_modules/aws-cdk-lib/aws-aps/README.md +27 -0
  89. package/iac/node_modules/aws-cdk-lib/aws-athena/README.md +27 -0
  90. package/iac/node_modules/aws-cdk-lib/aws-auditmanager/README.md +27 -0
  91. package/iac/node_modules/aws-cdk-lib/aws-autoscaling/README.md +540 -0
  92. package/iac/node_modules/aws-cdk-lib/aws-autoscaling-common/README.md +8 -0
  93. package/iac/node_modules/aws-cdk-lib/aws-autoscaling-hooktargets/README.md +18 -0
  94. package/iac/node_modules/aws-cdk-lib/aws-autoscalingplans/README.md +27 -0
  95. package/iac/node_modules/aws-cdk-lib/aws-backup/README.md +210 -0
  96. package/iac/node_modules/aws-cdk-lib/aws-batch/README.md +32 -0
  97. package/iac/node_modules/aws-cdk-lib/aws-billingconductor/README.md +27 -0
  98. package/iac/node_modules/aws-cdk-lib/aws-budgets/README.md +27 -0
  99. package/iac/node_modules/aws-cdk-lib/aws-cassandra/README.md +27 -0
  100. package/iac/node_modules/aws-cdk-lib/aws-ce/README.md +27 -0
  101. package/iac/node_modules/aws-cdk-lib/aws-certificatemanager/README.md +166 -0
  102. package/iac/node_modules/aws-cdk-lib/aws-certificatemanager/lambda-packages/dns_validated_certificate_handler/README.md +2 -0
  103. package/iac/node_modules/aws-cdk-lib/aws-certificatemanager/suffixes/README.txt +8 -0
  104. package/iac/node_modules/aws-cdk-lib/aws-chatbot/README.md +44 -0
  105. package/iac/node_modules/aws-cdk-lib/aws-cloud9/README.md +32 -0
  106. package/iac/node_modules/aws-cdk-lib/aws-cloudformation/README.md +4 -0
  107. package/iac/node_modules/aws-cdk-lib/aws-cloudfront/README.md +973 -0
  108. package/iac/node_modules/aws-cdk-lib/aws-cloudfront-origins/README.md +126 -0
  109. package/iac/node_modules/aws-cdk-lib/aws-cloudtrail/README.md +189 -0
  110. package/iac/node_modules/aws-cdk-lib/aws-cloudwatch/README.md +579 -0
  111. package/iac/node_modules/aws-cdk-lib/aws-cloudwatch-actions/README.md +43 -0
  112. package/iac/node_modules/aws-cdk-lib/aws-codeartifact/README.md +27 -0
  113. package/iac/node_modules/aws-cdk-lib/aws-codebuild/README.md +759 -0
  114. package/iac/node_modules/aws-cdk-lib/aws-codecommit/README.md +85 -0
  115. package/iac/node_modules/aws-cdk-lib/aws-codedeploy/README.md +319 -0
  116. package/iac/node_modules/aws-cdk-lib/aws-codeguruprofiler/README.md +37 -0
  117. package/iac/node_modules/aws-cdk-lib/aws-codegurureviewer/README.md +27 -0
  118. package/iac/node_modules/aws-cdk-lib/aws-codepipeline/README.md +481 -0
  119. package/iac/node_modules/aws-cdk-lib/aws-codepipeline-actions/README.md +1203 -0
  120. package/iac/node_modules/aws-cdk-lib/aws-codestar/README.md +32 -0
  121. package/iac/node_modules/aws-cdk-lib/aws-codestarconnections/README.md +27 -0
  122. package/iac/node_modules/aws-cdk-lib/aws-codestarnotifications/README.md +68 -0
  123. package/iac/node_modules/aws-cdk-lib/aws-cognito/README.md +843 -0
  124. package/iac/node_modules/aws-cdk-lib/aws-config/README.md +218 -0
  125. package/iac/node_modules/aws-cdk-lib/aws-connect/README.md +27 -0
  126. package/iac/node_modules/aws-cdk-lib/aws-controltower/README.md +27 -0
  127. package/iac/node_modules/aws-cdk-lib/aws-cur/README.md +27 -0
  128. package/iac/node_modules/aws-cdk-lib/aws-customerprofiles/README.md +27 -0
  129. package/iac/node_modules/aws-cdk-lib/aws-databrew/README.md +27 -0
  130. package/iac/node_modules/aws-cdk-lib/aws-datapipeline/README.md +27 -0
  131. package/iac/node_modules/aws-cdk-lib/aws-datasync/README.md +27 -0
  132. package/iac/node_modules/aws-cdk-lib/aws-dax/README.md +27 -0
  133. package/iac/node_modules/aws-cdk-lib/aws-detective/README.md +27 -0
  134. package/iac/node_modules/aws-cdk-lib/aws-devopsguru/README.md +27 -0
  135. package/iac/node_modules/aws-cdk-lib/aws-directoryservice/README.md +27 -0
  136. package/iac/node_modules/aws-cdk-lib/aws-dlm/README.md +27 -0
  137. package/iac/node_modules/aws-cdk-lib/aws-dms/README.md +27 -0
  138. package/iac/node_modules/aws-cdk-lib/aws-docdb/README.md +153 -0
  139. package/iac/node_modules/aws-cdk-lib/aws-dynamodb/README.md +200 -0
  140. package/iac/node_modules/aws-cdk-lib/aws-ec2/README.md +1514 -0
  141. package/iac/node_modules/aws-cdk-lib/aws-ecr/README.md +110 -0
  142. package/iac/node_modules/aws-cdk-lib/aws-ecr-assets/README.md +167 -0
  143. package/iac/node_modules/aws-cdk-lib/aws-ecs/README.md +1225 -0
  144. package/iac/node_modules/aws-cdk-lib/aws-ecs-patterns/README.md +980 -0
  145. package/iac/node_modules/aws-cdk-lib/aws-efs/README.md +154 -0
  146. package/iac/node_modules/aws-cdk-lib/aws-eks/README.md +1450 -0
  147. package/iac/node_modules/aws-cdk-lib/aws-elasticache/README.md +27 -0
  148. package/iac/node_modules/aws-cdk-lib/aws-elasticbeanstalk/README.md +27 -0
  149. package/iac/node_modules/aws-cdk-lib/aws-elasticloadbalancing/README.md +40 -0
  150. package/iac/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2/README.md +569 -0
  151. package/iac/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-actions/README.md +68 -0
  152. package/iac/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-targets/README.md +4 -0
  153. package/iac/node_modules/aws-cdk-lib/aws-elasticsearch/README.md +441 -0
  154. package/iac/node_modules/aws-cdk-lib/aws-emr/README.md +27 -0
  155. package/iac/node_modules/aws-cdk-lib/aws-emrcontainers/README.md +27 -0
  156. package/iac/node_modules/aws-cdk-lib/aws-emrserverless/README.md +27 -0
  157. package/iac/node_modules/aws-cdk-lib/aws-events/README.md +249 -0
  158. package/iac/node_modules/aws-cdk-lib/aws-events-targets/README.md +339 -0
  159. package/iac/node_modules/aws-cdk-lib/aws-eventschemas/README.md +27 -0
  160. package/iac/node_modules/aws-cdk-lib/aws-evidently/README.md +27 -0
  161. package/iac/node_modules/aws-cdk-lib/aws-finspace/README.md +27 -0
  162. package/iac/node_modules/aws-cdk-lib/aws-fis/README.md +27 -0
  163. package/iac/node_modules/aws-cdk-lib/aws-fms/README.md +27 -0
  164. package/iac/node_modules/aws-cdk-lib/aws-forecast/README.md +27 -0
  165. package/iac/node_modules/aws-cdk-lib/aws-frauddetector/README.md +27 -0
  166. package/iac/node_modules/aws-cdk-lib/aws-fsx/README.md +200 -0
  167. package/iac/node_modules/aws-cdk-lib/aws-gamelift/README.md +27 -0
  168. package/iac/node_modules/aws-cdk-lib/aws-globalaccelerator/README.md +182 -0
  169. package/iac/node_modules/aws-cdk-lib/aws-globalaccelerator-endpoints/README.md +10 -0
  170. package/iac/node_modules/aws-cdk-lib/aws-glue/README.md +32 -0
  171. package/iac/node_modules/aws-cdk-lib/aws-greengrass/README.md +27 -0
  172. package/iac/node_modules/aws-cdk-lib/aws-greengrassv2/README.md +27 -0
  173. package/iac/node_modules/aws-cdk-lib/aws-groundstation/README.md +27 -0
  174. package/iac/node_modules/aws-cdk-lib/aws-guardduty/README.md +27 -0
  175. package/iac/node_modules/aws-cdk-lib/aws-healthlake/README.md +27 -0
  176. package/iac/node_modules/aws-cdk-lib/aws-iam/README.md +509 -0
  177. package/iac/node_modules/aws-cdk-lib/aws-imagebuilder/README.md +27 -0
  178. package/iac/node_modules/aws-cdk-lib/aws-inspector/README.md +27 -0
  179. package/iac/node_modules/aws-cdk-lib/aws-inspectorv2/README.md +27 -0
  180. package/iac/node_modules/aws-cdk-lib/aws-iot/README.md +32 -0
  181. package/iac/node_modules/aws-cdk-lib/aws-iot1click/README.md +27 -0
  182. package/iac/node_modules/aws-cdk-lib/aws-iotanalytics/README.md +27 -0
  183. package/iac/node_modules/aws-cdk-lib/aws-iotcoredeviceadvisor/README.md +27 -0
  184. package/iac/node_modules/aws-cdk-lib/aws-iotevents/README.md +32 -0
  185. package/iac/node_modules/aws-cdk-lib/aws-iotfleethub/README.md +27 -0
  186. package/iac/node_modules/aws-cdk-lib/aws-iotsitewise/README.md +27 -0
  187. package/iac/node_modules/aws-cdk-lib/aws-iotthingsgraph/README.md +27 -0
  188. package/iac/node_modules/aws-cdk-lib/aws-iottwinmaker/README.md +27 -0
  189. package/iac/node_modules/aws-cdk-lib/aws-iotwireless/README.md +27 -0
  190. package/iac/node_modules/aws-cdk-lib/aws-ivs/README.md +32 -0
  191. package/iac/node_modules/aws-cdk-lib/aws-kafkaconnect/README.md +27 -0
  192. package/iac/node_modules/aws-cdk-lib/aws-kendra/README.md +27 -0
  193. package/iac/node_modules/aws-cdk-lib/aws-kinesis/README.md +188 -0
  194. package/iac/node_modules/aws-cdk-lib/aws-kinesisanalytics/README.md +27 -0
  195. package/iac/node_modules/aws-cdk-lib/aws-kinesisanalyticsv2/README.md +27 -0
  196. package/iac/node_modules/aws-cdk-lib/aws-kinesisfirehose/README.md +32 -0
  197. package/iac/node_modules/aws-cdk-lib/aws-kinesisvideo/README.md +27 -0
  198. package/iac/node_modules/aws-cdk-lib/aws-kms/README.md +209 -0
  199. package/iac/node_modules/aws-cdk-lib/aws-lakeformation/README.md +27 -0
  200. package/iac/node_modules/aws-cdk-lib/aws-lambda/README.md +985 -0
  201. package/iac/node_modules/aws-cdk-lib/aws-lambda-destinations/README.md +147 -0
  202. package/iac/node_modules/aws-cdk-lib/aws-lambda-event-sources/README.md +281 -0
  203. package/iac/node_modules/aws-cdk-lib/aws-lambda-nodejs/README.md +317 -0
  204. package/iac/node_modules/aws-cdk-lib/aws-lex/README.md +27 -0
  205. package/iac/node_modules/aws-cdk-lib/aws-licensemanager/README.md +27 -0
  206. package/iac/node_modules/aws-cdk-lib/aws-lightsail/README.md +27 -0
  207. package/iac/node_modules/aws-cdk-lib/aws-location/README.md +27 -0
  208. package/iac/node_modules/aws-cdk-lib/aws-logs/README.md +322 -0
  209. package/iac/node_modules/aws-cdk-lib/aws-logs-destinations/README.md +7 -0
  210. package/iac/node_modules/aws-cdk-lib/aws-lookoutequipment/README.md +27 -0
  211. package/iac/node_modules/aws-cdk-lib/aws-lookoutmetrics/README.md +27 -0
  212. package/iac/node_modules/aws-cdk-lib/aws-lookoutvision/README.md +27 -0
  213. package/iac/node_modules/aws-cdk-lib/aws-m2/README.md +27 -0
  214. package/iac/node_modules/aws-cdk-lib/aws-macie/README.md +27 -0
  215. package/iac/node_modules/aws-cdk-lib/aws-managedblockchain/README.md +27 -0
  216. package/iac/node_modules/aws-cdk-lib/aws-mediaconnect/README.md +27 -0
  217. package/iac/node_modules/aws-cdk-lib/aws-mediaconvert/README.md +27 -0
  218. package/iac/node_modules/aws-cdk-lib/aws-medialive/README.md +27 -0
  219. package/iac/node_modules/aws-cdk-lib/aws-mediapackage/README.md +27 -0
  220. package/iac/node_modules/aws-cdk-lib/aws-mediastore/README.md +27 -0
  221. package/iac/node_modules/aws-cdk-lib/aws-mediatailor/README.md +27 -0
  222. package/iac/node_modules/aws-cdk-lib/aws-memorydb/README.md +27 -0
  223. package/iac/node_modules/aws-cdk-lib/aws-msk/README.md +32 -0
  224. package/iac/node_modules/aws-cdk-lib/aws-mwaa/README.md +27 -0
  225. package/iac/node_modules/aws-cdk-lib/aws-neptune/README.md +32 -0
  226. package/iac/node_modules/aws-cdk-lib/aws-networkfirewall/README.md +27 -0
  227. package/iac/node_modules/aws-cdk-lib/aws-networkmanager/README.md +27 -0
  228. package/iac/node_modules/aws-cdk-lib/aws-nimblestudio/README.md +27 -0
  229. package/iac/node_modules/aws-cdk-lib/aws-opensearchservice/README.md +378 -0
  230. package/iac/node_modules/aws-cdk-lib/aws-opsworks/README.md +27 -0
  231. package/iac/node_modules/aws-cdk-lib/aws-opsworkscm/README.md +27 -0
  232. package/iac/node_modules/aws-cdk-lib/aws-panorama/README.md +27 -0
  233. package/iac/node_modules/aws-cdk-lib/aws-personalize/README.md +27 -0
  234. package/iac/node_modules/aws-cdk-lib/aws-pinpoint/README.md +27 -0
  235. package/iac/node_modules/aws-cdk-lib/aws-pinpointemail/README.md +27 -0
  236. package/iac/node_modules/aws-cdk-lib/aws-qldb/README.md +27 -0
  237. package/iac/node_modules/aws-cdk-lib/aws-quicksight/README.md +27 -0
  238. package/iac/node_modules/aws-cdk-lib/aws-ram/README.md +27 -0
  239. package/iac/node_modules/aws-cdk-lib/aws-rds/README.md +704 -0
  240. package/iac/node_modules/aws-cdk-lib/aws-redshift/README.md +32 -0
  241. package/iac/node_modules/aws-cdk-lib/aws-redshiftserverless/README.md +27 -0
  242. package/iac/node_modules/aws-cdk-lib/aws-refactorspaces/README.md +27 -0
  243. package/iac/node_modules/aws-cdk-lib/aws-rekognition/README.md +27 -0
  244. package/iac/node_modules/aws-cdk-lib/aws-resiliencehub/README.md +27 -0
  245. package/iac/node_modules/aws-cdk-lib/aws-resourcegroups/README.md +27 -0
  246. package/iac/node_modules/aws-cdk-lib/aws-robomaker/README.md +27 -0
  247. package/iac/node_modules/aws-cdk-lib/aws-route53/README.md +281 -0
  248. package/iac/node_modules/aws-cdk-lib/aws-route53-patterns/README.md +45 -0
  249. package/iac/node_modules/aws-cdk-lib/aws-route53-targets/README.md +181 -0
  250. package/iac/node_modules/aws-cdk-lib/aws-route53recoverycontrol/README.md +27 -0
  251. package/iac/node_modules/aws-cdk-lib/aws-route53recoveryreadiness/README.md +27 -0
  252. package/iac/node_modules/aws-cdk-lib/aws-route53resolver/README.md +32 -0
  253. package/iac/node_modules/aws-cdk-lib/aws-rum/README.md +27 -0
  254. package/iac/node_modules/aws-cdk-lib/aws-s3/README.md +581 -0
  255. package/iac/node_modules/aws-cdk-lib/aws-s3-assets/README.md +179 -0
  256. package/iac/node_modules/aws-cdk-lib/aws-s3-deployment/README.md +349 -0
  257. package/iac/node_modules/aws-cdk-lib/aws-s3-notifications/README.md +46 -0
  258. package/iac/node_modules/aws-cdk-lib/aws-s3objectlambda/README.md +32 -0
  259. package/iac/node_modules/aws-cdk-lib/aws-s3outposts/README.md +27 -0
  260. package/iac/node_modules/aws-cdk-lib/aws-sagemaker/README.md +27 -0
  261. package/iac/node_modules/aws-cdk-lib/aws-sam/README.md +27 -0
  262. package/iac/node_modules/aws-cdk-lib/aws-sdb/README.md +27 -0
  263. package/iac/node_modules/aws-cdk-lib/aws-secretsmanager/README.md +285 -0
  264. package/iac/node_modules/aws-cdk-lib/aws-securityhub/README.md +27 -0
  265. package/iac/node_modules/aws-cdk-lib/aws-servicecatalog/README.md +491 -0
  266. package/iac/node_modules/aws-cdk-lib/aws-servicecatalogappregistry/README.md +32 -0
  267. package/iac/node_modules/aws-cdk-lib/aws-servicediscovery/README.md +45 -0
  268. package/iac/node_modules/aws-cdk-lib/aws-ses/README.md +194 -0
  269. package/iac/node_modules/aws-cdk-lib/aws-ses-actions/README.md +16 -0
  270. package/iac/node_modules/aws-cdk-lib/aws-signer/README.md +41 -0
  271. package/iac/node_modules/aws-cdk-lib/aws-sns/README.md +184 -0
  272. package/iac/node_modules/aws-cdk-lib/aws-sns-subscriptions/README.md +120 -0
  273. package/iac/node_modules/aws-cdk-lib/aws-sqs/README.md +57 -0
  274. package/iac/node_modules/aws-cdk-lib/aws-ssm/README.md +99 -0
  275. package/iac/node_modules/aws-cdk-lib/aws-ssmcontacts/README.md +27 -0
  276. package/iac/node_modules/aws-cdk-lib/aws-ssmincidents/README.md +27 -0
  277. package/iac/node_modules/aws-cdk-lib/aws-sso/README.md +27 -0
  278. package/iac/node_modules/aws-cdk-lib/aws-stepfunctions/README.md +884 -0
  279. package/iac/node_modules/aws-cdk-lib/aws-stepfunctions-tasks/README.md +1288 -0
  280. package/iac/node_modules/aws-cdk-lib/aws-supportapp/README.md +27 -0
  281. package/iac/node_modules/aws-cdk-lib/aws-synthetics/README.md +32 -0
  282. package/iac/node_modules/aws-cdk-lib/aws-timestream/README.md +27 -0
  283. package/iac/node_modules/aws-cdk-lib/aws-transfer/README.md +27 -0
  284. package/iac/node_modules/aws-cdk-lib/aws-voiceid/README.md +27 -0
  285. package/iac/node_modules/aws-cdk-lib/aws-waf/README.md +27 -0
  286. package/iac/node_modules/aws-cdk-lib/aws-wafregional/README.md +27 -0
  287. package/iac/node_modules/aws-cdk-lib/aws-wafv2/README.md +27 -0
  288. package/iac/node_modules/aws-cdk-lib/aws-wisdom/README.md +27 -0
  289. package/iac/node_modules/aws-cdk-lib/aws-workspaces/README.md +27 -0
  290. package/iac/node_modules/aws-cdk-lib/aws-xray/README.md +27 -0
  291. package/iac/node_modules/aws-cdk-lib/cloud-assembly-schema/README.md +55 -0
  292. package/iac/node_modules/aws-cdk-lib/cloud-assembly-schema/schema/README.md +5 -0
  293. package/iac/node_modules/aws-cdk-lib/cloudformation-include/README.md +466 -0
  294. package/iac/node_modules/aws-cdk-lib/core/README.md +1078 -0
  295. package/iac/node_modules/aws-cdk-lib/custom-resources/README.md +624 -0
  296. package/iac/node_modules/aws-cdk-lib/cx-api/README.md +98 -0
  297. package/iac/node_modules/aws-cdk-lib/lambda-layer-awscli/README.md +19 -0
  298. package/iac/node_modules/aws-cdk-lib/lambda-layer-kubectl/README.md +20 -0
  299. package/iac/node_modules/aws-cdk-lib/lambda-layer-node-proxy-agent/README.md +18 -0
  300. package/iac/node_modules/aws-cdk-lib/node_modules/@balena/dockerignore/LICENSE.md +206 -0
  301. package/iac/node_modules/aws-cdk-lib/node_modules/@balena/dockerignore/README.md +261 -0
  302. package/iac/node_modules/aws-cdk-lib/node_modules/at-least-node/LICENSE +6 -0
  303. package/iac/node_modules/aws-cdk-lib/node_modules/at-least-node/README.md +25 -0
  304. package/iac/node_modules/aws-cdk-lib/node_modules/balanced-match/LICENSE.md +21 -0
  305. package/iac/node_modules/aws-cdk-lib/node_modules/balanced-match/README.md +97 -0
  306. package/iac/node_modules/aws-cdk-lib/node_modules/brace-expansion/LICENSE +21 -0
  307. package/iac/node_modules/aws-cdk-lib/node_modules/brace-expansion/README.md +129 -0
  308. package/iac/node_modules/aws-cdk-lib/node_modules/case/LICENSE +22 -0
  309. package/iac/node_modules/aws-cdk-lib/node_modules/case/README.md +139 -0
  310. package/iac/node_modules/aws-cdk-lib/node_modules/case/dist/Case.min.js.map +1 -0
  311. package/iac/node_modules/aws-cdk-lib/node_modules/case/dist/Case.plus.min.js.map +1 -0
  312. package/iac/node_modules/aws-cdk-lib/node_modules/concat-map/LICENSE +18 -0
  313. package/iac/node_modules/aws-cdk-lib/node_modules/concat-map/README.markdown +62 -0
  314. package/iac/node_modules/aws-cdk-lib/node_modules/fs-extra/LICENSE +15 -0
  315. package/iac/node_modules/aws-cdk-lib/node_modules/fs-extra/README.md +264 -0
  316. package/iac/node_modules/aws-cdk-lib/node_modules/graceful-fs/LICENSE +15 -0
  317. package/iac/node_modules/aws-cdk-lib/node_modules/graceful-fs/README.md +143 -0
  318. package/iac/node_modules/aws-cdk-lib/node_modules/ignore/README.md +412 -0
  319. package/iac/node_modules/aws-cdk-lib/node_modules/jsonfile/LICENSE +15 -0
  320. package/iac/node_modules/aws-cdk-lib/node_modules/jsonfile/README.md +230 -0
  321. package/iac/node_modules/aws-cdk-lib/node_modules/jsonschema/LICENSE +21 -0
  322. package/iac/node_modules/aws-cdk-lib/node_modules/jsonschema/README.md +421 -0
  323. package/iac/node_modules/aws-cdk-lib/node_modules/lru-cache/LICENSE +15 -0
  324. package/iac/node_modules/aws-cdk-lib/node_modules/lru-cache/README.md +166 -0
  325. package/iac/node_modules/aws-cdk-lib/node_modules/minimatch/LICENSE +15 -0
  326. package/iac/node_modules/aws-cdk-lib/node_modules/minimatch/README.md +230 -0
  327. package/iac/node_modules/aws-cdk-lib/node_modules/punycode/README.md +122 -0
  328. package/iac/node_modules/aws-cdk-lib/node_modules/semver/LICENSE +15 -0
  329. package/iac/node_modules/aws-cdk-lib/node_modules/semver/README.md +568 -0
  330. package/iac/node_modules/aws-cdk-lib/node_modules/universalify/LICENSE +20 -0
  331. package/iac/node_modules/aws-cdk-lib/node_modules/universalify/README.md +76 -0
  332. package/iac/node_modules/aws-cdk-lib/node_modules/yallist/LICENSE +15 -0
  333. package/iac/node_modules/aws-cdk-lib/node_modules/yallist/README.md +204 -0
  334. package/iac/node_modules/aws-cdk-lib/node_modules/yaml/LICENSE +13 -0
  335. package/iac/node_modules/aws-cdk-lib/node_modules/yaml/README.md +127 -0
  336. package/iac/node_modules/aws-cdk-lib/pipelines/README.md +1573 -0
  337. package/iac/node_modules/aws-cdk-lib/region-info/README.md +84 -0
  338. package/iac/node_modules/aws-cdk-lib/triggers/README.md +86 -0
  339. package/iac/node_modules/balanced-match/LICENSE.md +21 -0
  340. package/iac/node_modules/balanced-match/README.md +97 -0
  341. package/iac/node_modules/brace-expansion/LICENSE +21 -0
  342. package/iac/node_modules/brace-expansion/README.md +129 -0
  343. package/iac/node_modules/buffer-from/LICENSE +21 -0
  344. package/iac/node_modules/buffer-from/readme.md +69 -0
  345. package/iac/node_modules/case/LICENSE +22 -0
  346. package/iac/node_modules/case/README.md +139 -0
  347. package/iac/node_modules/case/dist/Case.min.js.map +1 -0
  348. package/iac/node_modules/case/dist/Case.plus.min.js.map +1 -0
  349. package/iac/node_modules/chalk/license +9 -0
  350. package/iac/node_modules/chalk/node_modules/ansi-styles/license +9 -0
  351. package/iac/node_modules/chalk/node_modules/ansi-styles/readme.md +152 -0
  352. package/iac/node_modules/chalk/readme.md +341 -0
  353. package/iac/node_modules/color-convert/LICENSE +21 -0
  354. package/iac/node_modules/color-convert/README.md +68 -0
  355. package/iac/node_modules/color-name/LICENSE +8 -0
  356. package/iac/node_modules/color-name/README.md +11 -0
  357. package/iac/node_modules/concat-map/LICENSE +18 -0
  358. package/iac/node_modules/concat-map/README.markdown +62 -0
  359. package/iac/node_modules/constructs/LICENSE +202 -0
  360. package/iac/node_modules/constructs/README.md +28 -0
  361. package/iac/node_modules/create-require/LICENSE +25 -0
  362. package/iac/node_modules/create-require/README.md +46 -0
  363. package/iac/node_modules/diff/LICENSE +31 -0
  364. package/iac/node_modules/diff/README.md +207 -0
  365. package/iac/node_modules/diff-sequences/LICENSE +21 -0
  366. package/iac/node_modules/diff-sequences/README.md +404 -0
  367. package/iac/node_modules/fs-extra/LICENSE +15 -0
  368. package/iac/node_modules/fs-extra/README.md +264 -0
  369. package/iac/node_modules/fsevents/LICENSE +22 -0
  370. package/iac/node_modules/fsevents/README.md +83 -0
  371. package/iac/node_modules/graceful-fs/LICENSE +15 -0
  372. package/iac/node_modules/graceful-fs/README.md +143 -0
  373. package/iac/node_modules/has-flag/license +9 -0
  374. package/iac/node_modules/has-flag/readme.md +89 -0
  375. package/iac/node_modules/ignore/README.md +412 -0
  376. package/iac/node_modules/jest-diff/LICENSE +21 -0
  377. package/iac/node_modules/jest-diff/README.md +671 -0
  378. package/iac/node_modules/jest-get-type/LICENSE +21 -0
  379. package/iac/node_modules/jest-matcher-utils/LICENSE +21 -0
  380. package/iac/node_modules/jest-matcher-utils/README.md +24 -0
  381. package/iac/node_modules/jsonfile/LICENSE +15 -0
  382. package/iac/node_modules/jsonfile/README.md +230 -0
  383. package/iac/node_modules/jsonschema/LICENSE +21 -0
  384. package/iac/node_modules/jsonschema/README.md +421 -0
  385. package/iac/node_modules/lru-cache/LICENSE +15 -0
  386. package/iac/node_modules/lru-cache/README.md +166 -0
  387. package/iac/node_modules/make-error/LICENSE +5 -0
  388. package/iac/node_modules/make-error/README.md +112 -0
  389. package/iac/node_modules/minimatch/LICENSE +15 -0
  390. package/iac/node_modules/minimatch/README.md +230 -0
  391. package/iac/node_modules/pretty-format/LICENSE +21 -0
  392. package/iac/node_modules/pretty-format/README.md +458 -0
  393. package/iac/node_modules/punycode/README.md +122 -0
  394. package/iac/node_modules/react-is/LICENSE +21 -0
  395. package/iac/node_modules/react-is/README.md +104 -0
  396. package/iac/node_modules/semver/LICENSE +15 -0
  397. package/iac/node_modules/semver/README.md +568 -0
  398. package/iac/node_modules/source-map/LICENSE +28 -0
  399. package/iac/node_modules/source-map/README.md +742 -0
  400. package/iac/node_modules/source-map/dist/source-map.min.js.map +1 -0
  401. package/iac/node_modules/source-map-support/LICENSE.md +21 -0
  402. package/iac/node_modules/source-map-support/README.md +284 -0
  403. package/iac/node_modules/supports-color/license +9 -0
  404. package/iac/node_modules/supports-color/readme.md +76 -0
  405. package/iac/node_modules/ts-node/LICENSE +21 -0
  406. package/iac/node_modules/ts-node/README.md +1442 -0
  407. package/iac/node_modules/ts-node/dist/bin-cwd.js.map +1 -0
  408. package/iac/node_modules/ts-node/dist/bin-esm.js.map +1 -0
  409. package/iac/node_modules/ts-node/dist/bin-script-deprecated.js.map +1 -0
  410. package/iac/node_modules/ts-node/dist/bin-script.js.map +1 -0
  411. package/iac/node_modules/ts-node/dist/bin-transpile.js.map +1 -0
  412. package/iac/node_modules/ts-node/dist/bin.js.map +1 -0
  413. package/iac/node_modules/ts-node/dist/child/argv-payload.js.map +1 -0
  414. package/iac/node_modules/ts-node/dist/child/child-entrypoint.js.map +1 -0
  415. package/iac/node_modules/ts-node/dist/child/child-loader.js.map +1 -0
  416. package/iac/node_modules/ts-node/dist/child/child-require.js.map +1 -0
  417. package/iac/node_modules/ts-node/dist/child/spawn-child.js.map +1 -0
  418. package/iac/node_modules/ts-node/dist/cjs-resolve-hooks.js.map +1 -0
  419. package/iac/node_modules/ts-node/dist/configuration.js.map +1 -0
  420. package/iac/node_modules/ts-node/dist/esm.js.map +1 -0
  421. package/iac/node_modules/ts-node/dist/file-extensions.js.map +1 -0
  422. package/iac/node_modules/ts-node/dist/index.js.map +1 -0
  423. package/iac/node_modules/ts-node/dist/module-type-classifier.js.map +1 -0
  424. package/iac/node_modules/ts-node/dist/node-module-type-classifier.js.map +1 -0
  425. package/iac/node_modules/ts-node/dist/repl.js.map +1 -0
  426. package/iac/node_modules/ts-node/dist/resolver-functions.js.map +1 -0
  427. package/iac/node_modules/ts-node/dist/transpilers/swc.js.map +1 -0
  428. package/iac/node_modules/ts-node/dist/transpilers/types.js.map +1 -0
  429. package/iac/node_modules/ts-node/dist/ts-compiler-types.js.map +1 -0
  430. package/iac/node_modules/ts-node/dist/ts-internals.js.map +1 -0
  431. package/iac/node_modules/ts-node/dist/ts-transpile-module.js.map +1 -0
  432. package/iac/node_modules/ts-node/dist/tsconfig-schema.js.map +1 -0
  433. package/iac/node_modules/ts-node/dist/tsconfigs.js.map +1 -0
  434. package/iac/node_modules/ts-node/dist/util.js.map +1 -0
  435. package/iac/node_modules/ts-node/dist-raw/README.md +36 -0
  436. package/iac/node_modules/typescript/LICENSE.txt +55 -0
  437. package/iac/node_modules/typescript/README.md +104 -0
  438. package/iac/node_modules/typescript/lib/README.md +5 -0
  439. package/iac/node_modules/universalify/LICENSE +20 -0
  440. package/iac/node_modules/universalify/README.md +76 -0
  441. package/iac/node_modules/v8-compile-cache-lib/LICENSE +21 -0
  442. package/iac/node_modules/v8-compile-cache-lib/README.md +60 -0
  443. package/iac/node_modules/yallist/LICENSE +15 -0
  444. package/iac/node_modules/yallist/README.md +204 -0
  445. package/iac/node_modules/yaml/LICENSE +13 -0
  446. package/iac/node_modules/yaml/README.md +127 -0
  447. package/iac/node_modules/yn/license +9 -0
  448. package/iac/node_modules/yn/readme.md +83 -0
  449. package/index.d.ts +1 -0
  450. package/index.js +18 -0
  451. package/index.js.map +1 -0
  452. package/package.json +26 -5
  453. package/react/Edit.d.ts +3 -0
  454. package/react/Edit.js +10 -0
  455. package/react/Edit.js.map +1 -0
  456. package/react/index.d.ts +1 -0
  457. package/react/index.js +18 -0
  458. package/react/index.js.map +1 -0
  459. package/src/material-symbols.d.ts +4 -0
@@ -0,0 +1,581 @@
1
+ # Amazon S3 Construct Library
2
+
3
+
4
+ Define an unencrypted S3 bucket.
5
+
6
+ ```ts
7
+ const bucket = new s3.Bucket(this, 'MyFirstBucket');
8
+ ```
9
+
10
+ `Bucket` constructs expose the following deploy-time attributes:
11
+
12
+ * `bucketArn` - the ARN of the bucket (i.e. `arn:aws:s3:::bucket_name`)
13
+ * `bucketName` - the name of the bucket (i.e. `bucket_name`)
14
+ * `bucketWebsiteUrl` - the Website URL of the bucket (i.e.
15
+ `http://bucket_name.s3-website-us-west-1.amazonaws.com`)
16
+ * `bucketDomainName` - the URL of the bucket (i.e. `bucket_name.s3.amazonaws.com`)
17
+ * `bucketDualStackDomainName` - the dual-stack URL of the bucket (i.e.
18
+ `bucket_name.s3.dualstack.eu-west-1.amazonaws.com`)
19
+ * `bucketRegionalDomainName` - the regional URL of the bucket (i.e.
20
+ `bucket_name.s3.eu-west-1.amazonaws.com`)
21
+ * `arnForObjects(pattern)` - the ARN of an object or objects within the bucket (i.e.
22
+ `arn:aws:s3:::bucket_name/exampleobject.png` or
23
+ `arn:aws:s3:::bucket_name/Development/*`)
24
+ * `urlForObject(key)` - the HTTP URL of an object within the bucket (i.e.
25
+ `https://s3.cn-north-1.amazonaws.com.cn/china-bucket/mykey`)
26
+ * `virtualHostedUrlForObject(key)` - the virtual-hosted style HTTP URL of an object
27
+ within the bucket (i.e. `https://china-bucket-s3.cn-north-1.amazonaws.com.cn/mykey`)
28
+ * `s3UrlForObject(key)` - the S3 URL of an object within the bucket (i.e.
29
+ `s3://bucket/mykey`)
30
+
31
+ ## Encryption
32
+
33
+ Define a KMS-encrypted bucket:
34
+
35
+ ```ts
36
+ const bucket = new s3.Bucket(this, 'MyEncryptedBucket', {
37
+ encryption: s3.BucketEncryption.KMS,
38
+ });
39
+
40
+ // you can access the encryption key:
41
+ assert(bucket.encryptionKey instanceof kms.Key);
42
+ ```
43
+
44
+ You can also supply your own key:
45
+
46
+ ```ts
47
+ const myKmsKey = new kms.Key(this, 'MyKey');
48
+
49
+ const bucket = new s3.Bucket(this, 'MyEncryptedBucket', {
50
+ encryption: s3.BucketEncryption.KMS,
51
+ encryptionKey: myKmsKey,
52
+ });
53
+
54
+ assert(bucket.encryptionKey === myKmsKey);
55
+ ```
56
+
57
+ Enable KMS-SSE encryption via [S3 Bucket Keys](https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html):
58
+
59
+ ```ts
60
+ const bucket = new s3.Bucket(this, 'MyEncryptedBucket', {
61
+ encryption: s3.BucketEncryption.KMS,
62
+ bucketKeyEnabled: true,
63
+ });
64
+ ```
65
+
66
+ Use `BucketEncryption.ManagedKms` to use the S3 master KMS key:
67
+
68
+ ```ts
69
+ const bucket = new s3.Bucket(this, 'Buck', {
70
+ encryption: s3.BucketEncryption.KMS_MANAGED,
71
+ });
72
+
73
+ assert(bucket.encryptionKey == null);
74
+ ```
75
+
76
+ ## Permissions
77
+
78
+ A bucket policy will be automatically created for the bucket upon the first call to
79
+ `addToResourcePolicy(statement)`:
80
+
81
+ ```ts
82
+ const bucket = new s3.Bucket(this, 'MyBucket');
83
+ const result = bucket.addToResourcePolicy(new iam.PolicyStatement({
84
+ actions: ['s3:GetObject'],
85
+ resources: [bucket.arnForObjects('file.txt')],
86
+ principals: [new iam.AccountRootPrincipal()],
87
+ }));
88
+ ```
89
+
90
+ If you try to add a policy statement to an existing bucket, this method will
91
+ not do anything:
92
+
93
+ ```ts
94
+ const bucket = s3.Bucket.fromBucketName(this, 'existingBucket', 'bucket-name');
95
+
96
+ // No policy statement will be added to the resource
97
+ const result = bucket.addToResourcePolicy(new iam.PolicyStatement({
98
+ actions: ['s3:GetObject'],
99
+ resources: [bucket.arnForObjects('file.txt')],
100
+ principals: [new iam.AccountRootPrincipal()],
101
+ }));
102
+ ```
103
+
104
+ That's because it's not possible to tell whether the bucket
105
+ already has a policy attached, let alone to re-use that policy to add more
106
+ statements to it. We recommend that you always check the result of the call:
107
+
108
+ ```ts
109
+ const bucket = new s3.Bucket(this, 'MyBucket');
110
+ const result = bucket.addToResourcePolicy(new iam.PolicyStatement({
111
+ actions: ['s3:GetObject'],
112
+ resources: [bucket.arnForObjects('file.txt')],
113
+ principals: [new iam.AccountRootPrincipal()],
114
+ }));
115
+
116
+ if (!result.statementAdded) {
117
+ // Uh-oh! Someone probably made a mistake here.
118
+ }
119
+ ```
120
+
121
+ The bucket policy can be directly accessed after creation to add statements or
122
+ adjust the removal policy.
123
+
124
+ ```ts
125
+ const bucket = new s3.Bucket(this, 'MyBucket');
126
+ bucket.policy?.applyRemovalPolicy(cdk.RemovalPolicy.RETAIN);
127
+ ```
128
+
129
+ Most of the time, you won't have to manipulate the bucket policy directly.
130
+ Instead, buckets have "grant" methods called to give prepackaged sets of permissions
131
+ to other resources. For example:
132
+
133
+ ```ts
134
+ declare const myLambda: lambda.Function;
135
+
136
+ const bucket = new s3.Bucket(this, 'MyBucket');
137
+ bucket.grantReadWrite(myLambda);
138
+ ```
139
+
140
+ Will give the Lambda's execution role permissions to read and write
141
+ from the bucket.
142
+
143
+ ## AWS Foundational Security Best Practices
144
+
145
+ ### Enforcing SSL
146
+
147
+ To require all requests use Secure Socket Layer (SSL):
148
+
149
+ ```ts
150
+ const bucket = new s3.Bucket(this, 'Bucket', {
151
+ enforceSSL: true,
152
+ });
153
+ ```
154
+
155
+ ## Sharing buckets between stacks
156
+
157
+ To use a bucket in a different stack in the same CDK application, pass the object to the other stack:
158
+
159
+ [sharing bucket between stacks](test/integ.bucket-sharing.lit.ts)
160
+
161
+ ## Importing existing buckets
162
+
163
+ To import an existing bucket into your CDK application, use the `Bucket.fromBucketAttributes`
164
+ factory method. This method accepts `BucketAttributes` which describes the properties of an already
165
+ existing bucket:
166
+
167
+ ```ts
168
+ declare const myLambda: lambda.Function;
169
+ const bucket = s3.Bucket.fromBucketAttributes(this, 'ImportedBucket', {
170
+ bucketArn: 'arn:aws:s3:::my-bucket',
171
+ });
172
+
173
+ // now you can just call methods on the bucket
174
+ bucket.addEventNotification(s3.EventType.OBJECT_CREATED, new s3n.LambdaDestination(myLambda), {prefix: 'home/myusername/*'});
175
+ ```
176
+
177
+ Alternatively, short-hand factories are available as `Bucket.fromBucketName` and
178
+ `Bucket.fromBucketArn`, which will derive all bucket attributes from the bucket
179
+ name or ARN respectively:
180
+
181
+ ```ts
182
+ const byName = s3.Bucket.fromBucketName(this, 'BucketByName', 'my-bucket');
183
+ const byArn = s3.Bucket.fromBucketArn(this, 'BucketByArn', 'arn:aws:s3:::my-bucket');
184
+ ```
185
+
186
+ The bucket's region defaults to the current stack's region, but can also be explicitly set in cases where one of the bucket's
187
+ regional properties needs to contain the correct values.
188
+
189
+ ```ts
190
+ const myCrossRegionBucket = s3.Bucket.fromBucketAttributes(this, 'CrossRegionImport', {
191
+ bucketArn: 'arn:aws:s3:::my-bucket',
192
+ region: 'us-east-1',
193
+ });
194
+ // myCrossRegionBucket.bucketRegionalDomainName === 'my-bucket.s3.us-east-1.amazonaws.com'
195
+ ```
196
+
197
+ ## Bucket Notifications
198
+
199
+ The Amazon S3 notification feature enables you to receive notifications when
200
+ certain events happen in your bucket as described under [S3 Bucket
201
+ Notifications] of the S3 Developer Guide.
202
+
203
+ To subscribe for bucket notifications, use the `bucket.addEventNotification` method. The
204
+ `bucket.addObjectCreatedNotification` and `bucket.addObjectRemovedNotification` can also be used for
205
+ these common use cases.
206
+
207
+ The following example will subscribe an SNS topic to be notified of all `s3:ObjectCreated:*` events:
208
+
209
+ ```ts
210
+ const bucket = new s3.Bucket(this, 'MyBucket');
211
+ const topic = new sns.Topic(this, 'MyTopic');
212
+ bucket.addEventNotification(s3.EventType.OBJECT_CREATED, new s3n.SnsDestination(topic));
213
+ ```
214
+
215
+ This call will also ensure that the topic policy can accept notifications for
216
+ this specific bucket.
217
+
218
+ Supported S3 notification targets are exposed by the `@aws-cdk/aws-s3-notifications` package.
219
+
220
+ It is also possible to specify S3 object key filters when subscribing. The
221
+ following example will notify `myQueue` when objects prefixed with `foo/` and
222
+ have the `.jpg` suffix are removed from the bucket.
223
+
224
+ ```ts
225
+ declare const myQueue: sqs.Queue;
226
+ const bucket = new s3.Bucket(this, 'MyBucket');
227
+ bucket.addEventNotification(s3.EventType.OBJECT_REMOVED,
228
+ new s3n.SqsDestination(myQueue),
229
+ { prefix: 'foo/', suffix: '.jpg' });
230
+ ```
231
+
232
+ Adding notifications on existing buckets:
233
+
234
+ ```ts
235
+ declare const topic: sns.Topic;
236
+ const bucket = s3.Bucket.fromBucketAttributes(this, 'ImportedBucket', {
237
+ bucketArn: 'arn:aws:s3:::my-bucket',
238
+ });
239
+ bucket.addEventNotification(s3.EventType.OBJECT_CREATED, new s3n.SnsDestination(topic));
240
+ ```
241
+
242
+ When you add an event notification to a bucket, a custom resource is created to
243
+ manage the notifications. By default, a new role is created for the Lambda
244
+ function that implements this feature. If you want to use your own role instead,
245
+ you should provide it in the `Bucket` constructor:
246
+
247
+ ```ts
248
+ declare const myRole: iam.IRole;
249
+ const bucket = new s3.Bucket(this, 'MyBucket', {
250
+ notificationsHandlerRole: myRole,
251
+ });
252
+ ```
253
+
254
+ Whatever role you provide, the CDK will try to modify it by adding the
255
+ permissions from `AWSLambdaBasicExecutionRole` (an AWS managed policy) as well
256
+ as the permissions `s3:PutBucketNotification` and `s3:GetBucketNotification`.
257
+ If you’re passing an imported role, and you don’t want this to happen, configure
258
+ it to be immutable:
259
+
260
+ ```ts
261
+ const importedRole = iam.Role.fromRoleArn(this, 'role', 'arn:aws:iam::123456789012:role/RoleName', {
262
+ mutable: false,
263
+ });
264
+ ```
265
+
266
+ > If you provide an imported immutable role, make sure that it has at least all
267
+ > the permissions mentioned above. Otherwise, the deployment will fail!
268
+
269
+ [S3 Bucket Notifications]: https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html
270
+
271
+
272
+ ### EventBridge notifications
273
+
274
+ Amazon S3 can send events to Amazon EventBridge whenever certain events happen in your bucket.
275
+ Unlike other destinations, you don't need to select which event types you want to deliver.
276
+
277
+ The following example will enable EventBridge notifications:
278
+
279
+ ```ts
280
+ const bucket = new s3.Bucket(this, 'MyEventBridgeBucket', {
281
+ eventBridgeEnabled: true,
282
+ });
283
+ ```
284
+
285
+ [S3 EventBridge notifications]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/EventBridge.html
286
+
287
+ ## Block Public Access
288
+
289
+ Use `blockPublicAccess` to specify [block public access settings] on the bucket.
290
+
291
+ Enable all block public access settings:
292
+
293
+ ```ts
294
+ const bucket = new s3.Bucket(this, 'MyBlockedBucket', {
295
+ blockPublicAccess: s3.BlockPublicAccess.BLOCK_ALL,
296
+ });
297
+ ```
298
+
299
+ Block and ignore public ACLs:
300
+
301
+ ```ts
302
+ const bucket = new s3.Bucket(this, 'MyBlockedBucket', {
303
+ blockPublicAccess: s3.BlockPublicAccess.BLOCK_ACLS,
304
+ });
305
+ ```
306
+
307
+ Alternatively, specify the settings manually:
308
+
309
+ ```ts
310
+ const bucket = new s3.Bucket(this, 'MyBlockedBucket', {
311
+ blockPublicAccess: new s3.BlockPublicAccess({ blockPublicPolicy: true }),
312
+ });
313
+ ```
314
+
315
+ When `blockPublicPolicy` is set to `true`, `grantPublicRead()` throws an error.
316
+
317
+ [block public access settings]: https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html
318
+
319
+ ## Logging configuration
320
+
321
+ Use `serverAccessLogsBucket` to describe where server access logs are to be stored.
322
+
323
+ ```ts
324
+ const accessLogsBucket = new s3.Bucket(this, 'AccessLogsBucket');
325
+
326
+ const bucket = new s3.Bucket(this, 'MyBucket', {
327
+ serverAccessLogsBucket: accessLogsBucket,
328
+ });
329
+ ```
330
+
331
+ It's also possible to specify a prefix for Amazon S3 to assign to all log object keys.
332
+
333
+ ```ts
334
+ const accessLogsBucket = new s3.Bucket(this, 'AccessLogsBucket');
335
+
336
+ const bucket = new s3.Bucket(this, 'MyBucket', {
337
+ serverAccessLogsBucket: accessLogsBucket,
338
+ serverAccessLogsPrefix: 'logs',
339
+ });
340
+ ```
341
+
342
+ [S3 Server access logging]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerLogs.html
343
+
344
+ ## S3 Inventory
345
+
346
+ An [inventory](https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-inventory.html) contains a list of the objects in the source bucket and metadata for each object. The inventory lists are stored in the destination bucket as a CSV file compressed with GZIP, as an Apache optimized row columnar (ORC) file compressed with ZLIB, or as an Apache Parquet (Parquet) file compressed with Snappy.
347
+
348
+ You can configure multiple inventory lists for a bucket. You can configure what object metadata to include in the inventory, whether to list all object versions or only current versions, where to store the inventory list file output, and whether to generate the inventory on a daily or weekly basis.
349
+
350
+ ```ts
351
+ const inventoryBucket = new s3.Bucket(this, 'InventoryBucket');
352
+
353
+ const dataBucket = new s3.Bucket(this, 'DataBucket', {
354
+ inventories: [
355
+ {
356
+ frequency: s3.InventoryFrequency.DAILY,
357
+ includeObjectVersions: s3.InventoryObjectVersion.CURRENT,
358
+ destination: {
359
+ bucket: inventoryBucket,
360
+ },
361
+ },
362
+ {
363
+ frequency: s3.InventoryFrequency.WEEKLY,
364
+ includeObjectVersions: s3.InventoryObjectVersion.ALL,
365
+ destination: {
366
+ bucket: inventoryBucket,
367
+ prefix: 'with-all-versions',
368
+ },
369
+ },
370
+ ],
371
+ });
372
+ ```
373
+
374
+ If the destination bucket is created as part of the same CDK application, the necessary permissions will be automatically added to the bucket policy.
375
+ However, if you use an imported bucket (i.e `Bucket.fromXXX()`), you'll have to make sure it contains the following policy document:
376
+
377
+ ```json
378
+ {
379
+ "Version": "2012-10-17",
380
+ "Statement": [
381
+ {
382
+ "Sid": "InventoryAndAnalyticsExamplePolicy",
383
+ "Effect": "Allow",
384
+ "Principal": { "Service": "s3.amazonaws.com" },
385
+ "Action": "s3:PutObject",
386
+ "Resource": ["arn:aws:s3:::destinationBucket/*"]
387
+ }
388
+ ]
389
+ }
390
+ ```
391
+
392
+ ## Website redirection
393
+
394
+ You can use the two following properties to specify the bucket [redirection policy]. Please note that these methods cannot both be applied to the same bucket.
395
+
396
+ [redirection policy]: https://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html#advanced-conditional-redirects
397
+
398
+ ### Static redirection
399
+
400
+ You can statically redirect a to a given Bucket URL or any other host name with `websiteRedirect`:
401
+
402
+ ```ts
403
+ const bucket = new s3.Bucket(this, 'MyRedirectedBucket', {
404
+ websiteRedirect: { hostName: 'www.example.com' },
405
+ });
406
+ ```
407
+
408
+ ### Routing rules
409
+
410
+ Alternatively, you can also define multiple `websiteRoutingRules`, to define complex, conditional redirections:
411
+
412
+ ```ts
413
+ const bucket = new s3.Bucket(this, 'MyRedirectedBucket', {
414
+ websiteRoutingRules: [{
415
+ hostName: 'www.example.com',
416
+ httpRedirectCode: '302',
417
+ protocol: s3.RedirectProtocol.HTTPS,
418
+ replaceKey: s3.ReplaceKey.prefixWith('test/'),
419
+ condition: {
420
+ httpErrorCodeReturnedEquals: '200',
421
+ keyPrefixEquals: 'prefix',
422
+ },
423
+ }],
424
+ });
425
+ ```
426
+
427
+ ## Filling the bucket as part of deployment
428
+
429
+ To put files into a bucket as part of a deployment (for example, to host a
430
+ website), see the `@aws-cdk/aws-s3-deployment` package, which provides a
431
+ resource that can do just that.
432
+
433
+ ## The URL for objects
434
+
435
+ S3 provides two types of URLs for accessing objects via HTTP(S). Path-Style and
436
+ [Virtual Hosted-Style](https://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html)
437
+ URL. Path-Style is a classic way and will be
438
+ [deprecated](https://aws.amazon.com/jp/blogs/aws/amazon-s3-path-deprecation-plan-the-rest-of-the-story).
439
+ We recommend to use Virtual Hosted-Style URL for newly made bucket.
440
+
441
+ You can generate both of them.
442
+
443
+ ```ts
444
+ const bucket = new s3.Bucket(this, 'MyBucket');
445
+ bucket.urlForObject('objectname'); // Path-Style URL
446
+ bucket.virtualHostedUrlForObject('objectname'); // Virtual Hosted-Style URL
447
+ bucket.virtualHostedUrlForObject('objectname', { regional: false }); // Virtual Hosted-Style URL but non-regional
448
+ ```
449
+
450
+ ## Object Ownership
451
+
452
+ You can use one of following properties to specify the bucket [object Ownership].
453
+
454
+ [object Ownership]: https://docs.aws.amazon.com/AmazonS3/latest/dev/about-object-ownership.html
455
+
456
+ ### Object writer
457
+
458
+ The Uploading account will own the object.
459
+
460
+ ```ts
461
+ new s3.Bucket(this, 'MyBucket', {
462
+ objectOwnership: s3.ObjectOwnership.OBJECT_WRITER,
463
+ });
464
+ ```
465
+
466
+ ### Bucket owner preferred
467
+
468
+ The bucket owner will own the object if the object is uploaded with the bucket-owner-full-control canned ACL. Without this setting and canned ACL, the object is uploaded and remains owned by the uploading account.
469
+
470
+ ```ts
471
+ new s3.Bucket(this, 'MyBucket', {
472
+ objectOwnership: s3.ObjectOwnership.BUCKET_OWNER_PREFERRED,
473
+ });
474
+ ```
475
+
476
+ ### Bucket owner enforced (recommended)
477
+
478
+ ACLs are disabled, and the bucket owner automatically owns and has full control over every object in the bucket. ACLs no longer affect permissions to data in the S3 bucket. The bucket uses policies to define access control.
479
+
480
+ ```ts
481
+ new s3.Bucket(this, 'MyBucket', {
482
+ objectOwnership: s3.ObjectOwnership.BUCKET_OWNER_ENFORCED,
483
+ });
484
+ ```
485
+
486
+ ## Bucket deletion
487
+
488
+ When a bucket is removed from a stack (or the stack is deleted), the S3
489
+ bucket will be removed according to its removal policy (which by default will
490
+ simply orphan the bucket and leave it in your AWS account). If the removal
491
+ policy is set to `RemovalPolicy.DESTROY`, the bucket will be deleted as long
492
+ as it does not contain any objects.
493
+
494
+ To override this and force all objects to get deleted during bucket deletion,
495
+ enable the`autoDeleteObjects` option.
496
+
497
+ ```ts
498
+ const bucket = new s3.Bucket(this, 'MyTempFileBucket', {
499
+ removalPolicy: cdk.RemovalPolicy.DESTROY,
500
+ autoDeleteObjects: true,
501
+ });
502
+ ```
503
+
504
+ **Warning** if you have deployed a bucket with `autoDeleteObjects: true`,
505
+ switching this to `false` in a CDK version *before* `1.126.0` will lead to
506
+ all objects in the bucket being deleted. Be sure to update your bucket resources
507
+ by deploying with CDK version `1.126.0` or later **before** switching this value to `false`.
508
+
509
+ ## Transfer Acceleration
510
+
511
+ [Transfer Acceleration](https://docs.aws.amazon.com/AmazonS3/latest/userguide/transfer-acceleration.html) can be configured to enable fast, easy, and secure transfers of files over long distances:
512
+
513
+ ```ts
514
+ const bucket = new s3.Bucket(this, 'MyBucket', {
515
+ transferAcceleration: true,
516
+ });
517
+ ```
518
+
519
+ To access the bucket that is enabled for Transfer Acceleration, you must use a special endpoint. The URL can be generated using method `transferAccelerationUrlForObject`:
520
+
521
+ ```ts
522
+ const bucket = new s3.Bucket(this, 'MyBucket', {
523
+ transferAcceleration: true,
524
+ });
525
+ bucket.transferAccelerationUrlForObject('objectname');
526
+ ```
527
+
528
+ ## Intelligent Tiering
529
+
530
+ [Intelligent Tiering](https://docs.aws.amazon.com/AmazonS3/latest/userguide/intelligent-tiering.html) can be configured to automatically move files to glacier:
531
+
532
+ ```ts
533
+ new s3.Bucket(this, 'MyBucket', {
534
+ intelligentTieringConfigurations: [{
535
+ name: 'foo',
536
+ prefix: 'folder/name',
537
+ archiveAccessTierTime: cdk.Duration.days(90),
538
+ deepArchiveAccessTierTime: cdk.Duration.days(180),
539
+ tags: [{key: 'tagname', value: 'tagvalue'}]
540
+ }],
541
+ });
542
+
543
+ ```
544
+
545
+ ## Lifecycle Rule
546
+
547
+ [Managing lifecycle](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lifecycle-mgmt.html) can be configured transition or expiration actions.
548
+
549
+ ```ts
550
+ const bucket = new s3.Bucket(this, 'MyBucket', {
551
+ lifecycleRules: [{
552
+ abortIncompleteMultipartUploadAfter: cdk.Duration.minutes(30),
553
+ enabled: false,
554
+ expiration: cdk.Duration.days(30),
555
+ expirationDate: new Date(),
556
+ expiredObjectDeleteMarker: false,
557
+ id: 'id',
558
+ noncurrentVersionExpiration: cdk.Duration.days(30),
559
+
560
+ // the properties below are optional
561
+ noncurrentVersionsToRetain: 123,
562
+ noncurrentVersionTransitions: [{
563
+ storageClass: s3.StorageClass.GLACIER,
564
+ transitionAfter: cdk.Duration.days(30),
565
+
566
+ // the properties below are optional
567
+ noncurrentVersionsToRetain: 123,
568
+ }],
569
+ objectSizeGreaterThan: 500,
570
+ prefix: 'prefix',
571
+ objectSizeLessThan: 10000,
572
+ transitions: [{
573
+ storageClass: s3.StorageClass.GLACIER,
574
+
575
+ // the properties below are optional
576
+ transitionAfter: cdk.Duration.days(30),
577
+ transitionDate: new Date(),
578
+ }],
579
+ }]
580
+ });
581
+ ```