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.181.1",
15 "@aws-cdk/aws-cloudwatch": "1.181.1",
16 "@aws-cdk/aws-codecommit": "1.181.1",
17 "@aws-cdk/aws-codestarnotifications": "1.181.1",
18 "@aws-cdk/aws-ec2": "1.181.1",
19 "@aws-cdk/aws-ecr": "1.181.1",
20 "@aws-cdk/aws-ecr-assets": "1.181.1",
21 "@aws-cdk/aws-events": "1.181.1",
22 "@aws-cdk/aws-iam": "1.181.1",
23 "@aws-cdk/aws-kms": "1.181.1",
24 "@aws-cdk/aws-logs": "1.181.1",
25 "@aws-cdk/aws-s3": "1.181.1",
26 "@aws-cdk/aws-s3-assets": "1.181.1",
27 "@aws-cdk/aws-secretsmanager": "1.181.1",
28 "@aws-cdk/core": "1.181.1",
29 "@aws-cdk/region-info": "1.181.1",
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.71.0 (build f1f58ae)",
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 "docs": {
1273 "stability": "stable",
1274 "summary": "Construction properties for {@link BitBucketSource}.",
1275 "example": "const bbSource = codebuild.Source.bitBucket({\n owner: 'owner',\n repo: 'repo',\n});",
1276 "custom": {
1277 "exampleMetadata": "infused"
1278 }
1279 },
1280 "fqn": "@aws-cdk/aws-codebuild.BitBucketSourceProps",
1281 "interfaces": [
1282 "@aws-cdk/aws-codebuild.SourceProps"
1283 ],
1284 "kind": "interface",
1285 "locationInModule": {
1286 "filename": "lib/source.ts",
1287 "line": 814
1288 },
1289 "name": "BitBucketSourceProps",
1290 "properties": [
1291 {
1292 "abstract": true,
1293 "docs": {
1294 "example": "'awslabs'",
1295 "stability": "stable",
1296 "summary": "The BitBucket account/user that owns the repo."
1297 },
1298 "immutable": true,
1299 "locationInModule": {
1300 "filename": "lib/source.ts",
1301 "line": 820
1302 },
1303 "name": "owner",
1304 "type": {
1305 "primitive": "string"
1306 }
1307 },
1308 {
1309 "abstract": true,
1310 "docs": {
1311 "example": "'aws-cdk'",
1312 "stability": "stable",
1313 "summary": "The name of the repo (without the username)."
1314 },
1315 "immutable": true,
1316 "locationInModule": {
1317 "filename": "lib/source.ts",
1318 "line": 827
1319 },
1320 "name": "repo",
1321 "type": {
1322 "primitive": "string"
1323 }
1324 },
1325 {
1326 "abstract": true,
1327 "docs": {
1328 "default": "the default branch's HEAD commit ID is used",
1329 "example": "'mybranch'",
1330 "stability": "stable",
1331 "summary": "The commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build."
1332 },
1333 "immutable": true,
1334 "locationInModule": {
1335 "filename": "lib/source.ts",
1336 "line": 124
1337 },
1338 "name": "branchOrRef",
1339 "optional": true,
1340 "type": {
1341 "primitive": "string"
1342 }
1343 },
1344 {
1345 "abstract": true,
1346 "docs": {
1347 "default": "\"AWS CodeBuild $AWS_REGION ($PROJECT_NAME)\"",
1348 "example": "\"My build #$CODEBUILD_BUILD_NUMBER\"",
1349 "remarks": "Can use built-in CodeBuild variables, like $AWS_REGION.",
1350 "see": "https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-env-vars.html",
1351 "stability": "stable",
1352 "summary": "This parameter is used for the `name` parameter in the Bitbucket commit status."
1353 },
1354 "immutable": true,
1355 "locationInModule": {
1356 "filename": "lib/source.ts",
1357 "line": 839
1358 },
1359 "name": "buildStatusName",
1360 "optional": true,
1361 "type": {
1362 "primitive": "string"
1363 }
1364 },
1365 {
1366 "abstract": true,
1367 "docs": {
1368 "default": "- link to the AWS Console for CodeBuild to a particular build execution",
1369 "example": "\"$CODEBUILD_PUBLIC_BUILD_URL\"",
1370 "remarks": "Can use built-in CodeBuild variables, like $AWS_REGION.",
1371 "see": "https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-env-vars.html",
1372 "stability": "stable",
1373 "summary": "The URL that the build will report back to the source provider."
1374 },
1375 "immutable": true,
1376 "locationInModule": {
1377 "filename": "lib/source.ts",
1378 "line": 513
1379 },
1380 "name": "buildStatusUrl",
1381 "optional": true,
1382 "type": {
1383 "primitive": "string"
1384 }
1385 },
1386 {
1387 "abstract": true,
1388 "docs": {
1389 "remarks": "Minimum value is 0.\nIf this value is 0, greater than 25, or not provided,\nthen the full history is downloaded with each build of the project.",
1390 "stability": "stable",
1391 "summary": "The depth of history to download."
1392 },
1393 "immutable": true,
1394 "locationInModule": {
1395 "filename": "lib/source.ts",
1396 "line": 115
1397 },
1398 "name": "cloneDepth",
1399 "optional": true,
1400 "type": {
1401 "primitive": "number"
1402 }
1403 },
1404 {
1405 "abstract": true,
1406 "docs": {
1407 "default": "false",
1408 "stability": "stable",
1409 "summary": "Whether to fetch submodules while cloning git repo."
1410 },
1411 "immutable": true,
1412 "locationInModule": {
1413 "filename": "lib/source.ts",
1414 "line": 131
1415 },
1416 "name": "fetchSubmodules",
1417 "optional": true,
1418 "type": {
1419 "primitive": "boolean"
1420 }
1421 },
1422 {
1423 "abstract": true,
1424 "docs": {
1425 "default": "true",
1426 "stability": "stable",
1427 "summary": "Whether to send notifications on your build's start and end."
1428 },
1429 "immutable": true,
1430 "locationInModule": {
1431 "filename": "lib/source.ts",
1432 "line": 476
1433 },
1434 "name": "reportBuildStatus",
1435 "optional": true,
1436 "type": {
1437 "primitive": "boolean"
1438 }
1439 },
1440 {
1441 "abstract": true,
1442 "docs": {
1443 "default": "true if any `webhookFilters` were provided, false otherwise",
1444 "stability": "stable",
1445 "summary": "Whether to create a webhook that will trigger a build every time an event happens in the repository."
1446 },
1447 "immutable": true,
1448 "locationInModule": {
1449 "filename": "lib/source.ts",
1450 "line": 483
1451 },
1452 "name": "webhook",
1453 "optional": true,
1454 "type": {
1455 "primitive": "boolean"
1456 }
1457 },
1458 {
1459 "abstract": true,
1460 "docs": {
1461 "default": "every push and every Pull Request (create or update) triggers a build",
1462 "remarks": "A build is triggered if any of the provided filter groups match.\nOnly valid if `webhook` was not provided as false.",
1463 "stability": "stable",
1464 "summary": "A list of webhook filters that can constraint what events in the repository will trigger a build."
1465 },
1466 "immutable": true,
1467 "locationInModule": {
1468 "filename": "lib/source.ts",
1469 "line": 501
1470 },
1471 "name": "webhookFilters",
1472 "optional": true,
1473 "type": {
1474 "collection": {
1475 "elementtype": {
1476 "fqn": "@aws-cdk/aws-codebuild.FilterGroup"
1477 },
1478 "kind": "array"
1479 }
1480 }
1481 },
1482 {
1483 "abstract": true,
1484 "docs": {
1485 "default": "false",
1486 "remarks": "Enabling this will enable batch builds on the CodeBuild project.",
1487 "stability": "stable",
1488 "summary": "Trigger a batch build from a webhook instead of a standard one."
1489 },
1490 "immutable": true,
1491 "locationInModule": {
1492 "filename": "lib/source.ts",
1493 "line": 492
1494 },
1495 "name": "webhookTriggersBatchBuild",
1496 "optional": true,
1497 "type": {
1498 "primitive": "boolean"
1499 }
1500 }
1501 ],
1502 "symbolId": "lib/source:BitBucketSourceProps"
1503 },
1504 "@aws-cdk/aws-codebuild.BucketCacheOptions": {
1505 "assembly": "@aws-cdk/aws-codebuild",
1506 "datatype": true,
1507 "docs": {
1508 "stability": "stable",
1509 "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 bucketCacheOptions: codebuild.BucketCacheOptions = {\n prefix: 'prefix',\n};",
1510 "custom": {
1511 "exampleMetadata": "fixture=_generated"
1512 }
1513 },
1514 "fqn": "@aws-cdk/aws-codebuild.BucketCacheOptions",
1515 "kind": "interface",
1516 "locationInModule": {
1517 "filename": "lib/cache.ts",
1518 "line": 6
1519 },
1520 "name": "BucketCacheOptions",
1521 "properties": [
1522 {
1523 "abstract": true,
1524 "docs": {
1525 "stability": "stable",
1526 "summary": "The prefix to use to store the cache in the bucket."
1527 },
1528 "immutable": true,
1529 "locationInModule": {
1530 "filename": "lib/cache.ts",
1531 "line": 10
1532 },
1533 "name": "prefix",
1534 "optional": true,
1535 "type": {
1536 "primitive": "string"
1537 }
1538 }
1539 ],
1540 "symbolId": "lib/cache:BucketCacheOptions"
1541 },
1542 "@aws-cdk/aws-codebuild.BuildEnvironment": {
1543 "assembly": "@aws-cdk/aws-codebuild",
1544 "datatype": true,
1545 "docs": {
1546 "stability": "stable",
1547 "example": "declare const vpc: ec2.Vpc;\ndeclare const mySecurityGroup: ec2.SecurityGroup;\nnew pipelines.CodePipeline(this, 'Pipeline', {\n // Standard CodePipeline properties\n synth: new pipelines.ShellStep('Synth', {\n input: pipelines.CodePipelineSource.connection('my-org/my-app', 'main', {\n connectionArn: 'arn:aws:codestar-connections:us-east-1:222222222222:connection/7d2469ff-514a-4e4f-9003-5ca4a43cdc41', // Created using the AWS console * });',\n }),\n commands: [\n 'npm ci',\n 'npm run build',\n 'npx cdk synth',\n ],\n }),\n\n // Defaults for all CodeBuild projects\n codeBuildDefaults: {\n // Prepend commands and configuration to all projects\n partialBuildSpec: codebuild.BuildSpec.fromObject({\n version: '0.2',\n // ...\n }),\n\n // Control the build environment\n buildEnvironment: {\n computeType: codebuild.ComputeType.LARGE,\n },\n\n // Control Elastic Network Interface creation\n vpc: vpc,\n subnetSelection: { subnetType: ec2.SubnetType.PRIVATE_WITH_NAT },\n securityGroups: [mySecurityGroup],\n\n // Additional policy statements for the execution role\n rolePolicy: [\n new iam.PolicyStatement({ /* ... */ }),\n ],\n },\n\n synthCodeBuildDefaults: { /* ... */ },\n assetPublishingCodeBuildDefaults: { /* ... */ },\n selfMutationCodeBuildDefaults: { /* ... */ },\n});",
1548 "custom": {
1549 "exampleMetadata": "infused"
1550 }
1551 },
1552 "fqn": "@aws-cdk/aws-codebuild.BuildEnvironment",
1553 "kind": "interface",
1554 "locationInModule": {
1555 "filename": "lib/project.ts",
1556 "line": 1531
1557 },
1558 "name": "BuildEnvironment",
1559 "properties": [
1560 {
1561 "abstract": true,
1562 "docs": {
1563 "default": "LinuxBuildImage.STANDARD_1_0",
1564 "stability": "stable",
1565 "summary": "The image used for the builds."
1566 },
1567 "immutable": true,
1568 "locationInModule": {
1569 "filename": "lib/project.ts",
1570 "line": 1537
1571 },
1572 "name": "buildImage",
1573 "optional": true,
1574 "type": {
1575 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
1576 }
1577 },
1578 {
1579 "abstract": true,
1580 "docs": {
1581 "default": "- No external certificate is added to the project",
1582 "stability": "stable",
1583 "summary": "The location of the PEM-encoded certificate for the build project."
1584 },
1585 "immutable": true,
1586 "locationInModule": {
1587 "filename": "lib/project.ts",
1588 "line": 1564
1589 },
1590 "name": "certificate",
1591 "optional": true,
1592 "type": {
1593 "fqn": "@aws-cdk/aws-codebuild.BuildEnvironmentCertificate"
1594 }
1595 },
1596 {
1597 "abstract": true,
1598 "docs": {
1599 "default": "taken from {@link #buildImage#defaultComputeType}",
1600 "remarks": "See the {@link ComputeType} enum for the possible values.",
1601 "stability": "stable",
1602 "summary": "The type of compute to use for this build."
1603 },
1604 "immutable": true,
1605 "locationInModule": {
1606 "filename": "lib/project.ts",
1607 "line": 1545
1608 },
1609 "name": "computeType",
1610 "optional": true,
1611 "type": {
1612 "fqn": "@aws-cdk/aws-codebuild.ComputeType"
1613 }
1614 },
1615 {
1616 "abstract": true,
1617 "docs": {
1618 "stability": "stable",
1619 "summary": "The environment variables that your builds can use."
1620 },
1621 "immutable": true,
1622 "locationInModule": {
1623 "filename": "lib/project.ts",
1624 "line": 1569
1625 },
1626 "name": "environmentVariables",
1627 "optional": true,
1628 "type": {
1629 "collection": {
1630 "elementtype": {
1631 "fqn": "@aws-cdk/aws-codebuild.BuildEnvironmentVariable"
1632 },
1633 "kind": "map"
1634 }
1635 }
1636 },
1637 {
1638 "abstract": true,
1639 "docs": {
1640 "default": "false",
1641 "remarks": "Specify true to enable\nrunning the Docker daemon inside a Docker container. This value must be\nset to true only if this build project will be used to build Docker\nimages, and the specified build environment image is not one provided by\nAWS CodeBuild with Docker support. Otherwise, all associated builds that\nattempt to interact with the Docker daemon will fail.",
1642 "stability": "stable",
1643 "summary": "Indicates how the project builds Docker images."
1644 },
1645 "immutable": true,
1646 "locationInModule": {
1647 "filename": "lib/project.ts",
1648 "line": 1557
1649 },
1650 "name": "privileged",
1651 "optional": true,
1652 "type": {
1653 "primitive": "boolean"
1654 }
1655 }
1656 ],
1657 "symbolId": "lib/project:BuildEnvironment"
1658 },
1659 "@aws-cdk/aws-codebuild.BuildEnvironmentCertificate": {
1660 "assembly": "@aws-cdk/aws-codebuild",
1661 "datatype": true,
1662 "docs": {
1663 "stability": "stable",
1664 "summary": "Location of a PEM certificate on S3.",
1665 "example": "declare 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})",
1666 "custom": {
1667 "exampleMetadata": "infused"
1668 }
1669 },
1670 "fqn": "@aws-cdk/aws-codebuild.BuildEnvironmentCertificate",
1671 "kind": "interface",
1672 "locationInModule": {
1673 "filename": "lib/project.ts",
1674 "line": 45
1675 },
1676 "name": "BuildEnvironmentCertificate",
1677 "properties": [
1678 {
1679 "abstract": true,
1680 "docs": {
1681 "stability": "stable",
1682 "summary": "The bucket where the certificate is."
1683 },
1684 "immutable": true,
1685 "locationInModule": {
1686 "filename": "lib/project.ts",
1687 "line": 49
1688 },
1689 "name": "bucket",
1690 "type": {
1691 "fqn": "@aws-cdk/aws-s3.IBucket"
1692 }
1693 },
1694 {
1695 "abstract": true,
1696 "docs": {
1697 "stability": "stable",
1698 "summary": "The full path and name of the key file."
1699 },
1700 "immutable": true,
1701 "locationInModule": {
1702 "filename": "lib/project.ts",
1703 "line": 53
1704 },
1705 "name": "objectKey",
1706 "type": {
1707 "primitive": "string"
1708 }
1709 }
1710 ],
1711 "symbolId": "lib/project:BuildEnvironmentCertificate"
1712 },
1713 "@aws-cdk/aws-codebuild.BuildEnvironmentVariable": {
1714 "assembly": "@aws-cdk/aws-codebuild",
1715 "datatype": true,
1716 "docs": {
1717 "stability": "stable",
1718 "example": "const sourceOutput = new codepipeline.Artifact();\nconst buildAction = new codepipeline_actions.CodeBuildAction({\n actionName: 'Build1',\n input: sourceOutput,\n project: new codebuild.PipelineProject(this, 'Project', {\n buildSpec: codebuild.BuildSpec.fromObject({\n version: '0.2',\n env: {\n 'exported-variables': [\n 'MY_VAR',\n ],\n },\n phases: {\n build: {\n commands: 'export MY_VAR=\"some value\"',\n },\n },\n }),\n }),\n variablesNamespace: 'MyNamespace', // optional - by default, a name will be generated for you\n});\n\n// later:\ndeclare const project: codebuild.PipelineProject;\nnew codepipeline_actions.CodeBuildAction({\n actionName: 'CodeBuild',\n project,\n input: sourceOutput,\n environmentVariables: {\n MyVar: {\n value: buildAction.variable('MY_VAR'),\n },\n },\n});",
1719 "custom": {
1720 "exampleMetadata": "infused"
1721 }
1722 },
1723 "fqn": "@aws-cdk/aws-codebuild.BuildEnvironmentVariable",
1724 "kind": "interface",
1725 "locationInModule": {
1726 "filename": "lib/project.ts",
1727 "line": 2036
1728 },
1729 "name": "BuildEnvironmentVariable",
1730 "properties": [
1731 {
1732 "abstract": true,
1733 "docs": {
1734 "remarks": "For plain-text variables (the default), this is the literal value of variable.\nFor SSM parameter variables, pass the name of the parameter here (`parameterName` property of `IParameter`).\nFor SecretsManager variables secrets, pass either the secret name (`secretName` property of `ISecret`)\nor the secret ARN (`secretArn` property of `ISecret`) here,\nalong with optional SecretsManager qualifiers separated by ':', like the JSON key, or the version or stage\n(see https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec.env.secrets-manager for details).",
1735 "stability": "stable",
1736 "summary": "The value of the environment variable."
1737 },
1738 "immutable": true,
1739 "locationInModule": {
1740 "filename": "lib/project.ts",
1741 "line": 2052
1742 },
1743 "name": "value",
1744 "type": {
1745 "primitive": "any"
1746 }
1747 },
1748 {
1749 "abstract": true,
1750 "docs": {
1751 "default": "PlainText",
1752 "stability": "stable",
1753 "summary": "The type of environment variable."
1754 },
1755 "immutable": true,
1756 "locationInModule": {
1757 "filename": "lib/project.ts",
1758 "line": 2041
1759 },
1760 "name": "type",
1761 "optional": true,
1762 "type": {
1763 "fqn": "@aws-cdk/aws-codebuild.BuildEnvironmentVariableType"
1764 }
1765 }
1766 ],
1767 "symbolId": "lib/project:BuildEnvironmentVariable"
1768 },
1769 "@aws-cdk/aws-codebuild.BuildEnvironmentVariableType": {
1770 "assembly": "@aws-cdk/aws-codebuild",
1771 "docs": {
1772 "stability": "stable",
1773 "example": "import * as codebuild from '@aws-cdk/aws-codebuild';\n\nconst codebuildProject = new codebuild.Project(this, 'Project', {\n projectName: 'MyTestProject',\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\nconst task = new tasks.CodeBuildStartBuild(this, 'Task', {\n project: codebuildProject,\n integrationPattern: sfn.IntegrationPattern.RUN_JOB,\n environmentVariablesOverride: {\n ZONE: {\n type: codebuild.BuildEnvironmentVariableType.PLAINTEXT,\n value: sfn.JsonPath.stringAt('$.envVariables.zone'),\n },\n },\n});",
1774 "custom": {
1775 "exampleMetadata": "infused"
1776 }
1777 },
1778 "fqn": "@aws-cdk/aws-codebuild.BuildEnvironmentVariableType",
1779 "kind": "enum",
1780 "locationInModule": {
1781 "filename": "lib/project.ts",
1782 "line": 2055
1783 },
1784 "members": [
1785 {
1786 "docs": {
1787 "stability": "stable",
1788 "summary": "An environment variable in plaintext format."
1789 },
1790 "name": "PLAINTEXT"
1791 },
1792 {
1793 "docs": {
1794 "stability": "stable",
1795 "summary": "An environment variable stored in Systems Manager Parameter Store."
1796 },
1797 "name": "PARAMETER_STORE"
1798 },
1799 {
1800 "docs": {
1801 "stability": "stable",
1802 "summary": "An environment variable stored in AWS Secrets Manager."
1803 },
1804 "name": "SECRETS_MANAGER"
1805 }
1806 ],
1807 "name": "BuildEnvironmentVariableType",
1808 "symbolId": "lib/project:BuildEnvironmentVariableType"
1809 },
1810 "@aws-cdk/aws-codebuild.BuildImageBindOptions": {
1811 "assembly": "@aws-cdk/aws-codebuild",
1812 "datatype": true,
1813 "docs": {
1814 "stability": "stable",
1815 "summary": "Optional arguments to {@link IBuildImage.binder} - currently empty.",
1816 "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 buildImageBindOptions: codebuild.BuildImageBindOptions = { };",
1817 "custom": {
1818 "exampleMetadata": "fixture=_generated"
1819 }
1820 },
1821 "fqn": "@aws-cdk/aws-codebuild.BuildImageBindOptions",
1822 "kind": "interface",
1823 "locationInModule": {
1824 "filename": "lib/project.ts",
1825 "line": 1631
1826 },
1827 "name": "BuildImageBindOptions",
1828 "symbolId": "lib/project:BuildImageBindOptions"
1829 },
1830 "@aws-cdk/aws-codebuild.BuildImageConfig": {
1831 "assembly": "@aws-cdk/aws-codebuild",
1832 "datatype": true,
1833 "docs": {
1834 "stability": "stable",
1835 "summary": "The return type from {@link IBuildImage.binder} - currently empty.",
1836 "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 buildImageConfig: codebuild.BuildImageConfig = { };",
1837 "custom": {
1838 "exampleMetadata": "fixture=_generated"
1839 }
1840 },
1841 "fqn": "@aws-cdk/aws-codebuild.BuildImageConfig",
1842 "kind": "interface",
1843 "locationInModule": {
1844 "filename": "lib/project.ts",
1845 "line": 1634
1846 },
1847 "name": "BuildImageConfig",
1848 "symbolId": "lib/project:BuildImageConfig"
1849 },
1850 "@aws-cdk/aws-codebuild.BuildSpec": {
1851 "abstract": true,
1852 "assembly": "@aws-cdk/aws-codebuild",
1853 "docs": {
1854 "stability": "stable",
1855 "summary": "BuildSpec for CodeBuild projects.",
1856 "example": "const sourceOutput = new codepipeline.Artifact();\nconst buildAction = new codepipeline_actions.CodeBuildAction({\n actionName: 'Build1',\n input: sourceOutput,\n project: new codebuild.PipelineProject(this, 'Project', {\n buildSpec: codebuild.BuildSpec.fromObject({\n version: '0.2',\n env: {\n 'exported-variables': [\n 'MY_VAR',\n ],\n },\n phases: {\n build: {\n commands: 'export MY_VAR=\"some value\"',\n },\n },\n }),\n }),\n variablesNamespace: 'MyNamespace', // optional - by default, a name will be generated for you\n});\n\n// later:\ndeclare const project: codebuild.PipelineProject;\nnew codepipeline_actions.CodeBuildAction({\n actionName: 'CodeBuild',\n project,\n input: sourceOutput,\n environmentVariables: {\n MyVar: {\n value: buildAction.variable('MY_VAR'),\n },\n },\n});",
1857 "custom": {
1858 "exampleMetadata": "infused"
1859 }
1860 },
1861 "fqn": "@aws-cdk/aws-codebuild.BuildSpec",
1862 "initializer": {
1863 "docs": {
1864 "stability": "stable"
1865 },
1866 "locationInModule": {
1867 "filename": "lib/build-spec.ts",
1868 "line": 35
1869 }
1870 },
1871 "kind": "class",
1872 "locationInModule": {
1873 "filename": "lib/build-spec.ts",
1874 "line": 7
1875 },
1876 "methods": [
1877 {
1878 "docs": {
1879 "stability": "stable"
1880 },
1881 "locationInModule": {
1882 "filename": "lib/build-spec.ts",
1883 "line": 8
1884 },
1885 "name": "fromObject",
1886 "parameters": [
1887 {
1888 "name": "value",
1889 "type": {
1890 "collection": {
1891 "elementtype": {
1892 "primitive": "any"
1893 },
1894 "kind": "map"
1895 }
1896 }
1897 }
1898 ],
1899 "returns": {
1900 "type": {
1901 "fqn": "@aws-cdk/aws-codebuild.BuildSpec"
1902 }
1903 },
1904 "static": true
1905 },
1906 {
1907 "docs": {
1908 "stability": "stable",
1909 "summary": "Create a buildspec from an object that will be rendered as YAML in the resulting CloudFormation template."
1910 },
1911 "locationInModule": {
1912 "filename": "lib/build-spec.ts",
1913 "line": 17
1914 },
1915 "name": "fromObjectToYaml",
1916 "parameters": [
1917 {
1918 "docs": {
1919 "summary": "the object containing the buildspec that will be rendered as YAML."
1920 },
1921 "name": "value",
1922 "type": {
1923 "collection": {
1924 "elementtype": {
1925 "primitive": "any"
1926 },
1927 "kind": "map"
1928 }
1929 }
1930 }
1931 ],
1932 "returns": {
1933 "type": {
1934 "fqn": "@aws-cdk/aws-codebuild.BuildSpec"
1935 }
1936 },
1937 "static": true
1938 },
1939 {
1940 "docs": {
1941 "remarks": "Use this if you want to use a file different from 'buildspec.yml'`",
1942 "stability": "stable",
1943 "summary": "Use a file from the source as buildspec."
1944 },
1945 "locationInModule": {
1946 "filename": "lib/build-spec.ts",
1947 "line": 26
1948 },
1949 "name": "fromSourceFilename",
1950 "parameters": [
1951 {
1952 "name": "filename",
1953 "type": {
1954 "primitive": "string"
1955 }
1956 }
1957 ],
1958 "returns": {
1959 "type": {
1960 "fqn": "@aws-cdk/aws-codebuild.BuildSpec"
1961 }
1962 },
1963 "static": true
1964 },
1965 {
1966 "abstract": true,
1967 "docs": {
1968 "stability": "stable",
1969 "summary": "Render the represented BuildSpec."
1970 },
1971 "locationInModule": {
1972 "filename": "lib/build-spec.ts",
1973 "line": 41
1974 },
1975 "name": "toBuildSpec",
1976 "returns": {
1977 "type": {
1978 "primitive": "string"
1979 }
1980 }
1981 }
1982 ],
1983 "name": "BuildSpec",
1984 "properties": [
1985 {
1986 "abstract": true,
1987 "docs": {
1988 "stability": "stable",
1989 "summary": "Whether the buildspec is directly available or deferred until build-time."
1990 },
1991 "immutable": true,
1992 "locationInModule": {
1993 "filename": "lib/build-spec.ts",
1994 "line": 33
1995 },
1996 "name": "isImmediate",
1997 "type": {
1998 "primitive": "boolean"
1999 }
2000 }
2001 ],
2002 "symbolId": "lib/build-spec:BuildSpec"
2003 },
2004 "@aws-cdk/aws-codebuild.Cache": {
2005 "abstract": true,
2006 "assembly": "@aws-cdk/aws-codebuild",
2007 "docs": {
2008 "remarks": "A cache can store reusable pieces of your build environment and use them across multiple builds.",
2009 "see": "https://docs.aws.amazon.com/codebuild/latest/userguide/build-caching.html",
2010 "stability": "stable",
2011 "summary": "Cache options for CodeBuild Project.",
2012 "example": "declare 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});",
2013 "custom": {
2014 "exampleMetadata": "infused"
2015 }
2016 },
2017 "fqn": "@aws-cdk/aws-codebuild.Cache",
2018 "initializer": {
2019 "docs": {
2020 "stability": "stable"
2021 }
2022 },
2023 "kind": "class",
2024 "locationInModule": {
2025 "filename": "lib/cache.ts",
2026 "line": 38
2027 },
2028 "methods": [
2029 {
2030 "docs": {
2031 "stability": "stable",
2032 "summary": "Create an S3 caching strategy."
2033 },
2034 "locationInModule": {
2035 "filename": "lib/cache.ts",
2036 "line": 68
2037 },
2038 "name": "bucket",
2039 "parameters": [
2040 {
2041 "docs": {
2042 "summary": "the S3 bucket to use for caching."
2043 },
2044 "name": "bucket",
2045 "type": {
2046 "fqn": "@aws-cdk/aws-s3.IBucket"
2047 }
2048 },
2049 {
2050 "docs": {
2051 "summary": "additional options to pass to the S3 caching."
2052 },
2053 "name": "options",
2054 "optional": true,
2055 "type": {
2056 "fqn": "@aws-cdk/aws-codebuild.BucketCacheOptions"
2057 }
2058 }
2059 ],
2060 "returns": {
2061 "type": {
2062 "fqn": "@aws-cdk/aws-codebuild.Cache"
2063 }
2064 },
2065 "static": true
2066 },
2067 {
2068 "docs": {
2069 "stability": "stable",
2070 "summary": "Create a local caching strategy."
2071 },
2072 "locationInModule": {
2073 "filename": "lib/cache.ts",
2074 "line": 53
2075 },
2076 "name": "local",
2077 "parameters": [
2078 {
2079 "docs": {
2080 "summary": "the mode(s) to enable for local caching."
2081 },
2082 "name": "modes",
2083 "type": {
2084 "fqn": "@aws-cdk/aws-codebuild.LocalCacheMode"
2085 },
2086 "variadic": true
2087 }
2088 ],
2089 "returns": {
2090 "type": {
2091 "fqn": "@aws-cdk/aws-codebuild.Cache"
2092 }
2093 },
2094 "static": true,
2095 "variadic": true
2096 },
2097 {
2098 "docs": {
2099 "stability": "stable"
2100 },
2101 "locationInModule": {
2102 "filename": "lib/cache.ts",
2103 "line": 39
2104 },
2105 "name": "none",
2106 "returns": {
2107 "type": {
2108 "fqn": "@aws-cdk/aws-codebuild.Cache"
2109 }
2110 },
2111 "static": true
2112 }
2113 ],
2114 "name": "Cache",
2115 "symbolId": "lib/cache:Cache"
2116 },
2117 "@aws-cdk/aws-codebuild.CfnProject": {
2118 "assembly": "@aws-cdk/aws-codebuild",
2119 "base": "@aws-cdk/core.CfnResource",
2120 "docs": {
2121 "custom": {
2122 "cloudformationResource": "AWS::CodeBuild::Project",
2123 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html",
2124 "exampleMetadata": "fixture=_generated"
2125 },
2126 "remarks": "The `AWS::CodeBuild::Project` resource configures how AWS CodeBuild builds your source code. For example, it tells CodeBuild where to get the source code and which build environment to use.",
2127 "stability": "external",
2128 "summary": "A CloudFormation `AWS::CodeBuild::Project`.",
2129 "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 cfnProject = new codebuild.CfnProject(this, 'MyCfnProject', {\n artifacts: {\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 environment: {\n computeType: 'computeType',\n image: 'image',\n type: 'type',\n\n // the properties below are optional\n certificate: 'certificate',\n environmentVariables: [{\n name: 'name',\n value: 'value',\n\n // the properties below are optional\n type: 'type',\n }],\n imagePullCredentialsType: 'imagePullCredentialsType',\n privilegedMode: false,\n registryCredential: {\n credential: 'credential',\n credentialProvider: 'credentialProvider',\n },\n },\n serviceRole: 'serviceRole',\n source: {\n type: 'type',\n\n // the properties below are optional\n auth: {\n type: 'type',\n\n // the properties below are optional\n resource: 'resource',\n },\n buildSpec: 'buildSpec',\n buildStatusConfig: {\n context: 'context',\n targetUrl: 'targetUrl',\n },\n gitCloneDepth: 123,\n gitSubmodulesConfig: {\n fetchSubmodules: false,\n },\n insecureSsl: false,\n location: 'location',\n reportBuildStatus: false,\n sourceIdentifier: 'sourceIdentifier',\n },\n\n // the properties below are optional\n badgeEnabled: false,\n buildBatchConfig: {\n batchReportMode: 'batchReportMode',\n combineArtifacts: false,\n restrictions: {\n computeTypesAllowed: ['computeTypesAllowed'],\n maximumBuildsAllowed: 123,\n },\n serviceRole: 'serviceRole',\n timeoutInMins: 123,\n },\n cache: {\n type: 'type',\n\n // the properties below are optional\n location: 'location',\n modes: ['modes'],\n },\n concurrentBuildLimit: 123,\n description: 'description',\n encryptionKey: 'encryptionKey',\n fileSystemLocations: [{\n identifier: 'identifier',\n location: 'location',\n mountPoint: 'mountPoint',\n type: 'type',\n\n // the properties below are optional\n mountOptions: 'mountOptions',\n }],\n logsConfig: {\n cloudWatchLogs: {\n status: 'status',\n\n // the properties below are optional\n groupName: 'groupName',\n streamName: 'streamName',\n },\n s3Logs: {\n status: 'status',\n\n // the properties below are optional\n encryptionDisabled: false,\n location: 'location',\n },\n },\n name: 'name',\n queuedTimeoutInMinutes: 123,\n resourceAccessRole: 'resourceAccessRole',\n secondaryArtifacts: [{\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 secondarySources: [{\n type: 'type',\n\n // the properties below are optional\n auth: {\n type: 'type',\n\n // the properties below are optional\n resource: 'resource',\n },\n buildSpec: 'buildSpec',\n buildStatusConfig: {\n context: 'context',\n targetUrl: 'targetUrl',\n },\n gitCloneDepth: 123,\n gitSubmodulesConfig: {\n fetchSubmodules: false,\n },\n insecureSsl: false,\n location: 'location',\n reportBuildStatus: false,\n sourceIdentifier: 'sourceIdentifier',\n }],\n secondarySourceVersions: [{\n sourceIdentifier: 'sourceIdentifier',\n\n // the properties below are optional\n sourceVersion: 'sourceVersion',\n }],\n sourceVersion: 'sourceVersion',\n tags: [{\n key: 'key',\n value: 'value',\n }],\n timeoutInMinutes: 123,\n triggers: {\n buildType: 'buildType',\n filterGroups: [[{\n pattern: 'pattern',\n type: 'type',\n\n // the properties below are optional\n excludeMatchedPattern: false,\n }]],\n webhook: false,\n },\n visibility: 'visibility',\n vpcConfig: {\n securityGroupIds: ['securityGroupIds'],\n subnets: ['subnets'],\n vpcId: 'vpcId',\n },\n});"
2130 },
2131 "fqn": "@aws-cdk/aws-codebuild.CfnProject",
2132 "initializer": {
2133 "docs": {
2134 "stability": "external",
2135 "summary": "Create a new `AWS::CodeBuild::Project`."
2136 },
2137 "locationInModule": {
2138 "filename": "lib/codebuild.generated.ts",
2139 "line": 568
2140 },
2141 "parameters": [
2142 {
2143 "docs": {
2144 "summary": "- scope in which this resource is defined."
2145 },
2146 "name": "scope",
2147 "type": {
2148 "fqn": "@aws-cdk/core.Construct"
2149 }
2150 },
2151 {
2152 "docs": {
2153 "summary": "- scoped id of the resource."
2154 },
2155 "name": "id",
2156 "type": {
2157 "primitive": "string"
2158 }
2159 },
2160 {
2161 "docs": {
2162 "summary": "- resource properties."
2163 },
2164 "name": "props",
2165 "type": {
2166 "fqn": "@aws-cdk/aws-codebuild.CfnProjectProps"
2167 }
2168 }
2169 ]
2170 },
2171 "interfaces": [
2172 "@aws-cdk/core.IInspectable"
2173 ],
2174 "kind": "class",
2175 "locationInModule": {
2176 "filename": "lib/codebuild.generated.ts",
2177 "line": 340
2178 },
2179 "methods": [
2180 {
2181 "docs": {
2182 "stability": "external",
2183 "summary": "Examines the CloudFormation resource and discloses attributes."
2184 },
2185 "locationInModule": {
2186 "filename": "lib/codebuild.generated.ts",
2187 "line": 608
2188 },
2189 "name": "inspect",
2190 "overrides": "@aws-cdk/core.IInspectable",
2191 "parameters": [
2192 {
2193 "docs": {
2194 "summary": "- tree inspector to collect and process attributes."
2195 },
2196 "name": "inspector",
2197 "type": {
2198 "fqn": "@aws-cdk/core.TreeInspector"
2199 }
2200 }
2201 ]
2202 },
2203 {
2204 "docs": {
2205 "stability": "external"
2206 },
2207 "locationInModule": {
2208 "filename": "lib/codebuild.generated.ts",
2209 "line": 642
2210 },
2211 "name": "renderProperties",
2212 "overrides": "@aws-cdk/core.CfnResource",
2213 "parameters": [
2214 {
2215 "name": "props",
2216 "type": {
2217 "collection": {
2218 "elementtype": {
2219 "primitive": "any"
2220 },
2221 "kind": "map"
2222 }
2223 }
2224 }
2225 ],
2226 "protected": true,
2227 "returns": {
2228 "type": {
2229 "collection": {
2230 "elementtype": {
2231 "primitive": "any"
2232 },
2233 "kind": "map"
2234 }
2235 }
2236 }
2237 }
2238 ],
2239 "name": "CfnProject",
2240 "properties": [
2241 {
2242 "const": true,
2243 "docs": {
2244 "stability": "external",
2245 "summary": "The CloudFormation resource type name for this resource class."
2246 },
2247 "immutable": true,
2248 "locationInModule": {
2249 "filename": "lib/codebuild.generated.ts",
2250 "line": 344
2251 },
2252 "name": "CFN_RESOURCE_TYPE_NAME",
2253 "static": true,
2254 "type": {
2255 "primitive": "string"
2256 }
2257 },
2258 {
2259 "docs": {
2260 "custom": {
2261 "cloudformationAttribute": "Arn"
2262 },
2263 "stability": "external",
2264 "summary": "The ARN of the AWS CodeBuild project, such as `arn:aws:codebuild:us-west-2:123456789012:project/myProjectName` ."
2265 },
2266 "immutable": true,
2267 "locationInModule": {
2268 "filename": "lib/codebuild.generated.ts",
2269 "line": 369
2270 },
2271 "name": "attrArn",
2272 "type": {
2273 "primitive": "string"
2274 }
2275 },
2276 {
2277 "docs": {
2278 "stability": "external"
2279 },
2280 "immutable": true,
2281 "locationInModule": {
2282 "filename": "lib/codebuild.generated.ts",
2283 "line": 613
2284 },
2285 "name": "cfnProperties",
2286 "overrides": "@aws-cdk/core.CfnResource",
2287 "protected": true,
2288 "type": {
2289 "collection": {
2290 "elementtype": {
2291 "primitive": "any"
2292 },
2293 "kind": "map"
2294 }
2295 }
2296 },
2297 {
2298 "docs": {
2299 "custom": {
2300 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-tags"
2301 },
2302 "remarks": "These tags are available for use by AWS services that support AWS CodeBuild build project tags.",
2303 "stability": "external",
2304 "summary": "An arbitrary set of tags (key-value pairs) for the AWS CodeBuild project."
2305 },
2306 "immutable": true,
2307 "locationInModule": {
2308 "filename": "lib/codebuild.generated.ts",
2309 "line": 528
2310 },
2311 "name": "tags",
2312 "type": {
2313 "fqn": "@aws-cdk/core.TagManager"
2314 }
2315 },
2316 {
2317 "docs": {
2318 "custom": {
2319 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-artifacts"
2320 },
2321 "stability": "external",
2322 "summary": "`Artifacts` is a property of the [AWS::CodeBuild::Project](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html) resource that specifies output settings for artifacts generated by an AWS CodeBuild build."
2323 },
2324 "locationInModule": {
2325 "filename": "lib/codebuild.generated.ts",
2326 "line": 376
2327 },
2328 "name": "artifacts",
2329 "type": {
2330 "union": {
2331 "types": [
2332 {
2333 "fqn": "@aws-cdk/core.IResolvable"
2334 },
2335 {
2336 "fqn": "@aws-cdk/aws-codebuild.CfnProject.ArtifactsProperty"
2337 }
2338 ]
2339 }
2340 }
2341 },
2342 {
2343 "docs": {
2344 "custom": {
2345 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-environment"
2346 },
2347 "stability": "external",
2348 "summary": "The build environment settings for the project, such as the environment type or the environment variables to use for the build environment."
2349 },
2350 "locationInModule": {
2351 "filename": "lib/codebuild.generated.ts",
2352 "line": 383
2353 },
2354 "name": "environment",
2355 "type": {
2356 "union": {
2357 "types": [
2358 {
2359 "fqn": "@aws-cdk/core.IResolvable"
2360 },
2361 {
2362 "fqn": "@aws-cdk/aws-codebuild.CfnProject.EnvironmentProperty"
2363 }
2364 ]
2365 }
2366 }
2367 },
2368 {
2369 "docs": {
2370 "custom": {
2371 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-servicerole"
2372 },
2373 "stability": "external",
2374 "summary": "The ARN of the IAM role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account."
2375 },
2376 "locationInModule": {
2377 "filename": "lib/codebuild.generated.ts",
2378 "line": 390
2379 },
2380 "name": "serviceRole",
2381 "type": {
2382 "primitive": "string"
2383 }
2384 },
2385 {
2386 "docs": {
2387 "custom": {
2388 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-source"
2389 },
2390 "stability": "external",
2391 "summary": "The source code settings for the project, such as the source code's repository type and location."
2392 },
2393 "locationInModule": {
2394 "filename": "lib/codebuild.generated.ts",
2395 "line": 397
2396 },
2397 "name": "source",
2398 "type": {
2399 "union": {
2400 "types": [
2401 {
2402 "fqn": "@aws-cdk/aws-codebuild.CfnProject.SourceProperty"
2403 },
2404 {
2405 "fqn": "@aws-cdk/core.IResolvable"
2406 }
2407 ]
2408 }
2409 }
2410 },
2411 {
2412 "docs": {
2413 "custom": {
2414 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-badgeenabled"
2415 },
2416 "remarks": "For more information, see [Build Badges Sample](https://docs.aws.amazon.com/codebuild/latest/userguide/sample-build-badges.html) in the *AWS CodeBuild User Guide* .\n\n> Including build badges with your project is currently not supported if the source type is CodePipeline. If you specify `CODEPIPELINE` for the `Source` property, do not specify the `BadgeEnabled` property.",
2417 "stability": "external",
2418 "summary": "Indicates whether AWS CodeBuild generates a publicly accessible URL for your project's build badge."
2419 },
2420 "locationInModule": {
2421 "filename": "lib/codebuild.generated.ts",
2422 "line": 406
2423 },
2424 "name": "badgeEnabled",
2425 "optional": true,
2426 "type": {
2427 "union": {
2428 "types": [
2429 {
2430 "primitive": "boolean"
2431 },
2432 {
2433 "fqn": "@aws-cdk/core.IResolvable"
2434 }
2435 ]
2436 }
2437 }
2438 },
2439 {
2440 "docs": {
2441 "custom": {
2442 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-buildbatchconfig"
2443 },
2444 "stability": "external",
2445 "summary": "A `ProjectBuildBatchConfig` object that defines the batch build options for the project."
2446 },
2447 "locationInModule": {
2448 "filename": "lib/codebuild.generated.ts",
2449 "line": 413
2450 },
2451 "name": "buildBatchConfig",
2452 "optional": true,
2453 "type": {
2454 "union": {
2455 "types": [
2456 {
2457 "fqn": "@aws-cdk/core.IResolvable"
2458 },
2459 {
2460 "fqn": "@aws-cdk/aws-codebuild.CfnProject.ProjectBuildBatchConfigProperty"
2461 }
2462 ]
2463 }
2464 }
2465 },
2466 {
2467 "docs": {
2468 "custom": {
2469 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-cache"
2470 },
2471 "stability": "external",
2472 "summary": "Settings that AWS CodeBuild uses to store and reuse build dependencies."
2473 },
2474 "locationInModule": {
2475 "filename": "lib/codebuild.generated.ts",
2476 "line": 420
2477 },
2478 "name": "cache",
2479 "optional": true,
2480 "type": {
2481 "union": {
2482 "types": [
2483 {
2484 "fqn": "@aws-cdk/core.IResolvable"
2485 },
2486 {
2487 "fqn": "@aws-cdk/aws-codebuild.CfnProject.ProjectCacheProperty"
2488 }
2489 ]
2490 }
2491 }
2492 },
2493 {
2494 "docs": {
2495 "custom": {
2496 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-concurrentbuildlimit"
2497 },
2498 "remarks": "New builds are only started if the current number of builds is less than or equal to this limit. If the current build count meets this limit, new builds are throttled and are not run.",
2499 "stability": "external",
2500 "summary": "The maximum number of concurrent builds that are allowed for this project."
2501 },
2502 "locationInModule": {
2503 "filename": "lib/codebuild.generated.ts",
2504 "line": 429
2505 },
2506 "name": "concurrentBuildLimit",
2507 "optional": true,
2508 "type": {
2509 "primitive": "number"
2510 }
2511 },
2512 {
2513 "docs": {
2514 "custom": {
2515 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-description"
2516 },
2517 "stability": "external",
2518 "summary": "A description that makes the build project easy to identify."
2519 },
2520 "locationInModule": {
2521 "filename": "lib/codebuild.generated.ts",
2522 "line": 436
2523 },
2524 "name": "description",
2525 "optional": true,
2526 "type": {
2527 "primitive": "string"
2528 }
2529 },
2530 {
2531 "docs": {
2532 "custom": {
2533 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-encryptionkey"
2534 },
2535 "remarks": "> You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key.\n\nYou can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the format `alias/<alias-name>` ). If you don't specify a value, CodeBuild uses the managed CMK for Amazon Simple Storage Service (Amazon S3).",
2536 "stability": "external",
2537 "summary": "The AWS Key Management Service customer master key (CMK) to be used for encrypting the build output artifacts."
2538 },
2539 "locationInModule": {
2540 "filename": "lib/codebuild.generated.ts",
2541 "line": 447
2542 },
2543 "name": "encryptionKey",
2544 "optional": true,
2545 "type": {
2546 "primitive": "string"
2547 }
2548 },
2549 {
2550 "docs": {
2551 "custom": {
2552 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-filesystemlocations"
2553 },
2554 "remarks": "A `ProjectFileSystemLocation` object specifies the `identifier` , `location` , `mountOptions` , `mountPoint` , and `type` of a file system created using Amazon Elastic File System.",
2555 "stability": "external",
2556 "summary": "An array of `ProjectFileSystemLocation` objects for a CodeBuild build project."
2557 },
2558 "locationInModule": {
2559 "filename": "lib/codebuild.generated.ts",
2560 "line": 454
2561 },
2562 "name": "fileSystemLocations",
2563 "optional": true,
2564 "type": {
2565 "union": {
2566 "types": [
2567 {
2568 "fqn": "@aws-cdk/core.IResolvable"
2569 },
2570 {
2571 "collection": {
2572 "elementtype": {
2573 "union": {
2574 "types": [
2575 {
2576 "fqn": "@aws-cdk/core.IResolvable"
2577 },
2578 {
2579 "fqn": "@aws-cdk/aws-codebuild.CfnProject.ProjectFileSystemLocationProperty"
2580 }
2581 ]
2582 }
2583 },
2584 "kind": "array"
2585 }
2586 }
2587 ]
2588 }
2589 }
2590 },
2591 {
2592 "docs": {
2593 "custom": {
2594 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-logsconfig"
2595 },
2596 "remarks": "A project can create logs in CloudWatch Logs, an S3 bucket, or both.",
2597 "stability": "external",
2598 "summary": "Information about logs for the build project."
2599 },
2600 "locationInModule": {
2601 "filename": "lib/codebuild.generated.ts",
2602 "line": 461
2603 },
2604 "name": "logsConfig",
2605 "optional": true,
2606 "type": {
2607 "union": {
2608 "types": [
2609 {
2610 "fqn": "@aws-cdk/core.IResolvable"
2611 },
2612 {
2613 "fqn": "@aws-cdk/aws-codebuild.CfnProject.LogsConfigProperty"
2614 }
2615 ]
2616 }
2617 }
2618 },
2619 {
2620 "docs": {
2621 "custom": {
2622 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-name"
2623 },
2624 "remarks": "The name must be unique across all of the projects in your AWS account .",
2625 "stability": "external",
2626 "summary": "The name of the build project."
2627 },
2628 "locationInModule": {
2629 "filename": "lib/codebuild.generated.ts",
2630 "line": 468
2631 },
2632 "name": "name",
2633 "optional": true,
2634 "type": {
2635 "primitive": "string"
2636 }
2637 },
2638 {
2639 "docs": {
2640 "custom": {
2641 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-queuedtimeoutinminutes"
2642 },
2643 "stability": "external",
2644 "summary": "The number of minutes a build is allowed to be queued before it times out."
2645 },
2646 "locationInModule": {
2647 "filename": "lib/codebuild.generated.ts",
2648 "line": 475
2649 },
2650 "name": "queuedTimeoutInMinutes",
2651 "optional": true,
2652 "type": {
2653 "primitive": "number"
2654 }
2655 },
2656 {
2657 "docs": {
2658 "custom": {
2659 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-resourceaccessrole"
2660 },
2661 "stability": "external",
2662 "summary": "The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs and Amazon S3 artifacts for the project's builds."
2663 },
2664 "locationInModule": {
2665 "filename": "lib/codebuild.generated.ts",
2666 "line": 482
2667 },
2668 "name": "resourceAccessRole",
2669 "optional": true,
2670 "type": {
2671 "primitive": "string"
2672 }
2673 },
2674 {
2675 "docs": {
2676 "custom": {
2677 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-secondaryartifacts"
2678 },
2679 "remarks": "Each artifacts object specifies output settings that the project generates during a build.",
2680 "stability": "external",
2681 "summary": "A list of `Artifacts` objects."
2682 },
2683 "locationInModule": {
2684 "filename": "lib/codebuild.generated.ts",
2685 "line": 489
2686 },
2687 "name": "secondaryArtifacts",
2688 "optional": true,
2689 "type": {
2690 "union": {
2691 "types": [
2692 {
2693 "fqn": "@aws-cdk/core.IResolvable"
2694 },
2695 {
2696 "collection": {
2697 "elementtype": {
2698 "union": {
2699 "types": [
2700 {
2701 "fqn": "@aws-cdk/core.IResolvable"
2702 },
2703 {
2704 "fqn": "@aws-cdk/aws-codebuild.CfnProject.ArtifactsProperty"
2705 }
2706 ]
2707 }
2708 },
2709 "kind": "array"
2710 }
2711 }
2712 ]
2713 }
2714 }
2715 },
2716 {
2717 "docs": {
2718 "custom": {
2719 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-secondarysources"
2720 },
2721 "stability": "external",
2722 "summary": "An array of `ProjectSource` objects."
2723 },
2724 "locationInModule": {
2725 "filename": "lib/codebuild.generated.ts",
2726 "line": 496
2727 },
2728 "name": "secondarySources",
2729 "optional": true,
2730 "type": {
2731 "union": {
2732 "types": [
2733 {
2734 "fqn": "@aws-cdk/core.IResolvable"
2735 },
2736 {
2737 "collection": {
2738 "elementtype": {
2739 "union": {
2740 "types": [
2741 {
2742 "fqn": "@aws-cdk/aws-codebuild.CfnProject.SourceProperty"
2743 },
2744 {
2745 "fqn": "@aws-cdk/core.IResolvable"
2746 }
2747 ]
2748 }
2749 },
2750 "kind": "array"
2751 }
2752 }
2753 ]
2754 }
2755 }
2756 },
2757 {
2758 "docs": {
2759 "custom": {
2760 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-secondarysourceversions"
2761 },
2762 "remarks": "If `secondarySourceVersions` is specified at the build level, then they take over these `secondarySourceVersions` (at the project level).",
2763 "stability": "external",
2764 "summary": "An array of `ProjectSourceVersion` objects."
2765 },
2766 "locationInModule": {
2767 "filename": "lib/codebuild.generated.ts",
2768 "line": 503
2769 },
2770 "name": "secondarySourceVersions",
2771 "optional": true,
2772 "type": {
2773 "union": {
2774 "types": [
2775 {
2776 "fqn": "@aws-cdk/core.IResolvable"
2777 },
2778 {
2779 "collection": {
2780 "elementtype": {
2781 "union": {
2782 "types": [
2783 {
2784 "fqn": "@aws-cdk/core.IResolvable"
2785 },
2786 {
2787 "fqn": "@aws-cdk/aws-codebuild.CfnProject.ProjectSourceVersionProperty"
2788 }
2789 ]
2790 }
2791 },
2792 "kind": "array"
2793 }
2794 }
2795 ]
2796 }
2797 }
2798 },
2799 {
2800 "docs": {
2801 "custom": {
2802 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-sourceversion"
2803 },
2804 "remarks": "If not specified, the latest version is used. If specified, it must be one of:\n\n- For CodeCommit: the commit ID, branch, or Git tag to use.\n- For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a pull request ID is specified, it must use the format `pr/pull-request-ID` (for example `pr/25` ). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.\n- For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.\n- For Amazon S3: the version ID of the object that represents the build input ZIP file to use.\n\nIf `sourceVersion` is specified at the build level, then that version takes precedence over this `sourceVersion` (at the project level).\n\nFor more information, see [Source Version Sample with CodeBuild](https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html) in the *AWS CodeBuild User Guide* .",
2805 "stability": "external",
2806 "summary": "A version of the build input to be built for this project."
2807 },
2808 "locationInModule": {
2809 "filename": "lib/codebuild.generated.ts",
2810 "line": 519
2811 },
2812 "name": "sourceVersion",
2813 "optional": true,
2814 "type": {
2815 "primitive": "string"
2816 }
2817 },
2818 {
2819 "docs": {
2820 "custom": {
2821 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-timeoutinminutes"
2822 },
2823 "remarks": "The default is 60 minutes.",
2824 "stability": "external",
2825 "summary": "How long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait before timing out any related build that did not get marked as completed."
2826 },
2827 "locationInModule": {
2828 "filename": "lib/codebuild.generated.ts",
2829 "line": 535
2830 },
2831 "name": "timeoutInMinutes",
2832 "optional": true,
2833 "type": {
2834 "primitive": "number"
2835 }
2836 },
2837 {
2838 "docs": {
2839 "custom": {
2840 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-triggers"
2841 },
2842 "stability": "external",
2843 "summary": "For an existing AWS CodeBuild build project that has its source code stored in a GitHub repository, enables AWS CodeBuild to begin automatically rebuilding the source code every time a code change is pushed to the repository."
2844 },
2845 "locationInModule": {
2846 "filename": "lib/codebuild.generated.ts",
2847 "line": 542
2848 },
2849 "name": "triggers",
2850 "optional": true,
2851 "type": {
2852 "union": {
2853 "types": [
2854 {
2855 "fqn": "@aws-cdk/aws-codebuild.CfnProject.ProjectTriggersProperty"
2856 },
2857 {
2858 "fqn": "@aws-cdk/core.IResolvable"
2859 }
2860 ]
2861 }
2862 }
2863 },
2864 {
2865 "docs": {
2866 "custom": {
2867 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-visibility"
2868 },
2869 "remarks": "- **PUBLIC_READ** - The project builds are visible to the public.\n- **PRIVATE** - The project builds are not visible to the public.",
2870 "stability": "external",
2871 "summary": "Specifies the visibility of the project's builds. Possible values are:."
2872 },
2873 "locationInModule": {
2874 "filename": "lib/codebuild.generated.ts",
2875 "line": 552
2876 },
2877 "name": "visibility",
2878 "optional": true,
2879 "type": {
2880 "primitive": "string"
2881 }
2882 },
2883 {
2884 "docs": {
2885 "custom": {
2886 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-vpcconfig"
2887 },
2888 "remarks": "For more information, see [Use AWS CodeBuild with Amazon Virtual Private Cloud](https://docs.aws.amazon.com/codebuild/latest/userguide/vpc-support.html) in the *AWS CodeBuild User Guide* .",
2889 "stability": "external",
2890 "summary": "`VpcConfig` specifies settings that enable AWS CodeBuild to access resources in an Amazon VPC."
2891 },
2892 "locationInModule": {
2893 "filename": "lib/codebuild.generated.ts",
2894 "line": 559
2895 },
2896 "name": "vpcConfig",
2897 "optional": true,
2898 "type": {
2899 "union": {
2900 "types": [
2901 {
2902 "fqn": "@aws-cdk/core.IResolvable"
2903 },
2904 {
2905 "fqn": "@aws-cdk/aws-codebuild.CfnProject.VpcConfigProperty"
2906 }
2907 ]
2908 }
2909 }
2910 }
2911 ],
2912 "symbolId": "lib/codebuild.generated:CfnProject"
2913 },
2914 "@aws-cdk/aws-codebuild.CfnProject.ArtifactsProperty": {
2915 "assembly": "@aws-cdk/aws-codebuild",
2916 "datatype": true,
2917 "docs": {
2918 "custom": {
2919 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-artifacts.html",
2920 "exampleMetadata": "fixture=_generated"
2921 },
2922 "stability": "external",
2923 "summary": "`Artifacts` is a property of the [AWS::CodeBuild::Project](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html) resource that specifies output settings for artifacts generated by an AWS CodeBuild build.",
2924 "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 artifactsProperty: codebuild.CfnProject.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};"
2925 },
2926 "fqn": "@aws-cdk/aws-codebuild.CfnProject.ArtifactsProperty",
2927 "kind": "interface",
2928 "locationInModule": {
2929 "filename": "lib/codebuild.generated.ts",
2930 "line": 656
2931 },
2932 "name": "ArtifactsProperty",
2933 "namespace": "CfnProject",
2934 "properties": [
2935 {
2936 "abstract": true,
2937 "docs": {
2938 "custom": {
2939 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-artifacts.html#cfn-codebuild-project-artifacts-type"
2940 },
2941 "remarks": "- `CODEPIPELINE` : The build project has build output generated through CodePipeline.\n\n> The `CODEPIPELINE` type is not supported for `secondaryArtifacts` .\n- `NO_ARTIFACTS` : The build project does not produce any build output.\n- `S3` : The build project stores build output in Amazon S3.",
2942 "stability": "external",
2943 "summary": "The type of build output artifact. Valid values include:."
2944 },
2945 "immutable": true,
2946 "locationInModule": {
2947 "filename": "lib/codebuild.generated.ts",
2948 "line": 756
2949 },
2950 "name": "type",
2951 "type": {
2952 "primitive": "string"
2953 }
2954 },
2955 {
2956 "abstract": true,
2957 "docs": {
2958 "custom": {
2959 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-artifacts.html#cfn-codebuild-project-artifacts-artifactidentifier"
2960 },
2961 "stability": "external",
2962 "summary": "An identifier for this artifact definition."
2963 },
2964 "immutable": true,
2965 "locationInModule": {
2966 "filename": "lib/codebuild.generated.ts",
2967 "line": 662
2968 },
2969 "name": "artifactIdentifier",
2970 "optional": true,
2971 "type": {
2972 "primitive": "string"
2973 }
2974 },
2975 {
2976 "abstract": true,
2977 "docs": {
2978 "custom": {
2979 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-artifacts.html#cfn-codebuild-project-artifacts-encryptiondisabled"
2980 },
2981 "remarks": "This option is valid only if your artifacts type is Amazon Simple Storage Service (Amazon S3). If this is set with another artifacts type, an `invalidInputException` is thrown.",
2982 "stability": "external",
2983 "summary": "Set to true if you do not want your output artifacts encrypted."
2984 },
2985 "immutable": true,
2986 "locationInModule": {
2987 "filename": "lib/codebuild.generated.ts",
2988 "line": 668
2989 },
2990 "name": "encryptionDisabled",
2991 "optional": true,
2992 "type": {
2993 "union": {
2994 "types": [
2995 {
2996 "primitive": "boolean"
2997 },
2998 {
2999 "fqn": "@aws-cdk/core.IResolvable"
3000 }
3001 ]
3002 }
3003 }
3004 },
3005 {
3006 "abstract": true,
3007 "docs": {
3008 "custom": {
3009 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-artifacts.html#cfn-codebuild-project-artifacts-location"
3010 },
3011 "remarks": "- If `type` is set to `CODEPIPELINE` , AWS CodePipeline ignores this value if specified. This is because CodePipeline manages its build output locations instead of CodeBuild .\n- If `type` is set to `NO_ARTIFACTS` , this value is ignored if specified, because no build output is produced.\n- If `type` is set to `S3` , this is the name of the output bucket.\n\nIf you specify `CODEPIPELINE` or `NO_ARTIFACTS` for the `Type` property, don't specify this property. For all of the other types, you must specify this property.",
3012 "stability": "external",
3013 "summary": "Information about the build output artifact location:."
3014 },
3015 "immutable": true,
3016 "locationInModule": {
3017 "filename": "lib/codebuild.generated.ts",
3018 "line": 680
3019 },
3020 "name": "location",
3021 "optional": true,
3022 "type": {
3023 "primitive": "string"
3024 }
3025 },
3026 {
3027 "abstract": true,
3028 "docs": {
3029 "custom": {
3030 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-artifacts.html#cfn-codebuild-project-artifacts-name"
3031 },
3032 "remarks": "- If `type` is set to `CODEPIPELINE` , AWS CodePipeline ignores this value if specified. This is because CodePipeline manages its build output names instead of AWS CodeBuild .\n- If `type` is set to `NO_ARTIFACTS` , this value is ignored if specified, because no build output is produced.\n- If `type` is set to `S3` , this is the name of the output artifact object. If you set the name to be a forward slash (\"/\"), the artifact is stored in the root of the output bucket.\n\nFor example:\n\n- If `path` is set to `MyArtifacts` , `namespaceType` is set to `BUILD_ID` , and `name` is set to `MyArtifact.zip` , then the output artifact is stored in `MyArtifacts/ *build-ID* /MyArtifact.zip` .\n- If `path` is empty, `namespaceType` is set to `NONE` , and `name` is set to \" `/` \", the output artifact is stored in the root of the output bucket.\n- If `path` is set to `MyArtifacts` , `namespaceType` is set to `BUILD_ID` , and `name` is set to \" `/` \", the output artifact is stored in `MyArtifacts/ *build-ID*` .\n\nIf you specify `CODEPIPELINE` or `NO_ARTIFACTS` for the `Type` property, don't specify this property. For all of the other types, you must specify this property.",
3033 "stability": "external",
3034 "summary": "Along with `path` and `namespaceType` , the pattern that AWS CodeBuild uses to name and store the output artifact:."
3035 },
3036 "immutable": true,
3037 "locationInModule": {
3038 "filename": "lib/codebuild.generated.ts",
3039 "line": 698
3040 },
3041 "name": "name",
3042 "optional": true,
3043 "type": {
3044 "primitive": "string"
3045 }
3046 },
3047 {
3048 "abstract": true,
3049 "docs": {
3050 "custom": {
3051 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-artifacts.html#cfn-codebuild-project-artifacts-namespacetype"
3052 },
3053 "remarks": "This is because CodePipeline manages its build output names instead of AWS CodeBuild .\n- If `type` is set to `NO_ARTIFACTS` , this value is ignored if specified, because no build output is produced.\n- If `type` is set to `S3` , valid values include:\n\n- `BUILD_ID` : Include the build ID in the location of the build output artifact.\n- `NONE` : Do not include the build ID. This is the default if `namespaceType` is not specified.\n\nFor example, if `path` is set to `MyArtifacts` , `namespaceType` is set to `BUILD_ID` , and `name` is set to `MyArtifact.zip` , the output artifact is stored in `MyArtifacts/<build-ID>/MyArtifact.zip` .",
3054 "stability": "external",
3055 "summary": "Along with `path` and `name` , the pattern that AWS CodeBuild uses to determine the name and location to store the output artifact: - If `type` is set to `CODEPIPELINE` , CodePipeline ignores this value if specified."
3056 },
3057 "immutable": true,
3058 "locationInModule": {
3059 "filename": "lib/codebuild.generated.ts",
3060 "line": 713
3061 },
3062 "name": "namespaceType",
3063 "optional": true,
3064 "type": {
3065 "primitive": "string"
3066 }
3067 },
3068 {
3069 "abstract": true,
3070 "docs": {
3071 "custom": {
3072 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-artifacts.html#cfn-codebuild-project-artifacts-overrideartifactname"
3073 },
3074 "remarks": "The name specified in a buildspec file is calculated at build time and uses the Shell command language. For example, you can append a date and time to your artifact name so that it is always unique.",
3075 "stability": "external",
3076 "summary": "If set to true a name specified in the buildspec file overrides the artifact name."
3077 },
3078 "immutable": true,
3079 "locationInModule": {
3080 "filename": "lib/codebuild.generated.ts",
3081 "line": 719
3082 },
3083 "name": "overrideArtifactName",
3084 "optional": true,
3085 "type": {
3086 "union": {
3087 "types": [
3088 {
3089 "primitive": "boolean"
3090 },
3091 {
3092 "fqn": "@aws-cdk/core.IResolvable"
3093 }
3094 ]
3095 }
3096 }
3097 },
3098 {
3099 "abstract": true,
3100 "docs": {
3101 "custom": {
3102 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-artifacts.html#cfn-codebuild-project-artifacts-packaging"
3103 },
3104 "remarks": "- If `type` is set to `CODEPIPELINE` , CodePipeline ignores this value if specified. This is because CodePipeline manages its build output artifacts instead of AWS CodeBuild .\n- If `type` is set to `NO_ARTIFACTS` , this value is ignored if specified, because no build output is produced.\n- If `type` is set to `S3` , valid values include:\n\n- `NONE` : AWS CodeBuild creates in the output bucket a folder that contains the build output. This is the default if `packaging` is not specified.\n- `ZIP` : AWS CodeBuild creates in the output bucket a ZIP file that contains the build output.",
3105 "stability": "external",
3106 "summary": "The type of build output artifact to create:."
3107 },
3108 "immutable": true,
3109 "locationInModule": {
3110 "filename": "lib/codebuild.generated.ts",
3111 "line": 732
3112 },
3113 "name": "packaging",
3114 "optional": true,
3115 "type": {
3116 "primitive": "string"
3117 }
3118 },
3119 {
3120 "abstract": true,
3121 "docs": {
3122 "custom": {
3123 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-artifacts.html#cfn-codebuild-project-artifacts-path"
3124 },
3125 "remarks": "- If `type` is set to `CODEPIPELINE` , CodePipeline ignores this value if specified. This is because CodePipeline manages its build output names instead of AWS CodeBuild .\n- If `type` is set to `NO_ARTIFACTS` , this value is ignored if specified, because no build output is produced.\n- If `type` is set to `S3` , this is the path to the output artifact. If `path` is not specified, `path` is not used.\n\nFor example, if `path` is set to `MyArtifacts` , `namespaceType` is set to `NONE` , and `name` is set to `MyArtifact.zip` , the output artifact is stored in the output bucket at `MyArtifacts/MyArtifact.zip` .",
3126 "stability": "external",
3127 "summary": "Along with `namespaceType` and `name` , the pattern that AWS CodeBuild uses to name and store the output artifact:."
3128 },
3129 "immutable": true,
3130 "locationInModule": {
3131 "filename": "lib/codebuild.generated.ts",
3132 "line": 744
3133 },
3134 "name": "path",
3135 "optional": true,
3136 "type": {
3137 "primitive": "string"
3138 }
3139 }
3140 ],
3141 "symbolId": "lib/codebuild.generated:CfnProject.ArtifactsProperty"
3142 },
3143 "@aws-cdk/aws-codebuild.CfnProject.BatchRestrictionsProperty": {
3144 "assembly": "@aws-cdk/aws-codebuild",
3145 "datatype": true,
3146 "docs": {
3147 "custom": {
3148 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-batchrestrictions.html",
3149 "exampleMetadata": "fixture=_generated"
3150 },
3151 "stability": "external",
3152 "summary": "Specifies restrictions for the batch build.",
3153 "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 batchRestrictionsProperty: codebuild.CfnProject.BatchRestrictionsProperty = {\n computeTypesAllowed: ['computeTypesAllowed'],\n maximumBuildsAllowed: 123,\n};"
3154 },
3155 "fqn": "@aws-cdk/aws-codebuild.CfnProject.BatchRestrictionsProperty",
3156 "kind": "interface",
3157 "locationInModule": {
3158 "filename": "lib/codebuild.generated.ts",
3159 "line": 842
3160 },
3161 "name": "BatchRestrictionsProperty",
3162 "namespace": "CfnProject",
3163 "properties": [
3164 {
3165 "abstract": true,
3166 "docs": {
3167 "custom": {
3168 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-batchrestrictions.html#cfn-codebuild-project-batchrestrictions-computetypesallowed"
3169 },
3170 "remarks": "See [Build environment compute types](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html) in the *AWS CodeBuild User Guide* for these values.",
3171 "stability": "external",
3172 "summary": "An array of strings that specify the compute types that are allowed for the batch build."
3173 },
3174 "immutable": true,
3175 "locationInModule": {
3176 "filename": "lib/codebuild.generated.ts",
3177 "line": 848
3178 },
3179 "name": "computeTypesAllowed",
3180 "optional": true,
3181 "type": {
3182 "collection": {
3183 "elementtype": {
3184 "primitive": "string"
3185 },
3186 "kind": "array"
3187 }
3188 }
3189 },
3190 {
3191 "abstract": true,
3192 "docs": {
3193 "custom": {
3194 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-batchrestrictions.html#cfn-codebuild-project-batchrestrictions-maximumbuildsallowed"
3195 },
3196 "stability": "external",
3197 "summary": "Specifies the maximum number of builds allowed."
3198 },
3199 "immutable": true,
3200 "locationInModule": {
3201 "filename": "lib/codebuild.generated.ts",
3202 "line": 854
3203 },
3204 "name": "maximumBuildsAllowed",
3205 "optional": true,
3206 "type": {
3207 "primitive": "number"
3208 }
3209 }
3210 ],
3211 "symbolId": "lib/codebuild.generated:CfnProject.BatchRestrictionsProperty"
3212 },
3213 "@aws-cdk/aws-codebuild.CfnProject.BuildStatusConfigProperty": {
3214 "assembly": "@aws-cdk/aws-codebuild",
3215 "datatype": true,
3216 "docs": {
3217 "custom": {
3218 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-buildstatusconfig.html",
3219 "exampleMetadata": "fixture=_generated"
3220 },
3221 "stability": "external",
3222 "summary": "Contains information that defines how the AWS CodeBuild build project reports the build status to the source provider.",
3223 "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 buildStatusConfigProperty: codebuild.CfnProject.BuildStatusConfigProperty = {\n context: 'context',\n targetUrl: 'targetUrl',\n};"
3224 },
3225 "fqn": "@aws-cdk/aws-codebuild.CfnProject.BuildStatusConfigProperty",
3226 "kind": "interface",
3227 "locationInModule": {
3228 "filename": "lib/codebuild.generated.ts",
3229 "line": 918
3230 },
3231 "name": "BuildStatusConfigProperty",
3232 "namespace": "CfnProject",
3233 "properties": [
3234 {
3235 "abstract": true,
3236 "docs": {
3237 "custom": {
3238 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-buildstatusconfig.html#cfn-codebuild-project-buildstatusconfig-context"
3239 },
3240 "remarks": "The usage of this parameter depends on the source provider.\n\n- **Bitbucket** - This parameter is used for the `name` parameter in the Bitbucket commit status. For more information, see [build](https://docs.aws.amazon.com/https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/commit/%7Bnode%7D/statuses/build) in the Bitbucket API documentation.\n- **GitHub/GitHub Enterprise Server** - This parameter is used for the `context` parameter in the GitHub commit status. For more information, see [Create a commit status](https://docs.aws.amazon.com/https://developer.github.com/v3/repos/statuses/#create-a-commit-status) in the GitHub developer guide.",
3241 "stability": "external",
3242 "summary": "Specifies the context of the build status CodeBuild sends to the source provider."
3243 },
3244 "immutable": true,
3245 "locationInModule": {
3246 "filename": "lib/codebuild.generated.ts",
3247 "line": 927
3248 },
3249 "name": "context",
3250 "optional": true,
3251 "type": {
3252 "primitive": "string"
3253 }
3254 },
3255 {
3256 "abstract": true,
3257 "docs": {
3258 "custom": {
3259 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-buildstatusconfig.html#cfn-codebuild-project-buildstatusconfig-targeturl"
3260 },
3261 "remarks": "The usage of this parameter depends on the source provider.\n\n- **Bitbucket** - This parameter is used for the `url` parameter in the Bitbucket commit status. For more information, see [build](https://docs.aws.amazon.com/https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/commit/%7Bnode%7D/statuses/build) in the Bitbucket API documentation.\n- **GitHub/GitHub Enterprise Server** - This parameter is used for the `target_url` parameter in the GitHub commit status. For more information, see [Create a commit status](https://docs.aws.amazon.com/https://developer.github.com/v3/repos/statuses/#create-a-commit-status) in the GitHub developer guide.",
3262 "stability": "external",
3263 "summary": "Specifies the target url of the build status CodeBuild sends to the source provider."
3264 },
3265 "immutable": true,
3266 "locationInModule": {
3267 "filename": "lib/codebuild.generated.ts",
3268 "line": 936
3269 },
3270 "name": "targetUrl",
3271 "optional": true,
3272 "type": {
3273 "primitive": "string"
3274 }
3275 }
3276 ],
3277 "symbolId": "lib/codebuild.generated:CfnProject.BuildStatusConfigProperty"
3278 },
3279 "@aws-cdk/aws-codebuild.CfnProject.CloudWatchLogsConfigProperty": {
3280 "assembly": "@aws-cdk/aws-codebuild",
3281 "datatype": true,
3282 "docs": {
3283 "custom": {
3284 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-cloudwatchlogsconfig.html",
3285 "exampleMetadata": "fixture=_generated"
3286 },
3287 "stability": "external",
3288 "summary": "`CloudWatchLogs` is a property of the [AWS CodeBuild Project LogsConfig](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-logsconfig.html) property type that specifies settings for CloudWatch logs generated by an AWS CodeBuild build.",
3289 "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 cloudWatchLogsConfigProperty: codebuild.CfnProject.CloudWatchLogsConfigProperty = {\n status: 'status',\n\n // the properties below are optional\n groupName: 'groupName',\n streamName: 'streamName',\n};"
3290 },
3291 "fqn": "@aws-cdk/aws-codebuild.CfnProject.CloudWatchLogsConfigProperty",
3292 "kind": "interface",
3293 "locationInModule": {
3294 "filename": "lib/codebuild.generated.ts",
3295 "line": 1000
3296 },
3297 "name": "CloudWatchLogsConfigProperty",
3298 "namespace": "CfnProject",
3299 "properties": [
3300 {
3301 "abstract": true,
3302 "docs": {
3303 "custom": {
3304 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-cloudwatchlogsconfig.html#cfn-codebuild-project-cloudwatchlogsconfig-status"
3305 },
3306 "remarks": "- `ENABLED` : CloudWatch Logs are enabled for this build project.\n- `DISABLED` : CloudWatch Logs are not enabled for this build project.",
3307 "stability": "external",
3308 "summary": "The current status of the logs in CloudWatch Logs for a build project. Valid values are:."
3309 },
3310 "immutable": true,
3311 "locationInModule": {
3312 "filename": "lib/codebuild.generated.ts",
3313 "line": 1015
3314 },
3315 "name": "status",
3316 "type": {
3317 "primitive": "string"
3318 }
3319 },
3320 {
3321 "abstract": true,
3322 "docs": {
3323 "custom": {
3324 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-cloudwatchlogsconfig.html#cfn-codebuild-project-cloudwatchlogsconfig-groupname"
3325 },
3326 "remarks": "For more information, see [Working with Log Groups and Log Streams](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html) .",
3327 "stability": "external",
3328 "summary": "The group name of the logs in CloudWatch Logs."
3329 },
3330 "immutable": true,
3331 "locationInModule": {
3332 "filename": "lib/codebuild.generated.ts",
3333 "line": 1006
3334 },
3335 "name": "groupName",
3336 "optional": true,
3337 "type": {
3338 "primitive": "string"
3339 }
3340 },
3341 {
3342 "abstract": true,
3343 "docs": {
3344 "custom": {
3345 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-cloudwatchlogsconfig.html#cfn-codebuild-project-cloudwatchlogsconfig-streamname"
3346 },
3347 "remarks": "For more information, see [Working with Log Groups and Log Streams](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html) .",
3348 "stability": "external",
3349 "summary": "The prefix of the stream name of the CloudWatch Logs."
3350 },
3351 "immutable": true,
3352 "locationInModule": {
3353 "filename": "lib/codebuild.generated.ts",
3354 "line": 1021
3355 },
3356 "name": "streamName",
3357 "optional": true,
3358 "type": {
3359 "primitive": "string"
3360 }
3361 }
3362 ],
3363 "symbolId": "lib/codebuild.generated:CfnProject.CloudWatchLogsConfigProperty"
3364 },
3365 "@aws-cdk/aws-codebuild.CfnProject.EnvironmentProperty": {
3366 "assembly": "@aws-cdk/aws-codebuild",
3367 "datatype": true,
3368 "docs": {
3369 "custom": {
3370 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environment.html",
3371 "exampleMetadata": "fixture=_generated"
3372 },
3373 "stability": "external",
3374 "summary": "`Environment` is a property of the [AWS::CodeBuild::Project](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html) resource that specifies the environment for an AWS CodeBuild project.",
3375 "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 environmentProperty: codebuild.CfnProject.EnvironmentProperty = {\n computeType: 'computeType',\n image: 'image',\n type: 'type',\n\n // the properties below are optional\n certificate: 'certificate',\n environmentVariables: [{\n name: 'name',\n value: 'value',\n\n // the properties below are optional\n type: 'type',\n }],\n imagePullCredentialsType: 'imagePullCredentialsType',\n privilegedMode: false,\n registryCredential: {\n credential: 'credential',\n credentialProvider: 'credentialProvider',\n },\n};"
3376 },
3377 "fqn": "@aws-cdk/aws-codebuild.CfnProject.EnvironmentProperty",
3378 "kind": "interface",
3379 "locationInModule": {
3380 "filename": "lib/codebuild.generated.ts",
3381 "line": 1089
3382 },
3383 "name": "EnvironmentProperty",
3384 "namespace": "CfnProject",
3385 "properties": [
3386 {
3387 "abstract": true,
3388 "docs": {
3389 "custom": {
3390 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environment.html#cfn-codebuild-project-environment-computetype"
3391 },
3392 "remarks": "This determines the number of CPU cores and memory the build environment uses. Available values include:\n\n- `BUILD_GENERAL1_SMALL` : Use up to 3 GB memory and 2 vCPUs for builds.\n- `BUILD_GENERAL1_MEDIUM` : Use up to 7 GB memory and 4 vCPUs for builds.\n- `BUILD_GENERAL1_LARGE` : Use up to 15 GB memory and 8 vCPUs for builds.\n\nFor more information, see [Build Environment Compute Types](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html) in the *AWS CodeBuild User Guide.*",
3393 "stability": "external",
3394 "summary": "The type of compute environment."
3395 },
3396 "immutable": true,
3397 "locationInModule": {
3398 "filename": "lib/codebuild.generated.ts",
3399 "line": 1107
3400 },
3401 "name": "computeType",
3402 "type": {
3403 "primitive": "string"
3404 }
3405 },
3406 {
3407 "abstract": true,
3408 "docs": {
3409 "custom": {
3410 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environment.html#cfn-codebuild-project-environment-image"
3411 },
3412 "remarks": "Use the following formats:\n\n- For an image tag: `<registry>/<repository>:<tag>` . For example, in the Docker repository that CodeBuild uses to manage its Docker images, this would be `aws/codebuild/standard:4.0` .\n- For an image digest: `<registry>/<repository>@<digest>` . For example, to specify an image with the digest \"sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf,\" use `<registry>/<repository>@sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf` .\n\nFor more information, see [Docker images provided by CodeBuild](https://docs.aws.amazon.com//codebuild/latest/userguide/build-env-ref-available.html) in the *AWS CodeBuild user guide* .",
3413 "stability": "external",
3414 "summary": "The image tag or image digest that identifies the Docker image to use for this build project."
3415 },
3416 "immutable": true,
3417 "locationInModule": {
3418 "filename": "lib/codebuild.generated.ts",
3419 "line": 1124
3420 },
3421 "name": "image",
3422 "type": {
3423 "primitive": "string"
3424 }
3425 },
3426 {
3427 "abstract": true,
3428 "docs": {
3429 "custom": {
3430 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environment.html#cfn-codebuild-project-environment-type"
3431 },
3432 "remarks": "- The environment type `ARM_CONTAINER` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Sydney), and EU (Frankfurt).\n- The environment type `LINUX_CONTAINER` with compute type `build.general1.2xlarge` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Canada (Central), EU (Ireland), EU (London), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney), China (Beijing), and China (Ningxia).\n- The environment type `LINUX_GPU_CONTAINER` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Canada (Central), EU (Ireland), EU (London), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney) , China (Beijing), and China (Ningxia).\n\n- The environment types `WINDOWS_CONTAINER` and `WINDOWS_SERVER_2019_CONTAINER` are available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), and EU (Ireland).\n\nFor more information, see [Build environment compute types](https://docs.aws.amazon.com//codebuild/latest/userguide/build-env-ref-compute-types.html) in the *AWS CodeBuild user guide* .",
3433 "stability": "external",
3434 "summary": "The type of build environment to use for related builds."
3435 },
3436 "immutable": true,
3437 "locationInModule": {
3438 "filename": "lib/codebuild.generated.ts",
3439 "line": 1178
3440 },
3441 "name": "type",
3442 "type": {
3443 "primitive": "string"
3444 }
3445 },
3446 {
3447 "abstract": true,
3448 "docs": {
3449 "custom": {
3450 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environment.html#cfn-codebuild-project-environment-certificate"
3451 },
3452 "remarks": "For more information, see [certificate](https://docs.aws.amazon.com/codebuild/latest/userguide/create-project-cli.html#cli.environment.certificate) in the *AWS CodeBuild User Guide* .",
3453 "stability": "external",
3454 "summary": "The ARN of the Amazon S3 bucket, path prefix, and object key that contains the PEM-encoded certificate for the build project."
3455 },
3456 "immutable": true,
3457 "locationInModule": {
3458 "filename": "lib/codebuild.generated.ts",
3459 "line": 1095
3460 },
3461 "name": "certificate",
3462 "optional": true,
3463 "type": {
3464 "primitive": "string"
3465 }
3466 },
3467 {
3468 "abstract": true,
3469 "docs": {
3470 "custom": {
3471 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environment.html#cfn-codebuild-project-environment-environmentvariables"
3472 },
3473 "stability": "external",
3474 "summary": "A set of environment variables to make available to builds for this build project."
3475 },
3476 "immutable": true,
3477 "locationInModule": {
3478 "filename": "lib/codebuild.generated.ts",
3479 "line": 1113
3480 },
3481 "name": "environmentVariables",
3482 "optional": true,
3483 "type": {
3484 "union": {
3485 "types": [
3486 {
3487 "fqn": "@aws-cdk/core.IResolvable"
3488 },
3489 {
3490 "collection": {
3491 "elementtype": {
3492 "union": {
3493 "types": [
3494 {
3495 "fqn": "@aws-cdk/aws-codebuild.CfnProject.EnvironmentVariableProperty"
3496 },
3497 {
3498 "fqn": "@aws-cdk/core.IResolvable"
3499 }
3500 ]
3501 }
3502 },
3503 "kind": "array"
3504 }
3505 }
3506 ]
3507 }
3508 }
3509 },
3510 {
3511 "abstract": true,
3512 "docs": {
3513 "custom": {
3514 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environment.html#cfn-codebuild-project-environment-imagepullcredentialstype"
3515 },
3516 "remarks": "- `CODEBUILD` specifies that AWS CodeBuild uses its own credentials. This requires that you modify your ECR repository policy to trust AWS CodeBuild service principal.\n- `SERVICE_ROLE` specifies that AWS CodeBuild uses your build project's service role.\n\nWhen you use a cross-account or private registry image, you must use SERVICE_ROLE credentials. When you use an AWS CodeBuild curated image, you must use CODEBUILD credentials.",
3517 "stability": "external",
3518 "summary": "The type of credentials AWS CodeBuild uses to pull images in your build. There are two valid values:."
3519 },
3520 "immutable": true,
3521 "locationInModule": {
3522 "filename": "lib/codebuild.generated.ts",
3523 "line": 1135
3524 },
3525 "name": "imagePullCredentialsType",
3526 "optional": true,
3527 "type": {
3528 "primitive": "string"
3529 }
3530 },
3531 {
3532 "abstract": true,
3533 "docs": {
3534 "custom": {
3535 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environment.html#cfn-codebuild-project-environment-privilegedmode"
3536 },
3537 "remarks": "Set to true only if the build project is used to build Docker images. Otherwise, a build that attempts to interact with the Docker daemon fails. The default setting is `false` .\n\nYou can initialize the Docker daemon during the install phase of your build by adding one of the following sets of commands to the install phase of your buildspec file:\n\nIf the operating system's base image is Ubuntu Linux:\n\n`- nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&`\n\n`- timeout 15 sh -c \"until docker info; do echo .; sleep 1; done\"`\n\nIf the operating system's base image is Alpine Linux and the previous command does not work, add the `-t` argument to `timeout` :\n\n`- nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&`\n\n`- timeout -t 15 sh -c \"until docker info; do echo .; sleep 1; done\"`",
3538 "stability": "external",
3539 "summary": "Enables running the Docker daemon inside a Docker container."
3540 },
3541 "immutable": true,
3542 "locationInModule": {
3543 "filename": "lib/codebuild.generated.ts",
3544 "line": 1155
3545 },
3546 "name": "privilegedMode",
3547 "optional": true,
3548 "type": {
3549 "union": {
3550 "types": [
3551 {
3552 "primitive": "boolean"
3553 },
3554 {
3555 "fqn": "@aws-cdk/core.IResolvable"
3556 }
3557 ]
3558 }
3559 }
3560 },
3561 {
3562 "abstract": true,
3563 "docs": {
3564 "custom": {
3565 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environment.html#cfn-codebuild-project-environment-registrycredential"
3566 },
3567 "remarks": "- `imagePullCredentialsType` must be set to `SERVICE_ROLE` .\n- images cannot be curated or an Amazon ECR image.",
3568 "stability": "external",
3569 "summary": "`RegistryCredential` is a property of the [AWS::CodeBuild::Project Environment](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-environment) property that specifies information about credentials that provide access to a private Docker registry. When this is set:."
3570 },
3571 "immutable": true,
3572 "locationInModule": {
3573 "filename": "lib/codebuild.generated.ts",
3574 "line": 1164
3575 },
3576 "name": "registryCredential",
3577 "optional": true,
3578 "type": {
3579 "union": {
3580 "types": [
3581 {
3582 "fqn": "@aws-cdk/core.IResolvable"
3583 },
3584 {
3585 "fqn": "@aws-cdk/aws-codebuild.CfnProject.RegistryCredentialProperty"
3586 }
3587 ]
3588 }
3589 }
3590 }
3591 ],
3592 "symbolId": "lib/codebuild.generated:CfnProject.EnvironmentProperty"
3593 },
3594 "@aws-cdk/aws-codebuild.CfnProject.EnvironmentVariableProperty": {
3595 "assembly": "@aws-cdk/aws-codebuild",
3596 "datatype": true,
3597 "docs": {
3598 "custom": {
3599 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environmentvariable.html",
3600 "exampleMetadata": "fixture=_generated"
3601 },
3602 "stability": "external",
3603 "summary": "`EnvironmentVariable` is a property of the [AWS CodeBuild Project Environment](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environment.html) property type that specifies the name and value of an environment variable for an AWS CodeBuild project environment. When you use the environment to run a build, these variables are available for your builds to use. `EnvironmentVariable` contains a list of `EnvironmentVariable` property types.",
3604 "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 environmentVariableProperty: codebuild.CfnProject.EnvironmentVariableProperty = {\n name: 'name',\n value: 'value',\n\n // the properties below are optional\n type: 'type',\n};"
3605 },
3606 "fqn": "@aws-cdk/aws-codebuild.CfnProject.EnvironmentVariableProperty",
3607 "kind": "interface",
3608 "locationInModule": {
3609 "filename": "lib/codebuild.generated.ts",
3610 "line": 1263
3611 },
3612 "name": "EnvironmentVariableProperty",
3613 "namespace": "CfnProject",
3614 "properties": [
3615 {
3616 "abstract": true,
3617 "docs": {
3618 "custom": {
3619 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environmentvariable.html#cfn-codebuild-project-environmentvariable-name"
3620 },
3621 "stability": "external",
3622 "summary": "The name or key of the environment variable."
3623 },
3624 "immutable": true,
3625 "locationInModule": {
3626 "filename": "lib/codebuild.generated.ts",
3627 "line": 1269
3628 },
3629 "name": "name",
3630 "type": {
3631 "primitive": "string"
3632 }
3633 },
3634 {
3635 "abstract": true,
3636 "docs": {
3637 "custom": {
3638 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environmentvariable.html#cfn-codebuild-project-environmentvariable-value"
3639 },
3640 "remarks": "> We strongly discourage the use of `PLAINTEXT` environment variables to store sensitive values, especially AWS secret key IDs and secret access keys. `PLAINTEXT` environment variables can be displayed in plain text using the AWS CodeBuild console and the AWS CLI . For sensitive values, we recommend you use an environment variable of type `PARAMETER_STORE` or `SECRETS_MANAGER` .",
3641 "stability": "external",
3642 "summary": "The value of the environment variable."
3643 },
3644 "immutable": true,
3645 "locationInModule": {
3646 "filename": "lib/codebuild.generated.ts",
3647 "line": 1287
3648 },
3649 "name": "value",
3650 "type": {
3651 "primitive": "string"
3652 }
3653 },
3654 {
3655 "abstract": true,
3656 "docs": {
3657 "custom": {
3658 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environmentvariable.html#cfn-codebuild-project-environmentvariable-type"
3659 },
3660 "remarks": "- `PARAMETER_STORE` : An environment variable stored in Systems Manager Parameter Store. To learn how to specify a parameter store environment variable, see [env/parameter-store](https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec.env.parameter-store) in the *AWS CodeBuild User Guide* .\n- `PLAINTEXT` : An environment variable in plain text format. This is the default value.\n- `SECRETS_MANAGER` : An environment variable stored in AWS Secrets Manager . To learn how to specify a secrets manager environment variable, see [env/secrets-manager](https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec.env.secrets-manager) in the *AWS CodeBuild User Guide* .",
3661 "stability": "external",
3662 "summary": "The type of environment variable. Valid values include:."
3663 },
3664 "immutable": true,
3665 "locationInModule": {
3666 "filename": "lib/codebuild.generated.ts",
3667 "line": 1279
3668 },
3669 "name": "type",
3670 "optional": true,
3671 "type": {
3672 "primitive": "string"
3673 }
3674 }
3675 ],
3676 "symbolId": "lib/codebuild.generated:CfnProject.EnvironmentVariableProperty"
3677 },
3678 "@aws-cdk/aws-codebuild.CfnProject.GitSubmodulesConfigProperty": {
3679 "assembly": "@aws-cdk/aws-codebuild",
3680 "datatype": true,
3681 "docs": {
3682 "custom": {
3683 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-gitsubmodulesconfig.html",
3684 "exampleMetadata": "fixture=_generated"
3685 },
3686 "stability": "external",
3687 "summary": "`GitSubmodulesConfig` is a property of the [AWS CodeBuild Project Source](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-source.html) property type that specifies information about the Git submodules configuration for the build project.",
3688 "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 gitSubmodulesConfigProperty: codebuild.CfnProject.GitSubmodulesConfigProperty = {\n fetchSubmodules: false,\n};"
3689 },
3690 "fqn": "@aws-cdk/aws-codebuild.CfnProject.GitSubmodulesConfigProperty",
3691 "kind": "interface",
3692 "locationInModule": {
3693 "filename": "lib/codebuild.generated.ts",
3694 "line": 1356
3695 },
3696 "name": "GitSubmodulesConfigProperty",
3697 "namespace": "CfnProject",
3698 "properties": [
3699 {
3700 "abstract": true,
3701 "docs": {
3702 "custom": {
3703 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-gitsubmodulesconfig.html#cfn-codebuild-project-gitsubmodulesconfig-fetchsubmodules"
3704 },
3705 "stability": "external",
3706 "summary": "Set to true to fetch Git submodules for your AWS CodeBuild build project."
3707 },
3708 "immutable": true,
3709 "locationInModule": {
3710 "filename": "lib/codebuild.generated.ts",
3711 "line": 1362
3712 },
3713 "name": "fetchSubmodules",
3714 "type": {
3715 "union": {
3716 "types": [
3717 {
3718 "primitive": "boolean"
3719 },
3720 {
3721 "fqn": "@aws-cdk/core.IResolvable"
3722 }
3723 ]
3724 }
3725 }
3726 }
3727 ],
3728 "symbolId": "lib/codebuild.generated:CfnProject.GitSubmodulesConfigProperty"
3729 },
3730 "@aws-cdk/aws-codebuild.CfnProject.LogsConfigProperty": {
3731 "assembly": "@aws-cdk/aws-codebuild",
3732 "datatype": true,
3733 "docs": {
3734 "custom": {
3735 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-logsconfig.html",
3736 "exampleMetadata": "fixture=_generated"
3737 },
3738 "stability": "external",
3739 "summary": "`LogsConfig` is a property of the [AWS CodeBuild Project](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html) resource that specifies information about logs for a build project. These can be logs in Amazon CloudWatch Logs, built in a specified S3 bucket, or both.",
3740 "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 logsConfigProperty: codebuild.CfnProject.LogsConfigProperty = {\n cloudWatchLogs: {\n status: 'status',\n\n // the properties below are optional\n groupName: 'groupName',\n streamName: 'streamName',\n },\n s3Logs: {\n status: 'status',\n\n // the properties below are optional\n encryptionDisabled: false,\n location: 'location',\n },\n};"
3741 },
3742 "fqn": "@aws-cdk/aws-codebuild.CfnProject.LogsConfigProperty",
3743 "kind": "interface",
3744 "locationInModule": {
3745 "filename": "lib/codebuild.generated.ts",
3746 "line": 1424
3747 },
3748 "name": "LogsConfigProperty",
3749 "namespace": "CfnProject",
3750 "properties": [
3751 {
3752 "abstract": true,
3753 "docs": {
3754 "custom": {
3755 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-logsconfig.html#cfn-codebuild-project-logsconfig-cloudwatchlogs"
3756 },
3757 "remarks": "CloudWatch Logs are enabled by default.",
3758 "stability": "external",
3759 "summary": "Information about CloudWatch Logs for a build project."
3760 },
3761 "immutable": true,
3762 "locationInModule": {
3763 "filename": "lib/codebuild.generated.ts",
3764 "line": 1430
3765 },
3766 "name": "cloudWatchLogs",
3767 "optional": true,
3768 "type": {
3769 "union": {
3770 "types": [
3771 {
3772 "fqn": "@aws-cdk/core.IResolvable"
3773 },
3774 {
3775 "fqn": "@aws-cdk/aws-codebuild.CfnProject.CloudWatchLogsConfigProperty"
3776 }
3777 ]
3778 }
3779 }
3780 },
3781 {
3782 "abstract": true,
3783 "docs": {
3784 "custom": {
3785 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-logsconfig.html#cfn-codebuild-project-logsconfig-s3logs"
3786 },
3787 "remarks": "S3 logs are not enabled by default.",
3788 "stability": "external",
3789 "summary": "Information about logs built to an S3 bucket for a build project."
3790 },
3791 "immutable": true,
3792 "locationInModule": {
3793 "filename": "lib/codebuild.generated.ts",
3794 "line": 1436
3795 },
3796 "name": "s3Logs",
3797 "optional": true,
3798 "type": {
3799 "union": {
3800 "types": [
3801 {
3802 "fqn": "@aws-cdk/core.IResolvable"
3803 },
3804 {
3805 "fqn": "@aws-cdk/aws-codebuild.CfnProject.S3LogsConfigProperty"
3806 }
3807 ]
3808 }
3809 }
3810 }
3811 ],
3812 "symbolId": "lib/codebuild.generated:CfnProject.LogsConfigProperty"
3813 },
3814 "@aws-cdk/aws-codebuild.CfnProject.ProjectBuildBatchConfigProperty": {
3815 "assembly": "@aws-cdk/aws-codebuild",
3816 "datatype": true,
3817 "docs": {
3818 "custom": {
3819 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectbuildbatchconfig.html",
3820 "exampleMetadata": "fixture=_generated"
3821 },
3822 "stability": "external",
3823 "summary": "Contains configuration information about a batch build project.",
3824 "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 projectBuildBatchConfigProperty: codebuild.CfnProject.ProjectBuildBatchConfigProperty = {\n batchReportMode: 'batchReportMode',\n combineArtifacts: false,\n restrictions: {\n computeTypesAllowed: ['computeTypesAllowed'],\n maximumBuildsAllowed: 123,\n },\n serviceRole: 'serviceRole',\n timeoutInMins: 123,\n};"
3825 },
3826 "fqn": "@aws-cdk/aws-codebuild.CfnProject.ProjectBuildBatchConfigProperty",
3827 "kind": "interface",
3828 "locationInModule": {
3829 "filename": "lib/codebuild.generated.ts",
3830 "line": 1500
3831 },
3832 "name": "ProjectBuildBatchConfigProperty",
3833 "namespace": "CfnProject",
3834 "properties": [
3835 {
3836 "abstract": true,
3837 "docs": {
3838 "custom": {
3839 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectbuildbatchconfig.html#cfn-codebuild-project-projectbuildbatchconfig-batchreportmode"
3840 },
3841 "remarks": "This property is only used when the source provider for your project is Bitbucket, GitHub, or GitHub Enterprise, and your project is configured to report build statuses to the source provider.\n\n- **REPORT_AGGREGATED_BATCH** - (Default) Aggregate all of the build statuses into a single status report.\n- **REPORT_INDIVIDUAL_BUILDS** - Send a separate status report for each individual build.",
3842 "stability": "external",
3843 "summary": "Specifies how build status reports are sent to the source provider for the batch build."
3844 },
3845 "immutable": true,
3846 "locationInModule": {
3847 "filename": "lib/codebuild.generated.ts",
3848 "line": 1509
3849 },
3850 "name": "batchReportMode",
3851 "optional": true,
3852 "type": {
3853 "primitive": "string"
3854 }
3855 },
3856 {
3857 "abstract": true,
3858 "docs": {
3859 "custom": {
3860 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectbuildbatchconfig.html#cfn-codebuild-project-projectbuildbatchconfig-combineartifacts"
3861 },
3862 "stability": "external",
3863 "summary": "Specifies if the build artifacts for the batch build should be combined into a single artifact location."
3864 },
3865 "immutable": true,
3866 "locationInModule": {
3867 "filename": "lib/codebuild.generated.ts",
3868 "line": 1515
3869 },
3870 "name": "combineArtifacts",
3871 "optional": true,
3872 "type": {
3873 "union": {
3874 "types": [
3875 {
3876 "primitive": "boolean"
3877 },
3878 {
3879 "fqn": "@aws-cdk/core.IResolvable"
3880 }
3881 ]
3882 }
3883 }
3884 },
3885 {
3886 "abstract": true,
3887 "docs": {
3888 "custom": {
3889 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectbuildbatchconfig.html#cfn-codebuild-project-projectbuildbatchconfig-restrictions"
3890 },
3891 "stability": "external",
3892 "summary": "A `BatchRestrictions` object that specifies the restrictions for the batch build."
3893 },
3894 "immutable": true,
3895 "locationInModule": {
3896 "filename": "lib/codebuild.generated.ts",
3897 "line": 1521
3898 },
3899 "name": "restrictions",
3900 "optional": true,
3901 "type": {
3902 "union": {
3903 "types": [
3904 {
3905 "fqn": "@aws-cdk/core.IResolvable"
3906 },
3907 {
3908 "fqn": "@aws-cdk/aws-codebuild.CfnProject.BatchRestrictionsProperty"
3909 }
3910 ]
3911 }
3912 }
3913 },
3914 {
3915 "abstract": true,
3916 "docs": {
3917 "custom": {
3918 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectbuildbatchconfig.html#cfn-codebuild-project-projectbuildbatchconfig-servicerole"
3919 },
3920 "stability": "external",
3921 "summary": "Specifies the service role ARN for the batch build project."
3922 },
3923 "immutable": true,
3924 "locationInModule": {
3925 "filename": "lib/codebuild.generated.ts",
3926 "line": 1527
3927 },
3928 "name": "serviceRole",
3929 "optional": true,
3930 "type": {
3931 "primitive": "string"
3932 }
3933 },
3934 {
3935 "abstract": true,
3936 "docs": {
3937 "custom": {
3938 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectbuildbatchconfig.html#cfn-codebuild-project-projectbuildbatchconfig-timeoutinmins"
3939 },
3940 "stability": "external",
3941 "summary": "Specifies the maximum amount of time, in minutes, that the batch build must be completed in."
3942 },
3943 "immutable": true,
3944 "locationInModule": {
3945 "filename": "lib/codebuild.generated.ts",
3946 "line": 1533
3947 },
3948 "name": "timeoutInMins",
3949 "optional": true,
3950 "type": {
3951 "primitive": "number"
3952 }
3953 }
3954 ],
3955 "symbolId": "lib/codebuild.generated:CfnProject.ProjectBuildBatchConfigProperty"
3956 },
3957 "@aws-cdk/aws-codebuild.CfnProject.ProjectCacheProperty": {
3958 "assembly": "@aws-cdk/aws-codebuild",
3959 "datatype": true,
3960 "docs": {
3961 "custom": {
3962 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectcache.html",
3963 "exampleMetadata": "fixture=_generated"
3964 },
3965 "stability": "external",
3966 "summary": "`ProjectCache` is a property of the [AWS CodeBuild Project](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html) resource that specifies information about the cache for the build project. If `ProjectCache` is not specified, then both of its properties default to `NO_CACHE` .",
3967 "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 projectCacheProperty: codebuild.CfnProject.ProjectCacheProperty = {\n type: 'type',\n\n // the properties below are optional\n location: 'location',\n modes: ['modes'],\n};"
3968 },
3969 "fqn": "@aws-cdk/aws-codebuild.CfnProject.ProjectCacheProperty",
3970 "kind": "interface",
3971 "locationInModule": {
3972 "filename": "lib/codebuild.generated.ts",
3973 "line": 1606
3974 },
3975 "name": "ProjectCacheProperty",
3976 "namespace": "CfnProject",
3977 "properties": [
3978 {
3979 "abstract": true,
3980 "docs": {
3981 "custom": {
3982 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectcache.html#cfn-codebuild-project-projectcache-type"
3983 },
3984 "remarks": "- `NO_CACHE` : The build project does not use any cache.\n- `S3` : The build project reads and writes from and to S3.\n- `LOCAL` : The build project stores a cache locally on a build host that is only available to that build host.",
3985 "stability": "external",
3986 "summary": "The type of cache used by the build project. Valid values include:."
3987 },
3988 "immutable": true,
3989 "locationInModule": {
3990 "filename": "lib/codebuild.generated.ts",
3991 "line": 1645
3992 },
3993 "name": "type",
3994 "type": {
3995 "primitive": "string"
3996 }
3997 },
3998 {
3999 "abstract": true,
4000 "docs": {
4001 "custom": {
4002 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectcache.html#cfn-codebuild-project-projectcache-location"
4003 },
4004 "remarks": "- `NO_CACHE` or `LOCAL` : This value is ignored.\n- `S3` : This is the S3 bucket name/prefix.",
4005 "stability": "external",
4006 "summary": "Information about the cache location:."
4007 },
4008 "immutable": true,
4009 "locationInModule": {
4010 "filename": "lib/codebuild.generated.ts",
4011 "line": 1615
4012 },
4013 "name": "location",
4014 "optional": true,
4015 "type": {
4016 "primitive": "string"
4017 }
4018 },
4019 {
4020 "abstract": true,
4021 "docs": {
4022 "custom": {
4023 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectcache.html#cfn-codebuild-project-projectcache-modes"
4024 },
4025 "remarks": "You can use one or more local cache modes at the same time. This is only used for `LOCAL` cache types.\n\nPossible values are:\n\n- **LOCAL_SOURCE_CACHE** - Caches Git metadata for primary and secondary sources. After the cache is created, subsequent builds pull only the change between commits. This mode is a good choice for projects with a clean working directory and a source that is a large Git repository. If you choose this option and your project does not use a Git repository (GitHub, GitHub Enterprise, or Bitbucket), the option is ignored.\n- **LOCAL_DOCKER_LAYER_CACHE** - Caches existing Docker layers. This mode is a good choice for projects that build or pull large Docker images. It can prevent the performance issues caused by pulling large Docker images down from the network.\n\n> - You can use a Docker layer cache in the Linux environment only.\n> - The `privileged` flag must be set so that your project has the required Docker permissions.\n> - You should consider the security implications before you use a Docker layer cache.\n- **LOCAL_CUSTOM_CACHE** - Caches directories you specify in the buildspec file. This mode is a good choice if your build scenario is not suited to one of the other three local cache modes. If you use a custom cache:\n\n- Only directories can be specified for caching. You cannot specify individual files.\n- Symlinks are used to reference cached directories.\n- Cached directories are linked to your build before it downloads its project sources. Cached items are overridden if a source item has the same name. Directories are specified using cache paths in the buildspec file.",
4026 "stability": "external",
4027 "summary": "An array of strings that specify the local cache modes."
4028 },
4029 "immutable": true,
4030 "locationInModule": {
4031 "filename": "lib/codebuild.generated.ts",
4032 "line": 1635
4033 },
4034 "name": "modes",
4035 "optional": true,
4036 "type": {
4037 "collection": {
4038 "elementtype": {
4039 "primitive": "string"
4040 },
4041 "kind": "array"
4042 }
4043 }
4044 }
4045 ],
4046 "symbolId": "lib/codebuild.generated:CfnProject.ProjectCacheProperty"
4047 },
4048 "@aws-cdk/aws-codebuild.CfnProject.ProjectFileSystemLocationProperty": {
4049 "assembly": "@aws-cdk/aws-codebuild",
4050 "datatype": true,
4051 "docs": {
4052 "custom": {
4053 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectfilesystemlocation.html",
4054 "exampleMetadata": "fixture=_generated"
4055 },
4056 "remarks": "For more information, see [What Is Amazon Elastic File System?](https://docs.aws.amazon.com/efs/latest/ug/whatisefs.html)",
4057 "stability": "external",
4058 "summary": "Information about a file system created by Amazon Elastic File System (EFS).",
4059 "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 projectFileSystemLocationProperty: codebuild.CfnProject.ProjectFileSystemLocationProperty = {\n identifier: 'identifier',\n location: 'location',\n mountPoint: 'mountPoint',\n type: 'type',\n\n // the properties below are optional\n mountOptions: 'mountOptions',\n};"
4060 },
4061 "fqn": "@aws-cdk/aws-codebuild.CfnProject.ProjectFileSystemLocationProperty",
4062 "kind": "interface",
4063 "locationInModule": {
4064 "filename": "lib/codebuild.generated.ts",
4065 "line": 1713
4066 },
4067 "name": "ProjectFileSystemLocationProperty",
4068 "namespace": "CfnProject",
4069 "properties": [
4070 {
4071 "abstract": true,
4072 "docs": {
4073 "custom": {
4074 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectfilesystemlocation.html#cfn-codebuild-project-projectfilesystemlocation-identifier"
4075 },
4076 "remarks": "CodeBuild creates an environment variable by appending the `identifier` in all capital letters to `CODEBUILD_` . For example, if you specify `my_efs` for `identifier` , a new environment variable is create named `CODEBUILD_MY_EFS` .\n\nThe `identifier` is used to mount your file system.",
4077 "stability": "external",
4078 "summary": "The name used to access a file system created by Amazon EFS."
4079 },
4080 "immutable": true,
4081 "locationInModule": {
4082 "filename": "lib/codebuild.generated.ts",
4083 "line": 1721
4084 },
4085 "name": "identifier",
4086 "type": {
4087 "primitive": "string"
4088 }
4089 },
4090 {
4091 "abstract": true,
4092 "docs": {
4093 "custom": {
4094 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectfilesystemlocation.html#cfn-codebuild-project-projectfilesystemlocation-location"
4095 },
4096 "remarks": "Its format is `efs-dns-name:/directory-path` . You can find the DNS name of file system when you view it in the Amazon EFS console. The directory path is a path to a directory in the file system that CodeBuild mounts. For example, if the DNS name of a file system is `fs-abcd1234.efs.us-west-2.amazonaws.com` , and its mount directory is `my-efs-mount-directory` , then the `location` is `fs-abcd1234.efs.us-west-2.amazonaws.com:/my-efs-mount-directory` .\n\nThe directory path in the format `efs-dns-name:/directory-path` is optional. If you do not specify a directory path, the location is only the DNS name and CodeBuild mounts the entire file system.",
4097 "stability": "external",
4098 "summary": "A string that specifies the location of the file system created by Amazon EFS."
4099 },
4100 "immutable": true,
4101 "locationInModule": {
4102 "filename": "lib/codebuild.generated.ts",
4103 "line": 1729
4104 },
4105 "name": "location",
4106 "type": {
4107 "primitive": "string"
4108 }
4109 },
4110 {
4111 "abstract": true,
4112 "docs": {
4113 "custom": {
4114 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectfilesystemlocation.html#cfn-codebuild-project-projectfilesystemlocation-mountpoint"
4115 },
4116 "stability": "external",
4117 "summary": "The location in the container where you mount the file system."
4118 },
4119 "immutable": true,
4120 "locationInModule": {
4121 "filename": "lib/codebuild.generated.ts",
4122 "line": 1741
4123 },
4124 "name": "mountPoint",
4125 "type": {
4126 "primitive": "string"
4127 }
4128 },
4129 {
4130 "abstract": true,
4131 "docs": {
4132 "custom": {
4133 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectfilesystemlocation.html#cfn-codebuild-project-projectfilesystemlocation-type"
4134 },
4135 "remarks": "The one supported type is `EFS` .",
4136 "stability": "external",
4137 "summary": "The type of the file system."
4138 },
4139 "immutable": true,
4140 "locationInModule": {
4141 "filename": "lib/codebuild.generated.ts",
4142 "line": 1747
4143 },
4144 "name": "type",
4145 "type": {
4146 "primitive": "string"
4147 }
4148 },
4149 {
4150 "abstract": true,
4151 "docs": {
4152 "custom": {
4153 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectfilesystemlocation.html#cfn-codebuild-project-projectfilesystemlocation-mountoptions"
4154 },
4155 "remarks": "The default mount options used by CodeBuild are `nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2` . For more information, see [Recommended NFS Mount Options](https://docs.aws.amazon.com/efs/latest/ug/mounting-fs-nfs-mount-settings.html) .",
4156 "stability": "external",
4157 "summary": "The mount options for a file system created by Amazon EFS."
4158 },
4159 "immutable": true,
4160 "locationInModule": {
4161 "filename": "lib/codebuild.generated.ts",
4162 "line": 1735
4163 },
4164 "name": "mountOptions",
4165 "optional": true,
4166 "type": {
4167 "primitive": "string"
4168 }
4169 }
4170 ],
4171 "symbolId": "lib/codebuild.generated:CfnProject.ProjectFileSystemLocationProperty"
4172 },
4173 "@aws-cdk/aws-codebuild.CfnProject.ProjectSourceVersionProperty": {
4174 "assembly": "@aws-cdk/aws-codebuild",
4175 "datatype": true,
4176 "docs": {
4177 "custom": {
4178 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectsourceversion.html",
4179 "exampleMetadata": "fixture=_generated"
4180 },
4181 "stability": "external",
4182 "summary": "A source identifier and its corresponding version.",
4183 "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 projectSourceVersionProperty: codebuild.CfnProject.ProjectSourceVersionProperty = {\n sourceIdentifier: 'sourceIdentifier',\n\n // the properties below are optional\n sourceVersion: 'sourceVersion',\n};"
4184 },
4185 "fqn": "@aws-cdk/aws-codebuild.CfnProject.ProjectSourceVersionProperty",
4186 "kind": "interface",
4187 "locationInModule": {
4188 "filename": "lib/codebuild.generated.ts",
4189 "line": 1824
4190 },
4191 "name": "ProjectSourceVersionProperty",
4192 "namespace": "CfnProject",
4193 "properties": [
4194 {
4195 "abstract": true,
4196 "docs": {
4197 "custom": {
4198 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectsourceversion.html#cfn-codebuild-project-projectsourceversion-sourceidentifier"
4199 },
4200 "remarks": "The identifier can only contain alphanumeric characters and underscores, and must be less than 128 characters in length.",
4201 "stability": "external",
4202 "summary": "An identifier for a source in the build project."
4203 },
4204 "immutable": true,
4205 "locationInModule": {
4206 "filename": "lib/codebuild.generated.ts",
4207 "line": 1830
4208 },
4209 "name": "sourceIdentifier",
4210 "type": {
4211 "primitive": "string"
4212 }
4213 },
4214 {
4215 "abstract": true,
4216 "docs": {
4217 "custom": {
4218 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectsourceversion.html#cfn-codebuild-project-projectsourceversion-sourceversion"
4219 },
4220 "remarks": "- For CodeCommit: the commit ID, branch, or Git tag to use.\n- For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a pull request ID is specified, it must use the format `pr/pull-request-ID` (for example, `pr/25` ). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.\n- For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.\n- For Amazon S3: the version ID of the object that represents the build input ZIP file to use.\n\nFor more information, see [Source Version Sample with CodeBuild](https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html) in the *AWS CodeBuild User Guide* .",
4221 "stability": "external",
4222 "summary": "The source version for the corresponding source identifier. If specified, must be one of:."
4223 },
4224 "immutable": true,
4225 "locationInModule": {
4226 "filename": "lib/codebuild.generated.ts",
4227 "line": 1843
4228 },
4229 "name": "sourceVersion",
4230 "optional": true,
4231 "type": {
4232 "primitive": "string"
4233 }
4234 }
4235 ],
4236 "symbolId": "lib/codebuild.generated:CfnProject.ProjectSourceVersionProperty"
4237 },
4238 "@aws-cdk/aws-codebuild.CfnProject.ProjectTriggersProperty": {
4239 "assembly": "@aws-cdk/aws-codebuild",
4240 "datatype": true,
4241 "docs": {
4242 "custom": {
4243 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projecttriggers.html",
4244 "exampleMetadata": "fixture=_generated"
4245 },
4246 "stability": "external",
4247 "summary": "`ProjectTriggers` is a property of the [AWS CodeBuild Project](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html) resource that specifies webhooks that trigger an AWS CodeBuild build.",
4248 "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 projectTriggersProperty: codebuild.CfnProject.ProjectTriggersProperty = {\n buildType: 'buildType',\n filterGroups: [[{\n pattern: 'pattern',\n type: 'type',\n\n // the properties below are optional\n excludeMatchedPattern: false,\n }]],\n webhook: false,\n};"
4249 },
4250 "fqn": "@aws-cdk/aws-codebuild.CfnProject.ProjectTriggersProperty",
4251 "kind": "interface",
4252 "locationInModule": {
4253 "filename": "lib/codebuild.generated.ts",
4254 "line": 1908
4255 },
4256 "name": "ProjectTriggersProperty",
4257 "namespace": "CfnProject",
4258 "properties": [
4259 {
4260 "abstract": true,
4261 "docs": {
4262 "custom": {
4263 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projecttriggers.html#cfn-codebuild-project-projecttriggers-buildtype"
4264 },
4265 "remarks": "- **BUILD** - A single build\n- **BUILD_BATCH** - A batch build",
4266 "stability": "external",
4267 "summary": "Specifies the type of build this webhook will trigger. Allowed values are:."
4268 },
4269 "immutable": true,
4270 "locationInModule": {
4271 "filename": "lib/codebuild.generated.ts",
4272 "line": 1917
4273 },
4274 "name": "buildType",
4275 "optional": true,
4276 "type": {
4277 "primitive": "string"
4278 }
4279 },
4280 {
4281 "abstract": true,
4282 "docs": {
4283 "custom": {
4284 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projecttriggers.html#cfn-codebuild-project-projecttriggers-filtergroups"
4285 },
4286 "remarks": "At least one `WebhookFilter` in the array must specify `EVENT` as its type.",
4287 "stability": "external",
4288 "summary": "A list of lists of `WebhookFilter` objects used to determine which webhook events are triggered."
4289 },
4290 "immutable": true,
4291 "locationInModule": {
4292 "filename": "lib/codebuild.generated.ts",
4293 "line": 1923
4294 },
4295 "name": "filterGroups",
4296 "optional": true,
4297 "type": {
4298 "union": {
4299 "types": [
4300 {
4301 "fqn": "@aws-cdk/core.IResolvable"
4302 },
4303 {
4304 "collection": {
4305 "elementtype": {
4306 "union": {
4307 "types": [
4308 {
4309 "fqn": "@aws-cdk/core.IResolvable"
4310 },
4311 {
4312 "collection": {
4313 "elementtype": {
4314 "union": {
4315 "types": [
4316 {
4317 "fqn": "@aws-cdk/aws-codebuild.CfnProject.WebhookFilterProperty"
4318 },
4319 {
4320 "fqn": "@aws-cdk/core.IResolvable"
4321 }
4322 ]
4323 }
4324 },
4325 "kind": "array"
4326 }
4327 }
4328 ]
4329 }
4330 },
4331 "kind": "array"
4332 }
4333 }
4334 ]
4335 }
4336 }
4337 },
4338 {
4339 "abstract": true,
4340 "docs": {
4341 "custom": {
4342 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projecttriggers.html#cfn-codebuild-project-projecttriggers-webhook"
4343 },
4344 "stability": "external",
4345 "summary": "Specifies whether or not to begin automatically rebuilding the source code every time a code change is pushed to the repository."
4346 },
4347 "immutable": true,
4348 "locationInModule": {
4349 "filename": "lib/codebuild.generated.ts",
4350 "line": 1929
4351 },
4352 "name": "webhook",
4353 "optional": true,
4354 "type": {
4355 "union": {
4356 "types": [
4357 {
4358 "primitive": "boolean"
4359 },
4360 {
4361 "fqn": "@aws-cdk/core.IResolvable"
4362 }
4363 ]
4364 }
4365 }
4366 }
4367 ],
4368 "symbolId": "lib/codebuild.generated:CfnProject.ProjectTriggersProperty"
4369 },
4370 "@aws-cdk/aws-codebuild.CfnProject.RegistryCredentialProperty": {
4371 "assembly": "@aws-cdk/aws-codebuild",
4372 "datatype": true,
4373 "docs": {
4374 "custom": {
4375 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-registrycredential.html",
4376 "exampleMetadata": "fixture=_generated"
4377 },
4378 "remarks": "- `imagePullCredentialsType` must be set to `SERVICE_ROLE` .\n- images cannot be curated or an Amazon ECR image.\n\nFor more information, see [Private Registry with AWS Secrets Manager Sample for AWS CodeBuild](https://docs.aws.amazon.com/codebuild/latest/userguide/sample-private-registry.html) .",
4379 "stability": "external",
4380 "summary": "`RegistryCredential` is a property of the [AWS CodeBuild Project Environment](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environment.html) property type that specifies information about credentials that provide access to a private Docker registry. When this is set:.",
4381 "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 registryCredentialProperty: codebuild.CfnProject.RegistryCredentialProperty = {\n credential: 'credential',\n credentialProvider: 'credentialProvider',\n};"
4382 },
4383 "fqn": "@aws-cdk/aws-codebuild.CfnProject.RegistryCredentialProperty",
4384 "kind": "interface",
4385 "locationInModule": {
4386 "filename": "lib/codebuild.generated.ts",
4387 "line": 2001
4388 },
4389 "name": "RegistryCredentialProperty",
4390 "namespace": "CfnProject",
4391 "properties": [
4392 {
4393 "abstract": true,
4394 "docs": {
4395 "custom": {
4396 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-registrycredential.html#cfn-codebuild-project-registrycredential-credential"
4397 },
4398 "remarks": "> The `credential` can use the name of the credentials only if they exist in your current AWS Region .",
4399 "stability": "external",
4400 "summary": "The Amazon Resource Name (ARN) or name of credentials created using AWS Secrets Manager ."
4401 },
4402 "immutable": true,
4403 "locationInModule": {
4404 "filename": "lib/codebuild.generated.ts",
4405 "line": 2009
4406 },
4407 "name": "credential",
4408 "type": {
4409 "primitive": "string"
4410 }
4411 },
4412 {
4413 "abstract": true,
4414 "docs": {
4415 "custom": {
4416 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-registrycredential.html#cfn-codebuild-project-registrycredential-credentialprovider"
4417 },
4418 "remarks": "The valid value, SECRETS_MANAGER, is for AWS Secrets Manager .",
4419 "stability": "external",
4420 "summary": "The service that created the credentials to access a private Docker registry."
4421 },
4422 "immutable": true,
4423 "locationInModule": {
4424 "filename": "lib/codebuild.generated.ts",
4425 "line": 2015
4426 },
4427 "name": "credentialProvider",
4428 "type": {
4429 "primitive": "string"
4430 }
4431 }
4432 ],
4433 "symbolId": "lib/codebuild.generated:CfnProject.RegistryCredentialProperty"
4434 },
4435 "@aws-cdk/aws-codebuild.CfnProject.S3LogsConfigProperty": {
4436 "assembly": "@aws-cdk/aws-codebuild",
4437 "datatype": true,
4438 "docs": {
4439 "custom": {
4440 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-s3logsconfig.html",
4441 "exampleMetadata": "fixture=_generated"
4442 },
4443 "stability": "external",
4444 "summary": "`S3Logs` is a property of the [AWS CodeBuild Project LogsConfig](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-logsconfig.html) property type that specifies settings for logs generated by an AWS CodeBuild build in an S3 bucket.",
4445 "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 s3LogsConfigProperty: codebuild.CfnProject.S3LogsConfigProperty = {\n status: 'status',\n\n // the properties below are optional\n encryptionDisabled: false,\n location: 'location',\n};"
4446 },
4447 "fqn": "@aws-cdk/aws-codebuild.CfnProject.S3LogsConfigProperty",
4448 "kind": "interface",
4449 "locationInModule": {
4450 "filename": "lib/codebuild.generated.ts",
4451 "line": 2081
4452 },
4453 "name": "S3LogsConfigProperty",
4454 "namespace": "CfnProject",
4455 "properties": [
4456 {
4457 "abstract": true,
4458 "docs": {
4459 "custom": {
4460 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-s3logsconfig.html#cfn-codebuild-project-s3logsconfig-status"
4461 },
4462 "remarks": "- `ENABLED` : S3 build logs are enabled for this build project.\n- `DISABLED` : S3 build logs are not enabled for this build project.",
4463 "stability": "external",
4464 "summary": "The current status of the S3 build logs. Valid values are:."
4465 },
4466 "immutable": true,
4467 "locationInModule": {
4468 "filename": "lib/codebuild.generated.ts",
4469 "line": 2102
4470 },
4471 "name": "status",
4472 "type": {
4473 "primitive": "string"
4474 }
4475 },
4476 {
4477 "abstract": true,
4478 "docs": {
4479 "custom": {
4480 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-s3logsconfig.html#cfn-codebuild-project-s3logsconfig-encryptiondisabled"
4481 },
4482 "remarks": "By default S3 build logs are encrypted.",
4483 "stability": "external",
4484 "summary": "Set to true if you do not want your S3 build log output encrypted."
4485 },
4486 "immutable": true,
4487 "locationInModule": {
4488 "filename": "lib/codebuild.generated.ts",
4489 "line": 2087
4490 },
4491 "name": "encryptionDisabled",
4492 "optional": true,
4493 "type": {
4494 "union": {
4495 "types": [
4496 {
4497 "primitive": "boolean"
4498 },
4499 {
4500 "fqn": "@aws-cdk/core.IResolvable"
4501 }
4502 ]
4503 }
4504 }
4505 },
4506 {
4507 "abstract": true,
4508 "docs": {
4509 "custom": {
4510 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-s3logsconfig.html#cfn-codebuild-project-s3logsconfig-location"
4511 },
4512 "remarks": "If your Amazon S3 bucket name is `my-bucket` , and your path prefix is `build-log` , then acceptable formats are `my-bucket/build-log` or `arn:aws:s3:::my-bucket/build-log` .",
4513 "stability": "external",
4514 "summary": "The ARN of an S3 bucket and the path prefix for S3 logs."
4515 },
4516 "immutable": true,
4517 "locationInModule": {
4518 "filename": "lib/codebuild.generated.ts",
4519 "line": 2093
4520 },
4521 "name": "location",
4522 "optional": true,
4523 "type": {
4524 "primitive": "string"
4525 }
4526 }
4527 ],
4528 "symbolId": "lib/codebuild.generated:CfnProject.S3LogsConfigProperty"
4529 },
4530 "@aws-cdk/aws-codebuild.CfnProject.SourceAuthProperty": {
4531 "assembly": "@aws-cdk/aws-codebuild",
4532 "datatype": true,
4533 "docs": {
4534 "custom": {
4535 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-sourceauth.html",
4536 "exampleMetadata": "fixture=_generated"
4537 },
4538 "remarks": "`SourceAuth` is for use by the CodeBuild console only. Do not get or set it directly.",
4539 "stability": "external",
4540 "summary": "`SourceAuth` is a property of the [AWS CodeBuild Project Source](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-source.html) property type that specifies authorization settings for AWS CodeBuild to access the source code to be built.",
4541 "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 sourceAuthProperty: codebuild.CfnProject.SourceAuthProperty = {\n type: 'type',\n\n // the properties below are optional\n resource: 'resource',\n};"
4542 },
4543 "fqn": "@aws-cdk/aws-codebuild.CfnProject.SourceAuthProperty",
4544 "kind": "interface",
4545 "locationInModule": {
4546 "filename": "lib/codebuild.generated.ts",
4547 "line": 2342
4548 },
4549 "name": "SourceAuthProperty",
4550 "namespace": "CfnProject",
4551 "properties": [
4552 {
4553 "abstract": true,
4554 "docs": {
4555 "custom": {
4556 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-sourceauth.html#cfn-codebuild-project-sourceauth-type"
4557 },
4558 "remarks": "> This data type is used by the AWS CodeBuild console only.",
4559 "stability": "external",
4560 "summary": "The authorization type to use. The only valid value is `OAUTH` , which represents the OAuth authorization type."
4561 },
4562 "immutable": true,
4563 "locationInModule": {
4564 "filename": "lib/codebuild.generated.ts",
4565 "line": 2358
4566 },
4567 "name": "type",
4568 "type": {
4569 "primitive": "string"
4570 }
4571 },
4572 {
4573 "abstract": true,
4574 "docs": {
4575 "custom": {
4576 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-sourceauth.html#cfn-codebuild-project-sourceauth-resource"
4577 },
4578 "remarks": "> This data type is used by the AWS CodeBuild console only.",
4579 "stability": "external",
4580 "summary": "The resource value that applies to the specified authorization type."
4581 },
4582 "immutable": true,
4583 "locationInModule": {
4584 "filename": "lib/codebuild.generated.ts",
4585 "line": 2350
4586 },
4587 "name": "resource",
4588 "optional": true,
4589 "type": {
4590 "primitive": "string"
4591 }
4592 }
4593 ],
4594 "symbolId": "lib/codebuild.generated:CfnProject.SourceAuthProperty"
4595 },
4596 "@aws-cdk/aws-codebuild.CfnProject.SourceProperty": {
4597 "assembly": "@aws-cdk/aws-codebuild",
4598 "datatype": true,
4599 "docs": {
4600 "custom": {
4601 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-source.html",
4602 "exampleMetadata": "fixture=_generated"
4603 },
4604 "stability": "external",
4605 "summary": "`Source` is a property of the [AWS::CodeBuild::Project](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html) resource that specifies the source code settings for the project, such as the source code's repository type and location.",
4606 "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 sourceProperty: codebuild.CfnProject.SourceProperty = {\n type: 'type',\n\n // the properties below are optional\n auth: {\n type: 'type',\n\n // the properties below are optional\n resource: 'resource',\n },\n buildSpec: 'buildSpec',\n buildStatusConfig: {\n context: 'context',\n targetUrl: 'targetUrl',\n },\n gitCloneDepth: 123,\n gitSubmodulesConfig: {\n fetchSubmodules: false,\n },\n insecureSsl: false,\n location: 'location',\n reportBuildStatus: false,\n sourceIdentifier: 'sourceIdentifier',\n};"
4607 },
4608 "fqn": "@aws-cdk/aws-codebuild.CfnProject.SourceProperty",
4609 "kind": "interface",
4610 "locationInModule": {
4611 "filename": "lib/codebuild.generated.ts",
4612 "line": 2170
4613 },
4614 "name": "SourceProperty",
4615 "namespace": "CfnProject",
4616 "properties": [
4617 {
4618 "abstract": true,
4619 "docs": {
4620 "custom": {
4621 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-source.html#cfn-codebuild-project-source-type"
4622 },
4623 "remarks": "- `BITBUCKET` : The source code is in a Bitbucket repository.\n- `CODECOMMIT` : The source code is in an CodeCommit repository.\n- `CODEPIPELINE` : The source code settings are specified in the source action of a pipeline in CodePipeline.\n- `GITHUB` : The source code is in a GitHub or GitHub Enterprise Cloud repository.\n- `GITHUB_ENTERPRISE` : The source code is in a GitHub Enterprise Server repository.\n- `NO_SOURCE` : The project does not have input source code.\n- `S3` : The source code is in an Amazon S3 bucket.",
4624 "stability": "external",
4625 "summary": "The type of repository that contains the source code to be built. Valid values include:."
4626 },
4627 "immutable": true,
4628 "locationInModule": {
4629 "filename": "lib/codebuild.generated.ts",
4630 "line": 2251
4631 },
4632 "name": "type",
4633 "type": {
4634 "primitive": "string"
4635 }
4636 },
4637 {
4638 "abstract": true,
4639 "docs": {
4640 "custom": {
4641 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-source.html#cfn-codebuild-project-source-auth"
4642 },
4643 "remarks": "This information is for the AWS CodeBuild console's use only. Your code should not get or set `Auth` directly.",
4644 "stability": "external",
4645 "summary": "Information about the authorization settings for AWS CodeBuild to access the source code to be built."
4646 },
4647 "immutable": true,
4648 "locationInModule": {
4649 "filename": "lib/codebuild.generated.ts",
4650 "line": 2178
4651 },
4652 "name": "auth",
4653 "optional": true,
4654 "type": {
4655 "union": {
4656 "types": [
4657 {
4658 "fqn": "@aws-cdk/core.IResolvable"
4659 },
4660 {
4661 "fqn": "@aws-cdk/aws-codebuild.CfnProject.SourceAuthProperty"
4662 }
4663 ]
4664 }
4665 }
4666 },
4667 {
4668 "abstract": true,
4669 "docs": {
4670 "custom": {
4671 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-source.html#cfn-codebuild-project-source-buildspec"
4672 },
4673 "remarks": "If this value is not provided, then the source code must contain a buildspec file named `buildspec.yml` at the root level. If this value is provided, it can be either a single string containing the entire build specification, or the path to an alternate buildspec file relative to the value of the built-in environment variable `CODEBUILD_SRC_DIR` . The alternate buildspec file can have a name other than `buildspec.yml` , for example `myspec.yml` or `build_spec_qa.yml` or similar. For more information, see the [Build Spec Reference](https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec-ref-example) in the *AWS CodeBuild User Guide* .",
4674 "stability": "external",
4675 "summary": "The build specification for the project."
4676 },
4677 "immutable": true,
4678 "locationInModule": {
4679 "filename": "lib/codebuild.generated.ts",
4680 "line": 2184
4681 },
4682 "name": "buildSpec",
4683 "optional": true,
4684 "type": {
4685 "primitive": "string"
4686 }
4687 },
4688 {
4689 "abstract": true,
4690 "docs": {
4691 "custom": {
4692 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-source.html#cfn-codebuild-project-source-buildstatusconfig"
4693 },
4694 "remarks": "This option is only used when the source provider is `GITHUB` , `GITHUB_ENTERPRISE` , or `BITBUCKET` .",
4695 "stability": "external",
4696 "summary": "Contains information that defines how the build project reports the build status to the source provider."
4697 },
4698 "immutable": true,
4699 "locationInModule": {
4700 "filename": "lib/codebuild.generated.ts",
4701 "line": 2190
4702 },
4703 "name": "buildStatusConfig",
4704 "optional": true,
4705 "type": {
4706 "union": {
4707 "types": [
4708 {
4709 "fqn": "@aws-cdk/core.IResolvable"
4710 },
4711 {
4712 "fqn": "@aws-cdk/aws-codebuild.CfnProject.BuildStatusConfigProperty"
4713 }
4714 ]
4715 }
4716 }
4717 },
4718 {
4719 "abstract": true,
4720 "docs": {
4721 "custom": {
4722 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-source.html#cfn-codebuild-project-source-gitclonedepth"
4723 },
4724 "remarks": "Minimum value is 0. If this value is 0, greater than 25, or not provided, then the full history is downloaded with each build project. If your source type is Amazon S3, this value is not supported.",
4725 "stability": "external",
4726 "summary": "The depth of history to download."
4727 },
4728 "immutable": true,
4729 "locationInModule": {
4730 "filename": "lib/codebuild.generated.ts",
4731 "line": 2196
4732 },
4733 "name": "gitCloneDepth",
4734 "optional": true,
4735 "type": {
4736 "primitive": "number"
4737 }
4738 },
4739 {
4740 "abstract": true,
4741 "docs": {
4742 "custom": {
4743 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-source.html#cfn-codebuild-project-source-gitsubmodulesconfig"
4744 },
4745 "stability": "external",
4746 "summary": "Information about the Git submodules configuration for the build project."
4747 },
4748 "immutable": true,
4749 "locationInModule": {
4750 "filename": "lib/codebuild.generated.ts",
4751 "line": 2202
4752 },
4753 "name": "gitSubmodulesConfig",
4754 "optional": true,
4755 "type": {
4756 "union": {
4757 "types": [
4758 {
4759 "fqn": "@aws-cdk/core.IResolvable"
4760 },
4761 {
4762 "fqn": "@aws-cdk/aws-codebuild.CfnProject.GitSubmodulesConfigProperty"
4763 }
4764 ]
4765 }
4766 }
4767 },
4768 {
4769 "abstract": true,
4770 "docs": {
4771 "custom": {
4772 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-source.html#cfn-codebuild-project-source-insecuressl"
4773 },
4774 "remarks": "Set to true to ignore SSL warnings while connecting to your GitHub Enterprise project repository. The default value is `false` . `InsecureSsl` should be used for testing purposes only. It should not be used in a production environment.",
4775 "stability": "external",
4776 "summary": "This is used with GitHub Enterprise only."
4777 },
4778 "immutable": true,
4779 "locationInModule": {
4780 "filename": "lib/codebuild.generated.ts",
4781 "line": 2208
4782 },
4783 "name": "insecureSsl",
4784 "optional": true,
4785 "type": {
4786 "union": {
4787 "types": [
4788 {
4789 "primitive": "boolean"
4790 },
4791 {
4792 "fqn": "@aws-cdk/core.IResolvable"
4793 }
4794 ]
4795 }
4796 }
4797 },
4798 {
4799 "abstract": true,
4800 "docs": {
4801 "custom": {
4802 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-source.html#cfn-codebuild-project-source-location"
4803 },
4804 "remarks": "- For source code settings that are specified in the source action of a pipeline in CodePipeline, `location` should not be specified. If it is specified, CodePipeline ignores it. This is because CodePipeline uses the settings in a pipeline's source action instead of this value.\n- For source code in an CodeCommit repository, the HTTPS clone URL to the repository that contains the source code and the buildspec file (for example, `https://git-codecommit.<region-ID>.amazonaws.com/v1/repos/<repo-name>` ).\n- For source code in an Amazon S3 input bucket, one of the following.\n\n- The path to the ZIP file that contains the source code (for example, `<bucket-name>/<path>/<object-name>.zip` ).\n- The path to the folder that contains the source code (for example, `<bucket-name>/<path-to-source-code>/<folder>/` ).\n- For source code in a GitHub repository, the HTTPS clone URL to the repository that contains the source and the buildspec file. You must connect your AWS account to your GitHub account. Use the AWS CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with GitHub, on the GitHub *Authorize application* page, for *Organization access* , choose *Request access* next to each repository you want to allow AWS CodeBuild to have access to, and then choose *Authorize application* . (After you have connected to your GitHub account, you do not need to finish creating the build project. You can leave the AWS CodeBuild console.) To instruct AWS CodeBuild to use this connection, in the `source` object, set the `auth` object's `type` value to `OAUTH` .\n- For source code in a Bitbucket repository, the HTTPS clone URL to the repository that contains the source and the buildspec file. You must connect your AWS account to your Bitbucket account. Use the AWS CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with Bitbucket, on the Bitbucket *Confirm access to your account* page, choose *Grant access* . (After you have connected to your Bitbucket account, you do not need to finish creating the build project. You can leave the AWS CodeBuild console.) To instruct AWS CodeBuild to use this connection, in the `source` object, set the `auth` object's `type` value to `OAUTH` .\n\nIf you specify `CODEPIPELINE` for the `Type` property, don't specify this property. For all of the other types, you must specify `Location` .",
4805 "stability": "external",
4806 "summary": "Information about the location of the source code to be built. Valid values include:."
4807 },
4808 "immutable": true,
4809 "locationInModule": {
4810 "filename": "lib/codebuild.generated.ts",
4811 "line": 2225
4812 },
4813 "name": "location",
4814 "optional": true,
4815 "type": {
4816 "primitive": "string"
4817 }
4818 },
4819 {
4820 "abstract": true,
4821 "docs": {
4822 "custom": {
4823 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-source.html#cfn-codebuild-project-source-reportbuildstatus"
4824 },
4825 "remarks": "This option is valid only when your source provider is GitHub, GitHub Enterprise, or Bitbucket. If this is set and you use a different source provider, an `invalidInputException` is thrown.",
4826 "stability": "external",
4827 "summary": "Set to true to report the status of a build's start and finish to your source provider."
4828 },
4829 "immutable": true,
4830 "locationInModule": {
4831 "filename": "lib/codebuild.generated.ts",
4832 "line": 2231
4833 },
4834 "name": "reportBuildStatus",
4835 "optional": true,
4836 "type": {
4837 "union": {
4838 "types": [
4839 {
4840 "primitive": "boolean"
4841 },
4842 {
4843 "fqn": "@aws-cdk/core.IResolvable"
4844 }
4845 ]
4846 }
4847 }
4848 },
4849 {
4850 "abstract": true,
4851 "docs": {
4852 "custom": {
4853 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-source.html#cfn-codebuild-project-source-sourceidentifier"
4854 },
4855 "remarks": "The identifier can only contain alphanumeric characters and underscores, and must be less than 128 characters in length.",
4856 "stability": "external",
4857 "summary": "An identifier for this project source."
4858 },
4859 "immutable": true,
4860 "locationInModule": {
4861 "filename": "lib/codebuild.generated.ts",
4862 "line": 2237
4863 },
4864 "name": "sourceIdentifier",
4865 "optional": true,
4866 "type": {
4867 "primitive": "string"
4868 }
4869 }
4870 ],
4871 "symbolId": "lib/codebuild.generated:CfnProject.SourceProperty"
4872 },
4873 "@aws-cdk/aws-codebuild.CfnProject.VpcConfigProperty": {
4874 "assembly": "@aws-cdk/aws-codebuild",
4875 "datatype": true,
4876 "docs": {
4877 "custom": {
4878 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-vpcconfig.html",
4879 "exampleMetadata": "fixture=_generated"
4880 },
4881 "stability": "external",
4882 "summary": "`VpcConfig` is a property of the [AWS::CodeBuild::Project](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html) resource that enable AWS CodeBuild to access resources in an Amazon VPC. For more information, see [Use AWS CodeBuild with Amazon Virtual Private Cloud](https://docs.aws.amazon.com/codebuild/latest/userguide/vpc-support.html) in the *AWS CodeBuild User Guide* .",
4883 "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 vpcConfigProperty: codebuild.CfnProject.VpcConfigProperty = {\n securityGroupIds: ['securityGroupIds'],\n subnets: ['subnets'],\n vpcId: 'vpcId',\n};"
4884 },
4885 "fqn": "@aws-cdk/aws-codebuild.CfnProject.VpcConfigProperty",
4886 "kind": "interface",
4887 "locationInModule": {
4888 "filename": "lib/codebuild.generated.ts",
4889 "line": 2423
4890 },
4891 "name": "VpcConfigProperty",
4892 "namespace": "CfnProject",
4893 "properties": [
4894 {
4895 "abstract": true,
4896 "docs": {
4897 "custom": {
4898 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-vpcconfig.html#cfn-codebuild-project-vpcconfig-securitygroupids"
4899 },
4900 "remarks": "The maximum count is 5.",
4901 "stability": "external",
4902 "summary": "A list of one or more security groups IDs in your Amazon VPC."
4903 },
4904 "immutable": true,
4905 "locationInModule": {
4906 "filename": "lib/codebuild.generated.ts",
4907 "line": 2429
4908 },
4909 "name": "securityGroupIds",
4910 "optional": true,
4911 "type": {
4912 "collection": {
4913 "elementtype": {
4914 "primitive": "string"
4915 },
4916 "kind": "array"
4917 }
4918 }
4919 },
4920 {
4921 "abstract": true,
4922 "docs": {
4923 "custom": {
4924 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-vpcconfig.html#cfn-codebuild-project-vpcconfig-subnets"
4925 },
4926 "remarks": "The maximum count is 16.",
4927 "stability": "external",
4928 "summary": "A list of one or more subnet IDs in your Amazon VPC."
4929 },
4930 "immutable": true,
4931 "locationInModule": {
4932 "filename": "lib/codebuild.generated.ts",
4933 "line": 2435
4934 },
4935 "name": "subnets",
4936 "optional": true,
4937 "type": {
4938 "collection": {
4939 "elementtype": {
4940 "primitive": "string"
4941 },
4942 "kind": "array"
4943 }
4944 }
4945 },
4946 {
4947 "abstract": true,
4948 "docs": {
4949 "custom": {
4950 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-vpcconfig.html#cfn-codebuild-project-vpcconfig-vpcid"
4951 },
4952 "stability": "external",
4953 "summary": "The ID of the Amazon VPC."
4954 },
4955 "immutable": true,
4956 "locationInModule": {
4957 "filename": "lib/codebuild.generated.ts",
4958 "line": 2441
4959 },
4960 "name": "vpcId",
4961 "optional": true,
4962 "type": {
4963 "primitive": "string"
4964 }
4965 }
4966 ],
4967 "symbolId": "lib/codebuild.generated:CfnProject.VpcConfigProperty"
4968 },
4969 "@aws-cdk/aws-codebuild.CfnProject.WebhookFilterProperty": {
4970 "assembly": "@aws-cdk/aws-codebuild",
4971 "datatype": true,
4972 "docs": {
4973 "custom": {
4974 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-webhookfilter.html",
4975 "exampleMetadata": "fixture=_generated"
4976 },
4977 "stability": "external",
4978 "summary": "`WebhookFilter` is a structure of the `FilterGroups` property on the [AWS CodeBuild Project ProjectTriggers](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projecttriggers.html) property type that specifies which webhooks trigger an AWS CodeBuild build.",
4979 "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 webhookFilterProperty: codebuild.CfnProject.WebhookFilterProperty = {\n pattern: 'pattern',\n type: 'type',\n\n // the properties below are optional\n excludeMatchedPattern: false,\n};"
4980 },
4981 "fqn": "@aws-cdk/aws-codebuild.CfnProject.WebhookFilterProperty",
4982 "kind": "interface",
4983 "locationInModule": {
4984 "filename": "lib/codebuild.generated.ts",
4985 "line": 2508
4986 },
4987 "name": "WebhookFilterProperty",
4988 "namespace": "CfnProject",
4989 "properties": [
4990 {
4991 "abstract": true,
4992 "docs": {
4993 "custom": {
4994 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-webhookfilter.html#cfn-codebuild-project-webhookfilter-pattern"
4995 },
4996 "remarks": "For example, the webhook filter `PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED` allows all push, pull request created, and pull request updated events to trigger a build.\n\nFor a `WebHookFilter` that uses any of the other filter types, a regular expression pattern. For example, a `WebHookFilter` that uses `HEAD_REF` for its `type` and the pattern `^refs/heads/` triggers a build when the head reference is a branch with a reference name `refs/heads/branch-name` .",
4997 "stability": "external",
4998 "summary": "For a `WebHookFilter` that uses `EVENT` type, a comma-separated string that specifies one or more events."
4999 },
5000 "immutable": true,
5001 "locationInModule": {
5002 "filename": "lib/codebuild.generated.ts",
5003 "line": 2522
5004 },
5005 "name": "pattern",
5006 "type": {
5007 "primitive": "string"
5008 }
5009 },
5010 {
5011 "abstract": true,
5012 "docs": {
5013 "custom": {
5014 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-webhookfilter.html#cfn-codebuild-project-webhookfilter-type"
5015 },
5016 "remarks": "There are six webhook filter types: `EVENT` , `ACTOR_ACCOUNT_ID` , `HEAD_REF` , `BASE_REF` , `FILE_PATH` , and `COMMIT_MESSAGE` .\n\n- **EVENT** - A webhook event triggers a build when the provided `pattern` matches one of five event types: `PUSH` , `PULL_REQUEST_CREATED` , `PULL_REQUEST_UPDATED` , `PULL_REQUEST_REOPENED` , and `PULL_REQUEST_MERGED` . The `EVENT` patterns are specified as a comma-separated string. For example, `PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED` filters all push, pull request created, and pull request updated events.\n\n> The `PULL_REQUEST_REOPENED` works with GitHub and GitHub Enterprise only.\n- **ACTOR_ACCOUNT_ID** - A webhook event triggers a build when a GitHub, GitHub Enterprise, or Bitbucket account ID matches the regular expression `pattern` .\n- **HEAD_REF** - A webhook event triggers a build when the head reference matches the regular expression `pattern` . For example, `refs/heads/branch-name` and `refs/tags/tag-name` .\n\nWorks with GitHub and GitHub Enterprise push, GitHub and GitHub Enterprise pull request, Bitbucket push, and Bitbucket pull request events.\n- **BASE_REF** - A webhook event triggers a build when the base reference matches the regular expression `pattern` . For example, `refs/heads/branch-name` .\n\n> Works with pull request events only.\n- **FILE_PATH** - A webhook triggers a build when the path of a changed file matches the regular expression `pattern` .\n\n> Works with GitHub and Bitbucket events push and pull requests events. Also works with GitHub Enterprise push events, but does not work with GitHub Enterprise pull request events.\n- **COMMIT_MESSAGE** - A webhook triggers a build when the head commit message matches the regular expression `pattern` .\n\n> Works with GitHub and Bitbucket events push and pull requests events. Also works with GitHub Enterprise push events, but does not work with GitHub Enterprise pull request events.",
5017 "stability": "external",
5018 "summary": "The type of webhook filter."
5019 },
5020 "immutable": true,
5021 "locationInModule": {
5022 "filename": "lib/codebuild.generated.ts",
5023 "line": 2545
5024 },
5025 "name": "type",
5026 "type": {
5027 "primitive": "string"
5028 }
5029 },
5030 {
5031 "abstract": true,
5032 "docs": {
5033 "custom": {
5034 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-webhookfilter.html#cfn-codebuild-project-webhookfilter-excludematchedpattern"
5035 },
5036 "remarks": "If true, then a webhook event that does not match the `pattern` triggers a build. If false, then a webhook event that matches the `pattern` triggers a build.",
5037 "stability": "external",
5038 "summary": "Used to indicate that the `pattern` determines which webhook events do not trigger a build."
5039 },
5040 "immutable": true,
5041 "locationInModule": {
5042 "filename": "lib/codebuild.generated.ts",
5043 "line": 2514
5044 },
5045 "name": "excludeMatchedPattern",
5046 "optional": true,
5047 "type": {
5048 "union": {
5049 "types": [
5050 {
5051 "primitive": "boolean"
5052 },
5053 {
5054 "fqn": "@aws-cdk/core.IResolvable"
5055 }
5056 ]
5057 }
5058 }
5059 }
5060 ],
5061 "symbolId": "lib/codebuild.generated:CfnProject.WebhookFilterProperty"
5062 },
5063 "@aws-cdk/aws-codebuild.CfnProjectProps": {
5064 "assembly": "@aws-cdk/aws-codebuild",
5065 "datatype": true,
5066 "docs": {
5067 "custom": {
5068 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html",
5069 "exampleMetadata": "fixture=_generated"
5070 },
5071 "stability": "external",
5072 "summary": "Properties for defining a `CfnProject`.",
5073 "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 cfnProjectProps: codebuild.CfnProjectProps = {\n artifacts: {\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 environment: {\n computeType: 'computeType',\n image: 'image',\n type: 'type',\n\n // the properties below are optional\n certificate: 'certificate',\n environmentVariables: [{\n name: 'name',\n value: 'value',\n\n // the properties below are optional\n type: 'type',\n }],\n imagePullCredentialsType: 'imagePullCredentialsType',\n privilegedMode: false,\n registryCredential: {\n credential: 'credential',\n credentialProvider: 'credentialProvider',\n },\n },\n serviceRole: 'serviceRole',\n source: {\n type: 'type',\n\n // the properties below are optional\n auth: {\n type: 'type',\n\n // the properties below are optional\n resource: 'resource',\n },\n buildSpec: 'buildSpec',\n buildStatusConfig: {\n context: 'context',\n targetUrl: 'targetUrl',\n },\n gitCloneDepth: 123,\n gitSubmodulesConfig: {\n fetchSubmodules: false,\n },\n insecureSsl: false,\n location: 'location',\n reportBuildStatus: false,\n sourceIdentifier: 'sourceIdentifier',\n },\n\n // the properties below are optional\n badgeEnabled: false,\n buildBatchConfig: {\n batchReportMode: 'batchReportMode',\n combineArtifacts: false,\n restrictions: {\n computeTypesAllowed: ['computeTypesAllowed'],\n maximumBuildsAllowed: 123,\n },\n serviceRole: 'serviceRole',\n timeoutInMins: 123,\n },\n cache: {\n type: 'type',\n\n // the properties below are optional\n location: 'location',\n modes: ['modes'],\n },\n concurrentBuildLimit: 123,\n description: 'description',\n encryptionKey: 'encryptionKey',\n fileSystemLocations: [{\n identifier: 'identifier',\n location: 'location',\n mountPoint: 'mountPoint',\n type: 'type',\n\n // the properties below are optional\n mountOptions: 'mountOptions',\n }],\n logsConfig: {\n cloudWatchLogs: {\n status: 'status',\n\n // the properties below are optional\n groupName: 'groupName',\n streamName: 'streamName',\n },\n s3Logs: {\n status: 'status',\n\n // the properties below are optional\n encryptionDisabled: false,\n location: 'location',\n },\n },\n name: 'name',\n queuedTimeoutInMinutes: 123,\n resourceAccessRole: 'resourceAccessRole',\n secondaryArtifacts: [{\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 secondarySources: [{\n type: 'type',\n\n // the properties below are optional\n auth: {\n type: 'type',\n\n // the properties below are optional\n resource: 'resource',\n },\n buildSpec: 'buildSpec',\n buildStatusConfig: {\n context: 'context',\n targetUrl: 'targetUrl',\n },\n gitCloneDepth: 123,\n gitSubmodulesConfig: {\n fetchSubmodules: false,\n },\n insecureSsl: false,\n location: 'location',\n reportBuildStatus: false,\n sourceIdentifier: 'sourceIdentifier',\n }],\n secondarySourceVersions: [{\n sourceIdentifier: 'sourceIdentifier',\n\n // the properties below are optional\n sourceVersion: 'sourceVersion',\n }],\n sourceVersion: 'sourceVersion',\n tags: [{\n key: 'key',\n value: 'value',\n }],\n timeoutInMinutes: 123,\n triggers: {\n buildType: 'buildType',\n filterGroups: [[{\n pattern: 'pattern',\n type: 'type',\n\n // the properties below are optional\n excludeMatchedPattern: false,\n }]],\n webhook: false,\n },\n visibility: 'visibility',\n vpcConfig: {\n securityGroupIds: ['securityGroupIds'],\n subnets: ['subnets'],\n vpcId: 'vpcId',\n },\n};"
5074 },
5075 "fqn": "@aws-cdk/aws-codebuild.CfnProjectProps",
5076 "kind": "interface",
5077 "locationInModule": {
5078 "filename": "lib/codebuild.generated.ts",
5079 "line": 19
5080 },
5081 "name": "CfnProjectProps",
5082 "properties": [
5083 {
5084 "abstract": true,
5085 "docs": {
5086 "custom": {
5087 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-artifacts"
5088 },
5089 "stability": "external",
5090 "summary": "`Artifacts` is a property of the [AWS::CodeBuild::Project](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html) resource that specifies output settings for artifacts generated by an AWS CodeBuild build."
5091 },
5092 "immutable": true,
5093 "locationInModule": {
5094 "filename": "lib/codebuild.generated.ts",
5095 "line": 26
5096 },
5097 "name": "artifacts",
5098 "type": {
5099 "union": {
5100 "types": [
5101 {
5102 "fqn": "@aws-cdk/core.IResolvable"
5103 },
5104 {
5105 "fqn": "@aws-cdk/aws-codebuild.CfnProject.ArtifactsProperty"
5106 }
5107 ]
5108 }
5109 }
5110 },
5111 {
5112 "abstract": true,
5113 "docs": {
5114 "custom": {
5115 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-environment"
5116 },
5117 "stability": "external",
5118 "summary": "The build environment settings for the project, such as the environment type or the environment variables to use for the build environment."
5119 },
5120 "immutable": true,
5121 "locationInModule": {
5122 "filename": "lib/codebuild.generated.ts",
5123 "line": 33
5124 },
5125 "name": "environment",
5126 "type": {
5127 "union": {
5128 "types": [
5129 {
5130 "fqn": "@aws-cdk/core.IResolvable"
5131 },
5132 {
5133 "fqn": "@aws-cdk/aws-codebuild.CfnProject.EnvironmentProperty"
5134 }
5135 ]
5136 }
5137 }
5138 },
5139 {
5140 "abstract": true,
5141 "docs": {
5142 "custom": {
5143 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-servicerole"
5144 },
5145 "stability": "external",
5146 "summary": "The ARN of the IAM role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account."
5147 },
5148 "immutable": true,
5149 "locationInModule": {
5150 "filename": "lib/codebuild.generated.ts",
5151 "line": 40
5152 },
5153 "name": "serviceRole",
5154 "type": {
5155 "primitive": "string"
5156 }
5157 },
5158 {
5159 "abstract": true,
5160 "docs": {
5161 "custom": {
5162 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-source"
5163 },
5164 "stability": "external",
5165 "summary": "The source code settings for the project, such as the source code's repository type and location."
5166 },
5167 "immutable": true,
5168 "locationInModule": {
5169 "filename": "lib/codebuild.generated.ts",
5170 "line": 47
5171 },
5172 "name": "source",
5173 "type": {
5174 "union": {
5175 "types": [
5176 {
5177 "fqn": "@aws-cdk/aws-codebuild.CfnProject.SourceProperty"
5178 },
5179 {
5180 "fqn": "@aws-cdk/core.IResolvable"
5181 }
5182 ]
5183 }
5184 }
5185 },
5186 {
5187 "abstract": true,
5188 "docs": {
5189 "custom": {
5190 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-badgeenabled"
5191 },
5192 "remarks": "For more information, see [Build Badges Sample](https://docs.aws.amazon.com/codebuild/latest/userguide/sample-build-badges.html) in the *AWS CodeBuild User Guide* .\n\n> Including build badges with your project is currently not supported if the source type is CodePipeline. If you specify `CODEPIPELINE` for the `Source` property, do not specify the `BadgeEnabled` property.",
5193 "stability": "external",
5194 "summary": "Indicates whether AWS CodeBuild generates a publicly accessible URL for your project's build badge."
5195 },
5196 "immutable": true,
5197 "locationInModule": {
5198 "filename": "lib/codebuild.generated.ts",
5199 "line": 56
5200 },
5201 "name": "badgeEnabled",
5202 "optional": true,
5203 "type": {
5204 "union": {
5205 "types": [
5206 {
5207 "primitive": "boolean"
5208 },
5209 {
5210 "fqn": "@aws-cdk/core.IResolvable"
5211 }
5212 ]
5213 }
5214 }
5215 },
5216 {
5217 "abstract": true,
5218 "docs": {
5219 "custom": {
5220 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-buildbatchconfig"
5221 },
5222 "stability": "external",
5223 "summary": "A `ProjectBuildBatchConfig` object that defines the batch build options for the project."
5224 },
5225 "immutable": true,
5226 "locationInModule": {
5227 "filename": "lib/codebuild.generated.ts",
5228 "line": 63
5229 },
5230 "name": "buildBatchConfig",
5231 "optional": true,
5232 "type": {
5233 "union": {
5234 "types": [
5235 {
5236 "fqn": "@aws-cdk/core.IResolvable"
5237 },
5238 {
5239 "fqn": "@aws-cdk/aws-codebuild.CfnProject.ProjectBuildBatchConfigProperty"
5240 }
5241 ]
5242 }
5243 }
5244 },
5245 {
5246 "abstract": true,
5247 "docs": {
5248 "custom": {
5249 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-cache"
5250 },
5251 "stability": "external",
5252 "summary": "Settings that AWS CodeBuild uses to store and reuse build dependencies."
5253 },
5254 "immutable": true,
5255 "locationInModule": {
5256 "filename": "lib/codebuild.generated.ts",
5257 "line": 70
5258 },
5259 "name": "cache",
5260 "optional": true,
5261 "type": {
5262 "union": {
5263 "types": [
5264 {
5265 "fqn": "@aws-cdk/core.IResolvable"
5266 },
5267 {
5268 "fqn": "@aws-cdk/aws-codebuild.CfnProject.ProjectCacheProperty"
5269 }
5270 ]
5271 }
5272 }
5273 },
5274 {
5275 "abstract": true,
5276 "docs": {
5277 "custom": {
5278 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-concurrentbuildlimit"
5279 },
5280 "remarks": "New builds are only started if the current number of builds is less than or equal to this limit. If the current build count meets this limit, new builds are throttled and are not run.",
5281 "stability": "external",
5282 "summary": "The maximum number of concurrent builds that are allowed for this project."
5283 },
5284 "immutable": true,
5285 "locationInModule": {
5286 "filename": "lib/codebuild.generated.ts",
5287 "line": 79
5288 },
5289 "name": "concurrentBuildLimit",
5290 "optional": true,
5291 "type": {
5292 "primitive": "number"
5293 }
5294 },
5295 {
5296 "abstract": true,
5297 "docs": {
5298 "custom": {
5299 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-description"
5300 },
5301 "stability": "external",
5302 "summary": "A description that makes the build project easy to identify."
5303 },
5304 "immutable": true,
5305 "locationInModule": {
5306 "filename": "lib/codebuild.generated.ts",
5307 "line": 86
5308 },
5309 "name": "description",
5310 "optional": true,
5311 "type": {
5312 "primitive": "string"
5313 }
5314 },
5315 {
5316 "abstract": true,
5317 "docs": {
5318 "custom": {
5319 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-encryptionkey"
5320 },
5321 "remarks": "> You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key.\n\nYou can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the format `alias/<alias-name>` ). If you don't specify a value, CodeBuild uses the managed CMK for Amazon Simple Storage Service (Amazon S3).",
5322 "stability": "external",
5323 "summary": "The AWS Key Management Service customer master key (CMK) to be used for encrypting the build output artifacts."
5324 },
5325 "immutable": true,
5326 "locationInModule": {
5327 "filename": "lib/codebuild.generated.ts",
5328 "line": 97
5329 },
5330 "name": "encryptionKey",
5331 "optional": true,
5332 "type": {
5333 "primitive": "string"
5334 }
5335 },
5336 {
5337 "abstract": true,
5338 "docs": {
5339 "custom": {
5340 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-filesystemlocations"
5341 },
5342 "remarks": "A `ProjectFileSystemLocation` object specifies the `identifier` , `location` , `mountOptions` , `mountPoint` , and `type` of a file system created using Amazon Elastic File System.",
5343 "stability": "external",
5344 "summary": "An array of `ProjectFileSystemLocation` objects for a CodeBuild build project."
5345 },
5346 "immutable": true,
5347 "locationInModule": {
5348 "filename": "lib/codebuild.generated.ts",
5349 "line": 104
5350 },
5351 "name": "fileSystemLocations",
5352 "optional": true,
5353 "type": {
5354 "union": {
5355 "types": [
5356 {
5357 "fqn": "@aws-cdk/core.IResolvable"
5358 },
5359 {
5360 "collection": {
5361 "elementtype": {
5362 "union": {
5363 "types": [
5364 {
5365 "fqn": "@aws-cdk/core.IResolvable"
5366 },
5367 {
5368 "fqn": "@aws-cdk/aws-codebuild.CfnProject.ProjectFileSystemLocationProperty"
5369 }
5370 ]
5371 }
5372 },
5373 "kind": "array"
5374 }
5375 }
5376 ]
5377 }
5378 }
5379 },
5380 {
5381 "abstract": true,
5382 "docs": {
5383 "custom": {
5384 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-logsconfig"
5385 },
5386 "remarks": "A project can create logs in CloudWatch Logs, an S3 bucket, or both.",
5387 "stability": "external",
5388 "summary": "Information about logs for the build project."
5389 },
5390 "immutable": true,
5391 "locationInModule": {
5392 "filename": "lib/codebuild.generated.ts",
5393 "line": 111
5394 },
5395 "name": "logsConfig",
5396 "optional": true,
5397 "type": {
5398 "union": {
5399 "types": [
5400 {
5401 "fqn": "@aws-cdk/core.IResolvable"
5402 },
5403 {
5404 "fqn": "@aws-cdk/aws-codebuild.CfnProject.LogsConfigProperty"
5405 }
5406 ]
5407 }
5408 }
5409 },
5410 {
5411 "abstract": true,
5412 "docs": {
5413 "custom": {
5414 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-name"
5415 },
5416 "remarks": "The name must be unique across all of the projects in your AWS account .",
5417 "stability": "external",
5418 "summary": "The name of the build project."
5419 },
5420 "immutable": true,
5421 "locationInModule": {
5422 "filename": "lib/codebuild.generated.ts",
5423 "line": 118
5424 },
5425 "name": "name",
5426 "optional": true,
5427 "type": {
5428 "primitive": "string"
5429 }
5430 },
5431 {
5432 "abstract": true,
5433 "docs": {
5434 "custom": {
5435 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-queuedtimeoutinminutes"
5436 },
5437 "stability": "external",
5438 "summary": "The number of minutes a build is allowed to be queued before it times out."
5439 },
5440 "immutable": true,
5441 "locationInModule": {
5442 "filename": "lib/codebuild.generated.ts",
5443 "line": 125
5444 },
5445 "name": "queuedTimeoutInMinutes",
5446 "optional": true,
5447 "type": {
5448 "primitive": "number"
5449 }
5450 },
5451 {
5452 "abstract": true,
5453 "docs": {
5454 "custom": {
5455 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-resourceaccessrole"
5456 },
5457 "stability": "external",
5458 "summary": "The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs and Amazon S3 artifacts for the project's builds."
5459 },
5460 "immutable": true,
5461 "locationInModule": {
5462 "filename": "lib/codebuild.generated.ts",
5463 "line": 132
5464 },
5465 "name": "resourceAccessRole",
5466 "optional": true,
5467 "type": {
5468 "primitive": "string"
5469 }
5470 },
5471 {
5472 "abstract": true,
5473 "docs": {
5474 "custom": {
5475 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-secondaryartifacts"
5476 },
5477 "remarks": "Each artifacts object specifies output settings that the project generates during a build.",
5478 "stability": "external",
5479 "summary": "A list of `Artifacts` objects."
5480 },
5481 "immutable": true,
5482 "locationInModule": {
5483 "filename": "lib/codebuild.generated.ts",
5484 "line": 139
5485 },
5486 "name": "secondaryArtifacts",
5487 "optional": true,
5488 "type": {
5489 "union": {
5490 "types": [
5491 {
5492 "fqn": "@aws-cdk/core.IResolvable"
5493 },
5494 {
5495 "collection": {
5496 "elementtype": {
5497 "union": {
5498 "types": [
5499 {
5500 "fqn": "@aws-cdk/core.IResolvable"
5501 },
5502 {
5503 "fqn": "@aws-cdk/aws-codebuild.CfnProject.ArtifactsProperty"
5504 }
5505 ]
5506 }
5507 },
5508 "kind": "array"
5509 }
5510 }
5511 ]
5512 }
5513 }
5514 },
5515 {
5516 "abstract": true,
5517 "docs": {
5518 "custom": {
5519 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-secondarysources"
5520 },
5521 "stability": "external",
5522 "summary": "An array of `ProjectSource` objects."
5523 },
5524 "immutable": true,
5525 "locationInModule": {
5526 "filename": "lib/codebuild.generated.ts",
5527 "line": 146
5528 },
5529 "name": "secondarySources",
5530 "optional": true,
5531 "type": {
5532 "union": {
5533 "types": [
5534 {
5535 "fqn": "@aws-cdk/core.IResolvable"
5536 },
5537 {
5538 "collection": {
5539 "elementtype": {
5540 "union": {
5541 "types": [
5542 {
5543 "fqn": "@aws-cdk/aws-codebuild.CfnProject.SourceProperty"
5544 },
5545 {
5546 "fqn": "@aws-cdk/core.IResolvable"
5547 }
5548 ]
5549 }
5550 },
5551 "kind": "array"
5552 }
5553 }
5554 ]
5555 }
5556 }
5557 },
5558 {
5559 "abstract": true,
5560 "docs": {
5561 "custom": {
5562 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-secondarysourceversions"
5563 },
5564 "remarks": "If `secondarySourceVersions` is specified at the build level, then they take over these `secondarySourceVersions` (at the project level).",
5565 "stability": "external",
5566 "summary": "An array of `ProjectSourceVersion` objects."
5567 },
5568 "immutable": true,
5569 "locationInModule": {
5570 "filename": "lib/codebuild.generated.ts",
5571 "line": 153
5572 },
5573 "name": "secondarySourceVersions",
5574 "optional": true,
5575 "type": {
5576 "union": {
5577 "types": [
5578 {
5579 "fqn": "@aws-cdk/core.IResolvable"
5580 },
5581 {
5582 "collection": {
5583 "elementtype": {
5584 "union": {
5585 "types": [
5586 {
5587 "fqn": "@aws-cdk/core.IResolvable"
5588 },
5589 {
5590 "fqn": "@aws-cdk/aws-codebuild.CfnProject.ProjectSourceVersionProperty"
5591 }
5592 ]
5593 }
5594 },
5595 "kind": "array"
5596 }
5597 }
5598 ]
5599 }
5600 }
5601 },
5602 {
5603 "abstract": true,
5604 "docs": {
5605 "custom": {
5606 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-sourceversion"
5607 },
5608 "remarks": "If not specified, the latest version is used. If specified, it must be one of:\n\n- For CodeCommit: the commit ID, branch, or Git tag to use.\n- For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a pull request ID is specified, it must use the format `pr/pull-request-ID` (for example `pr/25` ). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.\n- For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.\n- For Amazon S3: the version ID of the object that represents the build input ZIP file to use.\n\nIf `sourceVersion` is specified at the build level, then that version takes precedence over this `sourceVersion` (at the project level).\n\nFor more information, see [Source Version Sample with CodeBuild](https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html) in the *AWS CodeBuild User Guide* .",
5609 "stability": "external",
5610 "summary": "A version of the build input to be built for this project."
5611 },
5612 "immutable": true,
5613 "locationInModule": {
5614 "filename": "lib/codebuild.generated.ts",
5615 "line": 169
5616 },
5617 "name": "sourceVersion",
5618 "optional": true,
5619 "type": {
5620 "primitive": "string"
5621 }
5622 },
5623 {
5624 "abstract": true,
5625 "docs": {
5626 "custom": {
5627 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-tags"
5628 },
5629 "remarks": "These tags are available for use by AWS services that support AWS CodeBuild build project tags.",
5630 "stability": "external",
5631 "summary": "An arbitrary set of tags (key-value pairs) for the AWS CodeBuild project."
5632 },
5633 "immutable": true,
5634 "locationInModule": {
5635 "filename": "lib/codebuild.generated.ts",
5636 "line": 178
5637 },
5638 "name": "tags",
5639 "optional": true,
5640 "type": {
5641 "collection": {
5642 "elementtype": {
5643 "fqn": "@aws-cdk/core.CfnTag"
5644 },
5645 "kind": "array"
5646 }
5647 }
5648 },
5649 {
5650 "abstract": true,
5651 "docs": {
5652 "custom": {
5653 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-timeoutinminutes"
5654 },
5655 "remarks": "The default is 60 minutes.",
5656 "stability": "external",
5657 "summary": "How long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait before timing out any related build that did not get marked as completed."
5658 },
5659 "immutable": true,
5660 "locationInModule": {
5661 "filename": "lib/codebuild.generated.ts",
5662 "line": 185
5663 },
5664 "name": "timeoutInMinutes",
5665 "optional": true,
5666 "type": {
5667 "primitive": "number"
5668 }
5669 },
5670 {
5671 "abstract": true,
5672 "docs": {
5673 "custom": {
5674 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-triggers"
5675 },
5676 "stability": "external",
5677 "summary": "For an existing AWS CodeBuild build project that has its source code stored in a GitHub repository, enables AWS CodeBuild to begin automatically rebuilding the source code every time a code change is pushed to the repository."
5678 },
5679 "immutable": true,
5680 "locationInModule": {
5681 "filename": "lib/codebuild.generated.ts",
5682 "line": 192
5683 },
5684 "name": "triggers",
5685 "optional": true,
5686 "type": {
5687 "union": {
5688 "types": [
5689 {
5690 "fqn": "@aws-cdk/aws-codebuild.CfnProject.ProjectTriggersProperty"
5691 },
5692 {
5693 "fqn": "@aws-cdk/core.IResolvable"
5694 }
5695 ]
5696 }
5697 }
5698 },
5699 {
5700 "abstract": true,
5701 "docs": {
5702 "custom": {
5703 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-visibility"
5704 },
5705 "remarks": "- **PUBLIC_READ** - The project builds are visible to the public.\n- **PRIVATE** - The project builds are not visible to the public.",
5706 "stability": "external",
5707 "summary": "Specifies the visibility of the project's builds. Possible values are:."
5708 },
5709 "immutable": true,
5710 "locationInModule": {
5711 "filename": "lib/codebuild.generated.ts",
5712 "line": 202
5713 },
5714 "name": "visibility",
5715 "optional": true,
5716 "type": {
5717 "primitive": "string"
5718 }
5719 },
5720 {
5721 "abstract": true,
5722 "docs": {
5723 "custom": {
5724 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-vpcconfig"
5725 },
5726 "remarks": "For more information, see [Use AWS CodeBuild with Amazon Virtual Private Cloud](https://docs.aws.amazon.com/codebuild/latest/userguide/vpc-support.html) in the *AWS CodeBuild User Guide* .",
5727 "stability": "external",
5728 "summary": "`VpcConfig` specifies settings that enable AWS CodeBuild to access resources in an Amazon VPC."
5729 },
5730 "immutable": true,
5731 "locationInModule": {
5732 "filename": "lib/codebuild.generated.ts",
5733 "line": 209
5734 },
5735 "name": "vpcConfig",
5736 "optional": true,
5737 "type": {
5738 "union": {
5739 "types": [
5740 {
5741 "fqn": "@aws-cdk/core.IResolvable"
5742 },
5743 {
5744 "fqn": "@aws-cdk/aws-codebuild.CfnProject.VpcConfigProperty"
5745 }
5746 ]
5747 }
5748 }
5749 }
5750 ],
5751 "symbolId": "lib/codebuild.generated:CfnProjectProps"
5752 },
5753 "@aws-cdk/aws-codebuild.CfnReportGroup": {
5754 "assembly": "@aws-cdk/aws-codebuild",
5755 "base": "@aws-cdk/core.CfnResource",
5756 "docs": {
5757 "custom": {
5758 "cloudformationResource": "AWS::CodeBuild::ReportGroup",
5759 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-reportgroup.html",
5760 "exampleMetadata": "fixture=_generated"
5761 },
5762 "remarks": "Represents a report group. A report group contains a collection of reports.",
5763 "stability": "external",
5764 "summary": "A CloudFormation `AWS::CodeBuild::ReportGroup`.",
5765 "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 cfnReportGroup = new codebuild.CfnReportGroup(this, 'MyCfnReportGroup', {\n exportConfig: {\n exportConfigType: 'exportConfigType',\n\n // the properties below are optional\n s3Destination: {\n bucket: 'bucket',\n\n // the properties below are optional\n bucketOwner: 'bucketOwner',\n encryptionDisabled: false,\n encryptionKey: 'encryptionKey',\n packaging: 'packaging',\n path: 'path',\n },\n },\n type: 'type',\n\n // the properties below are optional\n deleteReports: false,\n name: 'name',\n tags: [{\n key: 'key',\n value: 'value',\n }],\n});"
5766 },
5767 "fqn": "@aws-cdk/aws-codebuild.CfnReportGroup",
5768 "initializer": {
5769 "docs": {
5770 "stability": "external",
5771 "summary": "Create a new `AWS::CodeBuild::ReportGroup`."
5772 },
5773 "locationInModule": {
5774 "filename": "lib/codebuild.generated.ts",
5775 "line": 2809
5776 },
5777 "parameters": [
5778 {
5779 "docs": {
5780 "summary": "- scope in which this resource is defined."
5781 },
5782 "name": "scope",
5783 "type": {
5784 "fqn": "@aws-cdk/core.Construct"
5785 }
5786 },
5787 {
5788 "docs": {
5789 "summary": "- scoped id of the resource."
5790 },
5791 "name": "id",
5792 "type": {
5793 "primitive": "string"
5794 }
5795 },
5796 {
5797 "docs": {
5798 "summary": "- resource properties."
5799 },
5800 "name": "props",
5801 "type": {
5802 "fqn": "@aws-cdk/aws-codebuild.CfnReportGroupProps"
5803 }
5804 }
5805 ]
5806 },
5807 "interfaces": [
5808 "@aws-cdk/core.IInspectable"
5809 ],
5810 "kind": "class",
5811 "locationInModule": {
5812 "filename": "lib/codebuild.generated.ts",
5813 "line": 2728
5814 },
5815 "methods": [
5816 {
5817 "docs": {
5818 "stability": "external",
5819 "summary": "Examines the CloudFormation resource and discloses attributes."
5820 },
5821 "locationInModule": {
5822 "filename": "lib/codebuild.generated.ts",
5823 "line": 2828
5824 },
5825 "name": "inspect",
5826 "overrides": "@aws-cdk/core.IInspectable",
5827 "parameters": [
5828 {
5829 "docs": {
5830 "summary": "- tree inspector to collect and process attributes."
5831 },
5832 "name": "inspector",
5833 "type": {
5834 "fqn": "@aws-cdk/core.TreeInspector"
5835 }
5836 }
5837 ]
5838 },
5839 {
5840 "docs": {
5841 "stability": "external"
5842 },
5843 "locationInModule": {
5844 "filename": "lib/codebuild.generated.ts",
5845 "line": 2843
5846 },
5847 "name": "renderProperties",
5848 "overrides": "@aws-cdk/core.CfnResource",
5849 "parameters": [
5850 {
5851 "name": "props",
5852 "type": {
5853 "collection": {
5854 "elementtype": {
5855 "primitive": "any"
5856 },
5857 "kind": "map"
5858 }
5859 }
5860 }
5861 ],
5862 "protected": true,
5863 "returns": {
5864 "type": {
5865 "collection": {
5866 "elementtype": {
5867 "primitive": "any"
5868 },
5869 "kind": "map"
5870 }
5871 }
5872 }
5873 }
5874 ],
5875 "name": "CfnReportGroup",
5876 "properties": [
5877 {
5878 "const": true,
5879 "docs": {
5880 "stability": "external",
5881 "summary": "The CloudFormation resource type name for this resource class."
5882 },
5883 "immutable": true,
5884 "locationInModule": {
5885 "filename": "lib/codebuild.generated.ts",
5886 "line": 2732
5887 },
5888 "name": "CFN_RESOURCE_TYPE_NAME",
5889 "static": true,
5890 "type": {
5891 "primitive": "string"
5892 }
5893 },
5894 {
5895 "docs": {
5896 "custom": {
5897 "cloudformationAttribute": "Arn"
5898 },
5899 "stability": "external",
5900 "summary": "The ARN of the AWS CodeBuild report group, such as `arn:aws:codebuild:region:123456789012:report-group/myReportGroupName` ."
5901 },
5902 "immutable": true,
5903 "locationInModule": {
5904 "filename": "lib/codebuild.generated.ts",
5905 "line": 2757
5906 },
5907 "name": "attrArn",
5908 "type": {
5909 "primitive": "string"
5910 }
5911 },
5912 {
5913 "docs": {
5914 "stability": "external"
5915 },
5916 "immutable": true,
5917 "locationInModule": {
5918 "filename": "lib/codebuild.generated.ts",
5919 "line": 2833
5920 },
5921 "name": "cfnProperties",
5922 "overrides": "@aws-cdk/core.CfnResource",
5923 "protected": true,
5924 "type": {
5925 "collection": {
5926 "elementtype": {
5927 "primitive": "any"
5928 },
5929 "kind": "map"
5930 }
5931 }
5932 },
5933 {
5934 "docs": {
5935 "custom": {
5936 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-reportgroup.html#cfn-codebuild-reportgroup-tags"
5937 },
5938 "remarks": "These tags are available for use by AWS services that support AWS CodeBuild report group tags.",
5939 "stability": "external",
5940 "summary": "A list of tag key and value pairs associated with this report group."
5941 },
5942 "immutable": true,
5943 "locationInModule": {
5944 "filename": "lib/codebuild.generated.ts",
5945 "line": 2800
5946 },
5947 "name": "tags",
5948 "type": {
5949 "fqn": "@aws-cdk/core.TagManager"
5950 }
5951 },
5952 {
5953 "docs": {
5954 "custom": {
5955 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-reportgroup.html#cfn-codebuild-reportgroup-exportconfig"
5956 },
5957 "stability": "external",
5958 "summary": "Information about the destination where the raw data of this `ReportGroup` is exported."
5959 },
5960 "locationInModule": {
5961 "filename": "lib/codebuild.generated.ts",
5962 "line": 2764
5963 },
5964 "name": "exportConfig",
5965 "type": {
5966 "union": {
5967 "types": [
5968 {
5969 "fqn": "@aws-cdk/core.IResolvable"
5970 },
5971 {
5972 "fqn": "@aws-cdk/aws-codebuild.CfnReportGroup.ReportExportConfigProperty"
5973 }
5974 ]
5975 }
5976 }
5977 },
5978 {
5979 "docs": {
5980 "custom": {
5981 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-reportgroup.html#cfn-codebuild-reportgroup-type"
5982 },
5983 "remarks": "- **CODE_COVERAGE** - The report group contains code coverage reports.\n- **TEST** - The report group contains test reports.",
5984 "stability": "external",
5985 "summary": "The type of the `ReportGroup` . This can be one of the following values:."
5986 },
5987 "locationInModule": {
5988 "filename": "lib/codebuild.generated.ts",
5989 "line": 2774
5990 },
5991 "name": "type",
5992 "type": {
5993 "primitive": "string"
5994 }
5995 },
5996 {
5997 "docs": {
5998 "custom": {
5999 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-reportgroup.html#cfn-codebuild-reportgroup-deletereports"
6000 },
6001 "remarks": "- **true** - Deletes any reports that belong to the report group before deleting the report group.\n- **false** - You must delete any reports in the report group. This is the default value. If you delete a report group that contains one or more reports, an exception is thrown.",
6002 "stability": "external",
6003 "summary": "When deleting a report group, specifies if reports within the report group should be deleted."
6004 },
6005 "locationInModule": {
6006 "filename": "lib/codebuild.generated.ts",
6007 "line": 2784
6008 },
6009 "name": "deleteReports",
6010 "optional": true,
6011 "type": {
6012 "union": {
6013 "types": [
6014 {
6015 "primitive": "boolean"
6016 },
6017 {
6018 "fqn": "@aws-cdk/core.IResolvable"
6019 }
6020 ]
6021 }
6022 }
6023 },
6024 {
6025 "docs": {
6026 "custom": {
6027 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-reportgroup.html#cfn-codebuild-reportgroup-name"
6028 },
6029 "stability": "external",
6030 "summary": "The name of the `ReportGroup` ."
6031 },
6032 "locationInModule": {
6033 "filename": "lib/codebuild.generated.ts",
6034 "line": 2791
6035 },
6036 "name": "name",
6037 "optional": true,
6038 "type": {
6039 "primitive": "string"
6040 }
6041 }
6042 ],
6043 "symbolId": "lib/codebuild.generated:CfnReportGroup"
6044 },
6045 "@aws-cdk/aws-codebuild.CfnReportGroup.ReportExportConfigProperty": {
6046 "assembly": "@aws-cdk/aws-codebuild",
6047 "datatype": true,
6048 "docs": {
6049 "custom": {
6050 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-reportgroup-reportexportconfig.html",
6051 "exampleMetadata": "fixture=_generated"
6052 },
6053 "stability": "external",
6054 "summary": "Information about the location where the run of a report is exported.",
6055 "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 reportExportConfigProperty: codebuild.CfnReportGroup.ReportExportConfigProperty = {\n exportConfigType: 'exportConfigType',\n\n // the properties below are optional\n s3Destination: {\n bucket: 'bucket',\n\n // the properties below are optional\n bucketOwner: 'bucketOwner',\n encryptionDisabled: false,\n encryptionKey: 'encryptionKey',\n packaging: 'packaging',\n path: 'path',\n },\n};"
6056 },
6057 "fqn": "@aws-cdk/aws-codebuild.CfnReportGroup.ReportExportConfigProperty",
6058 "kind": "interface",
6059 "locationInModule": {
6060 "filename": "lib/codebuild.generated.ts",
6061 "line": 2857
6062 },
6063 "name": "ReportExportConfigProperty",
6064 "namespace": "CfnReportGroup",
6065 "properties": [
6066 {
6067 "abstract": true,
6068 "docs": {
6069 "custom": {
6070 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-reportgroup-reportexportconfig.html#cfn-codebuild-reportgroup-reportexportconfig-exportconfigtype"
6071 },
6072 "remarks": "- `S3` : The report results are exported to an S3 bucket.\n- `NO_EXPORT` : The report results are not exported.",
6073 "stability": "external",
6074 "summary": "The export configuration type. Valid values are:."
6075 },
6076 "immutable": true,
6077 "locationInModule": {
6078 "filename": "lib/codebuild.generated.ts",
6079 "line": 2866
6080 },
6081 "name": "exportConfigType",
6082 "type": {
6083 "primitive": "string"
6084 }
6085 },
6086 {
6087 "abstract": true,
6088 "docs": {
6089 "custom": {
6090 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-reportgroup-reportexportconfig.html#cfn-codebuild-reportgroup-reportexportconfig-s3destination"
6091 },
6092 "stability": "external",
6093 "summary": "A `S3ReportExportConfig` object that contains information about the S3 bucket where the run of a report is exported."
6094 },
6095 "immutable": true,
6096 "locationInModule": {
6097 "filename": "lib/codebuild.generated.ts",
6098 "line": 2872
6099 },
6100 "name": "s3Destination",
6101 "optional": true,
6102 "type": {
6103 "union": {
6104 "types": [
6105 {
6106 "fqn": "@aws-cdk/core.IResolvable"
6107 },
6108 {
6109 "fqn": "@aws-cdk/aws-codebuild.CfnReportGroup.S3ReportExportConfigProperty"
6110 }
6111 ]
6112 }
6113 }
6114 }
6115 ],
6116 "symbolId": "lib/codebuild.generated:CfnReportGroup.ReportExportConfigProperty"
6117 },
6118 "@aws-cdk/aws-codebuild.CfnReportGroup.S3ReportExportConfigProperty": {
6119 "assembly": "@aws-cdk/aws-codebuild",
6120 "datatype": true,
6121 "docs": {
6122 "custom": {
6123 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-reportgroup-s3reportexportconfig.html",
6124 "exampleMetadata": "fixture=_generated"
6125 },
6126 "stability": "external",
6127 "summary": "Information about the S3 bucket where the raw data of a report are exported.",
6128 "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 s3ReportExportConfigProperty: codebuild.CfnReportGroup.S3ReportExportConfigProperty = {\n bucket: 'bucket',\n\n // the properties below are optional\n bucketOwner: 'bucketOwner',\n encryptionDisabled: false,\n encryptionKey: 'encryptionKey',\n packaging: 'packaging',\n path: 'path',\n};"
6129 },
6130 "fqn": "@aws-cdk/aws-codebuild.CfnReportGroup.S3ReportExportConfigProperty",
6131 "kind": "interface",
6132 "locationInModule": {
6133 "filename": "lib/codebuild.generated.ts",
6134 "line": 2937
6135 },
6136 "name": "S3ReportExportConfigProperty",
6137 "namespace": "CfnReportGroup",
6138 "properties": [
6139 {
6140 "abstract": true,
6141 "docs": {
6142 "custom": {
6143 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-reportgroup-s3reportexportconfig.html#cfn-codebuild-reportgroup-s3reportexportconfig-bucket"
6144 },
6145 "stability": "external",
6146 "summary": "The name of the S3 bucket where the raw data of a report are exported."
6147 },
6148 "immutable": true,
6149 "locationInModule": {
6150 "filename": "lib/codebuild.generated.ts",
6151 "line": 2943
6152 },
6153 "name": "bucket",
6154 "type": {
6155 "primitive": "string"
6156 }
6157 },
6158 {
6159 "abstract": true,
6160 "docs": {
6161 "custom": {
6162 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-reportgroup-s3reportexportconfig.html#cfn-codebuild-reportgroup-s3reportexportconfig-bucketowner"
6163 },
6164 "remarks": "This allows report data to be exported to an Amazon S3 bucket that is owned by an account other than the account running the build.",
6165 "stability": "external",
6166 "summary": "The AWS account identifier of the owner of the Amazon S3 bucket."
6167 },
6168 "immutable": true,
6169 "locationInModule": {
6170 "filename": "lib/codebuild.generated.ts",
6171 "line": 2949
6172 },
6173 "name": "bucketOwner",
6174 "optional": true,
6175 "type": {
6176 "primitive": "string"
6177 }
6178 },
6179 {
6180 "abstract": true,
6181 "docs": {
6182 "custom": {
6183 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-reportgroup-s3reportexportconfig.html#cfn-codebuild-reportgroup-s3reportexportconfig-encryptiondisabled"
6184 },
6185 "stability": "external",
6186 "summary": "A boolean value that specifies if the results of a report are encrypted."
6187 },
6188 "immutable": true,
6189 "locationInModule": {
6190 "filename": "lib/codebuild.generated.ts",
6191 "line": 2955
6192 },
6193 "name": "encryptionDisabled",
6194 "optional": true,
6195 "type": {
6196 "union": {
6197 "types": [
6198 {
6199 "primitive": "boolean"
6200 },
6201 {
6202 "fqn": "@aws-cdk/core.IResolvable"
6203 }
6204 ]
6205 }
6206 }
6207 },
6208 {
6209 "abstract": true,
6210 "docs": {
6211 "custom": {
6212 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-reportgroup-s3reportexportconfig.html#cfn-codebuild-reportgroup-s3reportexportconfig-encryptionkey"
6213 },
6214 "stability": "external",
6215 "summary": "The encryption key for the report's encrypted raw data."
6216 },
6217 "immutable": true,
6218 "locationInModule": {
6219 "filename": "lib/codebuild.generated.ts",
6220 "line": 2961
6221 },
6222 "name": "encryptionKey",
6223 "optional": true,
6224 "type": {
6225 "primitive": "string"
6226 }
6227 },
6228 {
6229 "abstract": true,
6230 "docs": {
6231 "custom": {
6232 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-reportgroup-s3reportexportconfig.html#cfn-codebuild-reportgroup-s3reportexportconfig-packaging"
6233 },
6234 "remarks": "- `NONE` : CodeBuild creates the raw data in the output bucket. This is the default if packaging is not specified.\n- `ZIP` : CodeBuild creates a ZIP file with the raw data in the output bucket.",
6235 "stability": "external",
6236 "summary": "The type of build output artifact to create. Valid values include:."
6237 },
6238 "immutable": true,
6239 "locationInModule": {
6240 "filename": "lib/codebuild.generated.ts",
6241 "line": 2970
6242 },
6243 "name": "packaging",
6244 "optional": true,
6245 "type": {
6246 "primitive": "string"
6247 }
6248 },
6249 {
6250 "abstract": true,
6251 "docs": {
6252 "custom": {
6253 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-reportgroup-s3reportexportconfig.html#cfn-codebuild-reportgroup-s3reportexportconfig-path"
6254 },
6255 "stability": "external",
6256 "summary": "The path to the exported report's raw data results."
6257 },
6258 "immutable": true,
6259 "locationInModule": {
6260 "filename": "lib/codebuild.generated.ts",
6261 "line": 2976
6262 },
6263 "name": "path",
6264 "optional": true,
6265 "type": {
6266 "primitive": "string"
6267 }
6268 }
6269 ],
6270 "symbolId": "lib/codebuild.generated:CfnReportGroup.S3ReportExportConfigProperty"
6271 },
6272 "@aws-cdk/aws-codebuild.CfnReportGroupProps": {
6273 "assembly": "@aws-cdk/aws-codebuild",
6274 "datatype": true,
6275 "docs": {
6276 "custom": {
6277 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-reportgroup.html",
6278 "exampleMetadata": "fixture=_generated"
6279 },
6280 "stability": "external",
6281 "summary": "Properties for defining a `CfnReportGroup`.",
6282 "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 cfnReportGroupProps: codebuild.CfnReportGroupProps = {\n exportConfig: {\n exportConfigType: 'exportConfigType',\n\n // the properties below are optional\n s3Destination: {\n bucket: 'bucket',\n\n // the properties below are optional\n bucketOwner: 'bucketOwner',\n encryptionDisabled: false,\n encryptionKey: 'encryptionKey',\n packaging: 'packaging',\n path: 'path',\n },\n },\n type: 'type',\n\n // the properties below are optional\n deleteReports: false,\n name: 'name',\n tags: [{\n key: 'key',\n value: 'value',\n }],\n};"
6283 },
6284 "fqn": "@aws-cdk/aws-codebuild.CfnReportGroupProps",
6285 "kind": "interface",
6286 "locationInModule": {
6287 "filename": "lib/codebuild.generated.ts",
6288 "line": 2613
6289 },
6290 "name": "CfnReportGroupProps",
6291 "properties": [
6292 {
6293 "abstract": true,
6294 "docs": {
6295 "custom": {
6296 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-reportgroup.html#cfn-codebuild-reportgroup-exportconfig"
6297 },
6298 "stability": "external",
6299 "summary": "Information about the destination where the raw data of this `ReportGroup` is exported."
6300 },
6301 "immutable": true,
6302 "locationInModule": {
6303 "filename": "lib/codebuild.generated.ts",
6304 "line": 2620
6305 },
6306 "name": "exportConfig",
6307 "type": {
6308 "union": {
6309 "types": [
6310 {
6311 "fqn": "@aws-cdk/core.IResolvable"
6312 },
6313 {
6314 "fqn": "@aws-cdk/aws-codebuild.CfnReportGroup.ReportExportConfigProperty"
6315 }
6316 ]
6317 }
6318 }
6319 },
6320 {
6321 "abstract": true,
6322 "docs": {
6323 "custom": {
6324 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-reportgroup.html#cfn-codebuild-reportgroup-type"
6325 },
6326 "remarks": "- **CODE_COVERAGE** - The report group contains code coverage reports.\n- **TEST** - The report group contains test reports.",
6327 "stability": "external",
6328 "summary": "The type of the `ReportGroup` . This can be one of the following values:."
6329 },
6330 "immutable": true,
6331 "locationInModule": {
6332 "filename": "lib/codebuild.generated.ts",
6333 "line": 2630
6334 },
6335 "name": "type",
6336 "type": {
6337 "primitive": "string"
6338 }
6339 },
6340 {
6341 "abstract": true,
6342 "docs": {
6343 "custom": {
6344 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-reportgroup.html#cfn-codebuild-reportgroup-deletereports"
6345 },
6346 "remarks": "- **true** - Deletes any reports that belong to the report group before deleting the report group.\n- **false** - You must delete any reports in the report group. This is the default value. If you delete a report group that contains one or more reports, an exception is thrown.",
6347 "stability": "external",
6348 "summary": "When deleting a report group, specifies if reports within the report group should be deleted."
6349 },
6350 "immutable": true,
6351 "locationInModule": {
6352 "filename": "lib/codebuild.generated.ts",
6353 "line": 2640
6354 },
6355 "name": "deleteReports",
6356 "optional": true,
6357 "type": {
6358 "union": {
6359 "types": [
6360 {
6361 "primitive": "boolean"
6362 },
6363 {
6364 "fqn": "@aws-cdk/core.IResolvable"
6365 }
6366 ]
6367 }
6368 }
6369 },
6370 {
6371 "abstract": true,
6372 "docs": {
6373 "custom": {
6374 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-reportgroup.html#cfn-codebuild-reportgroup-name"
6375 },
6376 "stability": "external",
6377 "summary": "The name of the `ReportGroup` ."
6378 },
6379 "immutable": true,
6380 "locationInModule": {
6381 "filename": "lib/codebuild.generated.ts",
6382 "line": 2647
6383 },
6384 "name": "name",
6385 "optional": true,
6386 "type": {
6387 "primitive": "string"
6388 }
6389 },
6390 {
6391 "abstract": true,
6392 "docs": {
6393 "custom": {
6394 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-reportgroup.html#cfn-codebuild-reportgroup-tags"
6395 },
6396 "remarks": "These tags are available for use by AWS services that support AWS CodeBuild report group tags.",
6397 "stability": "external",
6398 "summary": "A list of tag key and value pairs associated with this report group."
6399 },
6400 "immutable": true,
6401 "locationInModule": {
6402 "filename": "lib/codebuild.generated.ts",
6403 "line": 2656
6404 },
6405 "name": "tags",
6406 "optional": true,
6407 "type": {
6408 "collection": {
6409 "elementtype": {
6410 "fqn": "@aws-cdk/core.CfnTag"
6411 },
6412 "kind": "array"
6413 }
6414 }
6415 }
6416 ],
6417 "symbolId": "lib/codebuild.generated:CfnReportGroupProps"
6418 },
6419 "@aws-cdk/aws-codebuild.CfnSourceCredential": {
6420 "assembly": "@aws-cdk/aws-codebuild",
6421 "base": "@aws-cdk/core.CfnResource",
6422 "docs": {
6423 "custom": {
6424 "cloudformationResource": "AWS::CodeBuild::SourceCredential",
6425 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-sourcecredential.html",
6426 "exampleMetadata": "fixture=_generated"
6427 },
6428 "remarks": "Information about the credentials for a GitHub, GitHub Enterprise, or Bitbucket repository. We strongly recommend that you use AWS Secrets Manager to store your credentials. If you use Secrets Manager , you must have secrets in your secrets manager. For more information, see [Using Dynamic References to Specify Template Values](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/dynamic-references.html#dynamic-references-secretsmanager) .\n\n> For security purposes, do not use plain text in your AWS CloudFormation template to store your credentials.",
6429 "stability": "external",
6430 "summary": "A CloudFormation `AWS::CodeBuild::SourceCredential`.",
6431 "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 cfnSourceCredential = new codebuild.CfnSourceCredential(this, 'MyCfnSourceCredential', {\n authType: 'authType',\n serverType: 'serverType',\n token: 'token',\n\n // the properties below are optional\n username: 'username',\n});"
6432 },
6433 "fqn": "@aws-cdk/aws-codebuild.CfnSourceCredential",
6434 "initializer": {
6435 "docs": {
6436 "stability": "external",
6437 "summary": "Create a new `AWS::CodeBuild::SourceCredential`."
6438 },
6439 "locationInModule": {
6440 "filename": "lib/codebuild.generated.ts",
6441 "line": 3212
6442 },
6443 "parameters": [
6444 {
6445 "docs": {
6446 "summary": "- scope in which this resource is defined."
6447 },
6448 "name": "scope",
6449 "type": {
6450 "fqn": "@aws-cdk/core.Construct"
6451 }
6452 },
6453 {
6454 "docs": {
6455 "summary": "- scoped id of the resource."
6456 },
6457 "name": "id",
6458 "type": {
6459 "primitive": "string"
6460 }
6461 },
6462 {
6463 "docs": {
6464 "summary": "- resource properties."
6465 },
6466 "name": "props",
6467 "type": {
6468 "fqn": "@aws-cdk/aws-codebuild.CfnSourceCredentialProps"
6469 }
6470 }
6471 ]
6472 },
6473 "interfaces": [
6474 "@aws-cdk/core.IInspectable"
6475 ],
6476 "kind": "class",
6477 "locationInModule": {
6478 "filename": "lib/codebuild.generated.ts",
6479 "line": 3152
6480 },
6481 "methods": [
6482 {
6483 "docs": {
6484 "stability": "external",
6485 "summary": "Examines the CloudFormation resource and discloses attributes."
6486 },
6487 "locationInModule": {
6488 "filename": "lib/codebuild.generated.ts",
6489 "line": 3230
6490 },
6491 "name": "inspect",
6492 "overrides": "@aws-cdk/core.IInspectable",
6493 "parameters": [
6494 {
6495 "docs": {
6496 "summary": "- tree inspector to collect and process attributes."
6497 },
6498 "name": "inspector",
6499 "type": {
6500 "fqn": "@aws-cdk/core.TreeInspector"
6501 }
6502 }
6503 ]
6504 },
6505 {
6506 "docs": {
6507 "stability": "external"
6508 },
6509 "locationInModule": {
6510 "filename": "lib/codebuild.generated.ts",
6511 "line": 3244
6512 },
6513 "name": "renderProperties",
6514 "overrides": "@aws-cdk/core.CfnResource",
6515 "parameters": [
6516 {
6517 "name": "props",
6518 "type": {
6519 "collection": {
6520 "elementtype": {
6521 "primitive": "any"
6522 },
6523 "kind": "map"
6524 }
6525 }
6526 }
6527 ],
6528 "protected": true,
6529 "returns": {
6530 "type": {
6531 "collection": {
6532 "elementtype": {
6533 "primitive": "any"
6534 },
6535 "kind": "map"
6536 }
6537 }
6538 }
6539 }
6540 ],
6541 "name": "CfnSourceCredential",
6542 "properties": [
6543 {
6544 "const": true,
6545 "docs": {
6546 "stability": "external",
6547 "summary": "The CloudFormation resource type name for this resource class."
6548 },
6549 "immutable": true,
6550 "locationInModule": {
6551 "filename": "lib/codebuild.generated.ts",
6552 "line": 3156
6553 },
6554 "name": "CFN_RESOURCE_TYPE_NAME",
6555 "static": true,
6556 "type": {
6557 "primitive": "string"
6558 }
6559 },
6560 {
6561 "docs": {
6562 "stability": "external"
6563 },
6564 "immutable": true,
6565 "locationInModule": {
6566 "filename": "lib/codebuild.generated.ts",
6567 "line": 3235
6568 },
6569 "name": "cfnProperties",
6570 "overrides": "@aws-cdk/core.CfnResource",
6571 "protected": true,
6572 "type": {
6573 "collection": {
6574 "elementtype": {
6575 "primitive": "any"
6576 },
6577 "kind": "map"
6578 }
6579 }
6580 },
6581 {
6582 "docs": {
6583 "custom": {
6584 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-sourcecredential.html#cfn-codebuild-sourcecredential-authtype"
6585 },
6586 "remarks": "Valid options are OAUTH, BASIC_AUTH, or PERSONAL_ACCESS_TOKEN.",
6587 "stability": "external",
6588 "summary": "The type of authentication used by the credentials."
6589 },
6590 "locationInModule": {
6591 "filename": "lib/codebuild.generated.ts",
6592 "line": 3182
6593 },
6594 "name": "authType",
6595 "type": {
6596 "primitive": "string"
6597 }
6598 },
6599 {
6600 "docs": {
6601 "custom": {
6602 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-sourcecredential.html#cfn-codebuild-sourcecredential-servertype"
6603 },
6604 "remarks": "The valid options are GITHUB, GITHUB_ENTERPRISE, or BITBUCKET.",
6605 "stability": "external",
6606 "summary": "The type of source provider."
6607 },
6608 "locationInModule": {
6609 "filename": "lib/codebuild.generated.ts",
6610 "line": 3189
6611 },
6612 "name": "serverType",
6613 "type": {
6614 "primitive": "string"
6615 }
6616 },
6617 {
6618 "docs": {
6619 "custom": {
6620 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-sourcecredential.html#cfn-codebuild-sourcecredential-token"
6621 },
6622 "remarks": "For Bitbucket, this is the app password.",
6623 "stability": "external",
6624 "summary": "For GitHub or GitHub Enterprise, this is the personal access token."
6625 },
6626 "locationInModule": {
6627 "filename": "lib/codebuild.generated.ts",
6628 "line": 3196
6629 },
6630 "name": "token",
6631 "type": {
6632 "primitive": "string"
6633 }
6634 },
6635 {
6636 "docs": {
6637 "custom": {
6638 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-sourcecredential.html#cfn-codebuild-sourcecredential-username"
6639 },
6640 "remarks": "This parameter is not valid for other types of source providers or connections.",
6641 "stability": "external",
6642 "summary": "The Bitbucket username when the `authType` is BASIC_AUTH."
6643 },
6644 "locationInModule": {
6645 "filename": "lib/codebuild.generated.ts",
6646 "line": 3203
6647 },
6648 "name": "username",
6649 "optional": true,
6650 "type": {
6651 "primitive": "string"
6652 }
6653 }
6654 ],
6655 "symbolId": "lib/codebuild.generated:CfnSourceCredential"
6656 },
6657 "@aws-cdk/aws-codebuild.CfnSourceCredentialProps": {
6658 "assembly": "@aws-cdk/aws-codebuild",
6659 "datatype": true,
6660 "docs": {
6661 "custom": {
6662 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-sourcecredential.html",
6663 "exampleMetadata": "fixture=_generated"
6664 },
6665 "stability": "external",
6666 "summary": "Properties for defining a `CfnSourceCredential`.",
6667 "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 cfnSourceCredentialProps: codebuild.CfnSourceCredentialProps = {\n authType: 'authType',\n serverType: 'serverType',\n token: 'token',\n\n // the properties below are optional\n username: 'username',\n};"
6668 },
6669 "fqn": "@aws-cdk/aws-codebuild.CfnSourceCredentialProps",
6670 "kind": "interface",
6671 "locationInModule": {
6672 "filename": "lib/codebuild.generated.ts",
6673 "line": 3052
6674 },
6675 "name": "CfnSourceCredentialProps",
6676 "properties": [
6677 {
6678 "abstract": true,
6679 "docs": {
6680 "custom": {
6681 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-sourcecredential.html#cfn-codebuild-sourcecredential-authtype"
6682 },
6683 "remarks": "Valid options are OAUTH, BASIC_AUTH, or PERSONAL_ACCESS_TOKEN.",
6684 "stability": "external",
6685 "summary": "The type of authentication used by the credentials."
6686 },
6687 "immutable": true,
6688 "locationInModule": {
6689 "filename": "lib/codebuild.generated.ts",
6690 "line": 3059
6691 },
6692 "name": "authType",
6693 "type": {
6694 "primitive": "string"
6695 }
6696 },
6697 {
6698 "abstract": true,
6699 "docs": {
6700 "custom": {
6701 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-sourcecredential.html#cfn-codebuild-sourcecredential-servertype"
6702 },
6703 "remarks": "The valid options are GITHUB, GITHUB_ENTERPRISE, or BITBUCKET.",
6704 "stability": "external",
6705 "summary": "The type of source provider."
6706 },
6707 "immutable": true,
6708 "locationInModule": {
6709 "filename": "lib/codebuild.generated.ts",
6710 "line": 3066
6711 },
6712 "name": "serverType",
6713 "type": {
6714 "primitive": "string"
6715 }
6716 },
6717 {
6718 "abstract": true,
6719 "docs": {
6720 "custom": {
6721 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-sourcecredential.html#cfn-codebuild-sourcecredential-token"
6722 },
6723 "remarks": "For Bitbucket, this is the app password.",
6724 "stability": "external",
6725 "summary": "For GitHub or GitHub Enterprise, this is the personal access token."
6726 },
6727 "immutable": true,
6728 "locationInModule": {
6729 "filename": "lib/codebuild.generated.ts",
6730 "line": 3073
6731 },
6732 "name": "token",
6733 "type": {
6734 "primitive": "string"
6735 }
6736 },
6737 {
6738 "abstract": true,
6739 "docs": {
6740 "custom": {
6741 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-sourcecredential.html#cfn-codebuild-sourcecredential-username"
6742 },
6743 "remarks": "This parameter is not valid for other types of source providers or connections.",
6744 "stability": "external",
6745 "summary": "The Bitbucket username when the `authType` is BASIC_AUTH."
6746 },
6747 "immutable": true,
6748 "locationInModule": {
6749 "filename": "lib/codebuild.generated.ts",
6750 "line": 3080
6751 },
6752 "name": "username",
6753 "optional": true,
6754 "type": {
6755 "primitive": "string"
6756 }
6757 }
6758 ],
6759 "symbolId": "lib/codebuild.generated:CfnSourceCredentialProps"
6760 },
6761 "@aws-cdk/aws-codebuild.CloudWatchLoggingOptions": {
6762 "assembly": "@aws-cdk/aws-codebuild",
6763 "datatype": true,
6764 "docs": {
6765 "stability": "stable",
6766 "summary": "Information about logs built to a CloudWatch Log Group for a build project.",
6767 "example": "new codebuild.Project(this, 'Project', {\n logging: {\n cloudWatch: {\n logGroup: new logs.LogGroup(this, `MyLogGroup`),\n }\n },\n})",
6768 "custom": {
6769 "exampleMetadata": "infused"
6770 }
6771 },
6772 "fqn": "@aws-cdk/aws-codebuild.CloudWatchLoggingOptions",
6773 "kind": "interface",
6774 "locationInModule": {
6775 "filename": "lib/project-logs.ts",
6776 "line": 38
6777 },
6778 "name": "CloudWatchLoggingOptions",
6779 "properties": [
6780 {
6781 "abstract": true,
6782 "docs": {
6783 "default": "true",
6784 "stability": "stable",
6785 "summary": "The current status of the logs in Amazon CloudWatch Logs for a build project."
6786 },
6787 "immutable": true,
6788 "locationInModule": {
6789 "filename": "lib/project-logs.ts",
6790 "line": 58
6791 },
6792 "name": "enabled",
6793 "optional": true,
6794 "type": {
6795 "primitive": "boolean"
6796 }
6797 },
6798 {
6799 "abstract": true,
6800 "docs": {
6801 "default": "- no log group specified",
6802 "stability": "stable",
6803 "summary": "The Log Group to send logs to."
6804 },
6805 "immutable": true,
6806 "locationInModule": {
6807 "filename": "lib/project-logs.ts",
6808 "line": 44
6809 },
6810 "name": "logGroup",
6811 "optional": true,
6812 "type": {
6813 "fqn": "@aws-cdk/aws-logs.ILogGroup"
6814 }
6815 },
6816 {
6817 "abstract": true,
6818 "docs": {
6819 "default": "- no prefix",
6820 "stability": "stable",
6821 "summary": "The prefix of the stream name of the Amazon CloudWatch Logs."
6822 },
6823 "immutable": true,
6824 "locationInModule": {
6825 "filename": "lib/project-logs.ts",
6826 "line": 51
6827 },
6828 "name": "prefix",
6829 "optional": true,
6830 "type": {
6831 "primitive": "string"
6832 }
6833 }
6834 ],
6835 "symbolId": "lib/project-logs:CloudWatchLoggingOptions"
6836 },
6837 "@aws-cdk/aws-codebuild.CodeCommitSourceProps": {
6838 "assembly": "@aws-cdk/aws-codebuild",
6839 "datatype": true,
6840 "docs": {
6841 "stability": "stable",
6842 "summary": "Construction properties for {@link CodeCommitSource}.",
6843 "example": "import * 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});",
6844 "custom": {
6845 "exampleMetadata": "infused"
6846 }
6847 },
6848 "fqn": "@aws-cdk/aws-codebuild.CodeCommitSourceProps",
6849 "interfaces": [
6850 "@aws-cdk/aws-codebuild.SourceProps"
6851 ],
6852 "kind": "interface",
6853 "locationInModule": {
6854 "filename": "lib/source.ts",
6855 "line": 573
6856 },
6857 "name": "CodeCommitSourceProps",
6858 "properties": [
6859 {
6860 "abstract": true,
6861 "docs": {
6862 "stability": "stable"
6863 },
6864 "immutable": true,
6865 "locationInModule": {
6866 "filename": "lib/source.ts",
6867 "line": 574
6868 },
6869 "name": "repository",
6870 "type": {
6871 "fqn": "@aws-cdk/aws-codecommit.IRepository"
6872 }
6873 },
6874 {
6875 "abstract": true,
6876 "docs": {
6877 "default": "the default branch's HEAD commit ID is used",
6878 "example": "'mybranch'",
6879 "stability": "stable",
6880 "summary": "The commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build."
6881 },
6882 "immutable": true,
6883 "locationInModule": {
6884 "filename": "lib/source.ts",
6885 "line": 124
6886 },
6887 "name": "branchOrRef",
6888 "optional": true,
6889 "type": {
6890 "primitive": "string"
6891 }
6892 },
6893 {
6894 "abstract": true,
6895 "docs": {
6896 "remarks": "Minimum value is 0.\nIf this value is 0, greater than 25, or not provided,\nthen the full history is downloaded with each build of the project.",
6897 "stability": "stable",
6898 "summary": "The depth of history to download."
6899 },
6900 "immutable": true,
6901 "locationInModule": {
6902 "filename": "lib/source.ts",
6903 "line": 115
6904 },
6905 "name": "cloneDepth",
6906 "optional": true,
6907 "type": {
6908 "primitive": "number"
6909 }
6910 },
6911 {
6912 "abstract": true,
6913 "docs": {
6914 "default": "false",
6915 "stability": "stable",
6916 "summary": "Whether to fetch submodules while cloning git repo."
6917 },
6918 "immutable": true,
6919 "locationInModule": {
6920 "filename": "lib/source.ts",
6921 "line": 131
6922 },
6923 "name": "fetchSubmodules",
6924 "optional": true,
6925 "type": {
6926 "primitive": "boolean"
6927 }
6928 }
6929 ],
6930 "symbolId": "lib/source:CodeCommitSourceProps"
6931 },
6932 "@aws-cdk/aws-codebuild.CommonProjectProps": {
6933 "assembly": "@aws-cdk/aws-codebuild",
6934 "datatype": true,
6935 "docs": {
6936 "stability": "stable",
6937 "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 ec2 from '@aws-cdk/aws-ec2';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as kms from '@aws-cdk/aws-kms';\nimport * as logs from '@aws-cdk/aws-logs';\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const bucket: s3.Bucket;\ndeclare const buildImage: codebuild.IBuildImage;\ndeclare const buildSpec: codebuild.BuildSpec;\ndeclare const cache: codebuild.Cache;\ndeclare const fileSystemLocation: codebuild.IFileSystemLocation;\ndeclare const key: kms.Key;\ndeclare const logGroup: logs.LogGroup;\ndeclare const role: iam.Role;\ndeclare const securityGroup: ec2.SecurityGroup;\ndeclare const subnet: ec2.Subnet;\ndeclare const subnetFilter: ec2.SubnetFilter;\ndeclare const value: any;\ndeclare const vpc: ec2.Vpc;\nconst commonProjectProps: codebuild.CommonProjectProps = {\n allowAllOutbound: false,\n badge: false,\n buildSpec: buildSpec,\n cache: cache,\n checkSecretsInPlainTextEnvVariables: false,\n concurrentBuildLimit: 123,\n description: 'description',\n encryptionKey: key,\n environment: {\n buildImage: buildImage,\n certificate: {\n bucket: bucket,\n objectKey: 'objectKey',\n },\n computeType: codebuild.ComputeType.SMALL,\n environmentVariables: {\n environmentVariablesKey: {\n value: value,\n\n // the properties below are optional\n type: codebuild.BuildEnvironmentVariableType.PLAINTEXT,\n },\n },\n privileged: false,\n },\n environmentVariables: {\n environmentVariablesKey: {\n value: value,\n\n // the properties below are optional\n type: codebuild.BuildEnvironmentVariableType.PLAINTEXT,\n },\n },\n fileSystemLocations: [fileSystemLocation],\n grantReportGroupPermissions: false,\n logging: {\n cloudWatch: {\n enabled: false,\n logGroup: logGroup,\n prefix: 'prefix',\n },\n s3: {\n bucket: bucket,\n\n // the properties below are optional\n enabled: false,\n encrypted: false,\n prefix: 'prefix',\n },\n },\n projectName: 'projectName',\n queuedTimeout: cdk.Duration.minutes(30),\n role: role,\n securityGroups: [securityGroup],\n subnetSelection: {\n availabilityZones: ['availabilityZones'],\n onePerAz: false,\n subnetFilters: [subnetFilter],\n subnetGroupName: 'subnetGroupName',\n subnetName: 'subnetName',\n subnets: [subnet],\n subnetType: ec2.SubnetType.ISOLATED,\n },\n timeout: cdk.Duration.minutes(30),\n vpc: vpc,\n};",
6938 "custom": {
6939 "exampleMetadata": "fixture=_generated"
6940 }
6941 },
6942 "fqn": "@aws-cdk/aws-codebuild.CommonProjectProps",
6943 "kind": "interface",
6944 "locationInModule": {
6945 "filename": "lib/project.ts",
6946 "line": 523
6947 },
6948 "name": "CommonProjectProps",
6949 "properties": [
6950 {
6951 "abstract": true,
6952 "docs": {
6953 "default": "true",
6954 "remarks": "If set to false, you must individually add traffic rules to allow the\nCodeBuild project to connect to network targets.\n\nOnly used if 'vpc' is supplied.",
6955 "stability": "stable",
6956 "summary": "Whether to allow the CodeBuild to send all network traffic."
6957 },
6958 "immutable": true,
6959 "locationInModule": {
6960 "filename": "lib/project.ts",
6961 "line": 650
6962 },
6963 "name": "allowAllOutbound",
6964 "optional": true,
6965 "type": {
6966 "primitive": "boolean"
6967 }
6968 },
6969 {
6970 "abstract": true,
6971 "docs": {
6972 "default": "false",
6973 "remarks": "For more information, see Build Badges Sample\nin the AWS CodeBuild User Guide.",
6974 "stability": "stable",
6975 "summary": "Indicates whether AWS CodeBuild generates a publicly accessible URL for your project's build badge."
6976 },
6977 "immutable": true,
6978 "locationInModule": {
6979 "filename": "lib/project.ts",
6980 "line": 575
6981 },
6982 "name": "badge",
6983 "optional": true,
6984 "type": {
6985 "primitive": "boolean"
6986 }
6987 },
6988 {
6989 "abstract": true,
6990 "docs": {
6991 "default": "- Empty buildspec.",
6992 "see": "https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec-ref-example",
6993 "stability": "stable",
6994 "summary": "Filename or contents of buildspec in JSON format."
6995 },
6996 "immutable": true,
6997 "locationInModule": {
6998 "filename": "lib/project.ts",
6999 "line": 538
7000 },
7001 "name": "buildSpec",
7002 "optional": true,
7003 "type": {
7004 "fqn": "@aws-cdk/aws-codebuild.BuildSpec"
7005 }
7006 },
7007 {
7008 "abstract": true,
7009 "docs": {
7010 "default": "Cache.none",
7011 "stability": "stable",
7012 "summary": "Caching strategy to use."
7013 },
7014 "immutable": true,
7015 "locationInModule": {
7016 "filename": "lib/project.ts",
7017 "line": 559
7018 },
7019 "name": "cache",
7020 "optional": true,
7021 "type": {
7022 "fqn": "@aws-cdk/aws-codebuild.Cache"
7023 }
7024 },
7025 {
7026 "abstract": true,
7027 "docs": {
7028 "default": "true",
7029 "stability": "stable",
7030 "summary": "Whether to check for the presence of any secrets in the environment variables of the default type, BuildEnvironmentVariableType.PLAINTEXT. Since using a secret for the value of that kind of variable would result in it being displayed in plain text in the AWS Console, the construct will throw an exception if it detects a secret was passed there. Pass this property as false if you want to skip this validation, and keep using a secret in a plain text environment variable."
7031 },
7032 "immutable": true,
7033 "locationInModule": {
7034 "filename": "lib/project.ts",
7035 "line": 602
7036 },
7037 "name": "checkSecretsInPlainTextEnvVariables",
7038 "optional": true,
7039 "type": {
7040 "primitive": "boolean"
7041 }
7042 },
7043 {
7044 "abstract": true,
7045 "docs": {
7046 "default": "- no explicit limit is set",
7047 "remarks": "Minimum value is 1 and maximum is account build limit.",
7048 "stability": "stable",
7049 "summary": "Maximum number of concurrent builds."
7050 },
7051 "immutable": true,
7052 "locationInModule": {
7053 "filename": "lib/project.ts",
7054 "line": 698
7055 },
7056 "name": "concurrentBuildLimit",
7057 "optional": true,
7058 "type": {
7059 "primitive": "number"
7060 }
7061 },
7062 {
7063 "abstract": true,
7064 "docs": {
7065 "default": "- No description.",
7066 "remarks": "Use the description to identify the purpose\nof the project.",
7067 "stability": "stable",
7068 "summary": "A description of the project."
7069 },
7070 "immutable": true,
7071 "locationInModule": {
7072 "filename": "lib/project.ts",
7073 "line": 530
7074 },
7075 "name": "description",
7076 "optional": true,
7077 "type": {
7078 "primitive": "string"
7079 }
7080 },
7081 {
7082 "abstract": true,
7083 "docs": {
7084 "default": "- The AWS-managed CMK for Amazon Simple Storage Service (Amazon S3) is used.",
7085 "stability": "stable",
7086 "summary": "Encryption key to use to read and write artifacts."
7087 },
7088 "immutable": true,
7089 "locationInModule": {
7090 "filename": "lib/project.ts",
7091 "line": 552
7092 },
7093 "name": "encryptionKey",
7094 "optional": true,
7095 "type": {
7096 "fqn": "@aws-cdk/aws-kms.IKey"
7097 }
7098 },
7099 {
7100 "abstract": true,
7101 "docs": {
7102 "default": "BuildEnvironment.LinuxBuildImage.STANDARD_1_0",
7103 "stability": "stable",
7104 "summary": "Build environment to use for the build."
7105 },
7106 "immutable": true,
7107 "locationInModule": {
7108 "filename": "lib/project.ts",
7109 "line": 566
7110 },
7111 "name": "environment",
7112 "optional": true,
7113 "type": {
7114 "fqn": "@aws-cdk/aws-codebuild.BuildEnvironment"
7115 }
7116 },
7117 {
7118 "abstract": true,
7119 "docs": {
7120 "default": "- No additional environment variables are specified.",
7121 "stability": "stable",
7122 "summary": "Additional environment variables to add to the build environment."
7123 },
7124 "immutable": true,
7125 "locationInModule": {
7126 "filename": "lib/project.ts",
7127 "line": 591
7128 },
7129 "name": "environmentVariables",
7130 "optional": true,
7131 "type": {
7132 "collection": {
7133 "elementtype": {
7134 "fqn": "@aws-cdk/aws-codebuild.BuildEnvironmentVariable"
7135 },
7136 "kind": "map"
7137 }
7138 }
7139 },
7140 {
7141 "abstract": true,
7142 "docs": {
7143 "default": "- no file system locations",
7144 "remarks": "A ProjectFileSystemLocation object specifies the identifier, location, mountOptions, mountPoint,\nand type of a file system created using Amazon Elastic File System.",
7145 "stability": "stable",
7146 "summary": "An ProjectFileSystemLocation objects for a CodeBuild build project."
7147 },
7148 "immutable": true,
7149 "locationInModule": {
7150 "filename": "lib/project.ts",
7151 "line": 660
7152 },
7153 "name": "fileSystemLocations",
7154 "optional": true,
7155 "type": {
7156 "collection": {
7157 "elementtype": {
7158 "fqn": "@aws-cdk/aws-codebuild.IFileSystemLocation"
7159 },
7160 "kind": "array"
7161 }
7162 }
7163 },
7164 {
7165 "abstract": true,
7166 "docs": {
7167 "default": "true",
7168 "remarks": "That is the standard report group that gets created when a simple name\n(in contrast to an ARN)\nis used in the 'reports' section of the buildspec of this project.\nThis is usually harmless, but you can turn these off if you don't plan on using test\nreports in this project.",
7169 "see": "https://docs.aws.amazon.com/codebuild/latest/userguide/test-report-group-naming.html",
7170 "stability": "stable",
7171 "summary": "Add permissions to this project's role to create and use test report groups with name starting with the name of this project."
7172 },
7173 "immutable": true,
7174 "locationInModule": {
7175 "filename": "lib/project.ts",
7176 "line": 675
7177 },
7178 "name": "grantReportGroupPermissions",
7179 "optional": true,
7180 "type": {
7181 "primitive": "boolean"
7182 }
7183 },
7184 {
7185 "abstract": true,
7186 "docs": {
7187 "default": "- no log configuration is set",
7188 "remarks": "A project can create logs in Amazon CloudWatch Logs, an S3 bucket, or both.",
7189 "stability": "stable",
7190 "summary": "Information about logs for the build project."
7191 },
7192 "immutable": true,
7193 "locationInModule": {
7194 "filename": "lib/project.ts",
7195 "line": 682
7196 },
7197 "name": "logging",
7198 "optional": true,
7199 "type": {
7200 "fqn": "@aws-cdk/aws-codebuild.LoggingOptions"
7201 }
7202 },
7203 {
7204 "abstract": true,
7205 "docs": {
7206 "default": "- Name is automatically generated.",
7207 "stability": "stable",
7208 "summary": "The physical, human-readable name of the CodeBuild Project."
7209 },
7210 "immutable": true,
7211 "locationInModule": {
7212 "filename": "lib/project.ts",
7213 "line": 609
7214 },
7215 "name": "projectName",
7216 "optional": true,
7217 "type": {
7218 "primitive": "string"
7219 }
7220 },
7221 {
7222 "abstract": true,
7223 "docs": {
7224 "default": "- no queue timeout is set",
7225 "remarks": "For valid values, see the timeoutInMinutes field in the AWS\nCodeBuild User Guide.",
7226 "stability": "stable",
7227 "summary": "The number of minutes after which AWS CodeBuild stops the build if it's still in queue."
7228 },
7229 "immutable": true,
7230 "locationInModule": {
7231 "filename": "lib/project.ts",
7232 "line": 691
7233 },
7234 "name": "queuedTimeout",
7235 "optional": true,
7236 "type": {
7237 "fqn": "@aws-cdk/core.Duration"
7238 }
7239 },
7240 {
7241 "abstract": true,
7242 "docs": {
7243 "default": "- A role will be created.",
7244 "stability": "stable",
7245 "summary": "Service Role to assume while running the build."
7246 },
7247 "immutable": true,
7248 "locationInModule": {
7249 "filename": "lib/project.ts",
7250 "line": 545
7251 },
7252 "name": "role",
7253 "optional": true,
7254 "type": {
7255 "fqn": "@aws-cdk/aws-iam.IRole"
7256 }
7257 },
7258 {
7259 "abstract": true,
7260 "docs": {
7261 "default": "- Security group will be automatically created.",
7262 "remarks": "If no security group is identified, one will be created automatically.\n\nOnly used if 'vpc' is supplied.",
7263 "stability": "stable",
7264 "summary": "What security group to associate with the codebuild project's network interfaces."
7265 },
7266 "immutable": true,
7267 "locationInModule": {
7268 "filename": "lib/project.ts",
7269 "line": 638
7270 },
7271 "name": "securityGroups",
7272 "optional": true,
7273 "type": {
7274 "collection": {
7275 "elementtype": {
7276 "fqn": "@aws-cdk/aws-ec2.ISecurityGroup"
7277 },
7278 "kind": "array"
7279 }
7280 }
7281 },
7282 {
7283 "abstract": true,
7284 "docs": {
7285 "default": "- All private subnets.",
7286 "remarks": "Only used if 'vpc' is supplied.",
7287 "stability": "stable",
7288 "summary": "Where to place the network interfaces within the VPC."
7289 },
7290 "immutable": true,
7291 "locationInModule": {
7292 "filename": "lib/project.ts",
7293 "line": 627
7294 },
7295 "name": "subnetSelection",
7296 "optional": true,
7297 "type": {
7298 "fqn": "@aws-cdk/aws-ec2.SubnetSelection"
7299 }
7300 },
7301 {
7302 "abstract": true,
7303 "docs": {
7304 "default": "Duration.hours(1)",
7305 "remarks": "For valid values, see the timeoutInMinutes field in the AWS\nCodeBuild User Guide.",
7306 "stability": "stable",
7307 "summary": "The number of minutes after which AWS CodeBuild stops the build if it's not complete."
7308 },
7309 "immutable": true,
7310 "locationInModule": {
7311 "filename": "lib/project.ts",
7312 "line": 584
7313 },
7314 "name": "timeout",
7315 "optional": true,
7316 "type": {
7317 "fqn": "@aws-cdk/core.Duration"
7318 }
7319 },
7320 {
7321 "abstract": true,
7322 "docs": {
7323 "default": "- No VPC is specified.",
7324 "remarks": "Specify this if the codebuild project needs to access resources in a VPC.",
7325 "stability": "stable",
7326 "summary": "VPC network to place codebuild network interfaces."
7327 },
7328 "immutable": true,
7329 "locationInModule": {
7330 "filename": "lib/project.ts",
7331 "line": 618
7332 },
7333 "name": "vpc",
7334 "optional": true,
7335 "type": {
7336 "fqn": "@aws-cdk/aws-ec2.IVpc"
7337 }
7338 }
7339 ],
7340 "symbolId": "lib/project:CommonProjectProps"
7341 },
7342 "@aws-cdk/aws-codebuild.ComputeType": {
7343 "assembly": "@aws-cdk/aws-codebuild",
7344 "docs": {
7345 "stability": "stable",
7346 "summary": "Build machine compute type.",
7347 "example": "declare const vpc: ec2.Vpc;\ndeclare const mySecurityGroup: ec2.SecurityGroup;\nnew pipelines.CodeBuildStep('Synth', {\n // ...standard ShellStep props...\n commands: [/* ... */],\n env: { /* ... */ },\n\n // If you are using a CodeBuildStep explicitly, set the 'cdk.out' directory\n // to be the synth step's output.\n primaryOutputDirectory: 'cdk.out',\n\n // Control the name of the project\n projectName: 'MyProject',\n\n // Control parts of the BuildSpec other than the regular 'build' and 'install' commands\n partialBuildSpec: codebuild.BuildSpec.fromObject({\n version: '0.2',\n // ...\n }),\n\n // Control the build environment\n buildEnvironment: {\n computeType: codebuild.ComputeType.LARGE,\n },\n timeout: Duration.minutes(90),\n\n // Control Elastic Network Interface creation\n vpc: vpc,\n subnetSelection: { subnetType: ec2.SubnetType.PRIVATE_WITH_NAT },\n securityGroups: [mySecurityGroup],\n\n // Additional policy statements for the execution role\n rolePolicyStatements: [\n new iam.PolicyStatement({ /* ... */ }),\n ],\n});",
7348 "custom": {
7349 "exampleMetadata": "infused"
7350 }
7351 },
7352 "fqn": "@aws-cdk/aws-codebuild.ComputeType",
7353 "kind": "enum",
7354 "locationInModule": {
7355 "filename": "lib/project.ts",
7356 "line": 1505
7357 },
7358 "members": [
7359 {
7360 "docs": {
7361 "stability": "stable"
7362 },
7363 "name": "SMALL"
7364 },
7365 {
7366 "docs": {
7367 "stability": "stable"
7368 },
7369 "name": "MEDIUM"
7370 },
7371 {
7372 "docs": {
7373 "stability": "stable"
7374 },
7375 "name": "LARGE"
7376 },
7377 {
7378 "docs": {
7379 "stability": "stable"
7380 },
7381 "name": "X2_LARGE"
7382 }
7383 ],
7384 "name": "ComputeType",
7385 "symbolId": "lib/project:ComputeType"
7386 },
7387 "@aws-cdk/aws-codebuild.DockerImageOptions": {
7388 "assembly": "@aws-cdk/aws-codebuild",
7389 "datatype": true,
7390 "docs": {
7391 "stability": "stable",
7392 "summary": "The options when creating a CodeBuild Docker build image using {@link LinuxBuildImage.fromDockerRegistry} or {@link WindowsBuildImage.fromDockerRegistry}.",
7393 "example": "environment: {\n buildImage: codebuild.LinuxBuildImage.fromDockerRegistry('my-registry/my-repo', {\n secretsManagerCredentials: secrets,\n }),\n},",
7394 "custom": {
7395 "exampleMetadata": "lit=test/integ.docker-registry.lit.ts infused"
7396 }
7397 },
7398 "fqn": "@aws-cdk/aws-codebuild.DockerImageOptions",
7399 "kind": "interface",
7400 "locationInModule": {
7401 "filename": "lib/project.ts",
7402 "line": 1650
7403 },
7404 "name": "DockerImageOptions",
7405 "properties": [
7406 {
7407 "abstract": true,
7408 "docs": {
7409 "default": "no credentials will be used (we assume the repository is public)",
7410 "stability": "stable",
7411 "summary": "The credentials, stored in Secrets Manager, used for accessing the repository holding the image, if the repository is private."
7412 },
7413 "immutable": true,
7414 "locationInModule": {
7415 "filename": "lib/project.ts",
7416 "line": 1658
7417 },
7418 "name": "secretsManagerCredentials",
7419 "optional": true,
7420 "type": {
7421 "fqn": "@aws-cdk/aws-secretsmanager.ISecret"
7422 }
7423 }
7424 ],
7425 "symbolId": "lib/project:DockerImageOptions"
7426 },
7427 "@aws-cdk/aws-codebuild.EfsFileSystemLocationProps": {
7428 "assembly": "@aws-cdk/aws-codebuild",
7429 "datatype": true,
7430 "docs": {
7431 "stability": "stable",
7432 "summary": "Construction properties for {@link EfsFileSystemLocation}.",
7433 "example": "new 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});",
7434 "custom": {
7435 "exampleMetadata": "infused"
7436 }
7437 },
7438 "fqn": "@aws-cdk/aws-codebuild.EfsFileSystemLocationProps",
7439 "kind": "interface",
7440 "locationInModule": {
7441 "filename": "lib/file-location.ts",
7442 "line": 66
7443 },
7444 "name": "EfsFileSystemLocationProps",
7445 "properties": [
7446 {
7447 "abstract": true,
7448 "docs": {
7449 "stability": "stable",
7450 "summary": "The name used to access a file system created by Amazon EFS."
7451 },
7452 "immutable": true,
7453 "locationInModule": {
7454 "filename": "lib/file-location.ts",
7455 "line": 70
7456 },
7457 "name": "identifier",
7458 "type": {
7459 "primitive": "string"
7460 }
7461 },
7462 {
7463 "abstract": true,
7464 "docs": {
7465 "remarks": "This value looks like `fs-abcd1234.efs.us-west-2.amazonaws.com:/my-efs-mount-directory`.",
7466 "stability": "stable",
7467 "summary": "A string that specifies the location of the file system, like Amazon EFS."
7468 },
7469 "immutable": true,
7470 "locationInModule": {
7471 "filename": "lib/file-location.ts",
7472 "line": 77
7473 },
7474 "name": "location",
7475 "type": {
7476 "primitive": "string"
7477 }
7478 },
7479 {
7480 "abstract": true,
7481 "docs": {
7482 "stability": "stable",
7483 "summary": "The location in the container where you mount the file system."
7484 },
7485 "immutable": true,
7486 "locationInModule": {
7487 "filename": "lib/file-location.ts",
7488 "line": 88
7489 },
7490 "name": "mountPoint",
7491 "type": {
7492 "primitive": "string"
7493 }
7494 },
7495 {
7496 "abstract": true,
7497 "docs": {
7498 "default": "'nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2'.",
7499 "stability": "stable",
7500 "summary": "The mount options for a file system such as Amazon EFS."
7501 },
7502 "immutable": true,
7503 "locationInModule": {
7504 "filename": "lib/file-location.ts",
7505 "line": 83
7506 },
7507 "name": "mountOptions",
7508 "optional": true,
7509 "type": {
7510 "primitive": "string"
7511 }
7512 }
7513 ],
7514 "symbolId": "lib/file-location:EfsFileSystemLocationProps"
7515 },
7516 "@aws-cdk/aws-codebuild.EventAction": {
7517 "assembly": "@aws-cdk/aws-codebuild",
7518 "docs": {
7519 "stability": "stable",
7520 "summary": "The types of webhook event actions.",
7521 "example": "const 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});",
7522 "custom": {
7523 "exampleMetadata": "infused"
7524 }
7525 },
7526 "fqn": "@aws-cdk/aws-codebuild.EventAction",
7527 "kind": "enum",
7528 "locationInModule": {
7529 "filename": "lib/source.ts",
7530 "line": 168
7531 },
7532 "members": [
7533 {
7534 "docs": {
7535 "stability": "stable",
7536 "summary": "A push (of a branch, or a tag) to the repository."
7537 },
7538 "name": "PUSH"
7539 },
7540 {
7541 "docs": {
7542 "stability": "stable",
7543 "summary": "Creating a Pull Request."
7544 },
7545 "name": "PULL_REQUEST_CREATED"
7546 },
7547 {
7548 "docs": {
7549 "stability": "stable",
7550 "summary": "Updating a Pull Request."
7551 },
7552 "name": "PULL_REQUEST_UPDATED"
7553 },
7554 {
7555 "docs": {
7556 "stability": "stable",
7557 "summary": "Merging a Pull Request."
7558 },
7559 "name": "PULL_REQUEST_MERGED"
7560 },
7561 {
7562 "docs": {
7563 "remarks": "Note that this event is only supported for GitHub and GitHubEnterprise sources.",
7564 "stability": "stable",
7565 "summary": "Re-opening a previously closed Pull Request."
7566 },
7567 "name": "PULL_REQUEST_REOPENED"
7568 }
7569 ],
7570 "name": "EventAction",
7571 "symbolId": "lib/source:EventAction"
7572 },
7573 "@aws-cdk/aws-codebuild.FileSystemConfig": {
7574 "assembly": "@aws-cdk/aws-codebuild",
7575 "datatype": true,
7576 "docs": {
7577 "stability": "stable",
7578 "summary": "The type returned from {@link IFileSystemLocation#bind}.",
7579 "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 fileSystemConfig: codebuild.FileSystemConfig = {\n location: {\n identifier: 'identifier',\n location: 'location',\n mountPoint: 'mountPoint',\n type: 'type',\n\n // the properties below are optional\n mountOptions: 'mountOptions',\n },\n};",
7580 "custom": {
7581 "exampleMetadata": "fixture=_generated"
7582 }
7583 },
7584 "fqn": "@aws-cdk/aws-codebuild.FileSystemConfig",
7585 "kind": "interface",
7586 "locationInModule": {
7587 "filename": "lib/file-location.ts",
7588 "line": 11
7589 },
7590 "name": "FileSystemConfig",
7591 "properties": [
7592 {
7593 "abstract": true,
7594 "docs": {
7595 "see": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectfilesystemlocation.html",
7596 "stability": "stable",
7597 "summary": "File system location wrapper property."
7598 },
7599 "immutable": true,
7600 "locationInModule": {
7601 "filename": "lib/file-location.ts",
7602 "line": 16
7603 },
7604 "name": "location",
7605 "type": {
7606 "fqn": "@aws-cdk/aws-codebuild.CfnProject.ProjectFileSystemLocationProperty"
7607 }
7608 }
7609 ],
7610 "symbolId": "lib/file-location:FileSystemConfig"
7611 },
7612 "@aws-cdk/aws-codebuild.FileSystemLocation": {
7613 "assembly": "@aws-cdk/aws-codebuild",
7614 "docs": {
7615 "stability": "stable",
7616 "summary": "FileSystemLocation provider definition for a CodeBuild Project.",
7617 "example": "new 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});",
7618 "custom": {
7619 "exampleMetadata": "infused"
7620 }
7621 },
7622 "fqn": "@aws-cdk/aws-codebuild.FileSystemLocation",
7623 "initializer": {
7624 "docs": {
7625 "stability": "stable"
7626 }
7627 },
7628 "kind": "class",
7629 "locationInModule": {
7630 "filename": "lib/file-location.ts",
7631 "line": 34
7632 },
7633 "methods": [
7634 {
7635 "docs": {
7636 "stability": "stable",
7637 "summary": "EFS file system provider."
7638 },
7639 "locationInModule": {
7640 "filename": "lib/file-location.ts",
7641 "line": 39
7642 },
7643 "name": "efs",
7644 "parameters": [
7645 {
7646 "docs": {
7647 "summary": "the EFS File System location property."
7648 },
7649 "name": "props",
7650 "type": {
7651 "fqn": "@aws-cdk/aws-codebuild.EfsFileSystemLocationProps"
7652 }
7653 }
7654 ],
7655 "returns": {
7656 "type": {
7657 "fqn": "@aws-cdk/aws-codebuild.IFileSystemLocation"
7658 }
7659 },
7660 "static": true
7661 }
7662 ],
7663 "name": "FileSystemLocation",
7664 "symbolId": "lib/file-location:FileSystemLocation"
7665 },
7666 "@aws-cdk/aws-codebuild.FilterGroup": {
7667 "assembly": "@aws-cdk/aws-codebuild",
7668 "docs": {
7669 "remarks": "Every condition in a given FilterGroup must be true in order for the whole group to be true.\nYou construct instances of it by calling the {@link #inEventOf} static factory method,\nand then calling various `andXyz` instance methods to create modified instances of it\n(this class is immutable).\n\nYou pass instances of this class to the `webhookFilters` property when constructing a source.",
7670 "stability": "stable",
7671 "summary": "An object that represents a group of filter conditions for a webhook.",
7672 "example": "const 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});",
7673 "custom": {
7674 "exampleMetadata": "infused"
7675 }
7676 },
7677 "fqn": "@aws-cdk/aws-codebuild.FilterGroup",
7678 "kind": "class",
7679 "locationInModule": {
7680 "filename": "lib/source.ts",
7681 "line": 213
7682 },
7683 "methods": [
7684 {
7685 "docs": {
7686 "stability": "stable",
7687 "summary": "Creates a new event FilterGroup that triggers on any of the provided actions."
7688 },
7689 "locationInModule": {
7690 "filename": "lib/source.ts",
7691 "line": 219
7692 },
7693 "name": "inEventOf",
7694 "parameters": [
7695 {
7696 "docs": {
7697 "summary": "the actions to trigger the webhook on."
7698 },
7699 "name": "actions",
7700 "type": {
7701 "fqn": "@aws-cdk/aws-codebuild.EventAction"
7702 },
7703 "variadic": true
7704 }
7705 ],
7706 "returns": {
7707 "type": {
7708 "fqn": "@aws-cdk/aws-codebuild.FilterGroup"
7709 }
7710 },
7711 "static": true,
7712 "variadic": true
7713 },
7714 {
7715 "docs": {
7716 "stability": "stable",
7717 "summary": "Create a new FilterGroup with an added condition: the account ID of the actor initiating the event must match the given pattern."
7718 },
7719 "locationInModule": {
7720 "filename": "lib/source.ts",
7721 "line": 322
7722 },
7723 "name": "andActorAccountIs",
7724 "parameters": [
7725 {
7726 "docs": {
7727 "summary": "a regular expression."
7728 },
7729 "name": "pattern",
7730 "type": {
7731 "primitive": "string"
7732 }
7733 }
7734 ],
7735 "returns": {
7736 "type": {
7737 "fqn": "@aws-cdk/aws-codebuild.FilterGroup"
7738 }
7739 }
7740 },
7741 {
7742 "docs": {
7743 "stability": "stable",
7744 "summary": "Create a new FilterGroup with an added condition: the account ID of the actor initiating the event must not match the given pattern."
7745 },
7746 "locationInModule": {
7747 "filename": "lib/source.ts",
7748 "line": 332
7749 },
7750 "name": "andActorAccountIsNot",
7751 "parameters": [
7752 {
7753 "docs": {
7754 "summary": "a regular expression."
7755 },
7756 "name": "pattern",
7757 "type": {
7758 "primitive": "string"
7759 }
7760 }
7761 ],
7762 "returns": {
7763 "type": {
7764 "fqn": "@aws-cdk/aws-codebuild.FilterGroup"
7765 }
7766 }
7767 },
7768 {
7769 "docs": {
7770 "remarks": "Note that you cannot use this method if this Group contains the `PUSH` event action.",
7771 "stability": "stable",
7772 "summary": "Create a new FilterGroup with an added condition: the Pull Request that is the source of the event must target the given base branch."
7773 },
7774 "locationInModule": {
7775 "filename": "lib/source.ts",
7776 "line": 343
7777 },
7778 "name": "andBaseBranchIs",
7779 "parameters": [
7780 {
7781 "docs": {
7782 "summary": "the name of the branch (can be a regular expression)."
7783 },
7784 "name": "branchName",
7785 "type": {
7786 "primitive": "string"
7787 }
7788 }
7789 ],
7790 "returns": {
7791 "type": {
7792 "fqn": "@aws-cdk/aws-codebuild.FilterGroup"
7793 }
7794 }
7795 },
7796 {
7797 "docs": {
7798 "remarks": "Note that you cannot use this method if this Group contains the `PUSH` event action.",
7799 "stability": "stable",
7800 "summary": "Create a new FilterGroup with an added condition: the Pull Request that is the source of the event must not target the given base branch."
7801 },
7802 "locationInModule": {
7803 "filename": "lib/source.ts",
7804 "line": 354
7805 },
7806 "name": "andBaseBranchIsNot",
7807 "parameters": [
7808 {
7809 "docs": {
7810 "summary": "the name of the branch (can be a regular expression)."
7811 },
7812 "name": "branchName",
7813 "type": {
7814 "primitive": "string"
7815 }
7816 }
7817 ],
7818 "returns": {
7819 "type": {
7820 "fqn": "@aws-cdk/aws-codebuild.FilterGroup"
7821 }
7822 }
7823 },
7824 {
7825 "docs": {
7826 "remarks": "Note that you cannot use this method if this Group contains the `PUSH` event action.",
7827 "stability": "stable",
7828 "summary": "Create a new FilterGroup with an added condition: the Pull Request that is the source of the event must target the given Git reference."
7829 },
7830 "locationInModule": {
7831 "filename": "lib/source.ts",
7832 "line": 365
7833 },
7834 "name": "andBaseRefIs",
7835 "parameters": [
7836 {
7837 "docs": {
7838 "summary": "a regular expression."
7839 },
7840 "name": "pattern",
7841 "type": {
7842 "primitive": "string"
7843 }
7844 }
7845 ],
7846 "returns": {
7847 "type": {
7848 "fqn": "@aws-cdk/aws-codebuild.FilterGroup"
7849 }
7850 }
7851 },
7852 {
7853 "docs": {
7854 "remarks": "Note that you cannot use this method if this Group contains the `PUSH` event action.",
7855 "stability": "stable",
7856 "summary": "Create a new FilterGroup with an added condition: the Pull Request that is the source of the event must not target the given Git reference."
7857 },
7858 "locationInModule": {
7859 "filename": "lib/source.ts",
7860 "line": 376
7861 },
7862 "name": "andBaseRefIsNot",
7863 "parameters": [
7864 {
7865 "docs": {
7866 "summary": "a regular expression."
7867 },
7868 "name": "pattern",
7869 "type": {
7870 "primitive": "string"
7871 }
7872 }
7873 ],
7874 "returns": {
7875 "type": {
7876 "fqn": "@aws-cdk/aws-codebuild.FilterGroup"
7877 }
7878 }
7879 },
7880 {
7881 "docs": {
7882 "stability": "stable",
7883 "summary": "Create a new FilterGroup with an added condition: the event must affect the given branch."
7884 },
7885 "locationInModule": {
7886 "filename": "lib/source.ts",
7887 "line": 240
7888 },
7889 "name": "andBranchIs",
7890 "parameters": [
7891 {
7892 "docs": {
7893 "summary": "the name of the branch (can be a regular expression)."
7894 },
7895 "name": "branchName",
7896 "type": {
7897 "primitive": "string"
7898 }
7899 }
7900 ],
7901 "returns": {
7902 "type": {
7903 "fqn": "@aws-cdk/aws-codebuild.FilterGroup"
7904 }
7905 }
7906 },
7907 {
7908 "docs": {
7909 "stability": "stable",
7910 "summary": "Create a new FilterGroup with an added condition: the event must not affect the given branch."
7911 },
7912 "locationInModule": {
7913 "filename": "lib/source.ts",
7914 "line": 250
7915 },
7916 "name": "andBranchIsNot",
7917 "parameters": [
7918 {
7919 "docs": {
7920 "summary": "the name of the branch (can be a regular expression)."
7921 },
7922 "name": "branchName",
7923 "type": {
7924 "primitive": "string"
7925 }
7926 }
7927 ],
7928 "returns": {
7929 "type": {
7930 "fqn": "@aws-cdk/aws-codebuild.FilterGroup"
7931 }
7932 }
7933 },
7934 {
7935 "docs": {
7936 "stability": "stable",
7937 "summary": "Create a new FilterGroup with an added condition: the event must affect a head commit with the given message."
7938 },
7939 "locationInModule": {
7940 "filename": "lib/source.ts",
7941 "line": 260
7942 },
7943 "name": "andCommitMessageIs",
7944 "parameters": [
7945 {
7946 "docs": {
7947 "summary": "the commit message (can be a regular expression)."
7948 },
7949 "name": "commitMessage",
7950 "type": {
7951 "primitive": "string"
7952 }
7953 }
7954 ],
7955 "returns": {
7956 "type": {
7957 "fqn": "@aws-cdk/aws-codebuild.FilterGroup"
7958 }
7959 }
7960 },
7961 {
7962 "docs": {
7963 "stability": "stable",
7964 "summary": "Create a new FilterGroup with an added condition: the event must not affect a head commit with the given message."
7965 },
7966 "locationInModule": {
7967 "filename": "lib/source.ts",
7968 "line": 270
7969 },
7970 "name": "andCommitMessageIsNot",
7971 "parameters": [
7972 {
7973 "docs": {
7974 "summary": "the commit message (can be a regular expression)."
7975 },
7976 "name": "commitMessage",
7977 "type": {
7978 "primitive": "string"
7979 }
7980 }
7981 ],
7982 "returns": {
7983 "type": {
7984 "fqn": "@aws-cdk/aws-codebuild.FilterGroup"
7985 }
7986 }
7987 },
7988 {
7989 "docs": {
7990 "remarks": "Note that you can only use this method if this Group contains only the `PUSH` event action,\nand only for GitHub, Bitbucket and GitHubEnterprise sources.",
7991 "stability": "stable",
7992 "summary": "Create a new FilterGroup with an added condition: the push that is the source of the event must affect a file that matches the given pattern."
7993 },
7994 "locationInModule": {
7995 "filename": "lib/source.ts",
7996 "line": 388
7997 },
7998 "name": "andFilePathIs",
7999 "parameters": [
8000 {
8001 "docs": {
8002 "summary": "a regular expression."
8003 },
8004 "name": "pattern",
8005 "type": {
8006 "primitive": "string"
8007 }
8008 }
8009 ],
8010 "returns": {
8011 "type": {
8012 "fqn": "@aws-cdk/aws-codebuild.FilterGroup"
8013 }
8014 }
8015 },
8016 {
8017 "docs": {
8018 "remarks": "Note that you can only use this method if this Group contains only the `PUSH` event action,\nand only for GitHub, Bitbucket and GitHubEnterprise sources.",
8019 "stability": "stable",
8020 "summary": "Create a new FilterGroup with an added condition: the push that is the source of the event must not affect a file that matches the given pattern."
8021 },
8022 "locationInModule": {
8023 "filename": "lib/source.ts",
8024 "line": 400
8025 },
8026 "name": "andFilePathIsNot",
8027 "parameters": [
8028 {
8029 "docs": {
8030 "summary": "a regular expression."
8031 },
8032 "name": "pattern",
8033 "type": {
8034 "primitive": "string"
8035 }
8036 }
8037 ],
8038 "returns": {
8039 "type": {
8040 "fqn": "@aws-cdk/aws-codebuild.FilterGroup"
8041 }
8042 }
8043 },
8044 {
8045 "docs": {
8046 "stability": "stable",
8047 "summary": "Create a new FilterGroup with an added condition: the event must affect a Git reference (ie., a branch or a tag) that matches the given pattern."
8048 },
8049 "locationInModule": {
8050 "filename": "lib/source.ts",
8051 "line": 301
8052 },
8053 "name": "andHeadRefIs",
8054 "parameters": [
8055 {
8056 "docs": {
8057 "summary": "a regular expression."
8058 },
8059 "name": "pattern",
8060 "type": {
8061 "primitive": "string"
8062 }
8063 }
8064 ],
8065 "returns": {
8066 "type": {
8067 "fqn": "@aws-cdk/aws-codebuild.FilterGroup"
8068 }
8069 }
8070 },
8071 {
8072 "docs": {
8073 "stability": "stable",
8074 "summary": "Create a new FilterGroup with an added condition: the event must not affect a Git reference (ie., a branch or a tag) that matches the given pattern."
8075 },
8076 "locationInModule": {
8077 "filename": "lib/source.ts",
8078 "line": 312
8079 },
8080 "name": "andHeadRefIsNot",
8081 "parameters": [
8082 {
8083 "docs": {
8084 "summary": "a regular expression."
8085 },
8086 "name": "pattern",
8087 "type": {
8088 "primitive": "string"
8089 }
8090 }
8091 ],
8092 "returns": {
8093 "type": {
8094 "fqn": "@aws-cdk/aws-codebuild.FilterGroup"
8095 }
8096 }
8097 },
8098 {
8099 "docs": {
8100 "stability": "stable",
8101 "summary": "Create a new FilterGroup with an added condition: the event must affect the given tag."
8102 },
8103 "locationInModule": {
8104 "filename": "lib/source.ts",
8105 "line": 280
8106 },
8107 "name": "andTagIs",
8108 "parameters": [
8109 {
8110 "docs": {
8111 "summary": "the name of the tag (can be a regular expression)."
8112 },
8113 "name": "tagName",
8114 "type": {
8115 "primitive": "string"
8116 }
8117 }
8118 ],
8119 "returns": {
8120 "type": {
8121 "fqn": "@aws-cdk/aws-codebuild.FilterGroup"
8122 }
8123 }
8124 },
8125 {
8126 "docs": {
8127 "stability": "stable",
8128 "summary": "Create a new FilterGroup with an added condition: the event must not affect the given tag."
8129 },
8130 "locationInModule": {
8131 "filename": "lib/source.ts",
8132 "line": 290
8133 },
8134 "name": "andTagIsNot",
8135 "parameters": [
8136 {
8137 "docs": {
8138 "summary": "the name of the tag (can be a regular expression)."
8139 },
8140 "name": "tagName",
8141 "type": {
8142 "primitive": "string"
8143 }
8144 }
8145 ],
8146 "returns": {
8147 "type": {
8148 "fqn": "@aws-cdk/aws-codebuild.FilterGroup"
8149 }
8150 }
8151 }
8152 ],
8153 "name": "FilterGroup",
8154 "symbolId": "lib/source:FilterGroup"
8155 },
8156 "@aws-cdk/aws-codebuild.GitHubEnterpriseSourceCredentials": {
8157 "assembly": "@aws-cdk/aws-codebuild",
8158 "base": "@aws-cdk/core.Resource",
8159 "docs": {
8160 "custom": {
8161 "resource": "AWS::CodeBuild::SourceCredential",
8162 "exampleMetadata": "fixture=_generated"
8163 },
8164 "remarks": "**Note**: CodeBuild only allows a single credential for GitHub Enterprise\nto be saved in a given AWS account in a given region -\nany attempt to add more than one will result in an error.",
8165 "stability": "stable",
8166 "summary": "The source credentials used when contacting the GitHub Enterprise API.",
8167 "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 cdk from '@aws-cdk/core';\n\ndeclare const secretValue: cdk.SecretValue;\nconst gitHubEnterpriseSourceCredentials = new codebuild.GitHubEnterpriseSourceCredentials(this, 'MyGitHubEnterpriseSourceCredentials', {\n accessToken: secretValue,\n});"
8168 },
8169 "fqn": "@aws-cdk/aws-codebuild.GitHubEnterpriseSourceCredentials",
8170 "initializer": {
8171 "docs": {
8172 "stability": "stable"
8173 },
8174 "locationInModule": {
8175 "filename": "lib/source-credentials.ts",
8176 "line": 57
8177 },
8178 "parameters": [
8179 {
8180 "name": "scope",
8181 "type": {
8182 "fqn": "constructs.Construct"
8183 }
8184 },
8185 {
8186 "name": "id",
8187 "type": {
8188 "primitive": "string"
8189 }
8190 },
8191 {
8192 "name": "props",
8193 "type": {
8194 "fqn": "@aws-cdk/aws-codebuild.GitHubEnterpriseSourceCredentialsProps"
8195 }
8196 }
8197 ]
8198 },
8199 "kind": "class",
8200 "locationInModule": {
8201 "filename": "lib/source-credentials.ts",
8202 "line": 56
8203 },
8204 "name": "GitHubEnterpriseSourceCredentials",
8205 "symbolId": "lib/source-credentials:GitHubEnterpriseSourceCredentials"
8206 },
8207 "@aws-cdk/aws-codebuild.GitHubEnterpriseSourceCredentialsProps": {
8208 "assembly": "@aws-cdk/aws-codebuild",
8209 "datatype": true,
8210 "docs": {
8211 "stability": "stable",
8212 "summary": "Creation properties for {@link GitHubEnterpriseSourceCredentials}.",
8213 "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 cdk from '@aws-cdk/core';\n\ndeclare const secretValue: cdk.SecretValue;\nconst gitHubEnterpriseSourceCredentialsProps: codebuild.GitHubEnterpriseSourceCredentialsProps = {\n accessToken: secretValue,\n};",
8214 "custom": {
8215 "exampleMetadata": "fixture=_generated"
8216 }
8217 },
8218 "fqn": "@aws-cdk/aws-codebuild.GitHubEnterpriseSourceCredentialsProps",
8219 "kind": "interface",
8220 "locationInModule": {
8221 "filename": "lib/source-credentials.ts",
8222 "line": 39
8223 },
8224 "name": "GitHubEnterpriseSourceCredentialsProps",
8225 "properties": [
8226 {
8227 "abstract": true,
8228 "docs": {
8229 "stability": "stable",
8230 "summary": "The personal access token to use when contacting the instance of the GitHub Enterprise API."
8231 },
8232 "immutable": true,
8233 "locationInModule": {
8234 "filename": "lib/source-credentials.ts",
8235 "line": 44
8236 },
8237 "name": "accessToken",
8238 "type": {
8239 "fqn": "@aws-cdk/core.SecretValue"
8240 }
8241 }
8242 ],
8243 "symbolId": "lib/source-credentials:GitHubEnterpriseSourceCredentialsProps"
8244 },
8245 "@aws-cdk/aws-codebuild.GitHubEnterpriseSourceProps": {
8246 "assembly": "@aws-cdk/aws-codebuild",
8247 "datatype": true,
8248 "docs": {
8249 "stability": "stable",
8250 "summary": "Construction properties for {@link GitHubEnterpriseSource}.",
8251 "example": "new 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});",
8252 "custom": {
8253 "exampleMetadata": "infused"
8254 }
8255 },
8256 "fqn": "@aws-cdk/aws-codebuild.GitHubEnterpriseSourceProps",
8257 "interfaces": [
8258 "@aws-cdk/aws-codebuild.SourceProps"
8259 ],
8260 "kind": "interface",
8261 "locationInModule": {
8262 "filename": "lib/source.ts",
8263 "line": 743
8264 },
8265 "name": "GitHubEnterpriseSourceProps",
8266 "properties": [
8267 {
8268 "abstract": true,
8269 "docs": {
8270 "stability": "stable",
8271 "summary": "The HTTPS URL of the repository in your GitHub Enterprise installation."
8272 },
8273 "immutable": true,
8274 "locationInModule": {
8275 "filename": "lib/source.ts",
8276 "line": 747
8277 },
8278 "name": "httpsCloneUrl",
8279 "type": {
8280 "primitive": "string"
8281 }
8282 },
8283 {
8284 "abstract": true,
8285 "docs": {
8286 "default": "the default branch's HEAD commit ID is used",
8287 "example": "'mybranch'",
8288 "stability": "stable",
8289 "summary": "The commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build."
8290 },
8291 "immutable": true,
8292 "locationInModule": {
8293 "filename": "lib/source.ts",
8294 "line": 124
8295 },
8296 "name": "branchOrRef",
8297 "optional": true,
8298 "type": {
8299 "primitive": "string"
8300 }
8301 },
8302 {
8303 "abstract": true,
8304 "docs": {
8305 "default": "\"AWS CodeBuild $AWS_REGION ($PROJECT_NAME)\"",
8306 "example": "\"My build #$CODEBUILD_BUILD_NUMBER\"",
8307 "remarks": "Can use built-in CodeBuild variables, like $AWS_REGION.",
8308 "see": "https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-env-vars.html",
8309 "stability": "stable",
8310 "summary": "This parameter is used for the `context` parameter in the GitHub commit status."
8311 },
8312 "immutable": true,
8313 "locationInModule": {
8314 "filename": "lib/source.ts",
8315 "line": 667
8316 },
8317 "name": "buildStatusContext",
8318 "optional": true,
8319 "type": {
8320 "primitive": "string"
8321 }
8322 },
8323 {
8324 "abstract": true,
8325 "docs": {
8326 "default": "- link to the AWS Console for CodeBuild to a particular build execution",
8327 "example": "\"$CODEBUILD_PUBLIC_BUILD_URL\"",
8328 "remarks": "Can use built-in CodeBuild variables, like $AWS_REGION.",
8329 "see": "https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-env-vars.html",
8330 "stability": "stable",
8331 "summary": "The URL that the build will report back to the source provider."
8332 },
8333 "immutable": true,
8334 "locationInModule": {
8335 "filename": "lib/source.ts",
8336 "line": 513
8337 },
8338 "name": "buildStatusUrl",
8339 "optional": true,
8340 "type": {
8341 "primitive": "string"
8342 }
8343 },
8344 {
8345 "abstract": true,
8346 "docs": {
8347 "remarks": "Minimum value is 0.\nIf this value is 0, greater than 25, or not provided,\nthen the full history is downloaded with each build of the project.",
8348 "stability": "stable",
8349 "summary": "The depth of history to download."
8350 },
8351 "immutable": true,
8352 "locationInModule": {
8353 "filename": "lib/source.ts",
8354 "line": 115
8355 },
8356 "name": "cloneDepth",
8357 "optional": true,
8358 "type": {
8359 "primitive": "number"
8360 }
8361 },
8362 {
8363 "abstract": true,
8364 "docs": {
8365 "default": "false",
8366 "stability": "stable",
8367 "summary": "Whether to fetch submodules while cloning git repo."
8368 },
8369 "immutable": true,
8370 "locationInModule": {
8371 "filename": "lib/source.ts",
8372 "line": 131
8373 },
8374 "name": "fetchSubmodules",
8375 "optional": true,
8376 "type": {
8377 "primitive": "boolean"
8378 }
8379 },
8380 {
8381 "abstract": true,
8382 "docs": {
8383 "default": "false",
8384 "stability": "stable",
8385 "summary": "Whether to ignore SSL errors when connecting to the repository."
8386 },
8387 "immutable": true,
8388 "locationInModule": {
8389 "filename": "lib/source.ts",
8390 "line": 754
8391 },
8392 "name": "ignoreSslErrors",
8393 "optional": true,
8394 "type": {
8395 "primitive": "boolean"
8396 }
8397 },
8398 {
8399 "abstract": true,
8400 "docs": {
8401 "default": "true",
8402 "stability": "stable",
8403 "summary": "Whether to send notifications on your build's start and end."
8404 },
8405 "immutable": true,
8406 "locationInModule": {
8407 "filename": "lib/source.ts",
8408 "line": 476
8409 },
8410 "name": "reportBuildStatus",
8411 "optional": true,
8412 "type": {
8413 "primitive": "boolean"
8414 }
8415 },
8416 {
8417 "abstract": true,
8418 "docs": {
8419 "default": "true if any `webhookFilters` were provided, false otherwise",
8420 "stability": "stable",
8421 "summary": "Whether to create a webhook that will trigger a build every time an event happens in the repository."
8422 },
8423 "immutable": true,
8424 "locationInModule": {
8425 "filename": "lib/source.ts",
8426 "line": 483
8427 },
8428 "name": "webhook",
8429 "optional": true,
8430 "type": {
8431 "primitive": "boolean"
8432 }
8433 },
8434 {
8435 "abstract": true,
8436 "docs": {
8437 "default": "every push and every Pull Request (create or update) triggers a build",
8438 "remarks": "A build is triggered if any of the provided filter groups match.\nOnly valid if `webhook` was not provided as false.",
8439 "stability": "stable",
8440 "summary": "A list of webhook filters that can constraint what events in the repository will trigger a build."
8441 },
8442 "immutable": true,
8443 "locationInModule": {
8444 "filename": "lib/source.ts",
8445 "line": 501
8446 },
8447 "name": "webhookFilters",
8448 "optional": true,
8449 "type": {
8450 "collection": {
8451 "elementtype": {
8452 "fqn": "@aws-cdk/aws-codebuild.FilterGroup"
8453 },
8454 "kind": "array"
8455 }
8456 }
8457 },
8458 {
8459 "abstract": true,
8460 "docs": {
8461 "default": "false",
8462 "remarks": "Enabling this will enable batch builds on the CodeBuild project.",
8463 "stability": "stable",
8464 "summary": "Trigger a batch build from a webhook instead of a standard one."
8465 },
8466 "immutable": true,
8467 "locationInModule": {
8468 "filename": "lib/source.ts",
8469 "line": 492
8470 },
8471 "name": "webhookTriggersBatchBuild",
8472 "optional": true,
8473 "type": {
8474 "primitive": "boolean"
8475 }
8476 }
8477 ],
8478 "symbolId": "lib/source:GitHubEnterpriseSourceProps"
8479 },
8480 "@aws-cdk/aws-codebuild.GitHubSourceCredentials": {
8481 "assembly": "@aws-cdk/aws-codebuild",
8482 "base": "@aws-cdk/core.Resource",
8483 "docs": {
8484 "custom": {
8485 "resource": "AWS::CodeBuild::SourceCredential",
8486 "exampleMetadata": "infused"
8487 },
8488 "remarks": "**Note**: CodeBuild only allows a single credential for GitHub\nto be saved in a given AWS account in a given region -\nany attempt to add more than one will result in an error.",
8489 "stability": "stable",
8490 "summary": "The source credentials used when contacting the GitHub API.",
8491 "example": "new 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"
8492 },
8493 "fqn": "@aws-cdk/aws-codebuild.GitHubSourceCredentials",
8494 "initializer": {
8495 "docs": {
8496 "stability": "stable"
8497 },
8498 "locationInModule": {
8499 "filename": "lib/source-credentials.ts",
8500 "line": 25
8501 },
8502 "parameters": [
8503 {
8504 "name": "scope",
8505 "type": {
8506 "fqn": "constructs.Construct"
8507 }
8508 },
8509 {
8510 "name": "id",
8511 "type": {
8512 "primitive": "string"
8513 }
8514 },
8515 {
8516 "name": "props",
8517 "type": {
8518 "fqn": "@aws-cdk/aws-codebuild.GitHubSourceCredentialsProps"
8519 }
8520 }
8521 ]
8522 },
8523 "kind": "class",
8524 "locationInModule": {
8525 "filename": "lib/source-credentials.ts",
8526 "line": 24
8527 },
8528 "name": "GitHubSourceCredentials",
8529 "symbolId": "lib/source-credentials:GitHubSourceCredentials"
8530 },
8531 "@aws-cdk/aws-codebuild.GitHubSourceCredentialsProps": {
8532 "assembly": "@aws-cdk/aws-codebuild",
8533 "datatype": true,
8534 "docs": {
8535 "stability": "stable",
8536 "summary": "Creation properties for {@link GitHubSourceCredentials}.",
8537 "example": "new 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",
8538 "custom": {
8539 "exampleMetadata": "infused"
8540 }
8541 },
8542 "fqn": "@aws-cdk/aws-codebuild.GitHubSourceCredentialsProps",
8543 "kind": "interface",
8544 "locationInModule": {
8545 "filename": "lib/source-credentials.ts",
8546 "line": 8
8547 },
8548 "name": "GitHubSourceCredentialsProps",
8549 "properties": [
8550 {
8551 "abstract": true,
8552 "docs": {
8553 "stability": "stable",
8554 "summary": "The personal access token to use when contacting the GitHub API."
8555 },
8556 "immutable": true,
8557 "locationInModule": {
8558 "filename": "lib/source-credentials.ts",
8559 "line": 12
8560 },
8561 "name": "accessToken",
8562 "type": {
8563 "fqn": "@aws-cdk/core.SecretValue"
8564 }
8565 }
8566 ],
8567 "symbolId": "lib/source-credentials:GitHubSourceCredentialsProps"
8568 },
8569 "@aws-cdk/aws-codebuild.GitHubSourceProps": {
8570 "assembly": "@aws-cdk/aws-codebuild",
8571 "datatype": true,
8572 "docs": {
8573 "stability": "stable",
8574 "summary": "Construction properties for {@link GitHubSource} and {@link GitHubEnterpriseSource}.",
8575 "example": "const 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});",
8576 "custom": {
8577 "exampleMetadata": "infused"
8578 }
8579 },
8580 "fqn": "@aws-cdk/aws-codebuild.GitHubSourceProps",
8581 "interfaces": [
8582 "@aws-cdk/aws-codebuild.SourceProps"
8583 ],
8584 "kind": "interface",
8585 "locationInModule": {
8586 "filename": "lib/source.ts",
8587 "line": 699
8588 },
8589 "name": "GitHubSourceProps",
8590 "properties": [
8591 {
8592 "abstract": true,
8593 "docs": {
8594 "example": "'awslabs'",
8595 "stability": "stable",
8596 "summary": "The GitHub account/user that owns the repo."
8597 },
8598 "immutable": true,
8599 "locationInModule": {
8600 "filename": "lib/source.ts",
8601 "line": 705
8602 },
8603 "name": "owner",
8604 "type": {
8605 "primitive": "string"
8606 }
8607 },
8608 {
8609 "abstract": true,
8610 "docs": {
8611 "example": "'aws-cdk'",
8612 "stability": "stable",
8613 "summary": "The name of the repo (without the username)."
8614 },
8615 "immutable": true,
8616 "locationInModule": {
8617 "filename": "lib/source.ts",
8618 "line": 712
8619 },
8620 "name": "repo",
8621 "type": {
8622 "primitive": "string"
8623 }
8624 },
8625 {
8626 "abstract": true,
8627 "docs": {
8628 "default": "the default branch's HEAD commit ID is used",
8629 "example": "'mybranch'",
8630 "stability": "stable",
8631 "summary": "The commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build."
8632 },
8633 "immutable": true,
8634 "locationInModule": {
8635 "filename": "lib/source.ts",
8636 "line": 124
8637 },
8638 "name": "branchOrRef",
8639 "optional": true,
8640 "type": {
8641 "primitive": "string"
8642 }
8643 },
8644 {
8645 "abstract": true,
8646 "docs": {
8647 "default": "\"AWS CodeBuild $AWS_REGION ($PROJECT_NAME)\"",
8648 "example": "\"My build #$CODEBUILD_BUILD_NUMBER\"",
8649 "remarks": "Can use built-in CodeBuild variables, like $AWS_REGION.",
8650 "see": "https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-env-vars.html",
8651 "stability": "stable",
8652 "summary": "This parameter is used for the `context` parameter in the GitHub commit status."
8653 },
8654 "immutable": true,
8655 "locationInModule": {
8656 "filename": "lib/source.ts",
8657 "line": 667
8658 },
8659 "name": "buildStatusContext",
8660 "optional": true,
8661 "type": {
8662 "primitive": "string"
8663 }
8664 },
8665 {
8666 "abstract": true,
8667 "docs": {
8668 "default": "- link to the AWS Console for CodeBuild to a particular build execution",
8669 "example": "\"$CODEBUILD_PUBLIC_BUILD_URL\"",
8670 "remarks": "Can use built-in CodeBuild variables, like $AWS_REGION.",
8671 "see": "https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-env-vars.html",
8672 "stability": "stable",
8673 "summary": "The URL that the build will report back to the source provider."
8674 },
8675 "immutable": true,
8676 "locationInModule": {
8677 "filename": "lib/source.ts",
8678 "line": 513
8679 },
8680 "name": "buildStatusUrl",
8681 "optional": true,
8682 "type": {
8683 "primitive": "string"
8684 }
8685 },
8686 {
8687 "abstract": true,
8688 "docs": {
8689 "remarks": "Minimum value is 0.\nIf this value is 0, greater than 25, or not provided,\nthen the full history is downloaded with each build of the project.",
8690 "stability": "stable",
8691 "summary": "The depth of history to download."
8692 },
8693 "immutable": true,
8694 "locationInModule": {
8695 "filename": "lib/source.ts",
8696 "line": 115
8697 },
8698 "name": "cloneDepth",
8699 "optional": true,
8700 "type": {
8701 "primitive": "number"
8702 }
8703 },
8704 {
8705 "abstract": true,
8706 "docs": {
8707 "default": "false",
8708 "stability": "stable",
8709 "summary": "Whether to fetch submodules while cloning git repo."
8710 },
8711 "immutable": true,
8712 "locationInModule": {
8713 "filename": "lib/source.ts",
8714 "line": 131
8715 },
8716 "name": "fetchSubmodules",
8717 "optional": true,
8718 "type": {
8719 "primitive": "boolean"
8720 }
8721 },
8722 {
8723 "abstract": true,
8724 "docs": {
8725 "default": "true",
8726 "stability": "stable",
8727 "summary": "Whether to send notifications on your build's start and end."
8728 },
8729 "immutable": true,
8730 "locationInModule": {
8731 "filename": "lib/source.ts",
8732 "line": 476
8733 },
8734 "name": "reportBuildStatus",
8735 "optional": true,
8736 "type": {
8737 "primitive": "boolean"
8738 }
8739 },
8740 {
8741 "abstract": true,
8742 "docs": {
8743 "default": "true if any `webhookFilters` were provided, false otherwise",
8744 "stability": "stable",
8745 "summary": "Whether to create a webhook that will trigger a build every time an event happens in the repository."
8746 },
8747 "immutable": true,
8748 "locationInModule": {
8749 "filename": "lib/source.ts",
8750 "line": 483
8751 },
8752 "name": "webhook",
8753 "optional": true,
8754 "type": {
8755 "primitive": "boolean"
8756 }
8757 },
8758 {
8759 "abstract": true,
8760 "docs": {
8761 "default": "every push and every Pull Request (create or update) triggers a build",
8762 "remarks": "A build is triggered if any of the provided filter groups match.\nOnly valid if `webhook` was not provided as false.",
8763 "stability": "stable",
8764 "summary": "A list of webhook filters that can constraint what events in the repository will trigger a build."
8765 },
8766 "immutable": true,
8767 "locationInModule": {
8768 "filename": "lib/source.ts",
8769 "line": 501
8770 },
8771 "name": "webhookFilters",
8772 "optional": true,
8773 "type": {
8774 "collection": {
8775 "elementtype": {
8776 "fqn": "@aws-cdk/aws-codebuild.FilterGroup"
8777 },
8778 "kind": "array"
8779 }
8780 }
8781 },
8782 {
8783 "abstract": true,
8784 "docs": {
8785 "default": "false",
8786 "remarks": "Enabling this will enable batch builds on the CodeBuild project.",
8787 "stability": "stable",
8788 "summary": "Trigger a batch build from a webhook instead of a standard one."
8789 },
8790 "immutable": true,
8791 "locationInModule": {
8792 "filename": "lib/source.ts",
8793 "line": 492
8794 },
8795 "name": "webhookTriggersBatchBuild",
8796 "optional": true,
8797 "type": {
8798 "primitive": "boolean"
8799 }
8800 }
8801 ],
8802 "symbolId": "lib/source:GitHubSourceProps"
8803 },
8804 "@aws-cdk/aws-codebuild.IArtifacts": {
8805 "assembly": "@aws-cdk/aws-codebuild",
8806 "docs": {
8807 "remarks": "Implemented by {@link Artifacts}.",
8808 "stability": "stable",
8809 "summary": "The abstract interface of a CodeBuild build output."
8810 },
8811 "fqn": "@aws-cdk/aws-codebuild.IArtifacts",
8812 "kind": "interface",
8813 "locationInModule": {
8814 "filename": "lib/artifacts.ts",
8815 "line": 23
8816 },
8817 "methods": [
8818 {
8819 "abstract": true,
8820 "docs": {
8821 "stability": "stable",
8822 "summary": "Callback when an Artifacts class is used in a CodeBuild Project."
8823 },
8824 "locationInModule": {
8825 "filename": "lib/artifacts.ts",
8826 "line": 41
8827 },
8828 "name": "bind",
8829 "parameters": [
8830 {
8831 "docs": {
8832 "summary": "a root Construct that allows creating new Constructs."
8833 },
8834 "name": "scope",
8835 "type": {
8836 "fqn": "@aws-cdk/core.Construct"
8837 }
8838 },
8839 {
8840 "docs": {
8841 "summary": "the Project this Artifacts is used in."
8842 },
8843 "name": "project",
8844 "type": {
8845 "fqn": "@aws-cdk/aws-codebuild.IProject"
8846 }
8847 }
8848 ],
8849 "returns": {
8850 "type": {
8851 "fqn": "@aws-cdk/aws-codebuild.ArtifactsConfig"
8852 }
8853 }
8854 }
8855 ],
8856 "name": "IArtifacts",
8857 "properties": [
8858 {
8859 "abstract": true,
8860 "docs": {
8861 "stability": "stable",
8862 "summary": "The CodeBuild type of this artifact."
8863 },
8864 "immutable": true,
8865 "locationInModule": {
8866 "filename": "lib/artifacts.ts",
8867 "line": 33
8868 },
8869 "name": "type",
8870 "type": {
8871 "primitive": "string"
8872 }
8873 },
8874 {
8875 "abstract": true,
8876 "docs": {
8877 "remarks": "This property is required on secondary artifacts.",
8878 "stability": "stable",
8879 "summary": "The artifact identifier."
8880 },
8881 "immutable": true,
8882 "locationInModule": {
8883 "filename": "lib/artifacts.ts",
8884 "line": 28
8885 },
8886 "name": "identifier",
8887 "optional": true,
8888 "type": {
8889 "primitive": "string"
8890 }
8891 }
8892 ],
8893 "symbolId": "lib/artifacts:IArtifacts"
8894 },
8895 "@aws-cdk/aws-codebuild.IBindableBuildImage": {
8896 "assembly": "@aws-cdk/aws-codebuild",
8897 "docs": {
8898 "stability": "stable",
8899 "summary": "A variant of {@link IBuildImage} that allows binding to the project."
8900 },
8901 "fqn": "@aws-cdk/aws-codebuild.IBindableBuildImage",
8902 "interfaces": [
8903 "@aws-cdk/aws-codebuild.IBuildImage"
8904 ],
8905 "kind": "interface",
8906 "locationInModule": {
8907 "filename": "lib/project.ts",
8908 "line": 1640
8909 },
8910 "methods": [
8911 {
8912 "abstract": true,
8913 "docs": {
8914 "stability": "stable",
8915 "summary": "Function that allows the build image access to the construct tree."
8916 },
8917 "locationInModule": {
8918 "filename": "lib/project.ts",
8919 "line": 1642
8920 },
8921 "name": "bind",
8922 "parameters": [
8923 {
8924 "name": "scope",
8925 "type": {
8926 "fqn": "@aws-cdk/core.Construct"
8927 }
8928 },
8929 {
8930 "name": "project",
8931 "type": {
8932 "fqn": "@aws-cdk/aws-codebuild.IProject"
8933 }
8934 },
8935 {
8936 "name": "options",
8937 "type": {
8938 "fqn": "@aws-cdk/aws-codebuild.BuildImageBindOptions"
8939 }
8940 }
8941 ],
8942 "returns": {
8943 "type": {
8944 "fqn": "@aws-cdk/aws-codebuild.BuildImageConfig"
8945 }
8946 }
8947 }
8948 ],
8949 "name": "IBindableBuildImage",
8950 "symbolId": "lib/project:IBindableBuildImage"
8951 },
8952 "@aws-cdk/aws-codebuild.IBuildImage": {
8953 "assembly": "@aws-cdk/aws-codebuild",
8954 "docs": {
8955 "remarks": "Use the concrete subclasses, either:\n{@link LinuxBuildImage} or {@link WindowsBuildImage}.",
8956 "stability": "stable",
8957 "summary": "Represents a Docker image used for the CodeBuild Project builds."
8958 },
8959 "fqn": "@aws-cdk/aws-codebuild.IBuildImage",
8960 "kind": "interface",
8961 "locationInModule": {
8962 "filename": "lib/project.ts",
8963 "line": 1577
8964 },
8965 "methods": [
8966 {
8967 "abstract": true,
8968 "docs": {
8969 "stability": "stable",
8970 "summary": "Make a buildspec to run the indicated script."
8971 },
8972 "locationInModule": {
8973 "filename": "lib/project.ts",
8974 "line": 1627
8975 },
8976 "name": "runScriptBuildspec",
8977 "parameters": [
8978 {
8979 "name": "entrypoint",
8980 "type": {
8981 "primitive": "string"
8982 }
8983 }
8984 ],
8985 "returns": {
8986 "type": {
8987 "fqn": "@aws-cdk/aws-codebuild.BuildSpec"
8988 }
8989 }
8990 },
8991 {
8992 "abstract": true,
8993 "docs": {
8994 "stability": "stable",
8995 "summary": "Allows the image a chance to validate whether the passed configuration is correct."
8996 },
8997 "locationInModule": {
8998 "filename": "lib/project.ts",
8999 "line": 1622
9000 },
9001 "name": "validate",
9002 "parameters": [
9003 {
9004 "docs": {
9005 "summary": "the current build environment."
9006 },
9007 "name": "buildEnvironment",
9008 "type": {
9009 "fqn": "@aws-cdk/aws-codebuild.BuildEnvironment"
9010 }
9011 }
9012 ],
9013 "returns": {
9014 "type": {
9015 "collection": {
9016 "elementtype": {
9017 "primitive": "string"
9018 },
9019 "kind": "array"
9020 }
9021 }
9022 }
9023 }
9024 ],
9025 "name": "IBuildImage",
9026 "properties": [
9027 {
9028 "abstract": true,
9029 "docs": {
9030 "stability": "stable",
9031 "summary": "The default {@link ComputeType} to use with this image, if one was not specified in {@link BuildEnvironment#computeType} explicitly."
9032 },
9033 "immutable": true,
9034 "locationInModule": {
9035 "filename": "lib/project.ts",
9036 "line": 1594
9037 },
9038 "name": "defaultComputeType",
9039 "type": {
9040 "fqn": "@aws-cdk/aws-codebuild.ComputeType"
9041 }
9042 },
9043 {
9044 "abstract": true,
9045 "docs": {
9046 "see": "https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html",
9047 "stability": "stable",
9048 "summary": "The Docker image identifier that the build environment uses."
9049 },
9050 "immutable": true,
9051 "locationInModule": {
9052 "filename": "lib/project.ts",
9053 "line": 1588
9054 },
9055 "name": "imageId",
9056 "type": {
9057 "primitive": "string"
9058 }
9059 },
9060 {
9061 "abstract": true,
9062 "docs": {
9063 "stability": "stable",
9064 "summary": "The type of build environment."
9065 },
9066 "immutable": true,
9067 "locationInModule": {
9068 "filename": "lib/project.ts",
9069 "line": 1581
9070 },
9071 "name": "type",
9072 "type": {
9073 "primitive": "string"
9074 }
9075 },
9076 {
9077 "abstract": true,
9078 "docs": {
9079 "default": "ImagePullPrincipalType.SERVICE_ROLE",
9080 "stability": "stable",
9081 "summary": "The type of principal that CodeBuild will use to pull this build Docker image."
9082 },
9083 "immutable": true,
9084 "locationInModule": {
9085 "filename": "lib/project.ts",
9086 "line": 1601
9087 },
9088 "name": "imagePullPrincipalType",
9089 "optional": true,
9090 "type": {
9091 "fqn": "@aws-cdk/aws-codebuild.ImagePullPrincipalType"
9092 }
9093 },
9094 {
9095 "abstract": true,
9096 "docs": {
9097 "default": "no repository",
9098 "stability": "stable",
9099 "summary": "An optional ECR repository that the image is hosted in."
9100 },
9101 "immutable": true,
9102 "locationInModule": {
9103 "filename": "lib/project.ts",
9104 "line": 1615
9105 },
9106 "name": "repository",
9107 "optional": true,
9108 "type": {
9109 "fqn": "@aws-cdk/aws-ecr.IRepository"
9110 }
9111 },
9112 {
9113 "abstract": true,
9114 "docs": {
9115 "default": "no credentials will be used",
9116 "stability": "stable",
9117 "summary": "The secretsManagerCredentials for access to a private registry."
9118 },
9119 "immutable": true,
9120 "locationInModule": {
9121 "filename": "lib/project.ts",
9122 "line": 1608
9123 },
9124 "name": "secretsManagerCredentials",
9125 "optional": true,
9126 "type": {
9127 "fqn": "@aws-cdk/aws-secretsmanager.ISecret"
9128 }
9129 }
9130 ],
9131 "symbolId": "lib/project:IBuildImage"
9132 },
9133 "@aws-cdk/aws-codebuild.IFileSystemLocation": {
9134 "assembly": "@aws-cdk/aws-codebuild",
9135 "docs": {
9136 "remarks": "Implemented by {@link EfsFileSystemLocation}.",
9137 "stability": "stable",
9138 "summary": "The interface of a CodeBuild FileSystemLocation."
9139 },
9140 "fqn": "@aws-cdk/aws-codebuild.IFileSystemLocation",
9141 "kind": "interface",
9142 "locationInModule": {
9143 "filename": "lib/file-location.ts",
9144 "line": 23
9145 },
9146 "methods": [
9147 {
9148 "abstract": true,
9149 "docs": {
9150 "stability": "stable",
9151 "summary": "Called by the project when a file system is added so it can perform binding operations on this file system location."
9152 },
9153 "locationInModule": {
9154 "filename": "lib/file-location.ts",
9155 "line": 28
9156 },
9157 "name": "bind",
9158 "parameters": [
9159 {
9160 "name": "scope",
9161 "type": {
9162 "fqn": "@aws-cdk/core.Construct"
9163 }
9164 },
9165 {
9166 "name": "project",
9167 "type": {
9168 "fqn": "@aws-cdk/aws-codebuild.IProject"
9169 }
9170 }
9171 ],
9172 "returns": {
9173 "type": {
9174 "fqn": "@aws-cdk/aws-codebuild.FileSystemConfig"
9175 }
9176 }
9177 }
9178 ],
9179 "name": "IFileSystemLocation",
9180 "symbolId": "lib/file-location:IFileSystemLocation"
9181 },
9182 "@aws-cdk/aws-codebuild.IProject": {
9183 "assembly": "@aws-cdk/aws-codebuild",
9184 "docs": {
9185 "stability": "stable"
9186 },
9187 "fqn": "@aws-cdk/aws-codebuild.IProject",
9188 "interfaces": [
9189 "@aws-cdk/core.IResource",
9190 "@aws-cdk/aws-iam.IGrantable",
9191 "@aws-cdk/aws-ec2.IConnectable",
9192 "@aws-cdk/aws-codestarnotifications.INotificationRuleSource"
9193 ],
9194 "kind": "interface",
9195 "locationInModule": {
9196 "filename": "lib/project.ts",
9197 "line": 68
9198 },
9199 "methods": [
9200 {
9201 "abstract": true,
9202 "docs": {
9203 "stability": "stable"
9204 },
9205 "locationInModule": {
9206 "filename": "lib/project.ts",
9207 "line": 92
9208 },
9209 "name": "addToRolePolicy",
9210 "parameters": [
9211 {
9212 "name": "policyStatement",
9213 "type": {
9214 "fqn": "@aws-cdk/aws-iam.PolicyStatement"
9215 }
9216 }
9217 ]
9218 },
9219 {
9220 "abstract": true,
9221 "docs": {
9222 "remarks": "Returns an object contining the batch service role if batch builds\ncould be enabled.",
9223 "stability": "stable",
9224 "summary": "Enable batch builds."
9225 },
9226 "locationInModule": {
9227 "filename": "lib/project.ts",
9228 "line": 90
9229 },
9230 "name": "enableBatchBuilds",
9231 "returns": {
9232 "optional": true,
9233 "type": {
9234 "fqn": "@aws-cdk/aws-codebuild.BatchBuildConfig"
9235 }
9236 }
9237 },
9238 {
9239 "abstract": true,
9240 "docs": {
9241 "returns": "a CloudWatch metric associated with this build project.",
9242 "stability": "stable"
9243 },
9244 "locationInModule": {
9245 "filename": "lib/project.ts",
9246 "line": 156
9247 },
9248 "name": "metric",
9249 "parameters": [
9250 {
9251 "docs": {
9252 "summary": "The name of the metric."
9253 },
9254 "name": "metricName",
9255 "type": {
9256 "primitive": "string"
9257 }
9258 },
9259 {
9260 "docs": {
9261 "summary": "Customization properties."
9262 },
9263 "name": "props",
9264 "optional": true,
9265 "type": {
9266 "fqn": "@aws-cdk/aws-cloudwatch.MetricOptions"
9267 }
9268 }
9269 ],
9270 "returns": {
9271 "type": {
9272 "fqn": "@aws-cdk/aws-cloudwatch.Metric"
9273 }
9274 }
9275 },
9276 {
9277 "abstract": true,
9278 "docs": {
9279 "default": "sum over 5 minutes",
9280 "remarks": "Units: Count\n\nValid CloudWatch statistics: Sum",
9281 "stability": "stable",
9282 "summary": "Measures the number of builds triggered."
9283 },
9284 "locationInModule": {
9285 "filename": "lib/project.ts",
9286 "line": 167
9287 },
9288 "name": "metricBuilds",
9289 "parameters": [
9290 {
9291 "name": "props",
9292 "optional": true,
9293 "type": {
9294 "fqn": "@aws-cdk/aws-cloudwatch.MetricOptions"
9295 }
9296 }
9297 ],
9298 "returns": {
9299 "type": {
9300 "fqn": "@aws-cdk/aws-cloudwatch.Metric"
9301 }
9302 }
9303 },
9304 {
9305 "abstract": true,
9306 "docs": {
9307 "default": "average over 5 minutes",
9308 "remarks": "Units: Seconds\n\nValid CloudWatch statistics: Average (recommended), Maximum, Minimum",
9309 "stability": "stable",
9310 "summary": "Measures the duration of all builds over time."
9311 },
9312 "locationInModule": {
9313 "filename": "lib/project.ts",
9314 "line": 178
9315 },
9316 "name": "metricDuration",
9317 "parameters": [
9318 {
9319 "name": "props",
9320 "optional": true,
9321 "type": {
9322 "fqn": "@aws-cdk/aws-cloudwatch.MetricOptions"
9323 }
9324 }
9325 ],
9326 "returns": {
9327 "type": {
9328 "fqn": "@aws-cdk/aws-cloudwatch.Metric"
9329 }
9330 }
9331 },
9332 {
9333 "abstract": true,
9334 "docs": {
9335 "default": "sum over 5 minutes",
9336 "remarks": "Units: Count\n\nValid CloudWatch statistics: Sum",
9337 "stability": "stable",
9338 "summary": "Measures the number of builds that failed because of client error or because of a timeout."
9339 },
9340 "locationInModule": {
9341 "filename": "lib/project.ts",
9342 "line": 201
9343 },
9344 "name": "metricFailedBuilds",
9345 "parameters": [
9346 {
9347 "name": "props",
9348 "optional": true,
9349 "type": {
9350 "fqn": "@aws-cdk/aws-cloudwatch.MetricOptions"
9351 }
9352 }
9353 ],
9354 "returns": {
9355 "type": {
9356 "fqn": "@aws-cdk/aws-cloudwatch.Metric"
9357 }
9358 }
9359 },
9360 {
9361 "abstract": true,
9362 "docs": {
9363 "default": "sum over 5 minutes",
9364 "remarks": "Units: Count\n\nValid CloudWatch statistics: Sum",
9365 "stability": "stable",
9366 "summary": "Measures the number of successful builds."
9367 },
9368 "locationInModule": {
9369 "filename": "lib/project.ts",
9370 "line": 189
9371 },
9372 "name": "metricSucceededBuilds",
9373 "parameters": [
9374 {
9375 "name": "props",
9376 "optional": true,
9377 "type": {
9378 "fqn": "@aws-cdk/aws-cloudwatch.MetricOptions"
9379 }
9380 }
9381 ],
9382 "returns": {
9383 "type": {
9384 "fqn": "@aws-cdk/aws-cloudwatch.Metric"
9385 }
9386 }
9387 },
9388 {
9389 "abstract": true,
9390 "docs": {
9391 "remarks": "You can also use the methods `notifyOnBuildSucceeded` and\n`notifyOnBuildFailed` to define rules for these specific event emitted.",
9392 "returns": "CodeStar Notifications rule associated with this build project.",
9393 "stability": "stable",
9394 "summary": "Defines a CodeStar Notification rule triggered when the project events emitted by you specified, it very similar to `onEvent` API."
9395 },
9396 "locationInModule": {
9397 "filename": "lib/project.ts",
9398 "line": 215
9399 },
9400 "name": "notifyOn",
9401 "parameters": [
9402 {
9403 "docs": {
9404 "summary": "The logical identifier of the CodeStar Notifications rule that will be created."
9405 },
9406 "name": "id",
9407 "type": {
9408 "primitive": "string"
9409 }
9410 },
9411 {
9412 "docs": {
9413 "summary": "The target to register for the CodeStar Notifications destination."
9414 },
9415 "name": "target",
9416 "type": {
9417 "fqn": "@aws-cdk/aws-codestarnotifications.INotificationRuleTarget"
9418 }
9419 },
9420 {
9421 "docs": {
9422 "summary": "Customization options for CodeStar Notifications rule."
9423 },
9424 "name": "options",
9425 "type": {
9426 "fqn": "@aws-cdk/aws-codebuild.ProjectNotifyOnOptions"
9427 }
9428 }
9429 ],
9430 "returns": {
9431 "type": {
9432 "fqn": "@aws-cdk/aws-codestarnotifications.INotificationRule"
9433 }
9434 }
9435 },
9436 {
9437 "abstract": true,
9438 "docs": {
9439 "stability": "stable",
9440 "summary": "Defines a CodeStar notification rule which triggers when a build fails."
9441 },
9442 "locationInModule": {
9443 "filename": "lib/project.ts",
9444 "line": 233
9445 },
9446 "name": "notifyOnBuildFailed",
9447 "parameters": [
9448 {
9449 "name": "id",
9450 "type": {
9451 "primitive": "string"
9452 }
9453 },
9454 {
9455 "name": "target",
9456 "type": {
9457 "fqn": "@aws-cdk/aws-codestarnotifications.INotificationRuleTarget"
9458 }
9459 },
9460 {
9461 "name": "options",
9462 "optional": true,
9463 "type": {
9464 "fqn": "@aws-cdk/aws-codestarnotifications.NotificationRuleOptions"
9465 }
9466 }
9467 ],
9468 "returns": {
9469 "type": {
9470 "fqn": "@aws-cdk/aws-codestarnotifications.INotificationRule"
9471 }
9472 }
9473 },
9474 {
9475 "abstract": true,
9476 "docs": {
9477 "stability": "stable",
9478 "summary": "Defines a CodeStar notification rule which triggers when a build completes successfully."
9479 },
9480 "locationInModule": {
9481 "filename": "lib/project.ts",
9482 "line": 224
9483 },
9484 "name": "notifyOnBuildSucceeded",
9485 "parameters": [
9486 {
9487 "name": "id",
9488 "type": {
9489 "primitive": "string"
9490 }
9491 },
9492 {
9493 "name": "target",
9494 "type": {
9495 "fqn": "@aws-cdk/aws-codestarnotifications.INotificationRuleTarget"
9496 }
9497 },
9498 {
9499 "name": "options",
9500 "optional": true,
9501 "type": {
9502 "fqn": "@aws-cdk/aws-codestarnotifications.NotificationRuleOptions"
9503 }
9504 }
9505 ],
9506 "returns": {
9507 "type": {
9508 "fqn": "@aws-cdk/aws-codestarnotifications.INotificationRule"
9509 }
9510 }
9511 },
9512 {
9513 "abstract": true,
9514 "docs": {
9515 "stability": "stable",
9516 "summary": "Defines an event rule which triggers when a build fails."
9517 },
9518 "locationInModule": {
9519 "filename": "lib/project.ts",
9520 "line": 144
9521 },
9522 "name": "onBuildFailed",
9523 "parameters": [
9524 {
9525 "name": "id",
9526 "type": {
9527 "primitive": "string"
9528 }
9529 },
9530 {
9531 "name": "options",
9532 "optional": true,
9533 "type": {
9534 "fqn": "@aws-cdk/aws-events.OnEventOptions"
9535 }
9536 }
9537 ],
9538 "returns": {
9539 "type": {
9540 "fqn": "@aws-cdk/aws-events.Rule"
9541 }
9542 }
9543 },
9544 {
9545 "abstract": true,
9546 "docs": {
9547 "stability": "stable",
9548 "summary": "Defines an event rule which triggers when a build starts."
9549 },
9550 "locationInModule": {
9551 "filename": "lib/project.ts",
9552 "line": 139
9553 },
9554 "name": "onBuildStarted",
9555 "parameters": [
9556 {
9557 "name": "id",
9558 "type": {
9559 "primitive": "string"
9560 }
9561 },
9562 {
9563 "name": "options",
9564 "optional": true,
9565 "type": {
9566 "fqn": "@aws-cdk/aws-events.OnEventOptions"
9567 }
9568 }
9569 ],
9570 "returns": {
9571 "type": {
9572 "fqn": "@aws-cdk/aws-events.Rule"
9573 }
9574 }
9575 },
9576 {
9577 "abstract": true,
9578 "docs": {
9579 "stability": "stable",
9580 "summary": "Defines an event rule which triggers when a build completes successfully."
9581 },
9582 "locationInModule": {
9583 "filename": "lib/project.ts",
9584 "line": 149
9585 },
9586 "name": "onBuildSucceeded",
9587 "parameters": [
9588 {
9589 "name": "id",
9590 "type": {
9591 "primitive": "string"
9592 }
9593 },
9594 {
9595 "name": "options",
9596 "optional": true,
9597 "type": {
9598 "fqn": "@aws-cdk/aws-events.OnEventOptions"
9599 }
9600 }
9601 ],
9602 "returns": {
9603 "type": {
9604 "fqn": "@aws-cdk/aws-events.Rule"
9605 }
9606 }
9607 },
9608 {
9609 "abstract": true,
9610 "docs": {
9611 "see": "https://docs.aws.amazon.com/codebuild/latest/userguide/sample-build-notifications.html",
9612 "stability": "stable",
9613 "summary": "Defines a CloudWatch event rule triggered when something happens with this project."
9614 },
9615 "locationInModule": {
9616 "filename": "lib/project.ts",
9617 "line": 99
9618 },
9619 "name": "onEvent",
9620 "parameters": [
9621 {
9622 "name": "id",
9623 "type": {
9624 "primitive": "string"
9625 }
9626 },
9627 {
9628 "name": "options",
9629 "optional": true,
9630 "type": {
9631 "fqn": "@aws-cdk/aws-events.OnEventOptions"
9632 }
9633 }
9634 ],
9635 "returns": {
9636 "type": {
9637 "fqn": "@aws-cdk/aws-events.Rule"
9638 }
9639 }
9640 },
9641 {
9642 "abstract": true,
9643 "docs": {
9644 "see": "https://docs.aws.amazon.com/codebuild/latest/userguide/sample-build-notifications.html",
9645 "stability": "stable",
9646 "summary": "Defines a CloudWatch event rule that triggers upon phase change of this build project."
9647 },
9648 "locationInModule": {
9649 "filename": "lib/project.ts",
9650 "line": 134
9651 },
9652 "name": "onPhaseChange",
9653 "parameters": [
9654 {
9655 "name": "id",
9656 "type": {
9657 "primitive": "string"
9658 }
9659 },
9660 {
9661 "name": "options",
9662 "optional": true,
9663 "type": {
9664 "fqn": "@aws-cdk/aws-events.OnEventOptions"
9665 }
9666 }
9667 ],
9668 "returns": {
9669 "type": {
9670 "fqn": "@aws-cdk/aws-events.Rule"
9671 }
9672 }
9673 },
9674 {
9675 "abstract": true,
9676 "docs": {
9677 "remarks": "You can filter specific build status events using an event\npattern filter on the `build-status` detail field:\n\n const rule = project.onStateChange('OnBuildStarted', { target });\n rule.addEventPattern({\n detail: {\n 'build-status': [\n \"IN_PROGRESS\",\n \"SUCCEEDED\",\n \"FAILED\",\n \"STOPPED\"\n ]\n }\n });\n\nYou can also use the methods `onBuildFailed` and `onBuildSucceeded` to define rules for\nthese specific state changes.\n\nTo access fields from the event in the event target input,\nuse the static fields on the `StateChangeEvent` class.",
9678 "see": "https://docs.aws.amazon.com/codebuild/latest/userguide/sample-build-notifications.html",
9679 "stability": "stable",
9680 "summary": "Defines a CloudWatch event rule triggered when the build project state changes."
9681 },
9682 "locationInModule": {
9683 "filename": "lib/project.ts",
9684 "line": 126
9685 },
9686 "name": "onStateChange",
9687 "parameters": [
9688 {
9689 "name": "id",
9690 "type": {
9691 "primitive": "string"
9692 }
9693 },
9694 {
9695 "name": "options",
9696 "optional": true,
9697 "type": {
9698 "fqn": "@aws-cdk/aws-events.OnEventOptions"
9699 }
9700 }
9701 ],
9702 "returns": {
9703 "type": {
9704 "fqn": "@aws-cdk/aws-events.Rule"
9705 }
9706 }
9707 }
9708 ],
9709 "name": "IProject",
9710 "properties": [
9711 {
9712 "abstract": true,
9713 "docs": {
9714 "custom": {
9715 "attribute": "true"
9716 },
9717 "stability": "stable",
9718 "summary": "The ARN of this Project."
9719 },
9720 "immutable": true,
9721 "locationInModule": {
9722 "filename": "lib/project.ts",
9723 "line": 73
9724 },
9725 "name": "projectArn",
9726 "type": {
9727 "primitive": "string"
9728 }
9729 },
9730 {
9731 "abstract": true,
9732 "docs": {
9733 "custom": {
9734 "attribute": "true"
9735 },
9736 "stability": "stable",
9737 "summary": "The human-visible name of this Project."
9738 },
9739 "immutable": true,
9740 "locationInModule": {
9741 "filename": "lib/project.ts",
9742 "line": 79
9743 },
9744 "name": "projectName",
9745 "type": {
9746 "primitive": "string"
9747 }
9748 },
9749 {
9750 "abstract": true,
9751 "docs": {
9752 "remarks": "Undefined for imported Projects.",
9753 "stability": "stable",
9754 "summary": "The IAM service Role of this Project."
9755 },
9756 "immutable": true,
9757 "locationInModule": {
9758 "filename": "lib/project.ts",
9759 "line": 82
9760 },
9761 "name": "role",
9762 "optional": true,
9763 "type": {
9764 "fqn": "@aws-cdk/aws-iam.IRole"
9765 }
9766 }
9767 ],
9768 "symbolId": "lib/project:IProject"
9769 },
9770 "@aws-cdk/aws-codebuild.IReportGroup": {
9771 "assembly": "@aws-cdk/aws-codebuild",
9772 "docs": {
9773 "stability": "stable",
9774 "summary": "The interface representing the ReportGroup resource - either an existing one, imported using the {@link ReportGroup.fromReportGroupName} method, or a new one, created with the {@link ReportGroup} class."
9775 },
9776 "fqn": "@aws-cdk/aws-codebuild.IReportGroup",
9777 "interfaces": [
9778 "@aws-cdk/core.IResource"
9779 ],
9780 "kind": "interface",
9781 "locationInModule": {
9782 "filename": "lib/report-group.ts",
9783 "line": 14
9784 },
9785 "methods": [
9786 {
9787 "abstract": true,
9788 "docs": {
9789 "stability": "stable",
9790 "summary": "Grants the given entity permissions to write (that is, upload reports to) this report group."
9791 },
9792 "locationInModule": {
9793 "filename": "lib/report-group.ts",
9794 "line": 34
9795 },
9796 "name": "grantWrite",
9797 "parameters": [
9798 {
9799 "name": "identity",
9800 "type": {
9801 "fqn": "@aws-cdk/aws-iam.IGrantable"
9802 }
9803 }
9804 ],
9805 "returns": {
9806 "type": {
9807 "fqn": "@aws-cdk/aws-iam.Grant"
9808 }
9809 }
9810 }
9811 ],
9812 "name": "IReportGroup",
9813 "properties": [
9814 {
9815 "abstract": true,
9816 "docs": {
9817 "custom": {
9818 "attribute": "true"
9819 },
9820 "stability": "stable",
9821 "summary": "The ARN of the ReportGroup."
9822 },
9823 "immutable": true,
9824 "locationInModule": {
9825 "filename": "lib/report-group.ts",
9826 "line": 20
9827 },
9828 "name": "reportGroupArn",
9829 "type": {
9830 "primitive": "string"
9831 }
9832 },
9833 {
9834 "abstract": true,
9835 "docs": {
9836 "custom": {
9837 "attribute": "true"
9838 },
9839 "stability": "stable",
9840 "summary": "The name of the ReportGroup."
9841 },
9842 "immutable": true,
9843 "locationInModule": {
9844 "filename": "lib/report-group.ts",
9845 "line": 27
9846 },
9847 "name": "reportGroupName",
9848 "type": {
9849 "primitive": "string"
9850 }
9851 }
9852 ],
9853 "symbolId": "lib/report-group:IReportGroup"
9854 },
9855 "@aws-cdk/aws-codebuild.ISource": {
9856 "assembly": "@aws-cdk/aws-codebuild",
9857 "docs": {
9858 "remarks": "Implemented by {@link Source}.",
9859 "stability": "stable",
9860 "summary": "The abstract interface of a CodeBuild source."
9861 },
9862 "fqn": "@aws-cdk/aws-codebuild.ISource",
9863 "kind": "interface",
9864 "locationInModule": {
9865 "filename": "lib/source.ts",
9866 "line": 38
9867 },
9868 "methods": [
9869 {
9870 "abstract": true,
9871 "docs": {
9872 "stability": "stable"
9873 },
9874 "locationInModule": {
9875 "filename": "lib/source.ts",
9876 "line": 45
9877 },
9878 "name": "bind",
9879 "parameters": [
9880 {
9881 "name": "scope",
9882 "type": {
9883 "fqn": "@aws-cdk/core.Construct"
9884 }
9885 },
9886 {
9887 "name": "project",
9888 "type": {
9889 "fqn": "@aws-cdk/aws-codebuild.IProject"
9890 }
9891 }
9892 ],
9893 "returns": {
9894 "type": {
9895 "fqn": "@aws-cdk/aws-codebuild.SourceConfig"
9896 }
9897 }
9898 }
9899 ],
9900 "name": "ISource",
9901 "properties": [
9902 {
9903 "abstract": true,
9904 "docs": {
9905 "stability": "stable"
9906 },
9907 "immutable": true,
9908 "locationInModule": {
9909 "filename": "lib/source.ts",
9910 "line": 43
9911 },
9912 "name": "badgeSupported",
9913 "type": {
9914 "primitive": "boolean"
9915 }
9916 },
9917 {
9918 "abstract": true,
9919 "docs": {
9920 "stability": "stable"
9921 },
9922 "immutable": true,
9923 "locationInModule": {
9924 "filename": "lib/source.ts",
9925 "line": 41
9926 },
9927 "name": "type",
9928 "type": {
9929 "primitive": "string"
9930 }
9931 },
9932 {
9933 "abstract": true,
9934 "docs": {
9935 "stability": "stable"
9936 },
9937 "immutable": true,
9938 "locationInModule": {
9939 "filename": "lib/source.ts",
9940 "line": 39
9941 },
9942 "name": "identifier",
9943 "optional": true,
9944 "type": {
9945 "primitive": "string"
9946 }
9947 }
9948 ],
9949 "symbolId": "lib/source:ISource"
9950 },
9951 "@aws-cdk/aws-codebuild.ImagePullPrincipalType": {
9952 "assembly": "@aws-cdk/aws-codebuild",
9953 "docs": {
9954 "stability": "stable",
9955 "summary": "The type of principal CodeBuild will use to pull your build Docker image."
9956 },
9957 "fqn": "@aws-cdk/aws-codebuild.ImagePullPrincipalType",
9958 "kind": "enum",
9959 "locationInModule": {
9960 "filename": "lib/project.ts",
9961 "line": 1515
9962 },
9963 "members": [
9964 {
9965 "docs": {
9966 "remarks": "This means the resource policy of the ECR repository that hosts the image will be modified to trust\nCodeBuild's service principal.\nThis is the required principal type when using CodeBuild's pre-defined images.",
9967 "stability": "stable",
9968 "summary": "CODEBUILD specifies that CodeBuild uses its own identity when pulling the image."
9969 },
9970 "name": "CODEBUILD"
9971 },
9972 {
9973 "docs": {
9974 "remarks": "The role will be granted pull permissions on the ECR repository hosting the image.",
9975 "stability": "stable",
9976 "summary": "SERVICE_ROLE specifies that AWS CodeBuild uses the project's role when pulling the image."
9977 },
9978 "name": "SERVICE_ROLE"
9979 }
9980 ],
9981 "name": "ImagePullPrincipalType",
9982 "symbolId": "lib/project:ImagePullPrincipalType"
9983 },
9984 "@aws-cdk/aws-codebuild.LinuxArmBuildImage": {
9985 "assembly": "@aws-cdk/aws-codebuild",
9986 "docs": {
9987 "remarks": "This class has a bunch of public constants that represent the CodeBuild ARM images.\n\nYou can also specify a custom image using the static method:\n\n- LinuxBuildImage.fromEcrRepository(repo[, tag])",
9988 "see": "https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html",
9989 "stability": "stable",
9990 "summary": "A CodeBuild image running aarch64 Linux.",
9991 "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 linuxArmBuildImage = codebuild.LinuxArmBuildImage.fromCodeBuildImageId('id');",
9992 "custom": {
9993 "exampleMetadata": "fixture=_generated"
9994 }
9995 },
9996 "fqn": "@aws-cdk/aws-codebuild.LinuxArmBuildImage",
9997 "interfaces": [
9998 "@aws-cdk/aws-codebuild.IBuildImage"
9999 ],
10000 "kind": "class",
10001 "locationInModule": {
10002 "filename": "lib/linux-arm-build-image.ts",
10003 "line": 30
10004 },
10005 "methods": [
10006 {
10007 "docs": {
10008 "example": "'aws/codebuild/amazonlinux2-aarch64-standard:1.0'",
10009 "returns": "A Docker image provided by CodeBuild.",
10010 "see": "https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html",
10011 "stability": "stable",
10012 "summary": "Uses a Docker image provided by CodeBuild."
10013 },
10014 "locationInModule": {
10015 "filename": "lib/linux-arm-build-image.ts",
10016 "line": 65
10017 },
10018 "name": "fromCodeBuildImageId",
10019 "parameters": [
10020 {
10021 "docs": {
10022 "summary": "The image identifier."
10023 },
10024 "name": "id",
10025 "type": {
10026 "primitive": "string"
10027 }
10028 }
10029 ],
10030 "returns": {
10031 "type": {
10032 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
10033 }
10034 },
10035 "static": true
10036 },
10037 {
10038 "docs": {
10039 "remarks": "NOTE: if the repository is external (i.e. imported), then we won't be able to add\na resource policy statement for it so CodeBuild can pull the image.",
10040 "returns": "An aarch64 Linux build image from an ECR repository.",
10041 "see": "https://docs.aws.amazon.com/codebuild/latest/userguide/sample-ecr.html",
10042 "stability": "stable",
10043 "summary": "Returns an ARM image running Linux from an ECR repository."
10044 },
10045 "locationInModule": {
10046 "filename": "lib/linux-arm-build-image.ts",
10047 "line": 48
10048 },
10049 "name": "fromEcrRepository",
10050 "parameters": [
10051 {
10052 "docs": {
10053 "summary": "The ECR repository."
10054 },
10055 "name": "repository",
10056 "type": {
10057 "fqn": "@aws-cdk/aws-ecr.IRepository"
10058 }
10059 },
10060 {
10061 "docs": {
10062 "summary": "Image tag or digest (default \"latest\", digests must start with `sha256:`)."
10063 },
10064 "name": "tagOrDigest",
10065 "optional": true,
10066 "type": {
10067 "primitive": "string"
10068 }
10069 }
10070 ],
10071 "returns": {
10072 "type": {
10073 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
10074 }
10075 },
10076 "static": true
10077 },
10078 {
10079 "docs": {
10080 "stability": "stable",
10081 "summary": "Make a buildspec to run the indicated script."
10082 },
10083 "locationInModule": {
10084 "filename": "lib/linux-arm-build-image.ts",
10085 "line": 102
10086 },
10087 "name": "runScriptBuildspec",
10088 "overrides": "@aws-cdk/aws-codebuild.IBuildImage",
10089 "parameters": [
10090 {
10091 "name": "entrypoint",
10092 "type": {
10093 "primitive": "string"
10094 }
10095 }
10096 ],
10097 "returns": {
10098 "type": {
10099 "fqn": "@aws-cdk/aws-codebuild.BuildSpec"
10100 }
10101 }
10102 },
10103 {
10104 "docs": {
10105 "stability": "stable",
10106 "summary": "Validates by checking the BuildEnvironment computeType as aarch64 images only support ComputeType.SMALL and ComputeType.LARGE."
10107 },
10108 "locationInModule": {
10109 "filename": "lib/linux-arm-build-image.ts",
10110 "line": 91
10111 },
10112 "name": "validate",
10113 "overrides": "@aws-cdk/aws-codebuild.IBuildImage",
10114 "parameters": [
10115 {
10116 "docs": {
10117 "summary": "BuildEnvironment."
10118 },
10119 "name": "buildEnvironment",
10120 "type": {
10121 "fqn": "@aws-cdk/aws-codebuild.BuildEnvironment"
10122 }
10123 }
10124 ],
10125 "returns": {
10126 "type": {
10127 "collection": {
10128 "elementtype": {
10129 "primitive": "string"
10130 },
10131 "kind": "array"
10132 }
10133 }
10134 }
10135 }
10136 ],
10137 "name": "LinuxArmBuildImage",
10138 "properties": [
10139 {
10140 "const": true,
10141 "docs": {
10142 "stability": "stable",
10143 "summary": "Image \"aws/codebuild/amazonlinux2-aarch64-standard:1.0\"."
10144 },
10145 "immutable": true,
10146 "locationInModule": {
10147 "filename": "lib/linux-arm-build-image.ts",
10148 "line": 32
10149 },
10150 "name": "AMAZON_LINUX_2_STANDARD_1_0",
10151 "static": true,
10152 "type": {
10153 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
10154 }
10155 },
10156 {
10157 "const": true,
10158 "docs": {
10159 "stability": "stable",
10160 "summary": "Image \"aws/codebuild/amazonlinux2-aarch64-standard:2.0\"."
10161 },
10162 "immutable": true,
10163 "locationInModule": {
10164 "filename": "lib/linux-arm-build-image.ts",
10165 "line": 34
10166 },
10167 "name": "AMAZON_LINUX_2_STANDARD_2_0",
10168 "static": true,
10169 "type": {
10170 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
10171 }
10172 },
10173 {
10174 "docs": {
10175 "stability": "stable",
10176 "summary": "The default {@link ComputeType} to use with this image, if one was not specified in {@link BuildEnvironment#computeType} explicitly."
10177 },
10178 "immutable": true,
10179 "locationInModule": {
10180 "filename": "lib/linux-arm-build-image.ts",
10181 "line": 73
10182 },
10183 "name": "defaultComputeType",
10184 "overrides": "@aws-cdk/aws-codebuild.IBuildImage",
10185 "type": {
10186 "fqn": "@aws-cdk/aws-codebuild.ComputeType"
10187 }
10188 },
10189 {
10190 "docs": {
10191 "stability": "stable",
10192 "summary": "The Docker image identifier that the build environment uses."
10193 },
10194 "immutable": true,
10195 "locationInModule": {
10196 "filename": "lib/linux-arm-build-image.ts",
10197 "line": 74
10198 },
10199 "name": "imageId",
10200 "overrides": "@aws-cdk/aws-codebuild.IBuildImage",
10201 "type": {
10202 "primitive": "string"
10203 }
10204 },
10205 {
10206 "docs": {
10207 "stability": "stable",
10208 "summary": "The type of build environment."
10209 },
10210 "immutable": true,
10211 "locationInModule": {
10212 "filename": "lib/linux-arm-build-image.ts",
10213 "line": 72
10214 },
10215 "name": "type",
10216 "overrides": "@aws-cdk/aws-codebuild.IBuildImage",
10217 "type": {
10218 "primitive": "string"
10219 }
10220 },
10221 {
10222 "docs": {
10223 "stability": "stable",
10224 "summary": "The type of principal that CodeBuild will use to pull this build Docker image."
10225 },
10226 "immutable": true,
10227 "locationInModule": {
10228 "filename": "lib/linux-arm-build-image.ts",
10229 "line": 75
10230 },
10231 "name": "imagePullPrincipalType",
10232 "optional": true,
10233 "overrides": "@aws-cdk/aws-codebuild.IBuildImage",
10234 "type": {
10235 "fqn": "@aws-cdk/aws-codebuild.ImagePullPrincipalType"
10236 }
10237 },
10238 {
10239 "docs": {
10240 "stability": "stable",
10241 "summary": "An optional ECR repository that the image is hosted in."
10242 },
10243 "immutable": true,
10244 "locationInModule": {
10245 "filename": "lib/linux-arm-build-image.ts",
10246 "line": 77
10247 },
10248 "name": "repository",
10249 "optional": true,
10250 "overrides": "@aws-cdk/aws-codebuild.IBuildImage",
10251 "type": {
10252 "fqn": "@aws-cdk/aws-ecr.IRepository"
10253 }
10254 },
10255 {
10256 "docs": {
10257 "stability": "stable",
10258 "summary": "The secretsManagerCredentials for access to a private registry."
10259 },
10260 "immutable": true,
10261 "locationInModule": {
10262 "filename": "lib/linux-arm-build-image.ts",
10263 "line": 76
10264 },
10265 "name": "secretsManagerCredentials",
10266 "optional": true,
10267 "overrides": "@aws-cdk/aws-codebuild.IBuildImage",
10268 "type": {
10269 "fqn": "@aws-cdk/aws-secretsmanager.ISecret"
10270 }
10271 }
10272 ],
10273 "symbolId": "lib/linux-arm-build-image:LinuxArmBuildImage"
10274 },
10275 "@aws-cdk/aws-codebuild.LinuxBuildImage": {
10276 "assembly": "@aws-cdk/aws-codebuild",
10277 "docs": {
10278 "remarks": "This class has a bunch of public constants that represent the most popular images.\n\nYou can also specify a custom image using one of the static methods:\n\n- LinuxBuildImage.fromDockerRegistry(image[, { secretsManagerCredentials }])\n- LinuxBuildImage.fromEcrRepository(repo[, tag])\n- LinuxBuildImage.fromAsset(parent, id, props)",
10279 "see": "https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html",
10280 "stability": "stable",
10281 "summary": "A CodeBuild image running x86-64 Linux.",
10282 "example": "const pipeline = new pipelines.CodePipeline(this, 'Pipeline', {\n synth: new pipelines.ShellStep('Synth', {\n input: pipelines.CodePipelineSource.connection('my-org/my-app', 'main', {\n connectionArn: 'arn:aws:codestar-connections:us-east-1:222222222222:connection/7d2469ff-514a-4e4f-9003-5ca4a43cdc41', // Created using the AWS console * });',\n }),\n commands: ['npm ci','npm run build','npx cdk synth'],\n }),\n\n // Turn this on because the pipeline uses Docker image assets\n dockerEnabledForSelfMutation: true,\n});\n\npipeline.addWave('MyWave', {\n post: [\n new pipelines.CodeBuildStep('RunApproval', {\n commands: ['command-from-image'],\n buildEnvironment: {\n // The user of a Docker image asset in the pipeline requires turning on\n // 'dockerEnabledForSelfMutation'.\n buildImage: codebuild.LinuxBuildImage.fromAsset(this, 'Image', {\n directory: './docker-image',\n }),\n },\n }),\n ],\n});",
10283 "custom": {
10284 "exampleMetadata": "infused"
10285 }
10286 },
10287 "fqn": "@aws-cdk/aws-codebuild.LinuxBuildImage",
10288 "interfaces": [
10289 "@aws-cdk/aws-codebuild.IBuildImage"
10290 ],
10291 "kind": "class",
10292 "locationInModule": {
10293 "filename": "lib/project.ts",
10294 "line": 1690
10295 },
10296 "methods": [
10297 {
10298 "docs": {
10299 "stability": "stable",
10300 "summary": "Uses an Docker image asset as a x86-64 Linux build image."
10301 },
10302 "locationInModule": {
10303 "filename": "lib/project.ts",
10304 "line": 1806
10305 },
10306 "name": "fromAsset",
10307 "parameters": [
10308 {
10309 "name": "scope",
10310 "type": {
10311 "fqn": "constructs.Construct"
10312 }
10313 },
10314 {
10315 "name": "id",
10316 "type": {
10317 "primitive": "string"
10318 }
10319 },
10320 {
10321 "name": "props",
10322 "type": {
10323 "fqn": "@aws-cdk/aws-ecr-assets.DockerImageAssetProps"
10324 }
10325 }
10326 ],
10327 "returns": {
10328 "type": {
10329 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
10330 }
10331 },
10332 "static": true
10333 },
10334 {
10335 "docs": {
10336 "example": "'aws/codebuild/standard:4.0'",
10337 "returns": "A Docker image provided by CodeBuild.",
10338 "see": "https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html",
10339 "stability": "stable",
10340 "summary": "Uses a Docker image provided by CodeBuild."
10341 },
10342 "locationInModule": {
10343 "filename": "lib/project.ts",
10344 "line": 1825
10345 },
10346 "name": "fromCodeBuildImageId",
10347 "parameters": [
10348 {
10349 "docs": {
10350 "summary": "The image identifier."
10351 },
10352 "name": "id",
10353 "type": {
10354 "primitive": "string"
10355 }
10356 }
10357 ],
10358 "returns": {
10359 "type": {
10360 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
10361 }
10362 },
10363 "static": true
10364 },
10365 {
10366 "docs": {
10367 "returns": "a x86-64 Linux build image from a Docker Hub image.",
10368 "stability": "stable"
10369 },
10370 "locationInModule": {
10371 "filename": "lib/project.ts",
10372 "line": 1776
10373 },
10374 "name": "fromDockerRegistry",
10375 "parameters": [
10376 {
10377 "name": "name",
10378 "type": {
10379 "primitive": "string"
10380 }
10381 },
10382 {
10383 "name": "options",
10384 "optional": true,
10385 "type": {
10386 "fqn": "@aws-cdk/aws-codebuild.DockerImageOptions"
10387 }
10388 }
10389 ],
10390 "returns": {
10391 "type": {
10392 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
10393 }
10394 },
10395 "static": true
10396 },
10397 {
10398 "docs": {
10399 "returns": "A x86-64 Linux build image from an ECR repository.\n\nNOTE: if the repository is external (i.e. imported), then we won't be able to add\na resource policy statement for it so CodeBuild can pull the image.",
10400 "see": "https://docs.aws.amazon.com/codebuild/latest/userguide/sample-ecr.html",
10401 "stability": "stable"
10402 },
10403 "locationInModule": {
10404 "filename": "lib/project.ts",
10405 "line": 1795
10406 },
10407 "name": "fromEcrRepository",
10408 "parameters": [
10409 {
10410 "docs": {
10411 "summary": "The ECR repository."
10412 },
10413 "name": "repository",
10414 "type": {
10415 "fqn": "@aws-cdk/aws-ecr.IRepository"
10416 }
10417 },
10418 {
10419 "docs": {
10420 "summary": "Image tag or digest (default \"latest\", digests must start with `sha256:`)."
10421 },
10422 "name": "tagOrDigest",
10423 "optional": true,
10424 "type": {
10425 "primitive": "string"
10426 }
10427 }
10428 ],
10429 "returns": {
10430 "type": {
10431 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
10432 }
10433 },
10434 "static": true
10435 },
10436 {
10437 "docs": {
10438 "stability": "stable",
10439 "summary": "Make a buildspec to run the indicated script."
10440 },
10441 "locationInModule": {
10442 "filename": "lib/project.ts",
10443 "line": 1854
10444 },
10445 "name": "runScriptBuildspec",
10446 "overrides": "@aws-cdk/aws-codebuild.IBuildImage",
10447 "parameters": [
10448 {
10449 "name": "entrypoint",
10450 "type": {
10451 "primitive": "string"
10452 }
10453 }
10454 ],
10455 "returns": {
10456 "type": {
10457 "fqn": "@aws-cdk/aws-codebuild.BuildSpec"
10458 }
10459 }
10460 },
10461 {
10462 "docs": {
10463 "stability": "stable",
10464 "summary": "Allows the image a chance to validate whether the passed configuration is correct."
10465 },
10466 "locationInModule": {
10467 "filename": "lib/project.ts",
10468 "line": 1850
10469 },
10470 "name": "validate",
10471 "overrides": "@aws-cdk/aws-codebuild.IBuildImage",
10472 "parameters": [
10473 {
10474 "name": "_",
10475 "type": {
10476 "fqn": "@aws-cdk/aws-codebuild.BuildEnvironment"
10477 }
10478 }
10479 ],
10480 "returns": {
10481 "type": {
10482 "collection": {
10483 "elementtype": {
10484 "primitive": "string"
10485 },
10486 "kind": "array"
10487 }
10488 }
10489 }
10490 }
10491 ],
10492 "name": "LinuxBuildImage",
10493 "properties": [
10494 {
10495 "const": true,
10496 "docs": {
10497 "stability": "stable"
10498 },
10499 "immutable": true,
10500 "locationInModule": {
10501 "filename": "lib/project.ts",
10502 "line": 1699
10503 },
10504 "name": "AMAZON_LINUX_2",
10505 "static": true,
10506 "type": {
10507 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
10508 }
10509 },
10510 {
10511 "const": true,
10512 "docs": {
10513 "stability": "stable"
10514 },
10515 "immutable": true,
10516 "locationInModule": {
10517 "filename": "lib/project.ts",
10518 "line": 1700
10519 },
10520 "name": "AMAZON_LINUX_2_2",
10521 "static": true,
10522 "type": {
10523 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
10524 }
10525 },
10526 {
10527 "const": true,
10528 "docs": {
10529 "stability": "stable",
10530 "summary": "The Amazon Linux 2 x86_64 standard image, version `3.0`."
10531 },
10532 "immutable": true,
10533 "locationInModule": {
10534 "filename": "lib/project.ts",
10535 "line": 1702
10536 },
10537 "name": "AMAZON_LINUX_2_3",
10538 "static": true,
10539 "type": {
10540 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
10541 }
10542 },
10543 {
10544 "const": true,
10545 "docs": {
10546 "deprecated": "Use LinuxArmBuildImage.AMAZON_LINUX_2_STANDARD_1_0 instead.",
10547 "stability": "deprecated"
10548 },
10549 "immutable": true,
10550 "locationInModule": {
10551 "filename": "lib/project.ts",
10552 "line": 1705
10553 },
10554 "name": "AMAZON_LINUX_2_ARM",
10555 "static": true,
10556 "type": {
10557 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
10558 }
10559 },
10560 {
10561 "const": true,
10562 "docs": {
10563 "deprecated": "Use LinuxArmBuildImage.AMAZON_LINUX_2_STANDARD_2_0 instead.",
10564 "stability": "deprecated",
10565 "summary": "Image \"aws/codebuild/amazonlinux2-aarch64-standard:2.0\"."
10566 },
10567 "immutable": true,
10568 "locationInModule": {
10569 "filename": "lib/project.ts",
10570 "line": 1710
10571 },
10572 "name": "AMAZON_LINUX_2_ARM_2",
10573 "static": true,
10574 "type": {
10575 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
10576 }
10577 },
10578 {
10579 "const": true,
10580 "docs": {
10581 "stability": "stable"
10582 },
10583 "immutable": true,
10584 "locationInModule": {
10585 "filename": "lib/project.ts",
10586 "line": 1691
10587 },
10588 "name": "STANDARD_1_0",
10589 "static": true,
10590 "type": {
10591 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
10592 }
10593 },
10594 {
10595 "const": true,
10596 "docs": {
10597 "stability": "stable"
10598 },
10599 "immutable": true,
10600 "locationInModule": {
10601 "filename": "lib/project.ts",
10602 "line": 1692
10603 },
10604 "name": "STANDARD_2_0",
10605 "static": true,
10606 "type": {
10607 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
10608 }
10609 },
10610 {
10611 "const": true,
10612 "docs": {
10613 "stability": "stable"
10614 },
10615 "immutable": true,
10616 "locationInModule": {
10617 "filename": "lib/project.ts",
10618 "line": 1693
10619 },
10620 "name": "STANDARD_3_0",
10621 "static": true,
10622 "type": {
10623 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
10624 }
10625 },
10626 {
10627 "const": true,
10628 "docs": {
10629 "stability": "stable",
10630 "summary": "The `aws/codebuild/standard:4.0` build image."
10631 },
10632 "immutable": true,
10633 "locationInModule": {
10634 "filename": "lib/project.ts",
10635 "line": 1695
10636 },
10637 "name": "STANDARD_4_0",
10638 "static": true,
10639 "type": {
10640 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
10641 }
10642 },
10643 {
10644 "const": true,
10645 "docs": {
10646 "stability": "stable",
10647 "summary": "The `aws/codebuild/standard:5.0` build image."
10648 },
10649 "immutable": true,
10650 "locationInModule": {
10651 "filename": "lib/project.ts",
10652 "line": 1697
10653 },
10654 "name": "STANDARD_5_0",
10655 "static": true,
10656 "type": {
10657 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
10658 }
10659 },
10660 {
10661 "const": true,
10662 "docs": {
10663 "deprecated": "Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section",
10664 "stability": "deprecated"
10665 },
10666 "immutable": true,
10667 "locationInModule": {
10668 "filename": "lib/project.ts",
10669 "line": 1715
10670 },
10671 "name": "UBUNTU_14_04_ANDROID_JAVA8_24_4_1",
10672 "static": true,
10673 "type": {
10674 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
10675 }
10676 },
10677 {
10678 "const": true,
10679 "docs": {
10680 "deprecated": "Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section",
10681 "stability": "deprecated"
10682 },
10683 "immutable": true,
10684 "locationInModule": {
10685 "filename": "lib/project.ts",
10686 "line": 1717
10687 },
10688 "name": "UBUNTU_14_04_ANDROID_JAVA8_26_1_1",
10689 "static": true,
10690 "type": {
10691 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
10692 }
10693 },
10694 {
10695 "const": true,
10696 "docs": {
10697 "deprecated": "Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section",
10698 "stability": "deprecated"
10699 },
10700 "immutable": true,
10701 "locationInModule": {
10702 "filename": "lib/project.ts",
10703 "line": 1713
10704 },
10705 "name": "UBUNTU_14_04_BASE",
10706 "static": true,
10707 "type": {
10708 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
10709 }
10710 },
10711 {
10712 "const": true,
10713 "docs": {
10714 "deprecated": "Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section",
10715 "stability": "deprecated"
10716 },
10717 "immutable": true,
10718 "locationInModule": {
10719 "filename": "lib/project.ts",
10720 "line": 1719
10721 },
10722 "name": "UBUNTU_14_04_DOCKER_17_09_0",
10723 "static": true,
10724 "type": {
10725 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
10726 }
10727 },
10728 {
10729 "const": true,
10730 "docs": {
10731 "deprecated": "Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section",
10732 "stability": "deprecated"
10733 },
10734 "immutable": true,
10735 "locationInModule": {
10736 "filename": "lib/project.ts",
10737 "line": 1721
10738 },
10739 "name": "UBUNTU_14_04_DOCKER_18_09_0",
10740 "static": true,
10741 "type": {
10742 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
10743 }
10744 },
10745 {
10746 "const": true,
10747 "docs": {
10748 "deprecated": "Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section",
10749 "stability": "deprecated"
10750 },
10751 "immutable": true,
10752 "locationInModule": {
10753 "filename": "lib/project.ts",
10754 "line": 1767
10755 },
10756 "name": "UBUNTU_14_04_DOTNET_CORE_1_1",
10757 "static": true,
10758 "type": {
10759 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
10760 }
10761 },
10762 {
10763 "const": true,
10764 "docs": {
10765 "deprecated": "Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section",
10766 "stability": "deprecated"
10767 },
10768 "immutable": true,
10769 "locationInModule": {
10770 "filename": "lib/project.ts",
10771 "line": 1769
10772 },
10773 "name": "UBUNTU_14_04_DOTNET_CORE_2_0",
10774 "static": true,
10775 "type": {
10776 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
10777 }
10778 },
10779 {
10780 "const": true,
10781 "docs": {
10782 "deprecated": "Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section",
10783 "stability": "deprecated"
10784 },
10785 "immutable": true,
10786 "locationInModule": {
10787 "filename": "lib/project.ts",
10788 "line": 1771
10789 },
10790 "name": "UBUNTU_14_04_DOTNET_CORE_2_1",
10791 "static": true,
10792 "type": {
10793 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
10794 }
10795 },
10796 {
10797 "const": true,
10798 "docs": {
10799 "deprecated": "Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section",
10800 "stability": "deprecated"
10801 },
10802 "immutable": true,
10803 "locationInModule": {
10804 "filename": "lib/project.ts",
10805 "line": 1723
10806 },
10807 "name": "UBUNTU_14_04_GOLANG_1_10",
10808 "static": true,
10809 "type": {
10810 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
10811 }
10812 },
10813 {
10814 "const": true,
10815 "docs": {
10816 "deprecated": "Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section",
10817 "stability": "deprecated"
10818 },
10819 "immutable": true,
10820 "locationInModule": {
10821 "filename": "lib/project.ts",
10822 "line": 1725
10823 },
10824 "name": "UBUNTU_14_04_GOLANG_1_11",
10825 "static": true,
10826 "type": {
10827 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
10828 }
10829 },
10830 {
10831 "const": true,
10832 "docs": {
10833 "deprecated": "Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section",
10834 "stability": "deprecated"
10835 },
10836 "immutable": true,
10837 "locationInModule": {
10838 "filename": "lib/project.ts",
10839 "line": 1735
10840 },
10841 "name": "UBUNTU_14_04_NODEJS_10_1_0",
10842 "static": true,
10843 "type": {
10844 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
10845 }
10846 },
10847 {
10848 "const": true,
10849 "docs": {
10850 "deprecated": "Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section",
10851 "stability": "deprecated"
10852 },
10853 "immutable": true,
10854 "locationInModule": {
10855 "filename": "lib/project.ts",
10856 "line": 1733
10857 },
10858 "name": "UBUNTU_14_04_NODEJS_10_14_1",
10859 "static": true,
10860 "type": {
10861 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
10862 }
10863 },
10864 {
10865 "const": true,
10866 "docs": {
10867 "deprecated": "Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section",
10868 "stability": "deprecated"
10869 },
10870 "immutable": true,
10871 "locationInModule": {
10872 "filename": "lib/project.ts",
10873 "line": 1739
10874 },
10875 "name": "UBUNTU_14_04_NODEJS_6_3_1",
10876 "static": true,
10877 "type": {
10878 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
10879 }
10880 },
10881 {
10882 "const": true,
10883 "docs": {
10884 "deprecated": "Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section",
10885 "stability": "deprecated"
10886 },
10887 "immutable": true,
10888 "locationInModule": {
10889 "filename": "lib/project.ts",
10890 "line": 1737
10891 },
10892 "name": "UBUNTU_14_04_NODEJS_8_11_0",
10893 "static": true,
10894 "type": {
10895 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
10896 }
10897 },
10898 {
10899 "const": true,
10900 "docs": {
10901 "deprecated": "Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section",
10902 "stability": "deprecated"
10903 },
10904 "immutable": true,
10905 "locationInModule": {
10906 "filename": "lib/project.ts",
10907 "line": 1731
10908 },
10909 "name": "UBUNTU_14_04_OPEN_JDK_11",
10910 "static": true,
10911 "type": {
10912 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
10913 }
10914 },
10915 {
10916 "const": true,
10917 "docs": {
10918 "deprecated": "Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section",
10919 "stability": "deprecated"
10920 },
10921 "immutable": true,
10922 "locationInModule": {
10923 "filename": "lib/project.ts",
10924 "line": 1727
10925 },
10926 "name": "UBUNTU_14_04_OPEN_JDK_8",
10927 "static": true,
10928 "type": {
10929 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
10930 }
10931 },
10932 {
10933 "const": true,
10934 "docs": {
10935 "deprecated": "Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section",
10936 "stability": "deprecated"
10937 },
10938 "immutable": true,
10939 "locationInModule": {
10940 "filename": "lib/project.ts",
10941 "line": 1729
10942 },
10943 "name": "UBUNTU_14_04_OPEN_JDK_9",
10944 "static": true,
10945 "type": {
10946 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
10947 }
10948 },
10949 {
10950 "const": true,
10951 "docs": {
10952 "deprecated": "Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section",
10953 "stability": "deprecated"
10954 },
10955 "immutable": true,
10956 "locationInModule": {
10957 "filename": "lib/project.ts",
10958 "line": 1741
10959 },
10960 "name": "UBUNTU_14_04_PHP_5_6",
10961 "static": true,
10962 "type": {
10963 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
10964 }
10965 },
10966 {
10967 "const": true,
10968 "docs": {
10969 "deprecated": "Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section",
10970 "stability": "deprecated"
10971 },
10972 "immutable": true,
10973 "locationInModule": {
10974 "filename": "lib/project.ts",
10975 "line": 1743
10976 },
10977 "name": "UBUNTU_14_04_PHP_7_0",
10978 "static": true,
10979 "type": {
10980 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
10981 }
10982 },
10983 {
10984 "const": true,
10985 "docs": {
10986 "deprecated": "Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section",
10987 "stability": "deprecated"
10988 },
10989 "immutable": true,
10990 "locationInModule": {
10991 "filename": "lib/project.ts",
10992 "line": 1745
10993 },
10994 "name": "UBUNTU_14_04_PHP_7_1",
10995 "static": true,
10996 "type": {
10997 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
10998 }
10999 },
11000 {
11001 "const": true,
11002 "docs": {
11003 "deprecated": "Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section",
11004 "stability": "deprecated"
11005 },
11006 "immutable": true,
11007 "locationInModule": {
11008 "filename": "lib/project.ts",
11009 "line": 1757
11010 },
11011 "name": "UBUNTU_14_04_PYTHON_2_7_12",
11012 "static": true,
11013 "type": {
11014 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
11015 }
11016 },
11017 {
11018 "const": true,
11019 "docs": {
11020 "deprecated": "Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section",
11021 "stability": "deprecated"
11022 },
11023 "immutable": true,
11024 "locationInModule": {
11025 "filename": "lib/project.ts",
11026 "line": 1755
11027 },
11028 "name": "UBUNTU_14_04_PYTHON_3_3_6",
11029 "static": true,
11030 "type": {
11031 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
11032 }
11033 },
11034 {
11035 "const": true,
11036 "docs": {
11037 "deprecated": "Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section",
11038 "stability": "deprecated"
11039 },
11040 "immutable": true,
11041 "locationInModule": {
11042 "filename": "lib/project.ts",
11043 "line": 1753
11044 },
11045 "name": "UBUNTU_14_04_PYTHON_3_4_5",
11046 "static": true,
11047 "type": {
11048 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
11049 }
11050 },
11051 {
11052 "const": true,
11053 "docs": {
11054 "deprecated": "Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section",
11055 "stability": "deprecated"
11056 },
11057 "immutable": true,
11058 "locationInModule": {
11059 "filename": "lib/project.ts",
11060 "line": 1751
11061 },
11062 "name": "UBUNTU_14_04_PYTHON_3_5_2",
11063 "static": true,
11064 "type": {
11065 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
11066 }
11067 },
11068 {
11069 "const": true,
11070 "docs": {
11071 "deprecated": "Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section",
11072 "stability": "deprecated"
11073 },
11074 "immutable": true,
11075 "locationInModule": {
11076 "filename": "lib/project.ts",
11077 "line": 1749
11078 },
11079 "name": "UBUNTU_14_04_PYTHON_3_6_5",
11080 "static": true,
11081 "type": {
11082 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
11083 }
11084 },
11085 {
11086 "const": true,
11087 "docs": {
11088 "deprecated": "Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section",
11089 "stability": "deprecated"
11090 },
11091 "immutable": true,
11092 "locationInModule": {
11093 "filename": "lib/project.ts",
11094 "line": 1747
11095 },
11096 "name": "UBUNTU_14_04_PYTHON_3_7_1",
11097 "static": true,
11098 "type": {
11099 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
11100 }
11101 },
11102 {
11103 "const": true,
11104 "docs": {
11105 "deprecated": "Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section",
11106 "stability": "deprecated"
11107 },
11108 "immutable": true,
11109 "locationInModule": {
11110 "filename": "lib/project.ts",
11111 "line": 1765
11112 },
11113 "name": "UBUNTU_14_04_RUBY_2_2_5",
11114 "static": true,
11115 "type": {
11116 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
11117 }
11118 },
11119 {
11120 "const": true,
11121 "docs": {
11122 "deprecated": "Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section",
11123 "stability": "deprecated"
11124 },
11125 "immutable": true,
11126 "locationInModule": {
11127 "filename": "lib/project.ts",
11128 "line": 1763
11129 },
11130 "name": "UBUNTU_14_04_RUBY_2_3_1",
11131 "static": true,
11132 "type": {
11133 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
11134 }
11135 },
11136 {
11137 "const": true,
11138 "docs": {
11139 "deprecated": "Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section",
11140 "stability": "deprecated"
11141 },
11142 "immutable": true,
11143 "locationInModule": {
11144 "filename": "lib/project.ts",
11145 "line": 1761
11146 },
11147 "name": "UBUNTU_14_04_RUBY_2_5_1",
11148 "static": true,
11149 "type": {
11150 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
11151 }
11152 },
11153 {
11154 "const": true,
11155 "docs": {
11156 "deprecated": "Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section",
11157 "stability": "deprecated"
11158 },
11159 "immutable": true,
11160 "locationInModule": {
11161 "filename": "lib/project.ts",
11162 "line": 1759
11163 },
11164 "name": "UBUNTU_14_04_RUBY_2_5_3",
11165 "static": true,
11166 "type": {
11167 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
11168 }
11169 },
11170 {
11171 "docs": {
11172 "stability": "stable",
11173 "summary": "The default {@link ComputeType} to use with this image, if one was not specified in {@link BuildEnvironment#computeType} explicitly."
11174 },
11175 "immutable": true,
11176 "locationInModule": {
11177 "filename": "lib/project.ts",
11178 "line": 1837
11179 },
11180 "name": "defaultComputeType",
11181 "overrides": "@aws-cdk/aws-codebuild.IBuildImage",
11182 "type": {
11183 "fqn": "@aws-cdk/aws-codebuild.ComputeType"
11184 }
11185 },
11186 {
11187 "docs": {
11188 "stability": "stable",
11189 "summary": "The Docker image identifier that the build environment uses."
11190 },
11191 "immutable": true,
11192 "locationInModule": {
11193 "filename": "lib/project.ts",
11194 "line": 1838
11195 },
11196 "name": "imageId",
11197 "overrides": "@aws-cdk/aws-codebuild.IBuildImage",
11198 "type": {
11199 "primitive": "string"
11200 }
11201 },
11202 {
11203 "docs": {
11204 "stability": "stable",
11205 "summary": "The type of build environment."
11206 },
11207 "immutable": true,
11208 "locationInModule": {
11209 "filename": "lib/project.ts",
11210 "line": 1836
11211 },
11212 "name": "type",
11213 "overrides": "@aws-cdk/aws-codebuild.IBuildImage",
11214 "type": {
11215 "primitive": "string"
11216 }
11217 },
11218 {
11219 "docs": {
11220 "stability": "stable",
11221 "summary": "The type of principal that CodeBuild will use to pull this build Docker image."
11222 },
11223 "immutable": true,
11224 "locationInModule": {
11225 "filename": "lib/project.ts",
11226 "line": 1839
11227 },
11228 "name": "imagePullPrincipalType",
11229 "optional": true,
11230 "overrides": "@aws-cdk/aws-codebuild.IBuildImage",
11231 "type": {
11232 "fqn": "@aws-cdk/aws-codebuild.ImagePullPrincipalType"
11233 }
11234 },
11235 {
11236 "docs": {
11237 "stability": "stable",
11238 "summary": "An optional ECR repository that the image is hosted in."
11239 },
11240 "immutable": true,
11241 "locationInModule": {
11242 "filename": "lib/project.ts",
11243 "line": 1841
11244 },
11245 "name": "repository",
11246 "optional": true,
11247 "overrides": "@aws-cdk/aws-codebuild.IBuildImage",
11248 "type": {
11249 "fqn": "@aws-cdk/aws-ecr.IRepository"
11250 }
11251 },
11252 {
11253 "docs": {
11254 "stability": "stable",
11255 "summary": "The secretsManagerCredentials for access to a private registry."
11256 },
11257 "immutable": true,
11258 "locationInModule": {
11259 "filename": "lib/project.ts",
11260 "line": 1840
11261 },
11262 "name": "secretsManagerCredentials",
11263 "optional": true,
11264 "overrides": "@aws-cdk/aws-codebuild.IBuildImage",
11265 "type": {
11266 "fqn": "@aws-cdk/aws-secretsmanager.ISecret"
11267 }
11268 }
11269 ],
11270 "symbolId": "lib/project:LinuxBuildImage"
11271 },
11272 "@aws-cdk/aws-codebuild.LinuxGpuBuildImage": {
11273 "assembly": "@aws-cdk/aws-codebuild",
11274 "docs": {
11275 "remarks": "This class has public constants that represent the most popular GPU images from AWS Deep Learning Containers.",
11276 "see": "https://aws.amazon.com/releasenotes/available-deep-learning-containers-images",
11277 "stability": "stable",
11278 "summary": "A CodeBuild GPU image running Linux.",
11279 "example": "new codebuild.Project(this, 'Project', {\n environment: {\n buildImage: codebuild.LinuxGpuBuildImage.DLC_TENSORFLOW_2_1_0_INFERENCE,\n },\n // ...\n})",
11280 "custom": {
11281 "exampleMetadata": "infused"
11282 }
11283 },
11284 "fqn": "@aws-cdk/aws-codebuild.LinuxGpuBuildImage",
11285 "interfaces": [
11286 "@aws-cdk/aws-codebuild.IBindableBuildImage"
11287 ],
11288 "kind": "class",
11289 "locationInModule": {
11290 "filename": "lib/linux-gpu-build-image.ts",
11291 "line": 22
11292 },
11293 "methods": [
11294 {
11295 "docs": {
11296 "see": "https://aws.amazon.com/releasenotes/available-deep-learning-containers-images",
11297 "stability": "stable",
11298 "summary": "Returns a Linux GPU build image from AWS Deep Learning Containers."
11299 },
11300 "locationInModule": {
11301 "filename": "lib/linux-gpu-build-image.ts",
11302 "line": 88
11303 },
11304 "name": "awsDeepLearningContainersImage",
11305 "parameters": [
11306 {
11307 "docs": {
11308 "summary": "the name of the repository, for example \"pytorch-inference\"."
11309 },
11310 "name": "repositoryName",
11311 "type": {
11312 "primitive": "string"
11313 }
11314 },
11315 {
11316 "docs": {
11317 "summary": "the tag of the image, for example \"1.5.0-gpu-py36-cu101-ubuntu16.04\"."
11318 },
11319 "name": "tag",
11320 "type": {
11321 "primitive": "string"
11322 }
11323 },
11324 {
11325 "docs": {
11326 "remarks": "In many cases, the CDK can infer that for you, but for some newer region our information\nmight be out of date; in that case, you can specify the region explicitly using this optional parameter",
11327 "summary": "the AWS account ID where the DLC repository for this region is hosted in."
11328 },
11329 "name": "account",
11330 "optional": true,
11331 "type": {
11332 "primitive": "string"
11333 }
11334 }
11335 ],
11336 "returns": {
11337 "type": {
11338 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
11339 }
11340 },
11341 "static": true
11342 },
11343 {
11344 "docs": {
11345 "remarks": "NOTE: if the repository is external (i.e. imported), then we won't be able to add\na resource policy statement for it so CodeBuild can pull the image.",
11346 "see": "https://docs.aws.amazon.com/codebuild/latest/userguide/sample-ecr.html",
11347 "stability": "stable",
11348 "summary": "Returns a GPU image running Linux from an ECR repository."
11349 },
11350 "locationInModule": {
11351 "filename": "lib/linux-gpu-build-image.ts",
11352 "line": 104
11353 },
11354 "name": "fromEcrRepository",
11355 "parameters": [
11356 {
11357 "docs": {
11358 "summary": "The ECR repository."
11359 },
11360 "name": "repository",
11361 "type": {
11362 "fqn": "@aws-cdk/aws-ecr.IRepository"
11363 }
11364 },
11365 {
11366 "docs": {
11367 "summary": "Image tag (default \"latest\")."
11368 },
11369 "name": "tag",
11370 "optional": true,
11371 "type": {
11372 "primitive": "string"
11373 }
11374 }
11375 ],
11376 "returns": {
11377 "type": {
11378 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
11379 }
11380 },
11381 "static": true
11382 },
11383 {
11384 "docs": {
11385 "stability": "stable",
11386 "summary": "Function that allows the build image access to the construct tree."
11387 },
11388 "locationInModule": {
11389 "filename": "lib/linux-gpu-build-image.ts",
11390 "line": 131
11391 },
11392 "name": "bind",
11393 "overrides": "@aws-cdk/aws-codebuild.IBindableBuildImage",
11394 "parameters": [
11395 {
11396 "name": "scope",
11397 "type": {
11398 "fqn": "@aws-cdk/core.Construct"
11399 }
11400 },
11401 {
11402 "name": "project",
11403 "type": {
11404 "fqn": "@aws-cdk/aws-codebuild.IProject"
11405 }
11406 },
11407 {
11408 "name": "_options",
11409 "type": {
11410 "fqn": "@aws-cdk/aws-codebuild.BuildImageBindOptions"
11411 }
11412 }
11413 ],
11414 "returns": {
11415 "type": {
11416 "fqn": "@aws-cdk/aws-codebuild.BuildImageConfig"
11417 }
11418 }
11419 },
11420 {
11421 "docs": {
11422 "stability": "stable",
11423 "summary": "Make a buildspec to run the indicated script."
11424 },
11425 "locationInModule": {
11426 "filename": "lib/linux-gpu-build-image.ts",
11427 "line": 156
11428 },
11429 "name": "runScriptBuildspec",
11430 "overrides": "@aws-cdk/aws-codebuild.IBuildImage",
11431 "parameters": [
11432 {
11433 "name": "entrypoint",
11434 "type": {
11435 "primitive": "string"
11436 }
11437 }
11438 ],
11439 "returns": {
11440 "type": {
11441 "fqn": "@aws-cdk/aws-codebuild.BuildSpec"
11442 }
11443 }
11444 },
11445 {
11446 "docs": {
11447 "stability": "stable",
11448 "summary": "Allows the image a chance to validate whether the passed configuration is correct."
11449 },
11450 "locationInModule": {
11451 "filename": "lib/linux-gpu-build-image.ts",
11452 "line": 146
11453 },
11454 "name": "validate",
11455 "overrides": "@aws-cdk/aws-codebuild.IBuildImage",
11456 "parameters": [
11457 {
11458 "name": "buildEnvironment",
11459 "type": {
11460 "fqn": "@aws-cdk/aws-codebuild.BuildEnvironment"
11461 }
11462 }
11463 ],
11464 "returns": {
11465 "type": {
11466 "collection": {
11467 "elementtype": {
11468 "primitive": "string"
11469 },
11470 "kind": "array"
11471 }
11472 }
11473 }
11474 }
11475 ],
11476 "name": "LinuxGpuBuildImage",
11477 "properties": [
11478 {
11479 "const": true,
11480 "docs": {
11481 "stability": "stable",
11482 "summary": "MXNet 1.4.1 GPU image from AWS Deep Learning Containers."
11483 },
11484 "immutable": true,
11485 "locationInModule": {
11486 "filename": "lib/linux-gpu-build-image.ts",
11487 "line": 71
11488 },
11489 "name": "DLC_MXNET_1_4_1",
11490 "static": true,
11491 "type": {
11492 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
11493 }
11494 },
11495 {
11496 "const": true,
11497 "docs": {
11498 "stability": "stable",
11499 "summary": "MXNet 1.6.0 GPU image from AWS Deep Learning Containers."
11500 },
11501 "immutable": true,
11502 "locationInModule": {
11503 "filename": "lib/linux-gpu-build-image.ts",
11504 "line": 74
11505 },
11506 "name": "DLC_MXNET_1_6_0",
11507 "static": true,
11508 "type": {
11509 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
11510 }
11511 },
11512 {
11513 "const": true,
11514 "docs": {
11515 "stability": "stable",
11516 "summary": "PyTorch 1.2.0 GPU image from AWS Deep Learning Containers."
11517 },
11518 "immutable": true,
11519 "locationInModule": {
11520 "filename": "lib/linux-gpu-build-image.ts",
11521 "line": 52
11522 },
11523 "name": "DLC_PYTORCH_1_2_0",
11524 "static": true,
11525 "type": {
11526 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
11527 }
11528 },
11529 {
11530 "const": true,
11531 "docs": {
11532 "stability": "stable",
11533 "summary": "PyTorch 1.3.1 GPU image from AWS Deep Learning Containers."
11534 },
11535 "immutable": true,
11536 "locationInModule": {
11537 "filename": "lib/linux-gpu-build-image.ts",
11538 "line": 55
11539 },
11540 "name": "DLC_PYTORCH_1_3_1",
11541 "static": true,
11542 "type": {
11543 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
11544 }
11545 },
11546 {
11547 "const": true,
11548 "docs": {
11549 "stability": "stable",
11550 "summary": "PyTorch 1.4.0 GPU inference image from AWS Deep Learning Containers."
11551 },
11552 "immutable": true,
11553 "locationInModule": {
11554 "filename": "lib/linux-gpu-build-image.ts",
11555 "line": 61
11556 },
11557 "name": "DLC_PYTORCH_1_4_0_INFERENCE",
11558 "static": true,
11559 "type": {
11560 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
11561 }
11562 },
11563 {
11564 "const": true,
11565 "docs": {
11566 "stability": "stable",
11567 "summary": "PyTorch 1.4.0 GPU training image from AWS Deep Learning Containers."
11568 },
11569 "immutable": true,
11570 "locationInModule": {
11571 "filename": "lib/linux-gpu-build-image.ts",
11572 "line": 58
11573 },
11574 "name": "DLC_PYTORCH_1_4_0_TRAINING",
11575 "static": true,
11576 "type": {
11577 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
11578 }
11579 },
11580 {
11581 "const": true,
11582 "docs": {
11583 "stability": "stable",
11584 "summary": "PyTorch 1.5.0 GPU inference image from AWS Deep Learning Containers."
11585 },
11586 "immutable": true,
11587 "locationInModule": {
11588 "filename": "lib/linux-gpu-build-image.ts",
11589 "line": 67
11590 },
11591 "name": "DLC_PYTORCH_1_5_0_INFERENCE",
11592 "static": true,
11593 "type": {
11594 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
11595 }
11596 },
11597 {
11598 "const": true,
11599 "docs": {
11600 "stability": "stable",
11601 "summary": "PyTorch 1.5.0 GPU training image from AWS Deep Learning Containers."
11602 },
11603 "immutable": true,
11604 "locationInModule": {
11605 "filename": "lib/linux-gpu-build-image.ts",
11606 "line": 64
11607 },
11608 "name": "DLC_PYTORCH_1_5_0_TRAINING",
11609 "static": true,
11610 "type": {
11611 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
11612 }
11613 },
11614 {
11615 "const": true,
11616 "docs": {
11617 "stability": "stable",
11618 "summary": "Tensorflow 1.14.0 GPU image from AWS Deep Learning Containers."
11619 },
11620 "immutable": true,
11621 "locationInModule": {
11622 "filename": "lib/linux-gpu-build-image.ts",
11623 "line": 24
11624 },
11625 "name": "DLC_TENSORFLOW_1_14_0",
11626 "static": true,
11627 "type": {
11628 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
11629 }
11630 },
11631 {
11632 "const": true,
11633 "docs": {
11634 "stability": "stable",
11635 "summary": "Tensorflow 1.15.0 GPU image from AWS Deep Learning Containers."
11636 },
11637 "immutable": true,
11638 "locationInModule": {
11639 "filename": "lib/linux-gpu-build-image.ts",
11640 "line": 27
11641 },
11642 "name": "DLC_TENSORFLOW_1_15_0",
11643 "static": true,
11644 "type": {
11645 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
11646 }
11647 },
11648 {
11649 "const": true,
11650 "docs": {
11651 "stability": "stable",
11652 "summary": "Tensorflow 1.15.2 GPU inference image from AWS Deep Learning Containers."
11653 },
11654 "immutable": true,
11655 "locationInModule": {
11656 "filename": "lib/linux-gpu-build-image.ts",
11657 "line": 33
11658 },
11659 "name": "DLC_TENSORFLOW_1_15_2_INFERENCE",
11660 "static": true,
11661 "type": {
11662 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
11663 }
11664 },
11665 {
11666 "const": true,
11667 "docs": {
11668 "stability": "stable",
11669 "summary": "Tensorflow 1.15.2 GPU training image from AWS Deep Learning Containers."
11670 },
11671 "immutable": true,
11672 "locationInModule": {
11673 "filename": "lib/linux-gpu-build-image.ts",
11674 "line": 30
11675 },
11676 "name": "DLC_TENSORFLOW_1_15_2_TRAINING",
11677 "static": true,
11678 "type": {
11679 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
11680 }
11681 },
11682 {
11683 "const": true,
11684 "docs": {
11685 "stability": "stable",
11686 "summary": "Tensorflow 2.0.0 GPU image from AWS Deep Learning Containers."
11687 },
11688 "immutable": true,
11689 "locationInModule": {
11690 "filename": "lib/linux-gpu-build-image.ts",
11691 "line": 36
11692 },
11693 "name": "DLC_TENSORFLOW_2_0_0",
11694 "static": true,
11695 "type": {
11696 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
11697 }
11698 },
11699 {
11700 "const": true,
11701 "docs": {
11702 "stability": "stable",
11703 "summary": "Tensorflow 2.0.1 GPU image from AWS Deep Learning Containers."
11704 },
11705 "immutable": true,
11706 "locationInModule": {
11707 "filename": "lib/linux-gpu-build-image.ts",
11708 "line": 39
11709 },
11710 "name": "DLC_TENSORFLOW_2_0_1",
11711 "static": true,
11712 "type": {
11713 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
11714 }
11715 },
11716 {
11717 "const": true,
11718 "docs": {
11719 "stability": "stable",
11720 "summary": "Tensorflow 2.1.0 GPU inference image from AWS Deep Learning Containers."
11721 },
11722 "immutable": true,
11723 "locationInModule": {
11724 "filename": "lib/linux-gpu-build-image.ts",
11725 "line": 45
11726 },
11727 "name": "DLC_TENSORFLOW_2_1_0_INFERENCE",
11728 "static": true,
11729 "type": {
11730 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
11731 }
11732 },
11733 {
11734 "const": true,
11735 "docs": {
11736 "stability": "stable",
11737 "summary": "Tensorflow 2.1.0 GPU training image from AWS Deep Learning Containers."
11738 },
11739 "immutable": true,
11740 "locationInModule": {
11741 "filename": "lib/linux-gpu-build-image.ts",
11742 "line": 42
11743 },
11744 "name": "DLC_TENSORFLOW_2_1_0_TRAINING",
11745 "static": true,
11746 "type": {
11747 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
11748 }
11749 },
11750 {
11751 "const": true,
11752 "docs": {
11753 "stability": "stable",
11754 "summary": "Tensorflow 2.2.0 GPU training image from AWS Deep Learning Containers."
11755 },
11756 "immutable": true,
11757 "locationInModule": {
11758 "filename": "lib/linux-gpu-build-image.ts",
11759 "line": 48
11760 },
11761 "name": "DLC_TENSORFLOW_2_2_0_TRAINING",
11762 "static": true,
11763 "type": {
11764 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
11765 }
11766 },
11767 {
11768 "docs": {
11769 "stability": "stable",
11770 "summary": "The default {@link ComputeType} to use with this image, if one was not specified in {@link BuildEnvironment#computeType} explicitly."
11771 },
11772 "immutable": true,
11773 "locationInModule": {
11774 "filename": "lib/linux-gpu-build-image.ts",
11775 "line": 109
11776 },
11777 "name": "defaultComputeType",
11778 "overrides": "@aws-cdk/aws-codebuild.IBuildImage",
11779 "type": {
11780 "fqn": "@aws-cdk/aws-codebuild.ComputeType"
11781 }
11782 },
11783 {
11784 "docs": {
11785 "stability": "stable",
11786 "summary": "The Docker image identifier that the build environment uses."
11787 },
11788 "immutable": true,
11789 "locationInModule": {
11790 "filename": "lib/linux-gpu-build-image.ts",
11791 "line": 111
11792 },
11793 "name": "imageId",
11794 "overrides": "@aws-cdk/aws-codebuild.IBuildImage",
11795 "type": {
11796 "primitive": "string"
11797 }
11798 },
11799 {
11800 "docs": {
11801 "stability": "stable",
11802 "summary": "The type of build environment."
11803 },
11804 "immutable": true,
11805 "locationInModule": {
11806 "filename": "lib/linux-gpu-build-image.ts",
11807 "line": 108
11808 },
11809 "name": "type",
11810 "overrides": "@aws-cdk/aws-codebuild.IBuildImage",
11811 "type": {
11812 "primitive": "string"
11813 }
11814 },
11815 {
11816 "docs": {
11817 "stability": "stable",
11818 "summary": "The type of principal that CodeBuild will use to pull this build Docker image."
11819 },
11820 "immutable": true,
11821 "locationInModule": {
11822 "filename": "lib/linux-gpu-build-image.ts",
11823 "line": 110
11824 },
11825 "name": "imagePullPrincipalType",
11826 "optional": true,
11827 "overrides": "@aws-cdk/aws-codebuild.IBuildImage",
11828 "type": {
11829 "fqn": "@aws-cdk/aws-codebuild.ImagePullPrincipalType"
11830 }
11831 }
11832 ],
11833 "symbolId": "lib/linux-gpu-build-image:LinuxGpuBuildImage"
11834 },
11835 "@aws-cdk/aws-codebuild.LocalCacheMode": {
11836 "assembly": "@aws-cdk/aws-codebuild",
11837 "docs": {
11838 "stability": "stable",
11839 "summary": "Local cache modes to enable for the CodeBuild Project.",
11840 "example": "new 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});",
11841 "custom": {
11842 "exampleMetadata": "infused"
11843 }
11844 },
11845 "fqn": "@aws-cdk/aws-codebuild.LocalCacheMode",
11846 "kind": "enum",
11847 "locationInModule": {
11848 "filename": "lib/cache.ts",
11849 "line": 16
11850 },
11851 "members": [
11852 {
11853 "docs": {
11854 "stability": "stable",
11855 "summary": "Caches Git metadata for primary and secondary sources."
11856 },
11857 "name": "SOURCE"
11858 },
11859 {
11860 "docs": {
11861 "stability": "stable",
11862 "summary": "Caches existing Docker layers."
11863 },
11864 "name": "DOCKER_LAYER"
11865 },
11866 {
11867 "docs": {
11868 "stability": "stable",
11869 "summary": "Caches directories you specify in the buildspec file."
11870 },
11871 "name": "CUSTOM"
11872 }
11873 ],
11874 "name": "LocalCacheMode",
11875 "symbolId": "lib/cache:LocalCacheMode"
11876 },
11877 "@aws-cdk/aws-codebuild.LoggingOptions": {
11878 "assembly": "@aws-cdk/aws-codebuild",
11879 "datatype": true,
11880 "docs": {
11881 "remarks": "A project can create logs in Amazon CloudWatch Logs, an S3 bucket, or both.",
11882 "stability": "stable",
11883 "summary": "Information about logs for the build project.",
11884 "example": "new codebuild.Project(this, 'Project', {\n logging: {\n cloudWatch: {\n logGroup: new logs.LogGroup(this, `MyLogGroup`),\n }\n },\n})",
11885 "custom": {
11886 "exampleMetadata": "infused"
11887 }
11888 },
11889 "fqn": "@aws-cdk/aws-codebuild.LoggingOptions",
11890 "kind": "interface",
11891 "locationInModule": {
11892 "filename": "lib/project-logs.ts",
11893 "line": 64
11894 },
11895 "name": "LoggingOptions",
11896 "properties": [
11897 {
11898 "abstract": true,
11899 "docs": {
11900 "default": "- enabled",
11901 "stability": "stable",
11902 "summary": "Information about Amazon CloudWatch Logs for a build project."
11903 },
11904 "immutable": true,
11905 "locationInModule": {
11906 "filename": "lib/project-logs.ts",
11907 "line": 77
11908 },
11909 "name": "cloudWatch",
11910 "optional": true,
11911 "type": {
11912 "fqn": "@aws-cdk/aws-codebuild.CloudWatchLoggingOptions"
11913 }
11914 },
11915 {
11916 "abstract": true,
11917 "docs": {
11918 "default": "- disabled",
11919 "stability": "stable",
11920 "summary": "Information about logs built to an S3 bucket for a build project."
11921 },
11922 "immutable": true,
11923 "locationInModule": {
11924 "filename": "lib/project-logs.ts",
11925 "line": 70
11926 },
11927 "name": "s3",
11928 "optional": true,
11929 "type": {
11930 "fqn": "@aws-cdk/aws-codebuild.S3LoggingOptions"
11931 }
11932 }
11933 ],
11934 "symbolId": "lib/project-logs:LoggingOptions"
11935 },
11936 "@aws-cdk/aws-codebuild.PhaseChangeEvent": {
11937 "assembly": "@aws-cdk/aws-codebuild",
11938 "docs": {
11939 "see": "https://docs.aws.amazon.com/codebuild/latest/userguide/sample-build-notifications.html#sample-build-notifications-ref",
11940 "stability": "stable",
11941 "summary": "Event fields for the CodeBuild \"phase change\" event."
11942 },
11943 "fqn": "@aws-cdk/aws-codebuild.PhaseChangeEvent",
11944 "kind": "class",
11945 "locationInModule": {
11946 "filename": "lib/events.ts",
11947 "line": 43
11948 },
11949 "name": "PhaseChangeEvent",
11950 "properties": [
11951 {
11952 "docs": {
11953 "stability": "stable",
11954 "summary": "Whether the build is complete."
11955 },
11956 "immutable": true,
11957 "locationInModule": {
11958 "filename": "lib/events.ts",
11959 "line": 82
11960 },
11961 "name": "buildComplete",
11962 "static": true,
11963 "type": {
11964 "primitive": "string"
11965 }
11966 },
11967 {
11968 "docs": {
11969 "stability": "stable",
11970 "summary": "The triggering build's id."
11971 },
11972 "immutable": true,
11973 "locationInModule": {
11974 "filename": "lib/events.ts",
11975 "line": 54
11976 },
11977 "name": "buildId",
11978 "static": true,
11979 "type": {
11980 "primitive": "string"
11981 }
11982 },
11983 {
11984 "docs": {
11985 "stability": "stable",
11986 "summary": "The phase that was just completed."
11987 },
11988 "immutable": true,
11989 "locationInModule": {
11990 "filename": "lib/events.ts",
11991 "line": 61
11992 },
11993 "name": "completedPhase",
11994 "static": true,
11995 "type": {
11996 "primitive": "string"
11997 }
11998 },
11999 {
12000 "docs": {
12001 "stability": "stable",
12002 "summary": "The duration of the completed phase."
12003 },
12004 "immutable": true,
12005 "locationInModule": {
12006 "filename": "lib/events.ts",
12007 "line": 75
12008 },
12009 "name": "completedPhaseDurationSeconds",
12010 "static": true,
12011 "type": {
12012 "primitive": "string"
12013 }
12014 },
12015 {
12016 "docs": {
12017 "stability": "stable",
12018 "summary": "The status of the completed phase."
12019 },
12020 "immutable": true,
12021 "locationInModule": {
12022 "filename": "lib/events.ts",
12023 "line": 68
12024 },
12025 "name": "completedPhaseStatus",
12026 "static": true,
12027 "type": {
12028 "primitive": "string"
12029 }
12030 },
12031 {
12032 "docs": {
12033 "stability": "stable",
12034 "summary": "The triggering build's project name."
12035 },
12036 "immutable": true,
12037 "locationInModule": {
12038 "filename": "lib/events.ts",
12039 "line": 47
12040 },
12041 "name": "projectName",
12042 "static": true,
12043 "type": {
12044 "primitive": "string"
12045 }
12046 }
12047 ],
12048 "symbolId": "lib/events:PhaseChangeEvent"
12049 },
12050 "@aws-cdk/aws-codebuild.PipelineProject": {
12051 "assembly": "@aws-cdk/aws-codebuild",
12052 "base": "@aws-cdk/aws-codebuild.Project",
12053 "docs": {
12054 "stability": "stable",
12055 "summary": "A convenience class for CodeBuild Projects that are used in CodePipeline.",
12056 "example": "// Create a Cloudfront Web Distribution\nimport * as cloudfront from '@aws-cdk/aws-cloudfront';\ndeclare const distribution: cloudfront.Distribution;\n\n// Create the build project that will invalidate the cache\nconst invalidateBuildProject = new codebuild.PipelineProject(this, `InvalidateProject`, {\n buildSpec: codebuild.BuildSpec.fromObject({\n version: '0.2',\n phases: {\n build: {\n commands:[\n 'aws cloudfront create-invalidation --distribution-id ${CLOUDFRONT_ID} --paths \"/*\"',\n // Choose whatever files or paths you'd like, or all files as specified here\n ],\n },\n },\n }),\n environmentVariables: {\n CLOUDFRONT_ID: { value: distribution.distributionId },\n },\n});\n\n// Add Cloudfront invalidation permissions to the project\nconst distributionArn = `arn:aws:cloudfront::${this.account}:distribution/${distribution.distributionId}`;\ninvalidateBuildProject.addToRolePolicy(new iam.PolicyStatement({\n resources: [distributionArn],\n actions: [\n 'cloudfront:CreateInvalidation',\n ],\n}));\n\n// Create the pipeline (here only the S3 deploy and Invalidate cache build)\nconst deployBucket = new s3.Bucket(this, 'DeployBucket');\nconst deployInput = new codepipeline.Artifact();\nnew codepipeline.Pipeline(this, 'Pipeline', {\n stages: [\n // ...\n {\n stageName: 'Deploy',\n actions: [\n new codepipeline_actions.S3DeployAction({\n actionName: 'S3Deploy',\n bucket: deployBucket,\n input: deployInput,\n runOrder: 1,\n }),\n new codepipeline_actions.CodeBuildAction({\n actionName: 'InvalidateCache',\n project: invalidateBuildProject,\n input: deployInput,\n runOrder: 2,\n }),\n ],\n },\n ],\n});",
12057 "custom": {
12058 "exampleMetadata": "infused"
12059 }
12060 },
12061 "fqn": "@aws-cdk/aws-codebuild.PipelineProject",
12062 "initializer": {
12063 "docs": {
12064 "stability": "stable"
12065 },
12066 "locationInModule": {
12067 "filename": "lib/pipeline-project.ts",
12068 "line": 13
12069 },
12070 "parameters": [
12071 {
12072 "name": "scope",
12073 "type": {
12074 "fqn": "constructs.Construct"
12075 }
12076 },
12077 {
12078 "name": "id",
12079 "type": {
12080 "primitive": "string"
12081 }
12082 },
12083 {
12084 "name": "props",
12085 "optional": true,
12086 "type": {
12087 "fqn": "@aws-cdk/aws-codebuild.PipelineProjectProps"
12088 }
12089 }
12090 ]
12091 },
12092 "kind": "class",
12093 "locationInModule": {
12094 "filename": "lib/pipeline-project.ts",
12095 "line": 12
12096 },
12097 "name": "PipelineProject",
12098 "symbolId": "lib/pipeline-project:PipelineProject"
12099 },
12100 "@aws-cdk/aws-codebuild.PipelineProjectProps": {
12101 "assembly": "@aws-cdk/aws-codebuild",
12102 "datatype": true,
12103 "docs": {
12104 "stability": "stable",
12105 "example": "// Create a Cloudfront Web Distribution\nimport * as cloudfront from '@aws-cdk/aws-cloudfront';\ndeclare const distribution: cloudfront.Distribution;\n\n// Create the build project that will invalidate the cache\nconst invalidateBuildProject = new codebuild.PipelineProject(this, `InvalidateProject`, {\n buildSpec: codebuild.BuildSpec.fromObject({\n version: '0.2',\n phases: {\n build: {\n commands:[\n 'aws cloudfront create-invalidation --distribution-id ${CLOUDFRONT_ID} --paths \"/*\"',\n // Choose whatever files or paths you'd like, or all files as specified here\n ],\n },\n },\n }),\n environmentVariables: {\n CLOUDFRONT_ID: { value: distribution.distributionId },\n },\n});\n\n// Add Cloudfront invalidation permissions to the project\nconst distributionArn = `arn:aws:cloudfront::${this.account}:distribution/${distribution.distributionId}`;\ninvalidateBuildProject.addToRolePolicy(new iam.PolicyStatement({\n resources: [distributionArn],\n actions: [\n 'cloudfront:CreateInvalidation',\n ],\n}));\n\n// Create the pipeline (here only the S3 deploy and Invalidate cache build)\nconst deployBucket = new s3.Bucket(this, 'DeployBucket');\nconst deployInput = new codepipeline.Artifact();\nnew codepipeline.Pipeline(this, 'Pipeline', {\n stages: [\n // ...\n {\n stageName: 'Deploy',\n actions: [\n new codepipeline_actions.S3DeployAction({\n actionName: 'S3Deploy',\n bucket: deployBucket,\n input: deployInput,\n runOrder: 1,\n }),\n new codepipeline_actions.CodeBuildAction({\n actionName: 'InvalidateCache',\n project: invalidateBuildProject,\n input: deployInput,\n runOrder: 2,\n }),\n ],\n },\n ],\n});",
12106 "custom": {
12107 "exampleMetadata": "infused"
12108 }
12109 },
12110 "fqn": "@aws-cdk/aws-codebuild.PipelineProjectProps",
12111 "interfaces": [
12112 "@aws-cdk/aws-codebuild.CommonProjectProps"
12113 ],
12114 "kind": "interface",
12115 "locationInModule": {
12116 "filename": "lib/pipeline-project.ts",
12117 "line": 6
12118 },
12119 "name": "PipelineProjectProps",
12120 "symbolId": "lib/pipeline-project:PipelineProjectProps"
12121 },
12122 "@aws-cdk/aws-codebuild.Project": {
12123 "assembly": "@aws-cdk/aws-codebuild",
12124 "base": "@aws-cdk/core.Resource",
12125 "docs": {
12126 "stability": "stable",
12127 "summary": "A representation of a CodeBuild Project.",
12128 "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});",
12129 "custom": {
12130 "exampleMetadata": "infused"
12131 }
12132 },
12133 "fqn": "@aws-cdk/aws-codebuild.Project",
12134 "initializer": {
12135 "docs": {
12136 "stability": "stable"
12137 },
12138 "locationInModule": {
12139 "filename": "lib/project.ts",
12140 "line": 1015
12141 },
12142 "parameters": [
12143 {
12144 "name": "scope",
12145 "type": {
12146 "fqn": "constructs.Construct"
12147 }
12148 },
12149 {
12150 "name": "id",
12151 "type": {
12152 "primitive": "string"
12153 }
12154 },
12155 {
12156 "name": "props",
12157 "type": {
12158 "fqn": "@aws-cdk/aws-codebuild.ProjectProps"
12159 }
12160 }
12161 ]
12162 },
12163 "interfaces": [
12164 "@aws-cdk/aws-codebuild.IProject"
12165 ],
12166 "kind": "class",
12167 "locationInModule": {
12168 "filename": "lib/project.ts",
12169 "line": 751
12170 },
12171 "methods": [
12172 {
12173 "docs": {
12174 "stability": "stable"
12175 },
12176 "locationInModule": {
12177 "filename": "lib/project.ts",
12178 "line": 753
12179 },
12180 "name": "fromProjectArn",
12181 "parameters": [
12182 {
12183 "name": "scope",
12184 "type": {
12185 "fqn": "constructs.Construct"
12186 }
12187 },
12188 {
12189 "name": "id",
12190 "type": {
12191 "primitive": "string"
12192 }
12193 },
12194 {
12195 "name": "projectArn",
12196 "type": {
12197 "primitive": "string"
12198 }
12199 }
12200 ],
12201 "returns": {
12202 "type": {
12203 "fqn": "@aws-cdk/aws-codebuild.IProject"
12204 }
12205 },
12206 "static": true
12207 },
12208 {
12209 "docs": {
12210 "custom": {
12211 "note": "if you're importing a CodeBuild Project for use\nin a CodePipeline, make sure the existing Project\nhas permissions to access the S3 Bucket of that Pipeline -\notherwise, builds in that Pipeline will always fail."
12212 },
12213 "returns": "a reference to the existing Project",
12214 "stability": "stable",
12215 "summary": "Import a Project defined either outside the CDK, or in a different CDK Stack (and exported using the {@link export} method)."
12216 },
12217 "locationInModule": {
12218 "filename": "lib/project.ts",
12219 "line": 789
12220 },
12221 "name": "fromProjectName",
12222 "parameters": [
12223 {
12224 "docs": {
12225 "summary": "the parent Construct for this Construct."
12226 },
12227 "name": "scope",
12228 "type": {
12229 "fqn": "constructs.Construct"
12230 }
12231 },
12232 {
12233 "docs": {
12234 "summary": "the logical name of this Construct."
12235 },
12236 "name": "id",
12237 "type": {
12238 "primitive": "string"
12239 }
12240 },
12241 {
12242 "docs": {
12243 "summary": "the name of the project to import."
12244 },
12245 "name": "projectName",
12246 "type": {
12247 "primitive": "string"
12248 }
12249 }
12250 ],
12251 "returns": {
12252 "type": {
12253 "fqn": "@aws-cdk/aws-codebuild.IProject"
12254 }
12255 },
12256 "static": true
12257 },
12258 {
12259 "docs": {
12260 "returns": "an array of {@link CfnProject.EnvironmentVariableProperty} instances",
12261 "stability": "stable",
12262 "summary": "Convert the environment variables map of string to {@link BuildEnvironmentVariable}, which is the customer-facing type, to a list of {@link CfnProject.EnvironmentVariableProperty}, which is the representation of environment variables in CloudFormation."
12263 },
12264 "locationInModule": {
12265 "filename": "lib/project.ts",
12266 "line": 823
12267 },
12268 "name": "serializeEnvVariables",
12269 "parameters": [
12270 {
12271 "docs": {
12272 "summary": "the map of string to environment variables."
12273 },
12274 "name": "environmentVariables",
12275 "type": {
12276 "collection": {
12277 "elementtype": {
12278 "fqn": "@aws-cdk/aws-codebuild.BuildEnvironmentVariable"
12279 },
12280 "kind": "map"
12281 }
12282 }
12283 },
12284 {
12285 "docs": {
12286 "summary": "whether to throw an exception if any of the plain text environment variables contain secrets, defaults to 'false'."
12287 },
12288 "name": "validateNoPlainTextSecrets",
12289 "optional": true,
12290 "type": {
12291 "primitive": "boolean"
12292 }
12293 },
12294 {
12295 "name": "principal",
12296 "optional": true,
12297 "type": {
12298 "fqn": "@aws-cdk/aws-iam.IGrantable"
12299 }
12300 }
12301 ],
12302 "returns": {
12303 "type": {
12304 "collection": {
12305 "elementtype": {
12306 "fqn": "@aws-cdk/aws-codebuild.CfnProject.EnvironmentVariableProperty"
12307 },
12308 "kind": "array"
12309 }
12310 }
12311 },
12312 "static": true
12313 },
12314 {
12315 "docs": {
12316 "stability": "stable",
12317 "summary": "Adds a fileSystemLocation to the Project."
12318 },
12319 "locationInModule": {
12320 "filename": "lib/project.ts",
12321 "line": 1192
12322 },
12323 "name": "addFileSystemLocation",
12324 "parameters": [
12325 {
12326 "docs": {
12327 "summary": "the fileSystemLocation to add."
12328 },
12329 "name": "fileSystemLocation",
12330 "type": {
12331 "fqn": "@aws-cdk/aws-codebuild.IFileSystemLocation"
12332 }
12333 }
12334 ]
12335 },
12336 {
12337 "docs": {
12338 "see": "https://docs.aws.amazon.com/codebuild/latest/userguide/sample-multi-in-out.html",
12339 "stability": "stable",
12340 "summary": "Adds a secondary artifact to the Project."
12341 },
12342 "locationInModule": {
12343 "filename": "lib/project.ts",
12344 "line": 1203
12345 },
12346 "name": "addSecondaryArtifact",
12347 "parameters": [
12348 {
12349 "docs": {
12350 "summary": "the artifact to add as a secondary artifact."
12351 },
12352 "name": "secondaryArtifact",
12353 "type": {
12354 "fqn": "@aws-cdk/aws-codebuild.IArtifacts"
12355 }
12356 }
12357 ]
12358 },
12359 {
12360 "docs": {
12361 "see": "https://docs.aws.amazon.com/codebuild/latest/userguide/sample-multi-in-out.html",
12362 "stability": "stable",
12363 "summary": "Adds a secondary source to the Project."
12364 },
12365 "locationInModule": {
12366 "filename": "lib/project.ts",
12367 "line": 1173
12368 },
12369 "name": "addSecondarySource",
12370 "parameters": [
12371 {
12372 "docs": {
12373 "summary": "the source to add as a secondary source."
12374 },
12375 "name": "secondarySource",
12376 "type": {
12377 "fqn": "@aws-cdk/aws-codebuild.ISource"
12378 }
12379 }
12380 ]
12381 },
12382 {
12383 "docs": {
12384 "stability": "stable",
12385 "summary": "Add a permission only if there's a policy attached."
12386 },
12387 "locationInModule": {
12388 "filename": "lib/project.ts",
12389 "line": 288
12390 },
12391 "name": "addToRolePolicy",
12392 "overrides": "@aws-cdk/aws-codebuild.IProject",
12393 "parameters": [
12394 {
12395 "docs": {
12396 "summary": "The permissions statement to add."
12397 },
12398 "name": "statement",
12399 "type": {
12400 "fqn": "@aws-cdk/aws-iam.PolicyStatement"
12401 }
12402 }
12403 ]
12404 },
12405 {
12406 "docs": {
12407 "stability": "stable",
12408 "summary": "Returns a source configuration for notification rule."
12409 },
12410 "locationInModule": {
12411 "filename": "lib/project.ts",
12412 "line": 507
12413 },
12414 "name": "bindAsNotificationRuleSource",
12415 "overrides": "@aws-cdk/aws-codestarnotifications.INotificationRuleSource",
12416 "parameters": [
12417 {
12418 "name": "_scope",
12419 "type": {
12420 "fqn": "constructs.Construct"
12421 }
12422 }
12423 ],
12424 "returns": {
12425 "type": {
12426 "fqn": "@aws-cdk/aws-codestarnotifications.NotificationRuleSourceConfig"
12427 }
12428 }
12429 },
12430 {
12431 "docs": {
12432 "stability": "stable",
12433 "summary": "A callback invoked when the given project is added to a CodePipeline."
12434 },
12435 "locationInModule": {
12436 "filename": "lib/project.ts",
12437 "line": 1216
12438 },
12439 "name": "bindToCodePipeline",
12440 "parameters": [
12441 {
12442 "docs": {
12443 "summary": "the construct the binding is taking place in."
12444 },
12445 "name": "_scope",
12446 "type": {
12447 "fqn": "@aws-cdk/core.Construct"
12448 }
12449 },
12450 {
12451 "docs": {
12452 "summary": "additional options for the binding."
12453 },
12454 "name": "options",
12455 "type": {
12456 "fqn": "@aws-cdk/aws-codebuild.BindToCodePipelineOptions"
12457 }
12458 }
12459 ]
12460 },
12461 {
12462 "docs": {
12463 "remarks": "Returns an object contining the batch service role if batch builds\ncould be enabled.",
12464 "stability": "stable",
12465 "summary": "Enable batch builds."
12466 },
12467 "locationInModule": {
12468 "filename": "lib/project.ts",
12469 "line": 1146
12470 },
12471 "name": "enableBatchBuilds",
12472 "overrides": "@aws-cdk/aws-codebuild.IProject",
12473 "returns": {
12474 "optional": true,
12475 "type": {
12476 "fqn": "@aws-cdk/aws-codebuild.BatchBuildConfig"
12477 }
12478 }
12479 },
12480 {
12481 "docs": {
12482 "returns": "a CloudWatch metric associated with this build project.",
12483 "stability": "stable"
12484 },
12485 "locationInModule": {
12486 "filename": "lib/project.ts",
12487 "line": 411
12488 },
12489 "name": "metric",
12490 "overrides": "@aws-cdk/aws-codebuild.IProject",
12491 "parameters": [
12492 {
12493 "docs": {
12494 "summary": "The name of the metric."
12495 },
12496 "name": "metricName",
12497 "type": {
12498 "primitive": "string"
12499 }
12500 },
12501 {
12502 "docs": {
12503 "summary": "Customization properties."
12504 },
12505 "name": "props",
12506 "optional": true,
12507 "type": {
12508 "fqn": "@aws-cdk/aws-cloudwatch.MetricOptions"
12509 }
12510 }
12511 ],
12512 "returns": {
12513 "type": {
12514 "fqn": "@aws-cdk/aws-cloudwatch.Metric"
12515 }
12516 }
12517 },
12518 {
12519 "docs": {
12520 "default": "sum over 5 minutes",
12521 "remarks": "Units: Count\n\nValid CloudWatch statistics: Sum",
12522 "stability": "stable",
12523 "summary": "Measures the number of builds triggered."
12524 },
12525 "locationInModule": {
12526 "filename": "lib/project.ts",
12527 "line": 429
12528 },
12529 "name": "metricBuilds",
12530 "overrides": "@aws-cdk/aws-codebuild.IProject",
12531 "parameters": [
12532 {
12533 "name": "props",
12534 "optional": true,
12535 "type": {
12536 "fqn": "@aws-cdk/aws-cloudwatch.MetricOptions"
12537 }
12538 }
12539 ],
12540 "returns": {
12541 "type": {
12542 "fqn": "@aws-cdk/aws-cloudwatch.Metric"
12543 }
12544 }
12545 },
12546 {
12547 "docs": {
12548 "default": "average over 5 minutes",
12549 "remarks": "Units: Seconds\n\nValid CloudWatch statistics: Average (recommended), Maximum, Minimum",
12550 "stability": "stable",
12551 "summary": "Measures the duration of all builds over time."
12552 },
12553 "locationInModule": {
12554 "filename": "lib/project.ts",
12555 "line": 442
12556 },
12557 "name": "metricDuration",
12558 "overrides": "@aws-cdk/aws-codebuild.IProject",
12559 "parameters": [
12560 {
12561 "name": "props",
12562 "optional": true,
12563 "type": {
12564 "fqn": "@aws-cdk/aws-cloudwatch.MetricOptions"
12565 }
12566 }
12567 ],
12568 "returns": {
12569 "type": {
12570 "fqn": "@aws-cdk/aws-cloudwatch.Metric"
12571 }
12572 }
12573 },
12574 {
12575 "docs": {
12576 "default": "sum over 5 minutes",
12577 "remarks": "Units: Count\n\nValid CloudWatch statistics: Sum",
12578 "stability": "stable",
12579 "summary": "Measures the number of builds that failed because of client error or because of a timeout."
12580 },
12581 "locationInModule": {
12582 "filename": "lib/project.ts",
12583 "line": 469
12584 },
12585 "name": "metricFailedBuilds",
12586 "overrides": "@aws-cdk/aws-codebuild.IProject",
12587 "parameters": [
12588 {
12589 "name": "props",
12590 "optional": true,
12591 "type": {
12592 "fqn": "@aws-cdk/aws-cloudwatch.MetricOptions"
12593 }
12594 }
12595 ],
12596 "returns": {
12597 "type": {
12598 "fqn": "@aws-cdk/aws-cloudwatch.Metric"
12599 }
12600 }
12601 },
12602 {
12603 "docs": {
12604 "default": "sum over 5 minutes",
12605 "remarks": "Units: Count\n\nValid CloudWatch statistics: Sum",
12606 "stability": "stable",
12607 "summary": "Measures the number of successful builds."
12608 },
12609 "locationInModule": {
12610 "filename": "lib/project.ts",
12611 "line": 455
12612 },
12613 "name": "metricSucceededBuilds",
12614 "overrides": "@aws-cdk/aws-codebuild.IProject",
12615 "parameters": [
12616 {
12617 "name": "props",
12618 "optional": true,
12619 "type": {
12620 "fqn": "@aws-cdk/aws-cloudwatch.MetricOptions"
12621 }
12622 }
12623 ],
12624 "returns": {
12625 "type": {
12626 "fqn": "@aws-cdk/aws-cloudwatch.Metric"
12627 }
12628 }
12629 },
12630 {
12631 "docs": {
12632 "remarks": "You can also use the methods `notifyOnBuildSucceeded` and\n`notifyOnBuildFailed` to define rules for these specific event emitted.",
12633 "stability": "stable",
12634 "summary": "Defines a CodeStar Notification rule triggered when the project events emitted by you specified, it very similar to `onEvent` API."
12635 },
12636 "locationInModule": {
12637 "filename": "lib/project.ts",
12638 "line": 473
12639 },
12640 "name": "notifyOn",
12641 "overrides": "@aws-cdk/aws-codebuild.IProject",
12642 "parameters": [
12643 {
12644 "name": "id",
12645 "type": {
12646 "primitive": "string"
12647 }
12648 },
12649 {
12650 "name": "target",
12651 "type": {
12652 "fqn": "@aws-cdk/aws-codestarnotifications.INotificationRuleTarget"
12653 }
12654 },
12655 {
12656 "name": "options",
12657 "type": {
12658 "fqn": "@aws-cdk/aws-codebuild.ProjectNotifyOnOptions"
12659 }
12660 }
12661 ],
12662 "returns": {
12663 "type": {
12664 "fqn": "@aws-cdk/aws-codestarnotifications.INotificationRule"
12665 }
12666 }
12667 },
12668 {
12669 "docs": {
12670 "stability": "stable",
12671 "summary": "Defines a CodeStar notification rule which triggers when a build fails."
12672 },
12673 "locationInModule": {
12674 "filename": "lib/project.ts",
12675 "line": 496
12676 },
12677 "name": "notifyOnBuildFailed",
12678 "overrides": "@aws-cdk/aws-codebuild.IProject",
12679 "parameters": [
12680 {
12681 "name": "id",
12682 "type": {
12683 "primitive": "string"
12684 }
12685 },
12686 {
12687 "name": "target",
12688 "type": {
12689 "fqn": "@aws-cdk/aws-codestarnotifications.INotificationRuleTarget"
12690 }
12691 },
12692 {
12693 "name": "options",
12694 "optional": true,
12695 "type": {
12696 "fqn": "@aws-cdk/aws-codestarnotifications.NotificationRuleOptions"
12697 }
12698 }
12699 ],
12700 "returns": {
12701 "type": {
12702 "fqn": "@aws-cdk/aws-codestarnotifications.INotificationRule"
12703 }
12704 }
12705 },
12706 {
12707 "docs": {
12708 "stability": "stable",
12709 "summary": "Defines a CodeStar notification rule which triggers when a build completes successfully."
12710 },
12711 "locationInModule": {
12712 "filename": "lib/project.ts",
12713 "line": 485
12714 },
12715 "name": "notifyOnBuildSucceeded",
12716 "overrides": "@aws-cdk/aws-codebuild.IProject",
12717 "parameters": [
12718 {
12719 "name": "id",
12720 "type": {
12721 "primitive": "string"
12722 }
12723 },
12724 {
12725 "name": "target",
12726 "type": {
12727 "fqn": "@aws-cdk/aws-codestarnotifications.INotificationRuleTarget"
12728 }
12729 },
12730 {
12731 "name": "options",
12732 "optional": true,
12733 "type": {
12734 "fqn": "@aws-cdk/aws-codestarnotifications.NotificationRuleOptions"
12735 }
12736 }
12737 ],
12738 "returns": {
12739 "type": {
12740 "fqn": "@aws-cdk/aws-codestarnotifications.INotificationRule"
12741 }
12742 }
12743 },
12744 {
12745 "docs": {
12746 "remarks": "To access fields from the event in the event target input,\nuse the static fields on the `StateChangeEvent` class.",
12747 "stability": "stable",
12748 "summary": "Defines an event rule which triggers when a build fails."
12749 },
12750 "locationInModule": {
12751 "filename": "lib/project.ts",
12752 "line": 380
12753 },
12754 "name": "onBuildFailed",
12755 "overrides": "@aws-cdk/aws-codebuild.IProject",
12756 "parameters": [
12757 {
12758 "name": "id",
12759 "type": {
12760 "primitive": "string"
12761 }
12762 },
12763 {
12764 "name": "options",
12765 "optional": true,
12766 "type": {
12767 "fqn": "@aws-cdk/aws-events.OnEventOptions"
12768 }
12769 }
12770 ],
12771 "returns": {
12772 "type": {
12773 "fqn": "@aws-cdk/aws-events.Rule"
12774 }
12775 }
12776 },
12777 {
12778 "docs": {
12779 "remarks": "To access fields from the event in the event target input,\nuse the static fields on the `StateChangeEvent` class.",
12780 "stability": "stable",
12781 "summary": "Defines an event rule which triggers when a build starts."
12782 },
12783 "locationInModule": {
12784 "filename": "lib/project.ts",
12785 "line": 364
12786 },
12787 "name": "onBuildStarted",
12788 "overrides": "@aws-cdk/aws-codebuild.IProject",
12789 "parameters": [
12790 {
12791 "name": "id",
12792 "type": {
12793 "primitive": "string"
12794 }
12795 },
12796 {
12797 "name": "options",
12798 "optional": true,
12799 "type": {
12800 "fqn": "@aws-cdk/aws-events.OnEventOptions"
12801 }
12802 }
12803 ],
12804 "returns": {
12805 "type": {
12806 "fqn": "@aws-cdk/aws-events.Rule"
12807 }
12808 }
12809 },
12810 {
12811 "docs": {
12812 "remarks": "To access fields from the event in the event target input,\nuse the static fields on the `StateChangeEvent` class.",
12813 "stability": "stable",
12814 "summary": "Defines an event rule which triggers when a build completes successfully."
12815 },
12816 "locationInModule": {
12817 "filename": "lib/project.ts",
12818 "line": 396
12819 },
12820 "name": "onBuildSucceeded",
12821 "overrides": "@aws-cdk/aws-codebuild.IProject",
12822 "parameters": [
12823 {
12824 "name": "id",
12825 "type": {
12826 "primitive": "string"
12827 }
12828 },
12829 {
12830 "name": "options",
12831 "optional": true,
12832 "type": {
12833 "fqn": "@aws-cdk/aws-events.OnEventOptions"
12834 }
12835 }
12836 ],
12837 "returns": {
12838 "type": {
12839 "fqn": "@aws-cdk/aws-events.Rule"
12840 }
12841 }
12842 },
12843 {
12844 "docs": {
12845 "see": "https://docs.aws.amazon.com/codebuild/latest/userguide/sample-build-notifications.html",
12846 "stability": "stable",
12847 "summary": "Defines a CloudWatch event rule triggered when something happens with this project."
12848 },
12849 "locationInModule": {
12850 "filename": "lib/project.ts",
12851 "line": 299
12852 },
12853 "name": "onEvent",
12854 "overrides": "@aws-cdk/aws-codebuild.IProject",
12855 "parameters": [
12856 {
12857 "name": "id",
12858 "type": {
12859 "primitive": "string"
12860 }
12861 },
12862 {
12863 "name": "options",
12864 "optional": true,
12865 "type": {
12866 "fqn": "@aws-cdk/aws-events.OnEventOptions"
12867 }
12868 }
12869 ],
12870 "returns": {
12871 "type": {
12872 "fqn": "@aws-cdk/aws-events.Rule"
12873 }
12874 }
12875 },
12876 {
12877 "docs": {
12878 "see": "https://docs.aws.amazon.com/codebuild/latest/userguide/sample-build-notifications.html",
12879 "stability": "stable",
12880 "summary": "Defines a CloudWatch event rule that triggers upon phase change of this build project."
12881 },
12882 "locationInModule": {
12883 "filename": "lib/project.ts",
12884 "line": 350
12885 },
12886 "name": "onPhaseChange",
12887 "overrides": "@aws-cdk/aws-codebuild.IProject",
12888 "parameters": [
12889 {
12890 "name": "id",
12891 "type": {
12892 "primitive": "string"
12893 }
12894 },
12895 {
12896 "name": "options",
12897 "optional": true,
12898 "type": {
12899 "fqn": "@aws-cdk/aws-events.OnEventOptions"
12900 }
12901 }
12902 ],
12903 "returns": {
12904 "type": {
12905 "fqn": "@aws-cdk/aws-events.Rule"
12906 }
12907 }
12908 },
12909 {
12910 "docs": {
12911 "remarks": "You can filter specific build status events using an event\npattern filter on the `build-status` detail field:\n\n const rule = project.onStateChange('OnBuildStarted', { target });\n rule.addEventPattern({\n detail: {\n 'build-status': [\n \"IN_PROGRESS\",\n \"SUCCEEDED\",\n \"FAILED\",\n \"STOPPED\"\n ]\n }\n });\n\nYou can also use the methods `onBuildFailed` and `onBuildSucceeded` to define rules for\nthese specific state changes.\n\nTo access fields from the event in the event target input,\nuse the static fields on the `StateChangeEvent` class.",
12912 "see": "https://docs.aws.amazon.com/codebuild/latest/userguide/sample-build-notifications.html",
12913 "stability": "stable",
12914 "summary": "Defines a CloudWatch event rule triggered when the build project state changes."
12915 },
12916 "locationInModule": {
12917 "filename": "lib/project.ts",
12918 "line": 336
12919 },
12920 "name": "onStateChange",
12921 "overrides": "@aws-cdk/aws-codebuild.IProject",
12922 "parameters": [
12923 {
12924 "name": "id",
12925 "type": {
12926 "primitive": "string"
12927 }
12928 },
12929 {
12930 "name": "options",
12931 "optional": true,
12932 "type": {
12933 "fqn": "@aws-cdk/aws-events.OnEventOptions"
12934 }
12935 }
12936 ],
12937 "returns": {
12938 "type": {
12939 "fqn": "@aws-cdk/aws-events.Rule"
12940 }
12941 }
12942 },
12943 {
12944 "docs": {
12945 "custom": {
12946 "override": "true"
12947 },
12948 "remarks": "This method can be implemented by derived constructs in order to perform\nvalidation logic. It is called on all constructs before synthesis.",
12949 "stability": "stable",
12950 "summary": "Validate the current construct."
12951 },
12952 "locationInModule": {
12953 "filename": "lib/project.ts",
12954 "line": 1235
12955 },
12956 "name": "validate",
12957 "overrides": "@aws-cdk/core.Construct",
12958 "protected": true,
12959 "returns": {
12960 "type": {
12961 "collection": {
12962 "elementtype": {
12963 "primitive": "string"
12964 },
12965 "kind": "array"
12966 }
12967 }
12968 }
12969 }
12970 ],
12971 "name": "Project",
12972 "properties": [
12973 {
12974 "docs": {
12975 "remarks": "Will fail if this Project does not have a VPC set.",
12976 "stability": "stable",
12977 "summary": "Access the Connections object."
12978 },
12979 "immutable": true,
12980 "locationInModule": {
12981 "filename": "lib/project.ts",
12982 "line": 273
12983 },
12984 "name": "connections",
12985 "overrides": "@aws-cdk/aws-ec2.IConnectable",
12986 "type": {
12987 "fqn": "@aws-cdk/aws-ec2.Connections"
12988 }
12989 },
12990 {
12991 "docs": {
12992 "stability": "stable",
12993 "summary": "The principal to grant permissions to."
12994 },
12995 "immutable": true,
12996 "locationInModule": {
12997 "filename": "lib/project.ts",
12998 "line": 989
12999 },
13000 "name": "grantPrincipal",
13001 "overrides": "@aws-cdk/aws-iam.IGrantable",
13002 "type": {
13003 "fqn": "@aws-cdk/aws-iam.IPrincipal"
13004 }
13005 },
13006 {
13007 "docs": {
13008 "stability": "stable",
13009 "summary": "The ARN of the project."
13010 },
13011 "immutable": true,
13012 "locationInModule": {
13013 "filename": "lib/project.ts",
13014 "line": 999
13015 },
13016 "name": "projectArn",
13017 "overrides": "@aws-cdk/aws-codebuild.IProject",
13018 "type": {
13019 "primitive": "string"
13020 }
13021 },
13022 {
13023 "docs": {
13024 "stability": "stable",
13025 "summary": "The name of the project."
13026 },
13027 "immutable": true,
13028 "locationInModule": {
13029 "filename": "lib/project.ts",
13030 "line": 1004
13031 },
13032 "name": "projectName",
13033 "overrides": "@aws-cdk/aws-codebuild.IProject",
13034 "type": {
13035 "primitive": "string"
13036 }
13037 },
13038 {
13039 "docs": {
13040 "stability": "stable",
13041 "summary": "The IAM role for this project."
13042 },
13043 "immutable": true,
13044 "locationInModule": {
13045 "filename": "lib/project.ts",
13046 "line": 994
13047 },
13048 "name": "role",
13049 "optional": true,
13050 "overrides": "@aws-cdk/aws-codebuild.IProject",
13051 "type": {
13052 "fqn": "@aws-cdk/aws-iam.IRole"
13053 }
13054 }
13055 ],
13056 "symbolId": "lib/project:Project"
13057 },
13058 "@aws-cdk/aws-codebuild.ProjectNotificationEvents": {
13059 "assembly": "@aws-cdk/aws-codebuild",
13060 "docs": {
13061 "see": "https://docs.aws.amazon.com/dtconsole/latest/userguide/concepts.html#events-ref-buildproject",
13062 "stability": "stable",
13063 "summary": "The list of event types for AWS Codebuild."
13064 },
13065 "fqn": "@aws-cdk/aws-codebuild.ProjectNotificationEvents",
13066 "kind": "enum",
13067 "locationInModule": {
13068 "filename": "lib/project.ts",
13069 "line": 2076
13070 },
13071 "members": [
13072 {
13073 "docs": {
13074 "stability": "stable",
13075 "summary": "Trigger notification when project build state failed."
13076 },
13077 "name": "BUILD_FAILED"
13078 },
13079 {
13080 "docs": {
13081 "stability": "stable",
13082 "summary": "Trigger notification when project build state succeeded."
13083 },
13084 "name": "BUILD_SUCCEEDED"
13085 },
13086 {
13087 "docs": {
13088 "stability": "stable",
13089 "summary": "Trigger notification when project build state in progress."
13090 },
13091 "name": "BUILD_IN_PROGRESS"
13092 },
13093 {
13094 "docs": {
13095 "stability": "stable",
13096 "summary": "Trigger notification when project build state stopped."
13097 },
13098 "name": "BUILD_STOPPED"
13099 },
13100 {
13101 "docs": {
13102 "stability": "stable",
13103 "summary": "Trigger notification when project build phase failure."
13104 },
13105 "name": "BUILD_PHASE_FAILED"
13106 },
13107 {
13108 "docs": {
13109 "stability": "stable",
13110 "summary": "Trigger notification when project build phase success."
13111 },
13112 "name": "BUILD_PHASE_SUCCEEDED"
13113 }
13114 ],
13115 "name": "ProjectNotificationEvents",
13116 "symbolId": "lib/project:ProjectNotificationEvents"
13117 },
13118 "@aws-cdk/aws-codebuild.ProjectNotifyOnOptions": {
13119 "assembly": "@aws-cdk/aws-codebuild",
13120 "datatype": true,
13121 "docs": {
13122 "stability": "stable",
13123 "summary": "Additional options to pass to the notification rule.",
13124 "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 codestarnotifications from '@aws-cdk/aws-codestarnotifications';\nconst projectNotifyOnOptions: codebuild.ProjectNotifyOnOptions = {\n events: [codebuild.ProjectNotificationEvents.BUILD_FAILED],\n\n // the properties below are optional\n detailType: codestarnotifications.DetailType.BASIC,\n enabled: false,\n notificationRuleName: 'notificationRuleName',\n};",
13125 "custom": {
13126 "exampleMetadata": "fixture=_generated"
13127 }
13128 },
13129 "fqn": "@aws-cdk/aws-codebuild.ProjectNotifyOnOptions",
13130 "interfaces": [
13131 "@aws-cdk/aws-codestarnotifications.NotificationRuleOptions"
13132 ],
13133 "kind": "interface",
13134 "locationInModule": {
13135 "filename": "lib/project.ts",
13136 "line": 59
13137 },
13138 "name": "ProjectNotifyOnOptions",
13139 "properties": [
13140 {
13141 "abstract": true,
13142 "docs": {
13143 "remarks": "For a complete list of event types and IDs, see Notification concepts in the Developer Tools Console User Guide.",
13144 "see": "https://docs.aws.amazon.com/dtconsole/latest/userguide/concepts.html#concepts-api",
13145 "stability": "stable",
13146 "summary": "A list of event types associated with this notification rule for CodeBuild Project."
13147 },
13148 "immutable": true,
13149 "locationInModule": {
13150 "filename": "lib/project.ts",
13151 "line": 65
13152 },
13153 "name": "events",
13154 "type": {
13155 "collection": {
13156 "elementtype": {
13157 "fqn": "@aws-cdk/aws-codebuild.ProjectNotificationEvents"
13158 },
13159 "kind": "array"
13160 }
13161 }
13162 }
13163 ],
13164 "symbolId": "lib/project:ProjectNotifyOnOptions"
13165 },
13166 "@aws-cdk/aws-codebuild.ProjectProps": {
13167 "assembly": "@aws-cdk/aws-codebuild",
13168 "datatype": true,
13169 "docs": {
13170 "stability": "stable",
13171 "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});",
13172 "custom": {
13173 "exampleMetadata": "infused"
13174 }
13175 },
13176 "fqn": "@aws-cdk/aws-codebuild.ProjectProps",
13177 "interfaces": [
13178 "@aws-cdk/aws-codebuild.CommonProjectProps"
13179 ],
13180 "kind": "interface",
13181 "locationInModule": {
13182 "filename": "lib/project.ts",
13183 "line": 701
13184 },
13185 "name": "ProjectProps",
13186 "properties": [
13187 {
13188 "abstract": true,
13189 "docs": {
13190 "default": "NoArtifacts",
13191 "remarks": "Could be: PipelineBuildArtifacts, NoArtifacts and S3Artifacts.",
13192 "stability": "stable",
13193 "summary": "Defines where build artifacts will be stored."
13194 },
13195 "immutable": true,
13196 "locationInModule": {
13197 "filename": "lib/project.ts",
13198 "line": 717
13199 },
13200 "name": "artifacts",
13201 "optional": true,
13202 "type": {
13203 "fqn": "@aws-cdk/aws-codebuild.IArtifacts"
13204 }
13205 },
13206 {
13207 "abstract": true,
13208 "docs": {
13209 "default": "- No secondary artifacts.",
13210 "remarks": "Can also be added after the Project has been created by using the {@link Project#addSecondaryArtifact} method.",
13211 "see": "https://docs.aws.amazon.com/codebuild/latest/userguide/sample-multi-in-out.html",
13212 "stability": "stable",
13213 "summary": "The secondary artifacts for the Project."
13214 },
13215 "immutable": true,
13216 "locationInModule": {
13217 "filename": "lib/project.ts",
13218 "line": 735
13219 },
13220 "name": "secondaryArtifacts",
13221 "optional": true,
13222 "type": {
13223 "collection": {
13224 "elementtype": {
13225 "fqn": "@aws-cdk/aws-codebuild.IArtifacts"
13226 },
13227 "kind": "array"
13228 }
13229 }
13230 },
13231 {
13232 "abstract": true,
13233 "docs": {
13234 "default": "- No secondary sources.",
13235 "remarks": "Can be also added after the Project has been created by using the {@link Project#addSecondarySource} method.",
13236 "see": "https://docs.aws.amazon.com/codebuild/latest/userguide/sample-multi-in-out.html",
13237 "stability": "stable",
13238 "summary": "The secondary sources for the Project."
13239 },
13240 "immutable": true,
13241 "locationInModule": {
13242 "filename": "lib/project.ts",
13243 "line": 726
13244 },
13245 "name": "secondarySources",
13246 "optional": true,
13247 "type": {
13248 "collection": {
13249 "elementtype": {
13250 "fqn": "@aws-cdk/aws-codebuild.ISource"
13251 },
13252 "kind": "array"
13253 }
13254 }
13255 },
13256 {
13257 "abstract": true,
13258 "docs": {
13259 "default": "- NoSource",
13260 "remarks": "*Note*: if {@link NoSource} is given as the source,\nthen you need to provide an explicit `buildSpec`.",
13261 "stability": "stable",
13262 "summary": "The source of the build."
13263 },
13264 "immutable": true,
13265 "locationInModule": {
13266 "filename": "lib/project.ts",
13267 "line": 709
13268 },
13269 "name": "source",
13270 "optional": true,
13271 "type": {
13272 "fqn": "@aws-cdk/aws-codebuild.ISource"
13273 }
13274 }
13275 ],
13276 "symbolId": "lib/project:ProjectProps"
13277 },
13278 "@aws-cdk/aws-codebuild.ReportGroup": {
13279 "assembly": "@aws-cdk/aws-codebuild",
13280 "base": "@aws-cdk/core.Resource",
13281 "docs": {
13282 "stability": "stable",
13283 "summary": "The ReportGroup resource class.",
13284 "example": "declare 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});",
13285 "custom": {
13286 "exampleMetadata": "infused"
13287 }
13288 },
13289 "fqn": "@aws-cdk/aws-codebuild.ReportGroup",
13290 "initializer": {
13291 "docs": {
13292 "stability": "stable"
13293 },
13294 "locationInModule": {
13295 "filename": "lib/report-group.ts",
13296 "line": 122
13297 },
13298 "parameters": [
13299 {
13300 "name": "scope",
13301 "type": {
13302 "fqn": "constructs.Construct"
13303 }
13304 },
13305 {
13306 "name": "id",
13307 "type": {
13308 "primitive": "string"
13309 }
13310 },
13311 {
13312 "name": "props",
13313 "optional": true,
13314 "type": {
13315 "fqn": "@aws-cdk/aws-codebuild.ReportGroupProps"
13316 }
13317 }
13318 ]
13319 },
13320 "interfaces": [
13321 "@aws-cdk/aws-codebuild.IReportGroup"
13322 ],
13323 "kind": "class",
13324 "locationInModule": {
13325 "filename": "lib/report-group.ts",
13326 "line": 101
13327 },
13328 "methods": [
13329 {
13330 "docs": {
13331 "stability": "stable",
13332 "summary": "Reference an existing ReportGroup, defined outside of the CDK code, by name."
13333 },
13334 "locationInModule": {
13335 "filename": "lib/report-group.ts",
13336 "line": 108
13337 },
13338 "name": "fromReportGroupName",
13339 "parameters": [
13340 {
13341 "name": "scope",
13342 "type": {
13343 "fqn": "constructs.Construct"
13344 }
13345 },
13346 {
13347 "name": "id",
13348 "type": {
13349 "primitive": "string"
13350 }
13351 },
13352 {
13353 "name": "reportGroupName",
13354 "type": {
13355 "primitive": "string"
13356 }
13357 }
13358 ],
13359 "returns": {
13360 "type": {
13361 "fqn": "@aws-cdk/aws-codebuild.IReportGroup"
13362 }
13363 },
13364 "static": true
13365 },
13366 {
13367 "docs": {
13368 "stability": "stable",
13369 "summary": "Grants the given entity permissions to write (that is, upload reports to) this report group."
13370 },
13371 "locationInModule": {
13372 "filename": "lib/report-group.ts",
13373 "line": 42
13374 },
13375 "name": "grantWrite",
13376 "overrides": "@aws-cdk/aws-codebuild.IReportGroup",
13377 "parameters": [
13378 {
13379 "name": "identity",
13380 "type": {
13381 "fqn": "@aws-cdk/aws-iam.IGrantable"
13382 }
13383 }
13384 ],
13385 "returns": {
13386 "type": {
13387 "fqn": "@aws-cdk/aws-iam.Grant"
13388 }
13389 }
13390 }
13391 ],
13392 "name": "ReportGroup",
13393 "properties": [
13394 {
13395 "docs": {
13396 "stability": "stable",
13397 "summary": "The ARN of the ReportGroup."
13398 },
13399 "immutable": true,
13400 "locationInModule": {
13401 "filename": "lib/report-group.ts",
13402 "line": 118
13403 },
13404 "name": "reportGroupArn",
13405 "overrides": "@aws-cdk/aws-codebuild.IReportGroup",
13406 "type": {
13407 "primitive": "string"
13408 }
13409 },
13410 {
13411 "docs": {
13412 "stability": "stable",
13413 "summary": "The name of the ReportGroup."
13414 },
13415 "immutable": true,
13416 "locationInModule": {
13417 "filename": "lib/report-group.ts",
13418 "line": 119
13419 },
13420 "name": "reportGroupName",
13421 "overrides": "@aws-cdk/aws-codebuild.IReportGroup",
13422 "type": {
13423 "primitive": "string"
13424 }
13425 },
13426 {
13427 "docs": {
13428 "stability": "stable"
13429 },
13430 "immutable": true,
13431 "locationInModule": {
13432 "filename": "lib/report-group.ts",
13433 "line": 120
13434 },
13435 "name": "exportBucket",
13436 "optional": true,
13437 "protected": true,
13438 "type": {
13439 "fqn": "@aws-cdk/aws-s3.IBucket"
13440 }
13441 }
13442 ],
13443 "symbolId": "lib/report-group:ReportGroup"
13444 },
13445 "@aws-cdk/aws-codebuild.ReportGroupProps": {
13446 "assembly": "@aws-cdk/aws-codebuild",
13447 "datatype": true,
13448 "docs": {
13449 "stability": "stable",
13450 "summary": "Construction properties for {@link ReportGroup}.",
13451 "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';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const bucket: s3.Bucket;\nconst reportGroupProps: codebuild.ReportGroupProps = {\n exportBucket: bucket,\n removalPolicy: cdk.RemovalPolicy.DESTROY,\n reportGroupName: 'reportGroupName',\n zipExport: false,\n};",
13452 "custom": {
13453 "exampleMetadata": "fixture=_generated"
13454 }
13455 },
13456 "fqn": "@aws-cdk/aws-codebuild.ReportGroupProps",
13457 "kind": "interface",
13458 "locationInModule": {
13459 "filename": "lib/report-group.ts",
13460 "line": 64
13461 },
13462 "name": "ReportGroupProps",
13463 "properties": [
13464 {
13465 "abstract": true,
13466 "docs": {
13467 "default": "- the reports will not be exported",
13468 "stability": "stable",
13469 "summary": "An optional S3 bucket to export the reports to."
13470 },
13471 "immutable": true,
13472 "locationInModule": {
13473 "filename": "lib/report-group.ts",
13474 "line": 77
13475 },
13476 "name": "exportBucket",
13477 "optional": true,
13478 "type": {
13479 "fqn": "@aws-cdk/aws-s3.IBucket"
13480 }
13481 },
13482 {
13483 "abstract": true,
13484 "docs": {
13485 "default": "RemovalPolicy.RETAIN",
13486 "remarks": "As CodeBuild does not allow deleting a ResourceGroup that has reports inside of it,\nthis is set to retain the resource by default.",
13487 "stability": "stable",
13488 "summary": "What to do when this resource is deleted from a stack."
13489 },
13490 "immutable": true,
13491 "locationInModule": {
13492 "filename": "lib/report-group.ts",
13493 "line": 95
13494 },
13495 "name": "removalPolicy",
13496 "optional": true,
13497 "type": {
13498 "fqn": "@aws-cdk/core.RemovalPolicy"
13499 }
13500 },
13501 {
13502 "abstract": true,
13503 "docs": {
13504 "default": "- CloudFormation-generated name",
13505 "stability": "stable",
13506 "summary": "The physical name of the report group."
13507 },
13508 "immutable": true,
13509 "locationInModule": {
13510 "filename": "lib/report-group.ts",
13511 "line": 70
13512 },
13513 "name": "reportGroupName",
13514 "optional": true,
13515 "type": {
13516 "primitive": "string"
13517 }
13518 },
13519 {
13520 "abstract": true,
13521 "docs": {
13522 "default": "- false (the files will not be ZIPped)",
13523 "remarks": "Ignored if {@link exportBucket} has not been provided.",
13524 "stability": "stable",
13525 "summary": "Whether to output the report files into the export bucket as-is, or create a ZIP from them before doing the export."
13526 },
13527 "immutable": true,
13528 "locationInModule": {
13529 "filename": "lib/report-group.ts",
13530 "line": 86
13531 },
13532 "name": "zipExport",
13533 "optional": true,
13534 "type": {
13535 "primitive": "boolean"
13536 }
13537 }
13538 ],
13539 "symbolId": "lib/report-group:ReportGroupProps"
13540 },
13541 "@aws-cdk/aws-codebuild.S3ArtifactsProps": {
13542 "assembly": "@aws-cdk/aws-codebuild",
13543 "datatype": true,
13544 "docs": {
13545 "stability": "stable",
13546 "summary": "Construction properties for {@link S3Artifacts}.",
13547 "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});",
13548 "custom": {
13549 "exampleMetadata": "infused"
13550 }
13551 },
13552 "fqn": "@aws-cdk/aws-codebuild.S3ArtifactsProps",
13553 "interfaces": [
13554 "@aws-cdk/aws-codebuild.ArtifactsProps"
13555 ],
13556 "kind": "interface",
13557 "locationInModule": {
13558 "filename": "lib/artifacts.ts",
13559 "line": 83
13560 },
13561 "name": "S3ArtifactsProps",
13562 "properties": [
13563 {
13564 "abstract": true,
13565 "docs": {
13566 "stability": "stable",
13567 "summary": "The name of the output bucket."
13568 },
13569 "immutable": true,
13570 "locationInModule": {
13571 "filename": "lib/artifacts.ts",
13572 "line": 87
13573 },
13574 "name": "bucket",
13575 "type": {
13576 "fqn": "@aws-cdk/aws-s3.IBucket"
13577 }
13578 },
13579 {
13580 "abstract": true,
13581 "docs": {
13582 "default": "true - output will be encrypted",
13583 "remarks": "This is useful if the artifact to publish a static website or sharing content with others",
13584 "stability": "stable",
13585 "summary": "If this is false, build output will not be encrypted."
13586 },
13587 "immutable": true,
13588 "locationInModule": {
13589 "filename": "lib/artifacts.ts",
13590 "line": 133
13591 },
13592 "name": "encryption",
13593 "optional": true,
13594 "type": {
13595 "primitive": "boolean"
13596 }
13597 },
13598 {
13599 "abstract": true,
13600 "docs": {
13601 "default": "true",
13602 "remarks": "If this is set to true,\nthen the build artifact will be stored in \"<path>/<build-id>/<name>\".",
13603 "stability": "stable",
13604 "summary": "Indicates if the build ID should be included in the path."
13605 },
13606 "immutable": true,
13607 "locationInModule": {
13608 "filename": "lib/artifacts.ts",
13609 "line": 117
13610 },
13611 "name": "includeBuildId",
13612 "optional": true,
13613 "type": {
13614 "primitive": "boolean"
13615 }
13616 },
13617 {
13618 "abstract": true,
13619 "docs": {
13620 "default": "undefined, and use the name from the buildspec",
13621 "remarks": "The full S3 object key will be \"<path>/<build-id>/<name>\" or\n\"<path>/<name>\" depending on whether `includeBuildId` is set to true.\n\nIf not set, `overrideArtifactName` will be set and the name from the\nbuildspec will be used instead.",
13622 "stability": "stable",
13623 "summary": "The name of the build output ZIP file or folder inside the bucket."
13624 },
13625 "immutable": true,
13626 "locationInModule": {
13627 "filename": "lib/artifacts.ts",
13628 "line": 109
13629 },
13630 "name": "name",
13631 "optional": true,
13632 "type": {
13633 "primitive": "string"
13634 }
13635 },
13636 {
13637 "abstract": true,
13638 "docs": {
13639 "default": "true - files will be archived",
13640 "stability": "stable",
13641 "summary": "If this is true, all build output will be packaged into a single .zip file. Otherwise, all files will be uploaded to <path>/<name>."
13642 },
13643 "immutable": true,
13644 "locationInModule": {
13645 "filename": "lib/artifacts.ts",
13646 "line": 125
13647 },
13648 "name": "packageZip",
13649 "optional": true,
13650 "type": {
13651 "primitive": "boolean"
13652 }
13653 },
13654 {
13655 "abstract": true,
13656 "docs": {
13657 "default": "the root of the bucket",
13658 "stability": "stable",
13659 "summary": "The path inside of the bucket for the build output .zip file or folder. If a value is not specified, then build output will be stored at the root of the bucket (or under the <build-id> directory if `includeBuildId` is set to true)."
13660 },
13661 "immutable": true,
13662 "locationInModule": {
13663 "filename": "lib/artifacts.ts",
13664 "line": 96
13665 },
13666 "name": "path",
13667 "optional": true,
13668 "type": {
13669 "primitive": "string"
13670 }
13671 }
13672 ],
13673 "symbolId": "lib/artifacts:S3ArtifactsProps"
13674 },
13675 "@aws-cdk/aws-codebuild.S3LoggingOptions": {
13676 "assembly": "@aws-cdk/aws-codebuild",
13677 "datatype": true,
13678 "docs": {
13679 "stability": "stable",
13680 "summary": "Information about logs built to an S3 bucket for a build project.",
13681 "example": "new codebuild.Project(this, 'Project', {\n logging: {\n s3: {\n bucket: new s3.Bucket(this, `LogBucket`)\n }\n },\n})",
13682 "custom": {
13683 "exampleMetadata": "infused"
13684 }
13685 },
13686 "fqn": "@aws-cdk/aws-codebuild.S3LoggingOptions",
13687 "kind": "interface",
13688 "locationInModule": {
13689 "filename": "lib/project-logs.ts",
13690 "line": 7
13691 },
13692 "name": "S3LoggingOptions",
13693 "properties": [
13694 {
13695 "abstract": true,
13696 "docs": {
13697 "stability": "stable",
13698 "summary": "The S3 Bucket to send logs to."
13699 },
13700 "immutable": true,
13701 "locationInModule": {
13702 "filename": "lib/project-logs.ts",
13703 "line": 18
13704 },
13705 "name": "bucket",
13706 "type": {
13707 "fqn": "@aws-cdk/aws-s3.IBucket"
13708 }
13709 },
13710 {
13711 "abstract": true,
13712 "docs": {
13713 "default": "true",
13714 "stability": "stable",
13715 "summary": "The current status of the logs in Amazon CloudWatch Logs for a build project."
13716 },
13717 "immutable": true,
13718 "locationInModule": {
13719 "filename": "lib/project-logs.ts",
13720 "line": 32
13721 },
13722 "name": "enabled",
13723 "optional": true,
13724 "type": {
13725 "primitive": "boolean"
13726 }
13727 },
13728 {
13729 "abstract": true,
13730 "docs": {
13731 "default": "true",
13732 "stability": "stable",
13733 "summary": "Encrypt the S3 build log output."
13734 },
13735 "immutable": true,
13736 "locationInModule": {
13737 "filename": "lib/project-logs.ts",
13738 "line": 13
13739 },
13740 "name": "encrypted",
13741 "optional": true,
13742 "type": {
13743 "primitive": "boolean"
13744 }
13745 },
13746 {
13747 "abstract": true,
13748 "docs": {
13749 "default": "- no prefix",
13750 "stability": "stable",
13751 "summary": "The path prefix for S3 logs."
13752 },
13753 "immutable": true,
13754 "locationInModule": {
13755 "filename": "lib/project-logs.ts",
13756 "line": 25
13757 },
13758 "name": "prefix",
13759 "optional": true,
13760 "type": {
13761 "primitive": "string"
13762 }
13763 }
13764 ],
13765 "symbolId": "lib/project-logs:S3LoggingOptions"
13766 },
13767 "@aws-cdk/aws-codebuild.S3SourceProps": {
13768 "assembly": "@aws-cdk/aws-codebuild",
13769 "datatype": true,
13770 "docs": {
13771 "stability": "stable",
13772 "summary": "Construction properties for {@link S3Source}.",
13773 "example": "const 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});",
13774 "custom": {
13775 "exampleMetadata": "infused"
13776 }
13777 },
13778 "fqn": "@aws-cdk/aws-codebuild.S3SourceProps",
13779 "interfaces": [
13780 "@aws-cdk/aws-codebuild.SourceProps"
13781 ],
13782 "kind": "interface",
13783 "locationInModule": {
13784 "filename": "lib/source.ts",
13785 "line": 611
13786 },
13787 "name": "S3SourceProps",
13788 "properties": [
13789 {
13790 "abstract": true,
13791 "docs": {
13792 "stability": "stable"
13793 },
13794 "immutable": true,
13795 "locationInModule": {
13796 "filename": "lib/source.ts",
13797 "line": 612
13798 },
13799 "name": "bucket",
13800 "type": {
13801 "fqn": "@aws-cdk/aws-s3.IBucket"
13802 }
13803 },
13804 {
13805 "abstract": true,
13806 "docs": {
13807 "stability": "stable"
13808 },
13809 "immutable": true,
13810 "locationInModule": {
13811 "filename": "lib/source.ts",
13812 "line": 613
13813 },
13814 "name": "path",
13815 "type": {
13816 "primitive": "string"
13817 }
13818 },
13819 {
13820 "abstract": true,
13821 "docs": {
13822 "default": "latest",
13823 "stability": "stable",
13824 "summary": "The version ID of the object that represents the build input ZIP file to use."
13825 },
13826 "immutable": true,
13827 "locationInModule": {
13828 "filename": "lib/source.ts",
13829 "line": 620
13830 },
13831 "name": "version",
13832 "optional": true,
13833 "type": {
13834 "primitive": "string"
13835 }
13836 }
13837 ],
13838 "symbolId": "lib/source:S3SourceProps"
13839 },
13840 "@aws-cdk/aws-codebuild.Source": {
13841 "abstract": true,
13842 "assembly": "@aws-cdk/aws-codebuild",
13843 "docs": {
13844 "stability": "stable",
13845 "summary": "Source provider definition for a CodeBuild Project.",
13846 "example": "const 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});",
13847 "custom": {
13848 "exampleMetadata": "infused"
13849 }
13850 },
13851 "fqn": "@aws-cdk/aws-codebuild.Source",
13852 "initializer": {
13853 "docs": {
13854 "stability": "stable"
13855 },
13856 "locationInModule": {
13857 "filename": "lib/source.ts",
13858 "line": 87
13859 },
13860 "parameters": [
13861 {
13862 "name": "props",
13863 "type": {
13864 "fqn": "@aws-cdk/aws-codebuild.SourceProps"
13865 }
13866 }
13867 ],
13868 "protected": true
13869 },
13870 "interfaces": [
13871 "@aws-cdk/aws-codebuild.ISource"
13872 ],
13873 "kind": "class",
13874 "locationInModule": {
13875 "filename": "lib/source.ts",
13876 "line": 62
13877 },
13878 "methods": [
13879 {
13880 "docs": {
13881 "stability": "stable"
13882 },
13883 "locationInModule": {
13884 "filename": "lib/source.ts",
13885 "line": 79
13886 },
13887 "name": "bitBucket",
13888 "parameters": [
13889 {
13890 "name": "props",
13891 "type": {
13892 "fqn": "@aws-cdk/aws-codebuild.BitBucketSourceProps"
13893 }
13894 }
13895 ],
13896 "returns": {
13897 "type": {
13898 "fqn": "@aws-cdk/aws-codebuild.ISource"
13899 }
13900 },
13901 "static": true
13902 },
13903 {
13904 "docs": {
13905 "stability": "stable"
13906 },
13907 "locationInModule": {
13908 "filename": "lib/source.ts",
13909 "line": 67
13910 },
13911 "name": "codeCommit",
13912 "parameters": [
13913 {
13914 "name": "props",
13915 "type": {
13916 "fqn": "@aws-cdk/aws-codebuild.CodeCommitSourceProps"
13917 }
13918 }
13919 ],
13920 "returns": {
13921 "type": {
13922 "fqn": "@aws-cdk/aws-codebuild.ISource"
13923 }
13924 },
13925 "static": true
13926 },
13927 {
13928 "docs": {
13929 "stability": "stable"
13930 },
13931 "locationInModule": {
13932 "filename": "lib/source.ts",
13933 "line": 71
13934 },
13935 "name": "gitHub",
13936 "parameters": [
13937 {
13938 "name": "props",
13939 "type": {
13940 "fqn": "@aws-cdk/aws-codebuild.GitHubSourceProps"
13941 }
13942 }
13943 ],
13944 "returns": {
13945 "type": {
13946 "fqn": "@aws-cdk/aws-codebuild.ISource"
13947 }
13948 },
13949 "static": true
13950 },
13951 {
13952 "docs": {
13953 "stability": "stable"
13954 },
13955 "locationInModule": {
13956 "filename": "lib/source.ts",
13957 "line": 75
13958 },
13959 "name": "gitHubEnterprise",
13960 "parameters": [
13961 {
13962 "name": "props",
13963 "type": {
13964 "fqn": "@aws-cdk/aws-codebuild.GitHubEnterpriseSourceProps"
13965 }
13966 }
13967 ],
13968 "returns": {
13969 "type": {
13970 "fqn": "@aws-cdk/aws-codebuild.ISource"
13971 }
13972 },
13973 "static": true
13974 },
13975 {
13976 "docs": {
13977 "stability": "stable"
13978 },
13979 "locationInModule": {
13980 "filename": "lib/source.ts",
13981 "line": 63
13982 },
13983 "name": "s3",
13984 "parameters": [
13985 {
13986 "name": "props",
13987 "type": {
13988 "fqn": "@aws-cdk/aws-codebuild.S3SourceProps"
13989 }
13990 }
13991 ],
13992 "returns": {
13993 "type": {
13994 "fqn": "@aws-cdk/aws-codebuild.ISource"
13995 }
13996 },
13997 "static": true
13998 },
13999 {
14000 "docs": {
14001 "remarks": "For example, it can grant permissions to the\ncode build project to read from the S3 bucket.",
14002 "stability": "stable",
14003 "summary": "Called by the project when the source is added so that the source can perform binding operations on the source."
14004 },
14005 "locationInModule": {
14006 "filename": "lib/source.ts",
14007 "line": 96
14008 },
14009 "name": "bind",
14010 "overrides": "@aws-cdk/aws-codebuild.ISource",
14011 "parameters": [
14012 {
14013 "name": "_scope",
14014 "type": {
14015 "fqn": "@aws-cdk/core.Construct"
14016 }
14017 },
14018 {
14019 "name": "_project",
14020 "type": {
14021 "fqn": "@aws-cdk/aws-codebuild.IProject"
14022 }
14023 }
14024 ],
14025 "returns": {
14026 "type": {
14027 "fqn": "@aws-cdk/aws-codebuild.SourceConfig"
14028 }
14029 }
14030 }
14031 ],
14032 "name": "Source",
14033 "properties": [
14034 {
14035 "docs": {
14036 "stability": "stable"
14037 },
14038 "immutable": true,
14039 "locationInModule": {
14040 "filename": "lib/source.ts",
14041 "line": 85
14042 },
14043 "name": "badgeSupported",
14044 "overrides": "@aws-cdk/aws-codebuild.ISource",
14045 "type": {
14046 "primitive": "boolean"
14047 }
14048 },
14049 {
14050 "abstract": true,
14051 "docs": {
14052 "stability": "stable"
14053 },
14054 "immutable": true,
14055 "locationInModule": {
14056 "filename": "lib/source.ts",
14057 "line": 84
14058 },
14059 "name": "type",
14060 "overrides": "@aws-cdk/aws-codebuild.ISource",
14061 "type": {
14062 "primitive": "string"
14063 }
14064 },
14065 {
14066 "docs": {
14067 "stability": "stable"
14068 },
14069 "immutable": true,
14070 "locationInModule": {
14071 "filename": "lib/source.ts",
14072 "line": 83
14073 },
14074 "name": "identifier",
14075 "optional": true,
14076 "overrides": "@aws-cdk/aws-codebuild.ISource",
14077 "type": {
14078 "primitive": "string"
14079 }
14080 }
14081 ],
14082 "symbolId": "lib/source:Source"
14083 },
14084 "@aws-cdk/aws-codebuild.SourceConfig": {
14085 "assembly": "@aws-cdk/aws-codebuild",
14086 "datatype": true,
14087 "docs": {
14088 "stability": "stable",
14089 "summary": "The type returned from {@link ISource#bind}.",
14090 "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 sourceConfig: codebuild.SourceConfig = {\n sourceProperty: {\n type: 'type',\n\n // the properties below are optional\n auth: {\n type: 'type',\n\n // the properties below are optional\n resource: 'resource',\n },\n buildSpec: 'buildSpec',\n buildStatusConfig: {\n context: 'context',\n targetUrl: 'targetUrl',\n },\n gitCloneDepth: 123,\n gitSubmodulesConfig: {\n fetchSubmodules: false,\n },\n insecureSsl: false,\n location: 'location',\n reportBuildStatus: false,\n sourceIdentifier: 'sourceIdentifier',\n },\n\n // the properties below are optional\n buildTriggers: {\n buildType: 'buildType',\n filterGroups: [[{\n pattern: 'pattern',\n type: 'type',\n\n // the properties below are optional\n excludeMatchedPattern: false,\n }]],\n webhook: false,\n },\n sourceVersion: 'sourceVersion',\n};",
14091 "custom": {
14092 "exampleMetadata": "fixture=_generated"
14093 }
14094 },
14095 "fqn": "@aws-cdk/aws-codebuild.SourceConfig",
14096 "kind": "interface",
14097 "locationInModule": {
14098 "filename": "lib/source.ts",
14099 "line": 21
14100 },
14101 "name": "SourceConfig",
14102 "properties": [
14103 {
14104 "abstract": true,
14105 "docs": {
14106 "stability": "stable"
14107 },
14108 "immutable": true,
14109 "locationInModule": {
14110 "filename": "lib/source.ts",
14111 "line": 22
14112 },
14113 "name": "sourceProperty",
14114 "type": {
14115 "fqn": "@aws-cdk/aws-codebuild.CfnProject.SourceProperty"
14116 }
14117 },
14118 {
14119 "abstract": true,
14120 "docs": {
14121 "stability": "stable"
14122 },
14123 "immutable": true,
14124 "locationInModule": {
14125 "filename": "lib/source.ts",
14126 "line": 24
14127 },
14128 "name": "buildTriggers",
14129 "optional": true,
14130 "type": {
14131 "fqn": "@aws-cdk/aws-codebuild.CfnProject.ProjectTriggersProperty"
14132 }
14133 },
14134 {
14135 "abstract": true,
14136 "docs": {
14137 "default": "the latest version",
14138 "see": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-sourceversion",
14139 "stability": "stable",
14140 "summary": "`AWS::CodeBuild::Project.SourceVersion`."
14141 },
14142 "immutable": true,
14143 "locationInModule": {
14144 "filename": "lib/source.ts",
14145 "line": 31
14146 },
14147 "name": "sourceVersion",
14148 "optional": true,
14149 "type": {
14150 "primitive": "string"
14151 }
14152 }
14153 ],
14154 "symbolId": "lib/source:SourceConfig"
14155 },
14156 "@aws-cdk/aws-codebuild.SourceProps": {
14157 "assembly": "@aws-cdk/aws-codebuild",
14158 "datatype": true,
14159 "docs": {
14160 "stability": "stable",
14161 "summary": "Properties common to all Source classes.",
14162 "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 sourceProps: codebuild.SourceProps = {\n identifier: 'identifier',\n};",
14163 "custom": {
14164 "exampleMetadata": "fixture=_generated"
14165 }
14166 },
14167 "fqn": "@aws-cdk/aws-codebuild.SourceProps",
14168 "kind": "interface",
14169 "locationInModule": {
14170 "filename": "lib/source.ts",
14171 "line": 51
14172 },
14173 "name": "SourceProps",
14174 "properties": [
14175 {
14176 "abstract": true,
14177 "docs": {
14178 "remarks": "This property is required on secondary sources.",
14179 "stability": "stable",
14180 "summary": "The source identifier."
14181 },
14182 "immutable": true,
14183 "locationInModule": {
14184 "filename": "lib/source.ts",
14185 "line": 56
14186 },
14187 "name": "identifier",
14188 "optional": true,
14189 "type": {
14190 "primitive": "string"
14191 }
14192 }
14193 ],
14194 "symbolId": "lib/source:SourceProps"
14195 },
14196 "@aws-cdk/aws-codebuild.StateChangeEvent": {
14197 "assembly": "@aws-cdk/aws-codebuild",
14198 "docs": {
14199 "see": "https://docs.aws.amazon.com/codebuild/latest/userguide/sample-build-notifications.html#sample-build-notifications-ref",
14200 "stability": "stable",
14201 "summary": "Event fields for the CodeBuild \"state change\" event."
14202 },
14203 "fqn": "@aws-cdk/aws-codebuild.StateChangeEvent",
14204 "kind": "class",
14205 "locationInModule": {
14206 "filename": "lib/events.ts",
14207 "line": 8
14208 },
14209 "name": "StateChangeEvent",
14210 "properties": [
14211 {
14212 "docs": {
14213 "stability": "stable",
14214 "summary": "Return the build id."
14215 },
14216 "immutable": true,
14217 "locationInModule": {
14218 "filename": "lib/events.ts",
14219 "line": 26
14220 },
14221 "name": "buildId",
14222 "static": true,
14223 "type": {
14224 "primitive": "string"
14225 }
14226 },
14227 {
14228 "docs": {
14229 "stability": "stable",
14230 "summary": "The triggering build's status."
14231 },
14232 "immutable": true,
14233 "locationInModule": {
14234 "filename": "lib/events.ts",
14235 "line": 12
14236 },
14237 "name": "buildStatus",
14238 "static": true,
14239 "type": {
14240 "primitive": "string"
14241 }
14242 },
14243 {
14244 "docs": {
14245 "stability": "stable"
14246 },
14247 "immutable": true,
14248 "locationInModule": {
14249 "filename": "lib/events.ts",
14250 "line": 30
14251 },
14252 "name": "currentPhase",
14253 "static": true,
14254 "type": {
14255 "primitive": "string"
14256 }
14257 },
14258 {
14259 "docs": {
14260 "stability": "stable",
14261 "summary": "The triggering build's project name."
14262 },
14263 "immutable": true,
14264 "locationInModule": {
14265 "filename": "lib/events.ts",
14266 "line": 19
14267 },
14268 "name": "projectName",
14269 "static": true,
14270 "type": {
14271 "primitive": "string"
14272 }
14273 }
14274 ],
14275 "symbolId": "lib/events:StateChangeEvent"
14276 },
14277 "@aws-cdk/aws-codebuild.UntrustedCodeBoundaryPolicy": {
14278 "assembly": "@aws-cdk/aws-codebuild",
14279 "base": "@aws-cdk/aws-iam.ManagedPolicy",
14280 "docs": {
14281 "example": "declare const project: codebuild.Project;\niam.PermissionsBoundary.of(project).apply(new codebuild.UntrustedCodeBoundaryPolicy(this, 'Boundary'));",
14282 "remarks": "This class is a Policy, intended to be used as a Permissions Boundary\nfor a CodeBuild project. It allows most of the actions necessary to run\nthe CodeBuild project, but disallows reading from Parameter Store\nand Secrets Manager.\n\nUse this when your CodeBuild project is running untrusted code (for\nexample, if you are using one to automatically build Pull Requests\nthat anyone can submit), and you want to prevent your future self\nfrom accidentally exposing Secrets to this build.\n\n(The reason you might want to do this is because otherwise anyone\nwho can submit a Pull Request to your project can write a script\nto email those secrets to themselves).",
14283 "stability": "stable",
14284 "summary": "Permissions Boundary for a CodeBuild Project running untrusted code."
14285 },
14286 "fqn": "@aws-cdk/aws-codebuild.UntrustedCodeBoundaryPolicy",
14287 "initializer": {
14288 "docs": {
14289 "stability": "stable"
14290 },
14291 "locationInModule": {
14292 "filename": "lib/untrusted-code-boundary-policy.ts",
14293 "line": 46
14294 },
14295 "parameters": [
14296 {
14297 "name": "scope",
14298 "type": {
14299 "fqn": "constructs.Construct"
14300 }
14301 },
14302 {
14303 "name": "id",
14304 "type": {
14305 "primitive": "string"
14306 }
14307 },
14308 {
14309 "name": "props",
14310 "optional": true,
14311 "type": {
14312 "fqn": "@aws-cdk/aws-codebuild.UntrustedCodeBoundaryPolicyProps"
14313 }
14314 }
14315 ]
14316 },
14317 "kind": "class",
14318 "locationInModule": {
14319 "filename": "lib/untrusted-code-boundary-policy.ts",
14320 "line": 45
14321 },
14322 "name": "UntrustedCodeBoundaryPolicy",
14323 "symbolId": "lib/untrusted-code-boundary-policy:UntrustedCodeBoundaryPolicy"
14324 },
14325 "@aws-cdk/aws-codebuild.UntrustedCodeBoundaryPolicyProps": {
14326 "assembly": "@aws-cdk/aws-codebuild",
14327 "datatype": true,
14328 "docs": {
14329 "stability": "stable",
14330 "summary": "Construction properties for UntrustedCodeBoundaryPolicy.",
14331 "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 policyStatement: iam.PolicyStatement;\nconst untrustedCodeBoundaryPolicyProps: codebuild.UntrustedCodeBoundaryPolicyProps = {\n additionalStatements: [policyStatement],\n managedPolicyName: 'managedPolicyName',\n};",
14332 "custom": {
14333 "exampleMetadata": "fixture=_generated"
14334 }
14335 },
14336 "fqn": "@aws-cdk/aws-codebuild.UntrustedCodeBoundaryPolicyProps",
14337 "kind": "interface",
14338 "locationInModule": {
14339 "filename": "lib/untrusted-code-boundary-policy.ts",
14340 "line": 7
14341 },
14342 "name": "UntrustedCodeBoundaryPolicyProps",
14343 "properties": [
14344 {
14345 "abstract": true,
14346 "docs": {
14347 "default": "- No additional statements",
14348 "stability": "stable",
14349 "summary": "Additional statements to add to the default set of statements."
14350 },
14351 "immutable": true,
14352 "locationInModule": {
14353 "filename": "lib/untrusted-code-boundary-policy.ts",
14354 "line": 20
14355 },
14356 "name": "additionalStatements",
14357 "optional": true,
14358 "type": {
14359 "collection": {
14360 "elementtype": {
14361 "fqn": "@aws-cdk/aws-iam.PolicyStatement"
14362 },
14363 "kind": "array"
14364 }
14365 }
14366 },
14367 {
14368 "abstract": true,
14369 "docs": {
14370 "default": "- A name is automatically generated.",
14371 "stability": "stable",
14372 "summary": "The name of the managed policy."
14373 },
14374 "immutable": true,
14375 "locationInModule": {
14376 "filename": "lib/untrusted-code-boundary-policy.ts",
14377 "line": 13
14378 },
14379 "name": "managedPolicyName",
14380 "optional": true,
14381 "type": {
14382 "primitive": "string"
14383 }
14384 }
14385 ],
14386 "symbolId": "lib/untrusted-code-boundary-policy:UntrustedCodeBoundaryPolicyProps"
14387 },
14388 "@aws-cdk/aws-codebuild.WindowsBuildImage": {
14389 "assembly": "@aws-cdk/aws-codebuild",
14390 "docs": {
14391 "remarks": "This class has a bunch of public constants that represent the most popular images.\n\nYou can also specify a custom image using one of the static methods:\n\n- WindowsBuildImage.fromDockerRegistry(image[, { secretsManagerCredentials }, imageType])\n- WindowsBuildImage.fromEcrRepository(repo[, tag, imageType])\n- WindowsBuildImage.fromAsset(parent, id, props, [, imageType])",
14392 "see": "https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html",
14393 "stability": "stable",
14394 "summary": "A CodeBuild image running Windows.",
14395 "example": "declare 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})",
14396 "custom": {
14397 "exampleMetadata": "infused"
14398 }
14399 },
14400 "fqn": "@aws-cdk/aws-codebuild.WindowsBuildImage",
14401 "interfaces": [
14402 "@aws-cdk/aws-codebuild.IBuildImage"
14403 ],
14404 "kind": "class",
14405 "locationInModule": {
14406 "filename": "lib/project.ts",
14407 "line": 1899
14408 },
14409 "methods": [
14410 {
14411 "docs": {
14412 "stability": "stable",
14413 "summary": "Uses an Docker image asset as a Windows build image."
14414 },
14415 "locationInModule": {
14416 "filename": "lib/project.ts",
14417 "line": 1972
14418 },
14419 "name": "fromAsset",
14420 "parameters": [
14421 {
14422 "name": "scope",
14423 "type": {
14424 "fqn": "constructs.Construct"
14425 }
14426 },
14427 {
14428 "name": "id",
14429 "type": {
14430 "primitive": "string"
14431 }
14432 },
14433 {
14434 "name": "props",
14435 "type": {
14436 "fqn": "@aws-cdk/aws-ecr-assets.DockerImageAssetProps"
14437 }
14438 },
14439 {
14440 "name": "imageType",
14441 "optional": true,
14442 "type": {
14443 "fqn": "@aws-cdk/aws-codebuild.WindowsImageType"
14444 }
14445 }
14446 ],
14447 "returns": {
14448 "type": {
14449 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
14450 }
14451 },
14452 "static": true
14453 },
14454 {
14455 "docs": {
14456 "returns": "a Windows build image from a Docker Hub image.",
14457 "stability": "stable"
14458 },
14459 "locationInModule": {
14460 "filename": "lib/project.ts",
14461 "line": 1932
14462 },
14463 "name": "fromDockerRegistry",
14464 "parameters": [
14465 {
14466 "name": "name",
14467 "type": {
14468 "primitive": "string"
14469 }
14470 },
14471 {
14472 "name": "options",
14473 "optional": true,
14474 "type": {
14475 "fqn": "@aws-cdk/aws-codebuild.DockerImageOptions"
14476 }
14477 },
14478 {
14479 "name": "imageType",
14480 "optional": true,
14481 "type": {
14482 "fqn": "@aws-cdk/aws-codebuild.WindowsImageType"
14483 }
14484 }
14485 ],
14486 "returns": {
14487 "type": {
14488 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
14489 }
14490 },
14491 "static": true
14492 },
14493 {
14494 "docs": {
14495 "returns": "A Windows build image from an ECR repository.\n\nNOTE: if the repository is external (i.e. imported), then we won't be able to add\na resource policy statement for it so CodeBuild can pull the image.",
14496 "see": "https://docs.aws.amazon.com/codebuild/latest/userguide/sample-ecr.html",
14497 "stability": "stable"
14498 },
14499 "locationInModule": {
14500 "filename": "lib/project.ts",
14501 "line": 1956
14502 },
14503 "name": "fromEcrRepository",
14504 "parameters": [
14505 {
14506 "docs": {
14507 "summary": "The ECR repository."
14508 },
14509 "name": "repository",
14510 "type": {
14511 "fqn": "@aws-cdk/aws-ecr.IRepository"
14512 }
14513 },
14514 {
14515 "docs": {
14516 "summary": "Image tag or digest (default \"latest\", digests must start with `sha256:`)."
14517 },
14518 "name": "tagOrDigest",
14519 "optional": true,
14520 "type": {
14521 "primitive": "string"
14522 }
14523 },
14524 {
14525 "name": "imageType",
14526 "optional": true,
14527 "type": {
14528 "fqn": "@aws-cdk/aws-codebuild.WindowsImageType"
14529 }
14530 }
14531 ],
14532 "returns": {
14533 "type": {
14534 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
14535 }
14536 },
14537 "static": true
14538 },
14539 {
14540 "docs": {
14541 "stability": "stable",
14542 "summary": "Make a buildspec to run the indicated script."
14543 },
14544 "locationInModule": {
14545 "filename": "lib/project.ts",
14546 "line": 2010
14547 },
14548 "name": "runScriptBuildspec",
14549 "overrides": "@aws-cdk/aws-codebuild.IBuildImage",
14550 "parameters": [
14551 {
14552 "name": "entrypoint",
14553 "type": {
14554 "primitive": "string"
14555 }
14556 }
14557 ],
14558 "returns": {
14559 "type": {
14560 "fqn": "@aws-cdk/aws-codebuild.BuildSpec"
14561 }
14562 }
14563 },
14564 {
14565 "docs": {
14566 "stability": "stable",
14567 "summary": "Allows the image a chance to validate whether the passed configuration is correct."
14568 },
14569 "locationInModule": {
14570 "filename": "lib/project.ts",
14571 "line": 2002
14572 },
14573 "name": "validate",
14574 "overrides": "@aws-cdk/aws-codebuild.IBuildImage",
14575 "parameters": [
14576 {
14577 "name": "buildEnvironment",
14578 "type": {
14579 "fqn": "@aws-cdk/aws-codebuild.BuildEnvironment"
14580 }
14581 }
14582 ],
14583 "returns": {
14584 "type": {
14585 "collection": {
14586 "elementtype": {
14587 "primitive": "string"
14588 },
14589 "kind": "array"
14590 }
14591 }
14592 }
14593 }
14594 ],
14595 "name": "WindowsBuildImage",
14596 "properties": [
14597 {
14598 "const": true,
14599 "docs": {
14600 "deprecated": "`WindowsBuildImage.WINDOWS_BASE_2_0` should be used instead.",
14601 "stability": "deprecated",
14602 "summary": "Corresponds to the standard CodeBuild image `aws/codebuild/windows-base:1.0`."
14603 },
14604 "immutable": true,
14605 "locationInModule": {
14606 "filename": "lib/project.ts",
14607 "line": 1905
14608 },
14609 "name": "WIN_SERVER_CORE_2016_BASE",
14610 "static": true,
14611 "type": {
14612 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
14613 }
14614 },
14615 {
14616 "const": true,
14617 "docs": {
14618 "stability": "stable",
14619 "summary": "The standard CodeBuild image `aws/codebuild/windows-base:2019-1.0`, which is based off Windows Server Core 2019."
14620 },
14621 "immutable": true,
14622 "locationInModule": {
14623 "filename": "lib/project.ts",
14624 "line": 1923
14625 },
14626 "name": "WIN_SERVER_CORE_2019_BASE",
14627 "static": true,
14628 "type": {
14629 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
14630 }
14631 },
14632 {
14633 "const": true,
14634 "docs": {
14635 "stability": "stable",
14636 "summary": "The standard CodeBuild image `aws/codebuild/windows-base:2.0`, which is based off Windows Server Core 2016."
14637 },
14638 "immutable": true,
14639 "locationInModule": {
14640 "filename": "lib/project.ts",
14641 "line": 1914
14642 },
14643 "name": "WINDOWS_BASE_2_0",
14644 "static": true,
14645 "type": {
14646 "fqn": "@aws-cdk/aws-codebuild.IBuildImage"
14647 }
14648 },
14649 {
14650 "docs": {
14651 "stability": "stable",
14652 "summary": "The default {@link ComputeType} to use with this image, if one was not specified in {@link BuildEnvironment#computeType} explicitly."
14653 },
14654 "immutable": true,
14655 "locationInModule": {
14656 "filename": "lib/project.ts",
14657 "line": 1988
14658 },
14659 "name": "defaultComputeType",
14660 "overrides": "@aws-cdk/aws-codebuild.IBuildImage",
14661 "type": {
14662 "fqn": "@aws-cdk/aws-codebuild.ComputeType"
14663 }
14664 },
14665 {
14666 "docs": {
14667 "stability": "stable",
14668 "summary": "The Docker image identifier that the build environment uses."
14669 },
14670 "immutable": true,
14671 "locationInModule": {
14672 "filename": "lib/project.ts",
14673 "line": 1989
14674 },
14675 "name": "imageId",
14676 "overrides": "@aws-cdk/aws-codebuild.IBuildImage",
14677 "type": {
14678 "primitive": "string"
14679 }
14680 },
14681 {
14682 "docs": {
14683 "stability": "stable",
14684 "summary": "The type of build environment."
14685 },
14686 "immutable": true,
14687 "locationInModule": {
14688 "filename": "lib/project.ts",
14689 "line": 1987
14690 },
14691 "name": "type",
14692 "overrides": "@aws-cdk/aws-codebuild.IBuildImage",
14693 "type": {
14694 "primitive": "string"
14695 }
14696 },
14697 {
14698 "docs": {
14699 "stability": "stable",
14700 "summary": "The type of principal that CodeBuild will use to pull this build Docker image."
14701 },
14702 "immutable": true,
14703 "locationInModule": {
14704 "filename": "lib/project.ts",
14705 "line": 1990
14706 },
14707 "name": "imagePullPrincipalType",
14708 "optional": true,
14709 "overrides": "@aws-cdk/aws-codebuild.IBuildImage",
14710 "type": {
14711 "fqn": "@aws-cdk/aws-codebuild.ImagePullPrincipalType"
14712 }
14713 },
14714 {
14715 "docs": {
14716 "stability": "stable",
14717 "summary": "An optional ECR repository that the image is hosted in."
14718 },
14719 "immutable": true,
14720 "locationInModule": {
14721 "filename": "lib/project.ts",
14722 "line": 1992
14723 },
14724 "name": "repository",
14725 "optional": true,
14726 "overrides": "@aws-cdk/aws-codebuild.IBuildImage",
14727 "type": {
14728 "fqn": "@aws-cdk/aws-ecr.IRepository"
14729 }
14730 },
14731 {
14732 "docs": {
14733 "stability": "stable",
14734 "summary": "The secretsManagerCredentials for access to a private registry."
14735 },
14736 "immutable": true,
14737 "locationInModule": {
14738 "filename": "lib/project.ts",
14739 "line": 1991
14740 },
14741 "name": "secretsManagerCredentials",
14742 "optional": true,
14743 "overrides": "@aws-cdk/aws-codebuild.IBuildImage",
14744 "type": {
14745 "fqn": "@aws-cdk/aws-secretsmanager.ISecret"
14746 }
14747 }
14748 ],
14749 "symbolId": "lib/project:WindowsBuildImage"
14750 },
14751 "@aws-cdk/aws-codebuild.WindowsImageType": {
14752 "assembly": "@aws-cdk/aws-codebuild",
14753 "docs": {
14754 "stability": "stable",
14755 "summary": "Environment type for Windows Docker images.",
14756 "example": "declare 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})",
14757 "custom": {
14758 "exampleMetadata": "infused"
14759 }
14760 },
14761 "fqn": "@aws-cdk/aws-codebuild.WindowsImageType",
14762 "kind": "enum",
14763 "locationInModule": {
14764 "filename": "lib/project.ts",
14765 "line": 1862
14766 },
14767 "members": [
14768 {
14769 "docs": {
14770 "stability": "stable",
14771 "summary": "The standard environment type, WINDOWS_CONTAINER."
14772 },
14773 "name": "STANDARD"
14774 },
14775 {
14776 "docs": {
14777 "stability": "stable",
14778 "summary": "The WINDOWS_SERVER_2019_CONTAINER environment type."
14779 },
14780 "name": "SERVER_2019"
14781 }
14782 ],
14783 "name": "WindowsImageType",
14784 "symbolId": "lib/project:WindowsImageType"
14785 }
14786 },
14787 "version": "1.181.1",
14788 "fingerprint": "**********"
14789}
\No newline at end of file