UNPKG

580 kBPlain TextView Raw
1{
2 "author": {
3 "name": "Amazon Web Services",
4 "organization": true,
5 "roles": [
6 "author"
7 ],
8 "url": "https://aws.amazon.com"
9 },
10 "bundled": {
11 "yaml": "1.10.2"
12 },
13 "dependencies": {
14 "@aws-cdk/assets": "1.197.0",
15 "@aws-cdk/aws-cloudwatch": "1.197.0",
16 "@aws-cdk/aws-codecommit": "1.197.0",
17 "@aws-cdk/aws-codestarnotifications": "1.197.0",
18 "@aws-cdk/aws-ec2": "1.197.0",
19 "@aws-cdk/aws-ecr": "1.197.0",
20 "@aws-cdk/aws-ecr-assets": "1.197.0",
21 "@aws-cdk/aws-events": "1.197.0",
22 "@aws-cdk/aws-iam": "1.197.0",
23 "@aws-cdk/aws-kms": "1.197.0",
24 "@aws-cdk/aws-logs": "1.197.0",
25 "@aws-cdk/aws-s3": "1.197.0",
26 "@aws-cdk/aws-s3-assets": "1.197.0",
27 "@aws-cdk/aws-secretsmanager": "1.197.0",
28 "@aws-cdk/core": "1.197.0",
29 "@aws-cdk/region-info": "1.197.0",
30 "constructs": "^3.3.69"
31 },
32 "dependencyClosure": {
33 "@aws-cdk/assets": {
34 "targets": {
35 "dotnet": {
36 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
37 "namespace": "Amazon.CDK.Assets",
38 "packageId": "Amazon.CDK.Assets"
39 },
40 "java": {
41 "maven": {
42 "artifactId": "cdk-assets",
43 "groupId": "software.amazon.awscdk"
44 },
45 "package": "software.amazon.awscdk.assets"
46 },
47 "js": {
48 "npm": "@aws-cdk/assets"
49 },
50 "python": {
51 "classifiers": [
52 "Framework :: AWS CDK",
53 "Framework :: AWS CDK :: 1"
54 ],
55 "distName": "aws-cdk.assets",
56 "module": "aws_cdk.assets"
57 }
58 }
59 },
60 "@aws-cdk/aws-applicationautoscaling": {
61 "targets": {
62 "dotnet": {
63 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
64 "namespace": "Amazon.CDK.AWS.ApplicationAutoScaling",
65 "packageId": "Amazon.CDK.AWS.ApplicationAutoScaling"
66 },
67 "java": {
68 "maven": {
69 "artifactId": "applicationautoscaling",
70 "groupId": "software.amazon.awscdk"
71 },
72 "package": "software.amazon.awscdk.services.applicationautoscaling"
73 },
74 "js": {
75 "npm": "@aws-cdk/aws-applicationautoscaling"
76 },
77 "python": {
78 "classifiers": [
79 "Framework :: AWS CDK",
80 "Framework :: AWS CDK :: 1"
81 ],
82 "distName": "aws-cdk.aws-applicationautoscaling",
83 "module": "aws_cdk.aws_applicationautoscaling"
84 }
85 }
86 },
87 "@aws-cdk/aws-autoscaling-common": {
88 "targets": {
89 "dotnet": {
90 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
91 "namespace": "Amazon.CDK.AWS.AutoScaling.Common",
92 "packageId": "Amazon.CDK.AWS.AutoScaling.Common"
93 },
94 "java": {
95 "maven": {
96 "artifactId": "autoscaling-common",
97 "groupId": "software.amazon.awscdk"
98 },
99 "package": "software.amazon.awscdk.services.autoscaling.common"
100 },
101 "js": {
102 "npm": "@aws-cdk/aws-autoscaling-common"
103 },
104 "python": {
105 "classifiers": [
106 "Framework :: AWS CDK",
107 "Framework :: AWS CDK :: 1"
108 ],
109 "distName": "aws-cdk.aws-autoscaling-common",
110 "module": "aws_cdk.aws_autoscaling_common"
111 }
112 }
113 },
114 "@aws-cdk/aws-cloudwatch": {
115 "targets": {
116 "dotnet": {
117 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
118 "namespace": "Amazon.CDK.AWS.CloudWatch",
119 "packageId": "Amazon.CDK.AWS.CloudWatch"
120 },
121 "java": {
122 "maven": {
123 "artifactId": "cloudwatch",
124 "groupId": "software.amazon.awscdk"
125 },
126 "package": "software.amazon.awscdk.services.cloudwatch"
127 },
128 "js": {
129 "npm": "@aws-cdk/aws-cloudwatch"
130 },
131 "python": {
132 "classifiers": [
133 "Framework :: AWS CDK",
134 "Framework :: AWS CDK :: 1"
135 ],
136 "distName": "aws-cdk.aws-cloudwatch",
137 "module": "aws_cdk.aws_cloudwatch"
138 }
139 }
140 },
141 "@aws-cdk/aws-codecommit": {
142 "targets": {
143 "dotnet": {
144 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
145 "namespace": "Amazon.CDK.AWS.CodeCommit",
146 "packageId": "Amazon.CDK.AWS.CodeCommit"
147 },
148 "java": {
149 "maven": {
150 "artifactId": "codecommit",
151 "groupId": "software.amazon.awscdk"
152 },
153 "package": "software.amazon.awscdk.services.codecommit"
154 },
155 "js": {
156 "npm": "@aws-cdk/aws-codecommit"
157 },
158 "python": {
159 "classifiers": [
160 "Framework :: AWS CDK",
161 "Framework :: AWS CDK :: 1"
162 ],
163 "distName": "aws-cdk.aws-codecommit",
164 "module": "aws_cdk.aws_codecommit"
165 }
166 }
167 },
168 "@aws-cdk/aws-codeguruprofiler": {
169 "targets": {
170 "dotnet": {
171 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
172 "namespace": "Amazon.CDK.AWS.CodeGuruProfiler",
173 "packageId": "Amazon.CDK.AWS.CodeGuruProfiler"
174 },
175 "java": {
176 "maven": {
177 "artifactId": "codeguruprofiler",
178 "groupId": "software.amazon.awscdk"
179 },
180 "package": "software.amazon.awscdk.services.codeguruprofiler"
181 },
182 "js": {
183 "npm": "@aws-cdk/aws-codeguruprofiler"
184 },
185 "python": {
186 "classifiers": [
187 "Framework :: AWS CDK",
188 "Framework :: AWS CDK :: 1"
189 ],
190 "distName": "aws-cdk.aws-codeguruprofiler",
191 "module": "aws_cdk.aws_codeguruprofiler"
192 }
193 }
194 },
195 "@aws-cdk/aws-codestarnotifications": {
196 "targets": {
197 "dotnet": {
198 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
199 "namespace": "Amazon.CDK.AWS.CodeStarNotifications",
200 "packageId": "Amazon.CDK.AWS.CodeStarNotifications"
201 },
202 "java": {
203 "maven": {
204 "artifactId": "codestarnotifications",
205 "groupId": "software.amazon.awscdk"
206 },
207 "package": "software.amazon.awscdk.services.codestarnotifications"
208 },
209 "js": {
210 "npm": "@aws-cdk/aws-codestarnotifications"
211 },
212 "python": {
213 "classifiers": [
214 "Framework :: AWS CDK",
215 "Framework :: AWS CDK :: 1"
216 ],
217 "distName": "aws-cdk.aws-codestarnotifications",
218 "module": "aws_cdk.aws_codestarnotifications"
219 }
220 }
221 },
222 "@aws-cdk/aws-ec2": {
223 "targets": {
224 "dotnet": {
225 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
226 "namespace": "Amazon.CDK.AWS.EC2",
227 "packageId": "Amazon.CDK.AWS.EC2"
228 },
229 "java": {
230 "maven": {
231 "artifactId": "ec2",
232 "groupId": "software.amazon.awscdk"
233 },
234 "package": "software.amazon.awscdk.services.ec2"
235 },
236 "js": {
237 "npm": "@aws-cdk/aws-ec2"
238 },
239 "python": {
240 "classifiers": [
241 "Framework :: AWS CDK",
242 "Framework :: AWS CDK :: 1"
243 ],
244 "distName": "aws-cdk.aws-ec2",
245 "module": "aws_cdk.aws_ec2"
246 }
247 }
248 },
249 "@aws-cdk/aws-ecr": {
250 "targets": {
251 "dotnet": {
252 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
253 "namespace": "Amazon.CDK.AWS.ECR",
254 "packageId": "Amazon.CDK.AWS.ECR"
255 },
256 "java": {
257 "maven": {
258 "artifactId": "ecr",
259 "groupId": "software.amazon.awscdk"
260 },
261 "package": "software.amazon.awscdk.services.ecr"
262 },
263 "js": {
264 "npm": "@aws-cdk/aws-ecr"
265 },
266 "python": {
267 "classifiers": [
268 "Framework :: AWS CDK",
269 "Framework :: AWS CDK :: 1"
270 ],
271 "distName": "aws-cdk.aws-ecr",
272 "module": "aws_cdk.aws_ecr"
273 }
274 }
275 },
276 "@aws-cdk/aws-ecr-assets": {
277 "targets": {
278 "dotnet": {
279 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
280 "namespace": "Amazon.CDK.AWS.Ecr.Assets",
281 "packageId": "Amazon.CDK.ECR.Assets"
282 },
283 "java": {
284 "maven": {
285 "artifactId": "ecr-assets",
286 "groupId": "software.amazon.awscdk"
287 },
288 "package": "software.amazon.awscdk.services.ecr.assets"
289 },
290 "js": {
291 "npm": "@aws-cdk/aws-ecr-assets"
292 },
293 "python": {
294 "classifiers": [
295 "Framework :: AWS CDK",
296 "Framework :: AWS CDK :: 1"
297 ],
298 "distName": "aws-cdk.aws-ecr-assets",
299 "module": "aws_cdk.aws_ecr_assets"
300 }
301 }
302 },
303 "@aws-cdk/aws-efs": {
304 "targets": {
305 "dotnet": {
306 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
307 "namespace": "Amazon.CDK.AWS.EFS",
308 "packageId": "Amazon.CDK.AWS.EFS"
309 },
310 "java": {
311 "maven": {
312 "artifactId": "efs",
313 "groupId": "software.amazon.awscdk"
314 },
315 "package": "software.amazon.awscdk.services.efs"
316 },
317 "js": {
318 "npm": "@aws-cdk/aws-efs"
319 },
320 "python": {
321 "classifiers": [
322 "Framework :: AWS CDK",
323 "Framework :: AWS CDK :: 1"
324 ],
325 "distName": "aws-cdk.aws-efs",
326 "module": "aws_cdk.aws_efs"
327 }
328 }
329 },
330 "@aws-cdk/aws-events": {
331 "targets": {
332 "dotnet": {
333 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
334 "namespace": "Amazon.CDK.AWS.Events",
335 "packageId": "Amazon.CDK.AWS.Events"
336 },
337 "java": {
338 "maven": {
339 "artifactId": "events",
340 "groupId": "software.amazon.awscdk"
341 },
342 "package": "software.amazon.awscdk.services.events"
343 },
344 "js": {
345 "npm": "@aws-cdk/aws-events"
346 },
347 "python": {
348 "classifiers": [
349 "Framework :: AWS CDK",
350 "Framework :: AWS CDK :: 1"
351 ],
352 "distName": "aws-cdk.aws-events",
353 "module": "aws_cdk.aws_events"
354 }
355 }
356 },
357 "@aws-cdk/aws-iam": {
358 "targets": {
359 "dotnet": {
360 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
361 "namespace": "Amazon.CDK.AWS.IAM",
362 "packageId": "Amazon.CDK.AWS.IAM"
363 },
364 "java": {
365 "maven": {
366 "artifactId": "iam",
367 "groupId": "software.amazon.awscdk"
368 },
369 "package": "software.amazon.awscdk.services.iam"
370 },
371 "js": {
372 "npm": "@aws-cdk/aws-iam"
373 },
374 "python": {
375 "classifiers": [
376 "Framework :: AWS CDK",
377 "Framework :: AWS CDK :: 1"
378 ],
379 "distName": "aws-cdk.aws-iam",
380 "module": "aws_cdk.aws_iam"
381 }
382 }
383 },
384 "@aws-cdk/aws-kms": {
385 "targets": {
386 "dotnet": {
387 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
388 "namespace": "Amazon.CDK.AWS.KMS",
389 "packageId": "Amazon.CDK.AWS.KMS"
390 },
391 "java": {
392 "maven": {
393 "artifactId": "kms",
394 "groupId": "software.amazon.awscdk"
395 },
396 "package": "software.amazon.awscdk.services.kms"
397 },
398 "js": {
399 "npm": "@aws-cdk/aws-kms"
400 },
401 "python": {
402 "classifiers": [
403 "Framework :: AWS CDK",
404 "Framework :: AWS CDK :: 1"
405 ],
406 "distName": "aws-cdk.aws-kms",
407 "module": "aws_cdk.aws_kms"
408 }
409 }
410 },
411 "@aws-cdk/aws-lambda": {
412 "targets": {
413 "dotnet": {
414 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
415 "namespace": "Amazon.CDK.AWS.Lambda",
416 "packageId": "Amazon.CDK.AWS.Lambda"
417 },
418 "java": {
419 "maven": {
420 "artifactId": "lambda",
421 "groupId": "software.amazon.awscdk"
422 },
423 "package": "software.amazon.awscdk.services.lambda"
424 },
425 "js": {
426 "npm": "@aws-cdk/aws-lambda"
427 },
428 "python": {
429 "classifiers": [
430 "Framework :: AWS CDK",
431 "Framework :: AWS CDK :: 1"
432 ],
433 "distName": "aws-cdk.aws-lambda",
434 "module": "aws_cdk.aws_lambda"
435 }
436 }
437 },
438 "@aws-cdk/aws-logs": {
439 "targets": {
440 "dotnet": {
441 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
442 "namespace": "Amazon.CDK.AWS.Logs",
443 "packageId": "Amazon.CDK.AWS.Logs"
444 },
445 "java": {
446 "maven": {
447 "artifactId": "logs",
448 "groupId": "software.amazon.awscdk"
449 },
450 "package": "software.amazon.awscdk.services.logs"
451 },
452 "js": {
453 "npm": "@aws-cdk/aws-logs"
454 },
455 "python": {
456 "classifiers": [
457 "Framework :: AWS CDK",
458 "Framework :: AWS CDK :: 1"
459 ],
460 "distName": "aws-cdk.aws-logs",
461 "module": "aws_cdk.aws_logs"
462 }
463 }
464 },
465 "@aws-cdk/aws-s3": {
466 "targets": {
467 "dotnet": {
468 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
469 "namespace": "Amazon.CDK.AWS.S3",
470 "packageId": "Amazon.CDK.AWS.S3"
471 },
472 "java": {
473 "maven": {
474 "artifactId": "s3",
475 "groupId": "software.amazon.awscdk"
476 },
477 "package": "software.amazon.awscdk.services.s3"
478 },
479 "js": {
480 "npm": "@aws-cdk/aws-s3"
481 },
482 "python": {
483 "classifiers": [
484 "Framework :: AWS CDK",
485 "Framework :: AWS CDK :: 1"
486 ],
487 "distName": "aws-cdk.aws-s3",
488 "module": "aws_cdk.aws_s3"
489 }
490 }
491 },
492 "@aws-cdk/aws-s3-assets": {
493 "targets": {
494 "dotnet": {
495 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
496 "namespace": "Amazon.CDK.AWS.S3.Assets",
497 "packageId": "Amazon.CDK.AWS.S3.Assets"
498 },
499 "java": {
500 "maven": {
501 "artifactId": "s3-assets",
502 "groupId": "software.amazon.awscdk"
503 },
504 "package": "software.amazon.awscdk.services.s3.assets"
505 },
506 "js": {
507 "npm": "@aws-cdk/aws-s3-assets"
508 },
509 "python": {
510 "classifiers": [
511 "Framework :: AWS CDK",
512 "Framework :: AWS CDK :: 1"
513 ],
514 "distName": "aws-cdk.aws-s3-assets",
515 "module": "aws_cdk.aws_s3_assets"
516 }
517 }
518 },
519 "@aws-cdk/aws-sam": {
520 "targets": {
521 "dotnet": {
522 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
523 "namespace": "Amazon.CDK.AWS.SAM",
524 "packageId": "Amazon.CDK.AWS.SAM"
525 },
526 "java": {
527 "maven": {
528 "artifactId": "sam",
529 "groupId": "software.amazon.awscdk"
530 },
531 "package": "software.amazon.awscdk.services.sam"
532 },
533 "js": {
534 "npm": "@aws-cdk/aws-sam"
535 },
536 "python": {
537 "classifiers": [
538 "Framework :: AWS CDK",
539 "Framework :: AWS CDK :: 1"
540 ],
541 "distName": "aws-cdk.aws-sam",
542 "module": "aws_cdk.aws_sam"
543 }
544 }
545 },
546 "@aws-cdk/aws-secretsmanager": {
547 "targets": {
548 "dotnet": {
549 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
550 "namespace": "Amazon.CDK.AWS.SecretsManager",
551 "packageId": "Amazon.CDK.AWS.SecretsManager"
552 },
553 "java": {
554 "maven": {
555 "artifactId": "secretsmanager",
556 "groupId": "software.amazon.awscdk"
557 },
558 "package": "software.amazon.awscdk.services.secretsmanager"
559 },
560 "js": {
561 "npm": "@aws-cdk/aws-secretsmanager"
562 },
563 "python": {
564 "classifiers": [
565 "Framework :: AWS CDK",
566 "Framework :: AWS CDK :: 1"
567 ],
568 "distName": "aws-cdk.aws-secretsmanager",
569 "module": "aws_cdk.aws_secretsmanager"
570 }
571 }
572 },
573 "@aws-cdk/aws-signer": {
574 "targets": {
575 "dotnet": {
576 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
577 "namespace": "Amazon.CDK.AWS.Signer",
578 "packageId": "Amazon.CDK.AWS.Signer"
579 },
580 "java": {
581 "maven": {
582 "artifactId": "signer",
583 "groupId": "software.amazon.awscdk"
584 },
585 "package": "software.amazon.awscdk.services.signer"
586 },
587 "js": {
588 "npm": "@aws-cdk/aws-signer"
589 },
590 "python": {
591 "classifiers": [
592 "Framework :: AWS CDK",
593 "Framework :: AWS CDK :: 1"
594 ],
595 "distName": "aws-cdk.aws-signer",
596 "module": "aws_cdk.aws_signer"
597 }
598 }
599 },
600 "@aws-cdk/aws-sns": {
601 "targets": {
602 "dotnet": {
603 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
604 "namespace": "Amazon.CDK.AWS.SNS",
605 "packageId": "Amazon.CDK.AWS.SNS"
606 },
607 "java": {
608 "maven": {
609 "artifactId": "sns",
610 "groupId": "software.amazon.awscdk"
611 },
612 "package": "software.amazon.awscdk.services.sns"
613 },
614 "js": {
615 "npm": "@aws-cdk/aws-sns"
616 },
617 "python": {
618 "classifiers": [
619 "Framework :: AWS CDK",
620 "Framework :: AWS CDK :: 1"
621 ],
622 "distName": "aws-cdk.aws-sns",
623 "module": "aws_cdk.aws_sns"
624 }
625 }
626 },
627 "@aws-cdk/aws-sqs": {
628 "targets": {
629 "dotnet": {
630 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
631 "namespace": "Amazon.CDK.AWS.SQS",
632 "packageId": "Amazon.CDK.AWS.SQS"
633 },
634 "java": {
635 "maven": {
636 "artifactId": "sqs",
637 "groupId": "software.amazon.awscdk"
638 },
639 "package": "software.amazon.awscdk.services.sqs"
640 },
641 "js": {
642 "npm": "@aws-cdk/aws-sqs"
643 },
644 "python": {
645 "classifiers": [
646 "Framework :: AWS CDK",
647 "Framework :: AWS CDK :: 1"
648 ],
649 "distName": "aws-cdk.aws-sqs",
650 "module": "aws_cdk.aws_sqs"
651 }
652 }
653 },
654 "@aws-cdk/aws-ssm": {
655 "targets": {
656 "dotnet": {
657 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
658 "namespace": "Amazon.CDK.AWS.SSM",
659 "packageId": "Amazon.CDK.AWS.SSM"
660 },
661 "java": {
662 "maven": {
663 "artifactId": "ssm",
664 "groupId": "software.amazon.awscdk"
665 },
666 "package": "software.amazon.awscdk.services.ssm"
667 },
668 "js": {
669 "npm": "@aws-cdk/aws-ssm"
670 },
671 "python": {
672 "classifiers": [
673 "Framework :: AWS CDK",
674 "Framework :: AWS CDK :: 1"
675 ],
676 "distName": "aws-cdk.aws-ssm",
677 "module": "aws_cdk.aws_ssm"
678 }
679 }
680 },
681 "@aws-cdk/cloud-assembly-schema": {
682 "targets": {
683 "dotnet": {
684 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
685 "namespace": "Amazon.CDK.CloudAssembly.Schema",
686 "packageId": "Amazon.CDK.CloudAssembly.Schema"
687 },
688 "java": {
689 "maven": {
690 "artifactId": "cdk-cloud-assembly-schema",
691 "groupId": "software.amazon.awscdk"
692 },
693 "package": "software.amazon.awscdk.cloudassembly.schema"
694 },
695 "js": {
696 "npm": "@aws-cdk/cloud-assembly-schema"
697 },
698 "python": {
699 "classifiers": [
700 "Framework :: AWS CDK",
701 "Framework :: AWS CDK :: 1"
702 ],
703 "distName": "aws-cdk.cloud-assembly-schema",
704 "module": "aws_cdk.cloud_assembly_schema"
705 }
706 }
707 },
708 "@aws-cdk/core": {
709 "targets": {
710 "dotnet": {
711 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
712 "namespace": "Amazon.CDK",
713 "packageId": "Amazon.CDK"
714 },
715 "java": {
716 "maven": {
717 "artifactId": "core",
718 "groupId": "software.amazon.awscdk"
719 },
720 "package": "software.amazon.awscdk.core"
721 },
722 "js": {
723 "npm": "@aws-cdk/core"
724 },
725 "python": {
726 "classifiers": [
727 "Framework :: AWS CDK",
728 "Framework :: AWS CDK :: 1"
729 ],
730 "distName": "aws-cdk.core",
731 "module": "aws_cdk.core"
732 }
733 }
734 },
735 "@aws-cdk/cx-api": {
736 "targets": {
737 "dotnet": {
738 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
739 "namespace": "Amazon.CDK.CXAPI",
740 "packageId": "Amazon.CDK.CXAPI"
741 },
742 "java": {
743 "maven": {
744 "artifactId": "cdk-cx-api",
745 "groupId": "software.amazon.awscdk"
746 },
747 "package": "software.amazon.awscdk.cxapi"
748 },
749 "js": {
750 "npm": "@aws-cdk/cx-api"
751 },
752 "python": {
753 "classifiers": [
754 "Framework :: AWS CDK",
755 "Framework :: AWS CDK :: 1"
756 ],
757 "distName": "aws-cdk.cx-api",
758 "module": "aws_cdk.cx_api"
759 }
760 }
761 },
762 "@aws-cdk/region-info": {
763 "targets": {
764 "dotnet": {
765 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
766 "namespace": "Amazon.CDK.RegionInfo",
767 "packageId": "Amazon.CDK.RegionInfo"
768 },
769 "java": {
770 "maven": {
771 "artifactId": "cdk-region-info",
772 "groupId": "software.amazon.awscdk"
773 },
774 "package": "software.amazon.awscdk.regioninfo"
775 },
776 "js": {
777 "npm": "@aws-cdk/region-info"
778 },
779 "python": {
780 "classifiers": [
781 "Framework :: AWS CDK",
782 "Framework :: AWS CDK :: 1"
783 ],
784 "distName": "aws-cdk.region-info",
785 "module": "aws_cdk.region_info"
786 }
787 }
788 },
789 "constructs": {
790 "targets": {
791 "dotnet": {
792 "namespace": "Constructs",
793 "packageId": "Constructs"
794 },
795 "go": {
796 "moduleName": "github.com/aws/constructs-go"
797 },
798 "java": {
799 "maven": {
800 "artifactId": "constructs",
801 "groupId": "software.constructs"
802 },
803 "package": "software.constructs"
804 },
805 "js": {
806 "npm": "constructs"
807 },
808 "python": {
809 "distName": "constructs",
810 "module": "constructs"
811 }
812 }
813 }
814 },
815 "description": "The CDK Construct Library for AWS::CodeBuild",
816 "docs": {
817 "stability": "stable"
818 },
819 "homepage": "https://github.com/aws/aws-cdk",
820 "jsiiVersion": "1.74.0 (build 6d08790)",
821 "keywords": [
822 "aws",
823 "cdk",
824 "constructs",
825 "codebuild"
826 ],
827 "license": "Apache-2.0",
828 "metadata": {
829 "jsii": {
830 "compiledWithDeprecationWarnings": true,
831 "pacmak": {
832 "hasDefaultInterfaces": true
833 },
834 "rosetta": {
835 "strict": true
836 }
837 }
838 },
839 "name": "@aws-cdk/aws-codebuild",
840 "readme": {
841 "markdown": "# AWS CodeBuild Construct Library\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n![cfn-resources: Stable](https://img.shields.io/badge/cfn--resources-stable-success.svg?style=for-the-badge)\n\n![cdk-constructs: Stable](https://img.shields.io/badge/cdk--constructs-stable-success.svg?style=for-the-badge)\n\n---\n\n<!--END STABILITY BANNER-->\n\nAWS CodeBuild is a fully managed continuous integration service that compiles\nsource code, runs tests, and produces software packages that are ready to\ndeploy. With CodeBuild, you don’t need to provision, manage, and scale your own\nbuild servers. CodeBuild scales continuously and processes multiple builds\nconcurrently, so your builds are not left waiting in a queue. You can get\nstarted quickly by using prepackaged build environments, or you can create\ncustom build environments that use your own build tools. With CodeBuild, you are\ncharged by the minute for the compute resources you use.\n\n## Installation\n\nInstall the module:\n\n```console\n$ npm i @aws-cdk/aws-codebuild\n```\n\nImport it into your code:\n\n```ts nofixture\nimport * as codebuild from '@aws-cdk/aws-codebuild';\n```\n\nThe `codebuild.Project` construct represents a build project resource. See the\nreference documentation for a comprehensive list of initialization properties,\nmethods and attributes.\n\n## Source\n\nBuild projects are usually associated with a _source_, which is specified via\nthe `source` property which accepts a class that extends the `Source`\nabstract base class.\nThe default is to have no source associated with the build project;\nthe `buildSpec` option is required in that case.\n\nHere's a CodeBuild project with no source which simply prints `Hello,\nCodeBuild!`:\n\n```ts lit=test/integ.defaults.lit.ts\nnew codebuild.Project(this, 'MyProject', {\n buildSpec: codebuild.BuildSpec.fromObject({\n version: '0.2',\n phases: {\n build: {\n commands: [\n 'echo \"Hello, CodeBuild!\"',\n ],\n },\n },\n }),\n});\n```\n\n### `CodeCommitSource`\n\nUse an AWS CodeCommit repository as the source of this build:\n\n```ts\nimport * as codecommit from '@aws-cdk/aws-codecommit';\n\nconst repository = new codecommit.Repository(this, 'MyRepo', { repositoryName: 'foo' });\nnew codebuild.Project(this, 'MyFirstCodeCommitProject', {\n source: codebuild.Source.codeCommit({ repository }),\n});\n```\n\n### `S3Source`\n\nCreate a CodeBuild project with an S3 bucket as the source:\n\n```ts\nconst bucket = new s3.Bucket(this, 'MyBucket');\n\nnew codebuild.Project(this, 'MyProject', {\n source: codebuild.Source.s3({\n bucket: bucket,\n path: 'path/to/file.zip',\n }),\n});\n```\n\nThe CodeBuild role will be granted to read just the given path from the given `bucket`.\n\n### `GitHubSource` and `GitHubEnterpriseSource`\n\nThese source types can be used to build code from a GitHub repository.\nExample:\n\n```ts\nconst gitHubSource = codebuild.Source.gitHub({\n owner: 'awslabs',\n repo: 'aws-cdk',\n webhook: true, // optional, default: true if `webhookFilters` were provided, false otherwise\n webhookTriggersBatchBuild: true, // optional, default is false\n webhookFilters: [\n codebuild.FilterGroup\n .inEventOf(codebuild.EventAction.PUSH)\n .andBranchIs('master')\n .andCommitMessageIs('the commit message'),\n ], // optional, by default all pushes and Pull Requests will trigger a build\n});\n```\n\nTo provide GitHub credentials, please either go to AWS CodeBuild Console to connect\nor call `ImportSourceCredentials` to persist your personal access token.\nExample:\n\n```console\naws codebuild import-source-credentials --server-type GITHUB --auth-type PERSONAL_ACCESS_TOKEN --token <token_value>\n```\n\n### `BitBucketSource`\n\nThis source type can be used to build code from a BitBucket repository.\n\n```ts\nconst bbSource = codebuild.Source.bitBucket({\n owner: 'owner',\n repo: 'repo',\n});\n```\n\n### For all Git sources\n\nFor all Git sources, you can fetch submodules while cloing git repo.\n\n```ts\nconst gitHubSource = codebuild.Source.gitHub({\n owner: 'awslabs',\n repo: 'aws-cdk',\n fetchSubmodules: true,\n});\n```\n\n## Artifacts\n\nCodeBuild Projects can produce Artifacts and upload them to S3. For example:\n\n```ts\ndeclare const bucket: s3.Bucket;\n\nconst project = new codebuild.Project(this, 'MyProject', {\n buildSpec: codebuild.BuildSpec.fromObject({\n version: '0.2',\n }),\n artifacts: codebuild.Artifacts.s3({\n bucket,\n includeBuildId: false,\n packageZip: true,\n path: 'another/path',\n identifier: 'AddArtifact1',\n }),\n});\n```\n\nIf you'd prefer your buildspec to be rendered as YAML in the template,\nuse the `fromObjectToYaml()` method instead of `fromObject()`.\n\nBecause we've not set the `name` property, this example will set the\n`overrideArtifactName` parameter, and produce an artifact named as defined in\nthe Buildspec file, uploaded to an S3 bucket (`bucket`). The path will be\n`another/path` and the artifact will be a zipfile.\n\n## CodePipeline\n\nTo add a CodeBuild Project as an Action to CodePipeline,\nuse the `PipelineProject` class instead of `Project`.\nIt's a simple class that doesn't allow you to specify `sources`,\n`secondarySources`, `artifacts` or `secondaryArtifacts`,\nas these are handled by setting input and output CodePipeline `Artifact` instances on the Action,\ninstead of setting them on the Project.\n\n```ts\nconst project = new codebuild.PipelineProject(this, 'Project', {\n // properties as above...\n})\n```\n\nFor more details, see the readme of the `@aws-cdk/@aws-codepipeline-actions` package.\n\n## Caching\n\nYou can save time when your project builds by using a cache. A cache can store reusable pieces of your build environment and use them across multiple builds. Your build project can use one of two types of caching: Amazon S3 or local. In general, S3 caching is a good option for small and intermediate build artifacts that are more expensive to build than to download. Local caching is a good option for large intermediate build artifacts because the cache is immediately available on the build host.\n\n### S3 Caching\n\nWith S3 caching, the cache is stored in an S3 bucket which is available\nregardless from what CodeBuild instance gets selected to run your CodeBuild job\non. When using S3 caching, you must also add in a `cache` section to your\nbuildspec which indicates the files to be cached:\n\n```ts\ndeclare const myCachingBucket: s3.Bucket;\n\nnew codebuild.Project(this, 'Project', {\n source: codebuild.Source.bitBucket({\n owner: 'awslabs',\n repo: 'aws-cdk',\n }),\n\n cache: codebuild.Cache.bucket(myCachingBucket),\n\n // BuildSpec with a 'cache' section necessary for S3 caching. This can\n // also come from 'buildspec.yml' in your source.\n buildSpec: codebuild.BuildSpec.fromObject({\n version: '0.2',\n phases: {\n build: {\n commands: ['...'],\n },\n },\n cache: {\n paths: [\n // The '**/*' is required to indicate all files in this directory\n '/root/cachedir/**/*',\n ],\n },\n }),\n});\n```\n\nNote that two different CodeBuild Projects using the same S3 bucket will *not*\nshare their cache: each Project will get a unique file in the S3 bucket to store\nthe cache in.\n\n### Local Caching\n\nWith local caching, the cache is stored on the codebuild instance itself. This\nis simple, cheap and fast, but CodeBuild cannot guarantee a reuse of instance\nand hence cannot guarantee cache hits. For example, when a build starts and\ncaches files locally, if two subsequent builds start at the same time afterwards\nonly one of those builds would get the cache. Three different cache modes are\nsupported, which can be turned on individually.\n\n* `LocalCacheMode.SOURCE` caches Git metadata for primary and secondary sources.\n* `LocalCacheMode.DOCKER_LAYER` caches existing Docker layers.\n* `LocalCacheMode.CUSTOM` caches directories you specify in the buildspec file.\n\n```ts\nnew codebuild.Project(this, 'Project', {\n source: codebuild.Source.gitHubEnterprise({\n httpsCloneUrl: 'https://my-github-enterprise.com/owner/repo',\n }),\n\n // Enable Docker AND custom caching\n cache: codebuild.Cache.local(codebuild.LocalCacheMode.DOCKER_LAYER, codebuild.LocalCacheMode.CUSTOM),\n\n // BuildSpec with a 'cache' section necessary for 'CUSTOM' caching. This can\n // also come from 'buildspec.yml' in your source.\n buildSpec: codebuild.BuildSpec.fromObject({\n version: '0.2',\n phases: {\n build: {\n commands: ['...'],\n },\n },\n cache: {\n paths: [\n // The '**/*' is required to indicate all files in this directory\n '/root/cachedir/**/*',\n ],\n },\n }),\n});\n```\n\n## Environment\n\nBy default, projects use a small instance with an Ubuntu 18.04 image. You\ncan use the `environment` property to customize the build environment:\n\n* `buildImage` defines the Docker image used. See [Images](#images) below for\n details on how to define build images.\n* `certificate` defines the location of a PEM encoded certificate to import.\n* `computeType` defines the instance type used for the build.\n* `privileged` can be set to `true` to allow privileged access.\n* `environmentVariables` can be set at this level (and also at the project\n level).\n\n## Images\n\nThe CodeBuild library supports both Linux and Windows images via the\n`LinuxBuildImage` (or `LinuxArmBuildImage`), and `WindowsBuildImage` classes, respectively.\n\nYou can specify one of the predefined Windows/Linux images by using one\nof the constants such as `WindowsBuildImage.WIN_SERVER_CORE_2019_BASE`,\n`WindowsBuildImage.WINDOWS_BASE_2_0`, `LinuxBuildImage.STANDARD_2_0`, or\n`LinuxArmBuildImage.AMAZON_LINUX_2_ARM`.\n\nAlternatively, you can specify a custom image using one of the static methods on\n`LinuxBuildImage`:\n\n* `LinuxBuildImage.fromDockerRegistry(image[, { secretsManagerCredentials }])` to reference an image in any public or private Docker registry.\n* `LinuxBuildImage.fromEcrRepository(repo[, tag])` to reference an image available in an\n ECR repository.\n* `LinuxBuildImage.fromAsset(parent, id, props)` to use an image created from a\n local asset.\n* `LinuxBuildImage.fromCodeBuildImageId(id)` to reference a pre-defined, CodeBuild-provided Docker image.\n\nor one of the corresponding methods on `WindowsBuildImage`:\n\n* `WindowsBuildImage.fromDockerRegistry(image[, { secretsManagerCredentials }, imageType])`\n* `WindowsBuildImage.fromEcrRepository(repo[, tag, imageType])`\n* `WindowsBuildImage.fromAsset(parent, id, props, [, imageType])`\n\nor one of the corresponding methods on `LinuxArmBuildImage`:\n\n* `LinuxArmBuildImage.fromEcrRepository(repo[, tag])`\n\nNote that the `WindowsBuildImage` version of the static methods accepts an optional parameter of type `WindowsImageType`,\nwhich can be either `WindowsImageType.STANDARD`, the default, or `WindowsImageType.SERVER_2019`:\n\n```ts\ndeclare const ecrRepository: ecr.Repository;\n\nnew codebuild.Project(this, 'Project', {\n environment: {\n buildImage: codebuild.WindowsBuildImage.fromEcrRepository(ecrRepository, 'v1.0', codebuild.WindowsImageType.SERVER_2019),\n // optional certificate to include in the build image\n certificate: {\n bucket: s3.Bucket.fromBucketName(this, 'Bucket', 'my-bucket'),\n objectKey: 'path/to/cert.pem',\n },\n },\n // ...\n})\n```\n\nThe following example shows how to define an image from a Docker asset:\n\n```ts lit=test/integ.docker-asset.lit.ts\nenvironment: {\n buildImage: codebuild.LinuxBuildImage.fromAsset(this, 'MyImage', {\n directory: path.join(__dirname, 'demo-image'),\n }),\n},\n```\n\nThe following example shows how to define an image from an ECR repository:\n\n```ts lit=test/integ.ecr.lit.ts\nenvironment: {\n buildImage: codebuild.LinuxBuildImage.fromEcrRepository(ecrRepository, 'v1.0'),\n},\n```\n\nThe following example shows how to define an image from a private docker registry:\n\n```ts lit=test/integ.docker-registry.lit.ts\nenvironment: {\n buildImage: codebuild.LinuxBuildImage.fromDockerRegistry('my-registry/my-repo', {\n secretsManagerCredentials: secrets,\n }),\n},\n```\n\n### GPU images\n\nThe class `LinuxGpuBuildImage` contains constants for working with\n[AWS Deep Learning Container images](https://aws.amazon.com/releasenotes/available-deep-learning-containers-images):\n\n\n```ts\nnew codebuild.Project(this, 'Project', {\n environment: {\n buildImage: codebuild.LinuxGpuBuildImage.DLC_TENSORFLOW_2_1_0_INFERENCE,\n },\n // ...\n})\n```\n\nOne complication is that the repositories for the DLC images are in\ndifferent accounts in different AWS regions.\nIn most cases, the CDK will handle providing the correct account for you;\nin rare cases (for example, deploying to new regions)\nwhere our information might be out of date,\nyou can always specify the account\n(along with the repository name and tag)\nexplicitly using the `awsDeepLearningContainersImage` method:\n\n```ts\nnew codebuild.Project(this, 'Project', {\n environment: {\n buildImage: codebuild.LinuxGpuBuildImage.awsDeepLearningContainersImage(\n 'tensorflow-inference', '2.1.0-gpu-py36-cu101-ubuntu18.04', '123456789012'),\n },\n // ...\n})\n```\n\nAlternatively, you can reference an image available in an ECR repository using the `LinuxGpuBuildImage.fromEcrRepository(repo[, tag])` method.\n\n## Logs\n\nCodeBuild lets you specify an S3 Bucket, CloudWatch Log Group or both to receive logs from your projects.\n\nBy default, logs will go to cloudwatch.\n\n### CloudWatch Logs Example\n\n```ts\nnew codebuild.Project(this, 'Project', {\n logging: {\n cloudWatch: {\n logGroup: new logs.LogGroup(this, `MyLogGroup`),\n }\n },\n})\n```\n\n### S3 Logs Example\n\n```ts\nnew codebuild.Project(this, 'Project', {\n logging: {\n s3: {\n bucket: new s3.Bucket(this, `LogBucket`)\n }\n },\n})\n```\n\n## Credentials\n\nCodeBuild allows you to store credentials used when communicating with various sources,\nlike GitHub:\n\n```ts\nnew codebuild.GitHubSourceCredentials(this, 'CodeBuildGitHubCreds', {\n accessToken: SecretValue.secretsManager('my-token'),\n});\n// GitHub Enterprise is almost the same,\n// except the class is called GitHubEnterpriseSourceCredentials\n```\n\nand BitBucket:\n\n```ts\nnew codebuild.BitBucketSourceCredentials(this, 'CodeBuildBitBucketCreds', {\n username: SecretValue.secretsManager('my-bitbucket-creds', { jsonField: 'username' }),\n password: SecretValue.secretsManager('my-bitbucket-creds', { jsonField: 'password' }),\n});\n```\n\n**Note**: the credentials are global to a given account in a given region -\nthey are not defined per CodeBuild project.\nCodeBuild only allows storing a single credential of a given type\n(GitHub, GitHub Enterprise or BitBucket)\nin a given account in a given region -\nany attempt to save more than one will result in an error.\nYou can use the [`list-source-credentials` AWS CLI operation](https://docs.aws.amazon.com/cli/latest/reference/codebuild/list-source-credentials.html)\nto inspect what credentials are stored in your account.\n\n## Test reports\n\nYou can specify a test report in your buildspec:\n\n```ts\nconst project = new codebuild.Project(this, 'Project', {\n buildSpec: codebuild.BuildSpec.fromObject({\n // ...\n reports: {\n myReport: {\n files: '**/*',\n 'base-directory': 'build/test-results',\n },\n },\n }),\n});\n```\n\nThis will create a new test report group,\nwith the name `<ProjectName>-myReport`.\n\nThe project's role in the CDK will always be granted permissions to create and use report groups\nwith names starting with the project's name;\nif you'd rather not have those permissions added,\nyou can opt out of it when creating the project:\n\n```ts\ndeclare const source: codebuild.Source;\n\nconst project = new codebuild.Project(this, 'Project', {\n source,\n grantReportGroupPermissions: false,\n});\n```\n\nAlternatively, you can specify an ARN of an existing resource group,\ninstead of a simple name, in your buildspec:\n\n```ts\ndeclare const source: codebuild.Source;\n\n// create a new ReportGroup\nconst reportGroup = new codebuild.ReportGroup(this, 'ReportGroup');\n\nconst project = new codebuild.Project(this, 'Project', {\n source,\n buildSpec: codebuild.BuildSpec.fromObject({\n // ...\n reports: {\n [reportGroup.reportGroupArn]: {\n files: '**/*',\n 'base-directory': 'build/test-results',\n },\n },\n }),\n});\n```\n\nIf you do that, you need to grant the project's role permissions to write reports to that report group:\n\n```ts\ndeclare const project: codebuild.Project;\ndeclare const reportGroup: codebuild.ReportGroup;\n\nreportGroup.grantWrite(project);\n```\n\nFor more information on the test reports feature,\nsee the [AWS CodeBuild documentation](https://docs.aws.amazon.com/codebuild/latest/userguide/test-reporting.html).\n\n## Events\n\nCodeBuild projects can be used either as a source for events or be triggered\nby events via an event rule.\n\n### Using Project as an event target\n\nThe `@aws-cdk/aws-events-targets.CodeBuildProject` allows using an AWS CodeBuild\nproject as a AWS CloudWatch event rule target:\n\n```ts\n// start build when a commit is pushed\nimport * as codecommit from '@aws-cdk/aws-codecommit';\nimport * as targets from '@aws-cdk/aws-events-targets';\n\ndeclare const codeCommitRepository: codecommit.Repository;\ndeclare const project: codebuild.Project;\n\ncodeCommitRepository.onCommit('OnCommit', {\n target: new targets.CodeBuildProject(project),\n});\n```\n\n### Using Project as an event source\n\nTo define Amazon CloudWatch event rules for build projects, use one of the `onXxx`\nmethods:\n\n```ts\nimport * as targets from '@aws-cdk/aws-events-targets';\ndeclare const fn: lambda.Function;\ndeclare const project: codebuild.Project;\n\nconst rule = project.onStateChange('BuildStateChange', {\n target: new targets.LambdaFunction(fn)\n});\n```\n\n## CodeStar Notifications\n\nTo define CodeStar Notification rules for Projects, use one of the `notifyOnXxx()` methods.\nThey are very similar to `onXxx()` methods for CloudWatch events:\n\n```ts\nimport * as chatbot from '@aws-cdk/aws-chatbot';\n\ndeclare const project: codebuild.Project;\n\nconst target = new chatbot.SlackChannelConfiguration(this, 'MySlackChannel', {\n slackChannelConfigurationName: 'YOUR_CHANNEL_NAME',\n slackWorkspaceId: 'YOUR_SLACK_WORKSPACE_ID',\n slackChannelId: 'YOUR_SLACK_CHANNEL_ID',\n});\n\nconst rule = project.notifyOnBuildSucceeded('NotifyOnBuildSucceeded', target);\n```\n\n## Secondary sources and artifacts\n\nCodeBuild Projects can get their sources from multiple places, and produce\nmultiple outputs. For example:\n\n```ts\nimport * as codecommit from '@aws-cdk/aws-codecommit';\ndeclare const repo: codecommit.Repository;\ndeclare const bucket: s3.Bucket;\n\nconst project = new codebuild.Project(this, 'MyProject', {\n secondarySources: [\n codebuild.Source.codeCommit({\n identifier: 'source2',\n repository: repo,\n }),\n ],\n secondaryArtifacts: [\n codebuild.Artifacts.s3({\n identifier: 'artifact2',\n bucket: bucket,\n path: 'some/path',\n name: 'file.zip',\n }),\n ],\n // ...\n});\n```\n\nNote that the `identifier` property is required for both secondary sources and\nartifacts.\n\nThe contents of the secondary source is available to the build under the\ndirectory specified by the `CODEBUILD_SRC_DIR_<identifier>` environment variable\n(so, `CODEBUILD_SRC_DIR_source2` in the above case).\n\nThe secondary artifacts have their own section in the buildspec, under the\nregular `artifacts` one. Each secondary artifact has its own section, beginning\nwith their identifier.\n\nSo, a buildspec for the above Project could look something like this:\n\n```ts\nconst project = new codebuild.Project(this, 'MyProject', {\n // secondary sources and artifacts as above...\n buildSpec: codebuild.BuildSpec.fromObject({\n version: '0.2',\n phases: {\n build: {\n commands: [\n 'cd $CODEBUILD_SRC_DIR_source2',\n 'touch output2.txt',\n ],\n },\n },\n artifacts: {\n 'secondary-artifacts': {\n 'artifact2': {\n 'base-directory': '$CODEBUILD_SRC_DIR_source2',\n 'files': [\n 'output2.txt',\n ],\n },\n },\n },\n }),\n});\n```\n\n### Definition of VPC configuration in CodeBuild Project\n\nTypically, resources in an VPC are not accessible by AWS CodeBuild. To enable\naccess, you must provide additional VPC-specific configuration information as\npart of your CodeBuild project configuration. This includes the VPC ID, the\nVPC subnet IDs, and the VPC security group IDs. VPC-enabled builds are then\nable to access resources inside your VPC.\n\nFor further Information see https://docs.aws.amazon.com/codebuild/latest/userguide/vpc-support.html\n\n**Use Cases**\nVPC connectivity from AWS CodeBuild builds makes it possible to:\n\n* Run integration tests from your build against data in an Amazon RDS database that's isolated on a private subnet.\n* Query data in an Amazon ElastiCache cluster directly from tests.\n* Interact with internal web services hosted on Amazon EC2, Amazon ECS, or services that use internal Elastic Load Balancing.\n* Retrieve dependencies from self-hosted, internal artifact repositories, such as PyPI for Python, Maven for Java, and npm for Node.js.\n* Access objects in an Amazon S3 bucket configured to allow access through an Amazon VPC endpoint only.\n* Query external web services that require fixed IP addresses through the Elastic IP address of the NAT gateway or NAT instance associated with your subnet(s).\n\nYour builds can access any resource that's hosted in your VPC.\n\n**Enable Amazon VPC Access in your CodeBuild Projects**\n\nPass the VPC when defining your Project, then make sure to\ngive the CodeBuild's security group the right permissions\nto access the resources that it needs by using the\n`connections` object.\n\nFor example:\n\n```ts\ndeclare const loadBalancer: elbv2.ApplicationLoadBalancer;\n\nconst vpc = new ec2.Vpc(this, 'MyVPC');\nconst project = new codebuild.Project(this, 'MyProject', {\n vpc: vpc,\n buildSpec: codebuild.BuildSpec.fromObject({\n // ...\n }),\n});\n\nproject.connections.allowTo(loadBalancer, ec2.Port.tcp(443));\n```\n\n## Project File System Location EFS\n\nAdd support for CodeBuild to build on AWS EFS file system mounts using\nthe new ProjectFileSystemLocation.\nThe `fileSystemLocations` property which accepts a list `ProjectFileSystemLocation`\nas represented by the interface `IFileSystemLocations`.\nThe only supported file system type is `EFS`.\n\nFor example:\n\n```ts\nnew codebuild.Project(this, 'MyProject', {\n buildSpec: codebuild.BuildSpec.fromObject({\n version: '0.2',\n }),\n fileSystemLocations: [\n codebuild.FileSystemLocation.efs({\n identifier: \"myidentifier2\",\n location: \"myclodation.mydnsroot.com:/loc\",\n mountPoint: \"/media\",\n mountOptions: \"opts\"\n })\n ]\n});\n```\n\nHere's a CodeBuild project with a simple example that creates a project mounted on AWS EFS:\n\n[Minimal Example](./test/integ.project-file-system-location.ts)\n\n## Batch builds\n\nTo enable batch builds you should call `enableBatchBuilds()` on the project instance.\n\nIt returns an object containing the batch service role that was created,\nor `undefined` if batch builds could not be enabled, for example if the project was imported.\n\n```ts\ndeclare const source: codebuild.Source;\n\nconst project = new codebuild.Project(this, 'MyProject', { source, });\n\nif (project.enableBatchBuilds()) {\n console.log('Batch builds were enabled');\n}\n```\n\n## Timeouts\n\nThere are two types of timeouts that can be set when creating your Project.\nThe `timeout` property can be used to set an upper limit on how long your Project is able to run without being marked as completed.\nThe default is 60 minutes.\nAn example of overriding the default follows.\n\n```ts\nnew codebuild.Project(this, 'MyProject', {\n timeout: Duration.minutes(90)\n});\n```\n\nThe `queuedTimeout` property can be used to set an upper limit on how your Project remains queued to run.\nThere is no default value for this property.\nAs an example, to allow your Project to queue for up to thirty (30) minutes before the build fails,\nuse the following code.\n\n```ts\nnew codebuild.Project(this, 'MyProject', {\n queuedTimeout: Duration.minutes(30)\n});\n```\n\n## Limiting concurrency\n\nBy default if a new build is triggered it will be run even if there is a previous build already in progress.\nIt is possible to limit the maximum concurrent builds to value between 1 and the account specific maximum limit.\nBy default there is no explicit limit.\n\n```ts\nnew codebuild.Project(this, 'MyProject', {\n concurrentBuildLimit: 1\n});\n```\n"
842 },
843 "repository": {
844 "directory": "packages/@aws-cdk/aws-codebuild",
845 "type": "git",
846 "url": "https://github.com/aws/aws-cdk.git"
847 },
848 "schema": "jsii/0.10.0",
849 "targets": {
850 "dotnet": {
851 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
852 "namespace": "Amazon.CDK.AWS.CodeBuild",
853 "packageId": "Amazon.CDK.AWS.CodeBuild"
854 },
855 "java": {
856 "maven": {
857 "artifactId": "codebuild",
858 "groupId": "software.amazon.awscdk"
859 },
860 "package": "software.amazon.awscdk.services.codebuild"
861 },
862 "js": {
863 "npm": "@aws-cdk/aws-codebuild"
864 },
865 "python": {
866 "classifiers": [
867 "Framework :: AWS CDK",
868 "Framework :: AWS CDK :: 1"
869 ],
870 "distName": "aws-cdk.aws-codebuild",
871 "module": "aws_cdk.aws_codebuild"
872 }
873 },
874 "types": {
875 "@aws-cdk/aws-codebuild.Artifacts": {
876 "abstract": true,
877 "assembly": "@aws-cdk/aws-codebuild",
878 "docs": {
879 "stability": "stable",
880 "summary": "Artifacts definition for a CodeBuild Project.",
881 "example": "declare const bucket: s3.Bucket;\n\nconst project = new codebuild.Project(this, 'MyProject', {\n buildSpec: codebuild.BuildSpec.fromObject({\n version: '0.2',\n }),\n artifacts: codebuild.Artifacts.s3({\n bucket,\n includeBuildId: false,\n packageZip: true,\n path: 'another/path',\n identifier: 'AddArtifact1',\n }),\n});",
882 "custom": {
883 "exampleMetadata": "infused"
884 }
885 },
886 "fqn": "@aws-cdk/aws-codebuild.Artifacts",
887 "initializer": {
888 "docs": {
889 "stability": "stable"
890 },
891 "locationInModule": {
892 "filename": "lib/artifacts.ts",
893 "line": 66
894 },
895 "parameters": [
896 {
897 "name": "props",
898 "type": {
899 "fqn": "@aws-cdk/aws-codebuild.ArtifactsProps"
900 }
901 }
902 ],
903 "protected": true
904 },
905 "interfaces": [
906 "@aws-cdk/aws-codebuild.IArtifacts"
907 ],
908 "kind": "class",
909 "locationInModule": {
910 "filename": "lib/artifacts.ts",
911 "line": 58
912 },
913 "methods": [
914 {
915 "docs": {
916 "stability": "stable"
917 },
918 "locationInModule": {
919 "filename": "lib/artifacts.ts",
920 "line": 59
921 },
922 "name": "s3",
923 "parameters": [
924 {
925 "name": "props",
926 "type": {
927 "fqn": "@aws-cdk/aws-codebuild.S3ArtifactsProps"
928 }
929 }
930 ],
931 "returns": {
932 "type": {
933 "fqn": "@aws-cdk/aws-codebuild.IArtifacts"
934 }
935 },
936 "static": true
937 },
938 {
939 "docs": {
940 "stability": "stable",
941 "summary": "Callback when an Artifacts class is used in a CodeBuild Project."
942 },
943 "locationInModule": {
944 "filename": "lib/artifacts.ts",
945 "line": 70
946 },
947 "name": "bind",
948 "overrides": "@aws-cdk/aws-codebuild.IArtifacts",
949 "parameters": [
950 {
951 "name": "_scope",
952 "type": {
953 "fqn": "@aws-cdk/core.Construct"
954 }
955 },
956 {
957 "name": "_project",
958 "type": {
959 "fqn": "@aws-cdk/aws-codebuild.IProject"
960 }
961 }
962 ],
963 "returns": {
964 "type": {
965 "fqn": "@aws-cdk/aws-codebuild.ArtifactsConfig"
966 }
967 }
968 }
969 ],
970 "name": "Artifacts",
971 "properties": [
972 {
973 "abstract": true,
974 "docs": {
975 "stability": "stable",
976 "summary": "The CodeBuild type of this artifact."
977 },
978 "immutable": true,
979 "locationInModule": {
980 "filename": "lib/artifacts.ts",
981 "line": 64
982 },
983 "name": "type",
984 "overrides": "@aws-cdk/aws-codebuild.IArtifacts",
985 "type": {
986 "primitive": "string"
987 }
988 },
989 {
990 "docs": {
991 "remarks": "This property is required on secondary artifacts.",
992 "stability": "stable",
993 "summary": "The artifact identifier."
994 },
995 "immutable": true,
996 "locationInModule": {
997 "filename": "lib/artifacts.ts",
998 "line": 63
999 },
1000 "name": "identifier",
1001 "optional": true,
1002 "overrides": "@aws-cdk/aws-codebuild.IArtifacts",
1003 "type": {
1004 "primitive": "string"
1005 }
1006 }
1007 ],
1008 "symbolId": "lib/artifacts:Artifacts"
1009 },
1010 "@aws-cdk/aws-codebuild.ArtifactsConfig": {
1011 "assembly": "@aws-cdk/aws-codebuild",
1012 "datatype": true,
1013 "docs": {
1014 "stability": "stable",
1015 "summary": "The type returned from {@link IArtifacts#bind}.",
1016 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as codebuild from '@aws-cdk/aws-codebuild';\nconst artifactsConfig: codebuild.ArtifactsConfig = {\n artifactsProperty: {\n type: 'type',\n\n // the properties below are optional\n artifactIdentifier: 'artifactIdentifier',\n encryptionDisabled: false,\n location: 'location',\n name: 'name',\n namespaceType: 'namespaceType',\n overrideArtifactName: false,\n packaging: 'packaging',\n path: 'path',\n },\n};",
1017 "custom": {
1018 "exampleMetadata": "fixture=_generated"
1019 }
1020 },
1021 "fqn": "@aws-cdk/aws-codebuild.ArtifactsConfig",
1022 "kind": "interface",
1023 "locationInModule": {
1024 "filename": "lib/artifacts.ts",
1025 "line": 12
1026 },
1027 "name": "ArtifactsConfig",
1028 "properties": [
1029 {
1030 "abstract": true,
1031 "docs": {
1032 "stability": "stable",
1033 "summary": "The low-level CloudFormation artifacts property."
1034 },
1035 "immutable": true,
1036 "locationInModule": {
1037 "filename": "lib/artifacts.ts",
1038 "line": 16
1039 },
1040 "name": "artifactsProperty",
1041 "type": {
1042 "fqn": "@aws-cdk/aws-codebuild.CfnProject.ArtifactsProperty"
1043 }
1044 }
1045 ],
1046 "symbolId": "lib/artifacts:ArtifactsConfig"
1047 },
1048 "@aws-cdk/aws-codebuild.ArtifactsProps": {
1049 "assembly": "@aws-cdk/aws-codebuild",
1050 "datatype": true,
1051 "docs": {
1052 "stability": "stable",
1053 "summary": "Properties common to all Artifacts classes.",
1054 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as codebuild from '@aws-cdk/aws-codebuild';\nconst artifactsProps: codebuild.ArtifactsProps = {\n identifier: 'identifier',\n};",
1055 "custom": {
1056 "exampleMetadata": "fixture=_generated"
1057 }
1058 },
1059 "fqn": "@aws-cdk/aws-codebuild.ArtifactsProps",
1060 "kind": "interface",
1061 "locationInModule": {
1062 "filename": "lib/artifacts.ts",
1063 "line": 47
1064 },
1065 "name": "ArtifactsProps",
1066 "properties": [
1067 {
1068 "abstract": true,
1069 "docs": {
1070 "remarks": "This property is required on secondary artifacts.",
1071 "stability": "stable",
1072 "summary": "The artifact identifier."
1073 },
1074 "immutable": true,
1075 "locationInModule": {
1076 "filename": "lib/artifacts.ts",
1077 "line": 52
1078 },
1079 "name": "identifier",
1080 "optional": true,
1081 "type": {
1082 "primitive": "string"
1083 }
1084 }
1085 ],
1086 "symbolId": "lib/artifacts:ArtifactsProps"
1087 },
1088 "@aws-cdk/aws-codebuild.BatchBuildConfig": {
1089 "assembly": "@aws-cdk/aws-codebuild",
1090 "datatype": true,
1091 "docs": {
1092 "stability": "stable",
1093 "summary": "The type returned from {@link IProject#enableBatchBuilds}.",
1094 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as codebuild from '@aws-cdk/aws-codebuild';\nimport * as iam from '@aws-cdk/aws-iam';\n\ndeclare const role: iam.Role;\nconst batchBuildConfig: codebuild.BatchBuildConfig = {\n role: role,\n};",
1095 "custom": {
1096 "exampleMetadata": "fixture=_generated"
1097 }
1098 },
1099 "fqn": "@aws-cdk/aws-codebuild.BatchBuildConfig",
1100 "kind": "interface",
1101 "locationInModule": {
1102 "filename": "lib/project.ts",
1103 "line": 37
1104 },
1105 "name": "BatchBuildConfig",
1106 "properties": [
1107 {
1108 "abstract": true,
1109 "docs": {
1110 "stability": "stable",
1111 "summary": "The IAM batch service Role of this Project."
1112 },
1113 "immutable": true,
1114 "locationInModule": {
1115 "filename": "lib/project.ts",
1116 "line": 39
1117 },
1118 "name": "role",
1119 "type": {
1120 "fqn": "@aws-cdk/aws-iam.IRole"
1121 }
1122 }
1123 ],
1124 "symbolId": "lib/project:BatchBuildConfig"
1125 },
1126 "@aws-cdk/aws-codebuild.BindToCodePipelineOptions": {
1127 "assembly": "@aws-cdk/aws-codebuild",
1128 "datatype": true,
1129 "docs": {
1130 "stability": "stable",
1131 "summary": "The extra options passed to the {@link IProject.bindToCodePipeline} method.",
1132 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as codebuild from '@aws-cdk/aws-codebuild';\nimport * as s3 from '@aws-cdk/aws-s3';\n\ndeclare const bucket: s3.Bucket;\nconst bindToCodePipelineOptions: codebuild.BindToCodePipelineOptions = {\n artifactBucket: bucket,\n};",
1133 "custom": {
1134 "exampleMetadata": "fixture=_generated"
1135 }
1136 },
1137 "fqn": "@aws-cdk/aws-codebuild.BindToCodePipelineOptions",
1138 "kind": "interface",
1139 "locationInModule": {
1140 "filename": "lib/project.ts",
1141 "line": 741
1142 },
1143 "name": "BindToCodePipelineOptions",
1144 "properties": [
1145 {
1146 "abstract": true,
1147 "docs": {
1148 "stability": "stable",
1149 "summary": "The artifact bucket that will be used by the action that invokes this project."
1150 },
1151 "immutable": true,
1152 "locationInModule": {
1153 "filename": "lib/project.ts",
1154 "line": 745
1155 },
1156 "name": "artifactBucket",
1157 "type": {
1158 "fqn": "@aws-cdk/aws-s3.IBucket"
1159 }
1160 }
1161 ],
1162 "symbolId": "lib/project:BindToCodePipelineOptions"
1163 },
1164 "@aws-cdk/aws-codebuild.BitBucketSourceCredentials": {
1165 "assembly": "@aws-cdk/aws-codebuild",
1166 "base": "@aws-cdk/core.Resource",
1167 "docs": {
1168 "custom": {
1169 "resource": "AWS::CodeBuild::SourceCredential",
1170 "exampleMetadata": "infused"
1171 },
1172 "remarks": "**Note**: CodeBuild only allows a single credential for BitBucket\nto be saved in a given AWS account in a given region -\nany attempt to add more than one will result in an error.",
1173 "stability": "stable",
1174 "summary": "The source credentials used when contacting the BitBucket API.",
1175 "example": "new codebuild.BitBucketSourceCredentials(this, 'CodeBuildBitBucketCreds', {\n username: SecretValue.secretsManager('my-bitbucket-creds', { jsonField: 'username' }),\n password: SecretValue.secretsManager('my-bitbucket-creds', { jsonField: 'password' }),\n});"
1176 },
1177 "fqn": "@aws-cdk/aws-codebuild.BitBucketSourceCredentials",
1178 "initializer": {
1179 "docs": {
1180 "stability": "stable"
1181 },
1182 "locationInModule": {
1183 "filename": "lib/source-credentials.ts",
1184 "line": 89
1185 },
1186 "parameters": [
1187 {
1188 "name": "scope",
1189 "type": {
1190 "fqn": "constructs.Construct"
1191 }
1192 },
1193 {
1194 "name": "id",
1195 "type": {
1196 "primitive": "string"
1197 }
1198 },
1199 {
1200 "name": "props",
1201 "type": {
1202 "fqn": "@aws-cdk/aws-codebuild.BitBucketSourceCredentialsProps"
1203 }
1204 }
1205 ]
1206 },
1207 "kind": "class",
1208 "locationInModule": {
1209 "filename": "lib/source-credentials.ts",
1210 "line": 88
1211 },
1212 "name": "BitBucketSourceCredentials",
1213 "symbolId": "lib/source-credentials:BitBucketSourceCredentials"
1214 },
1215 "@aws-cdk/aws-codebuild.BitBucketSourceCredentialsProps": {
1216 "assembly": "@aws-cdk/aws-codebuild",
1217 "datatype": true,
1218 "docs": {
1219 "stability": "stable",
1220 "summary": "Construction properties of {@link BitBucketSourceCredentials}.",
1221 "example": "new codebuild.BitBucketSourceCredentials(this, 'CodeBuildBitBucketCreds', {\n username: SecretValue.secretsManager('my-bitbucket-creds', { jsonField: 'username' }),\n password: SecretValue.secretsManager('my-bitbucket-creds', { jsonField: 'password' }),\n});",
1222 "custom": {
1223 "exampleMetadata": "infused"
1224 }
1225 },
1226 "fqn": "@aws-cdk/aws-codebuild.BitBucketSourceCredentialsProps",
1227 "kind": "interface",
1228 "locationInModule": {
1229 "filename": "lib/source-credentials.ts",
1230 "line": 71
1231 },
1232 "name": "BitBucketSourceCredentialsProps",
1233 "properties": [
1234 {
1235 "abstract": true,
1236 "docs": {
1237 "stability": "stable",
1238 "summary": "Your BitBucket application password."
1239 },
1240 "immutable": true,
1241 "locationInModule": {
1242 "filename": "lib/source-credentials.ts",
1243 "line": 76
1244 },
1245 "name": "password",
1246 "type": {
1247 "fqn": "@aws-cdk/core.SecretValue"
1248 }
1249 },
1250 {
1251 "abstract": true,
1252 "docs": {
1253 "stability": "stable",
1254 "summary": "Your BitBucket username."
1255 },
1256 "immutable": true,
1257 "locationInModule": {
1258 "filename": "lib/source-credentials.ts",
1259 "line": 73
1260 },
1261 "name": "username",
1262 "type": {
1263 "fqn": "@aws-cdk/core.SecretValue"
1264 }
1265 }
1266 ],
1267 "symbolId": "lib/source-credentials:BitBucketSourceCredentialsProps"
1268 },
1269 "@aws-cdk/aws-codebuild.BitBucketSourceProps": {
1270 "assembly": "@aws-cdk/aws-codebuild",
1271 "datatype": true,
1272