UNPKG

758 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 "dependencies": {
11 "@aws-cdk/aws-applicationautoscaling": "1.174.0",
12 "@aws-cdk/aws-cloudwatch": "1.174.0",
13 "@aws-cdk/aws-codeguruprofiler": "1.174.0",
14 "@aws-cdk/aws-ec2": "1.174.0",
15 "@aws-cdk/aws-ecr": "1.174.0",
16 "@aws-cdk/aws-ecr-assets": "1.174.0",
17 "@aws-cdk/aws-efs": "1.174.0",
18 "@aws-cdk/aws-events": "1.174.0",
19 "@aws-cdk/aws-iam": "1.174.0",
20 "@aws-cdk/aws-kms": "1.174.0",
21 "@aws-cdk/aws-logs": "1.174.0",
22 "@aws-cdk/aws-s3": "1.174.0",
23 "@aws-cdk/aws-s3-assets": "1.174.0",
24 "@aws-cdk/aws-signer": "1.174.0",
25 "@aws-cdk/aws-sns": "1.174.0",
26 "@aws-cdk/aws-sqs": "1.174.0",
27 "@aws-cdk/core": "1.174.0",
28 "@aws-cdk/cx-api": "1.174.0",
29 "@aws-cdk/region-info": "1.174.0",
30 "constructs": "^3.3.69"
31 },
32 "dependencyClosure": {
33 "@aws-cdk/assets": {
34 "targets": {
35 "dotnet": {
36 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
37 "namespace": "Amazon.CDK.Assets",
38 "packageId": "Amazon.CDK.Assets"
39 },
40 "java": {
41 "maven": {
42 "artifactId": "cdk-assets",
43 "groupId": "software.amazon.awscdk"
44 },
45 "package": "software.amazon.awscdk.assets"
46 },
47 "js": {
48 "npm": "@aws-cdk/assets"
49 },
50 "python": {
51 "classifiers": [
52 "Framework :: AWS CDK",
53 "Framework :: AWS CDK :: 1"
54 ],
55 "distName": "aws-cdk.assets",
56 "module": "aws_cdk.assets"
57 }
58 }
59 },
60 "@aws-cdk/aws-applicationautoscaling": {
61 "targets": {
62 "dotnet": {
63 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
64 "namespace": "Amazon.CDK.AWS.ApplicationAutoScaling",
65 "packageId": "Amazon.CDK.AWS.ApplicationAutoScaling"
66 },
67 "java": {
68 "maven": {
69 "artifactId": "applicationautoscaling",
70 "groupId": "software.amazon.awscdk"
71 },
72 "package": "software.amazon.awscdk.services.applicationautoscaling"
73 },
74 "js": {
75 "npm": "@aws-cdk/aws-applicationautoscaling"
76 },
77 "python": {
78 "classifiers": [
79 "Framework :: AWS CDK",
80 "Framework :: AWS CDK :: 1"
81 ],
82 "distName": "aws-cdk.aws-applicationautoscaling",
83 "module": "aws_cdk.aws_applicationautoscaling"
84 }
85 }
86 },
87 "@aws-cdk/aws-autoscaling-common": {
88 "targets": {
89 "dotnet": {
90 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
91 "namespace": "Amazon.CDK.AWS.AutoScaling.Common",
92 "packageId": "Amazon.CDK.AWS.AutoScaling.Common"
93 },
94 "java": {
95 "maven": {
96 "artifactId": "autoscaling-common",
97 "groupId": "software.amazon.awscdk"
98 },
99 "package": "software.amazon.awscdk.services.autoscaling.common"
100 },
101 "js": {
102 "npm": "@aws-cdk/aws-autoscaling-common"
103 },
104 "python": {
105 "classifiers": [
106 "Framework :: AWS CDK",
107 "Framework :: AWS CDK :: 1"
108 ],
109 "distName": "aws-cdk.aws-autoscaling-common",
110 "module": "aws_cdk.aws_autoscaling_common"
111 }
112 }
113 },
114 "@aws-cdk/aws-cloudwatch": {
115 "targets": {
116 "dotnet": {
117 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
118 "namespace": "Amazon.CDK.AWS.CloudWatch",
119 "packageId": "Amazon.CDK.AWS.CloudWatch"
120 },
121 "java": {
122 "maven": {
123 "artifactId": "cloudwatch",
124 "groupId": "software.amazon.awscdk"
125 },
126 "package": "software.amazon.awscdk.services.cloudwatch"
127 },
128 "js": {
129 "npm": "@aws-cdk/aws-cloudwatch"
130 },
131 "python": {
132 "classifiers": [
133 "Framework :: AWS CDK",
134 "Framework :: AWS CDK :: 1"
135 ],
136 "distName": "aws-cdk.aws-cloudwatch",
137 "module": "aws_cdk.aws_cloudwatch"
138 }
139 }
140 },
141 "@aws-cdk/aws-codeguruprofiler": {
142 "targets": {
143 "dotnet": {
144 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
145 "namespace": "Amazon.CDK.AWS.CodeGuruProfiler",
146 "packageId": "Amazon.CDK.AWS.CodeGuruProfiler"
147 },
148 "java": {
149 "maven": {
150 "artifactId": "codeguruprofiler",
151 "groupId": "software.amazon.awscdk"
152 },
153 "package": "software.amazon.awscdk.services.codeguruprofiler"
154 },
155 "js": {
156 "npm": "@aws-cdk/aws-codeguruprofiler"
157 },
158 "python": {
159 "classifiers": [
160 "Framework :: AWS CDK",
161 "Framework :: AWS CDK :: 1"
162 ],
163 "distName": "aws-cdk.aws-codeguruprofiler",
164 "module": "aws_cdk.aws_codeguruprofiler"
165 }
166 }
167 },
168 "@aws-cdk/aws-codestarnotifications": {
169 "targets": {
170 "dotnet": {
171 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
172 "namespace": "Amazon.CDK.AWS.CodeStarNotifications",
173 "packageId": "Amazon.CDK.AWS.CodeStarNotifications"
174 },
175 "java": {
176 "maven": {
177 "artifactId": "codestarnotifications",
178 "groupId": "software.amazon.awscdk"
179 },
180 "package": "software.amazon.awscdk.services.codestarnotifications"
181 },
182 "js": {
183 "npm": "@aws-cdk/aws-codestarnotifications"
184 },
185 "python": {
186 "classifiers": [
187 "Framework :: AWS CDK",
188 "Framework :: AWS CDK :: 1"
189 ],
190 "distName": "aws-cdk.aws-codestarnotifications",
191 "module": "aws_cdk.aws_codestarnotifications"
192 }
193 }
194 },
195 "@aws-cdk/aws-ec2": {
196 "targets": {
197 "dotnet": {
198 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
199 "namespace": "Amazon.CDK.AWS.EC2",
200 "packageId": "Amazon.CDK.AWS.EC2"
201 },
202 "java": {
203 "maven": {
204 "artifactId": "ec2",
205 "groupId": "software.amazon.awscdk"
206 },
207 "package": "software.amazon.awscdk.services.ec2"
208 },
209 "js": {
210 "npm": "@aws-cdk/aws-ec2"
211 },
212 "python": {
213 "classifiers": [
214 "Framework :: AWS CDK",
215 "Framework :: AWS CDK :: 1"
216 ],
217 "distName": "aws-cdk.aws-ec2",
218 "module": "aws_cdk.aws_ec2"
219 }
220 }
221 },
222 "@aws-cdk/aws-ecr": {
223 "targets": {
224 "dotnet": {
225 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
226 "namespace": "Amazon.CDK.AWS.ECR",
227 "packageId": "Amazon.CDK.AWS.ECR"
228 },
229 "java": {
230 "maven": {
231 "artifactId": "ecr",
232 "groupId": "software.amazon.awscdk"
233 },
234 "package": "software.amazon.awscdk.services.ecr"
235 },
236 "js": {
237 "npm": "@aws-cdk/aws-ecr"
238 },
239 "python": {
240 "classifiers": [
241 "Framework :: AWS CDK",
242 "Framework :: AWS CDK :: 1"
243 ],
244 "distName": "aws-cdk.aws-ecr",
245 "module": "aws_cdk.aws_ecr"
246 }
247 }
248 },
249 "@aws-cdk/aws-ecr-assets": {
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.Assets",
254 "packageId": "Amazon.CDK.ECR.Assets"
255 },
256 "java": {
257 "maven": {
258 "artifactId": "ecr-assets",
259 "groupId": "software.amazon.awscdk"
260 },
261 "package": "software.amazon.awscdk.services.ecr.assets"
262 },
263 "js": {
264 "npm": "@aws-cdk/aws-ecr-assets"
265 },
266 "python": {
267 "classifiers": [
268 "Framework :: AWS CDK",
269 "Framework :: AWS CDK :: 1"
270 ],
271 "distName": "aws-cdk.aws-ecr-assets",
272 "module": "aws_cdk.aws_ecr_assets"
273 }
274 }
275 },
276 "@aws-cdk/aws-efs": {
277 "targets": {
278 "dotnet": {
279 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
280 "namespace": "Amazon.CDK.AWS.EFS",
281 "packageId": "Amazon.CDK.AWS.EFS"
282 },
283 "java": {
284 "maven": {
285 "artifactId": "efs",
286 "groupId": "software.amazon.awscdk"
287 },
288 "package": "software.amazon.awscdk.services.efs"
289 },
290 "js": {
291 "npm": "@aws-cdk/aws-efs"
292 },
293 "python": {
294 "classifiers": [
295 "Framework :: AWS CDK",
296 "Framework :: AWS CDK :: 1"
297 ],
298 "distName": "aws-cdk.aws-efs",
299 "module": "aws_cdk.aws_efs"
300 }
301 }
302 },
303 "@aws-cdk/aws-events": {
304 "targets": {
305 "dotnet": {
306 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
307 "namespace": "Amazon.CDK.AWS.Events",
308 "packageId": "Amazon.CDK.AWS.Events"
309 },
310 "java": {
311 "maven": {
312 "artifactId": "events",
313 "groupId": "software.amazon.awscdk"
314 },
315 "package": "software.amazon.awscdk.services.events"
316 },
317 "js": {
318 "npm": "@aws-cdk/aws-events"
319 },
320 "python": {
321 "classifiers": [
322 "Framework :: AWS CDK",
323 "Framework :: AWS CDK :: 1"
324 ],
325 "distName": "aws-cdk.aws-events",
326 "module": "aws_cdk.aws_events"
327 }
328 }
329 },
330 "@aws-cdk/aws-iam": {
331 "targets": {
332 "dotnet": {
333 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
334 "namespace": "Amazon.CDK.AWS.IAM",
335 "packageId": "Amazon.CDK.AWS.IAM"
336 },
337 "java": {
338 "maven": {
339 "artifactId": "iam",
340 "groupId": "software.amazon.awscdk"
341 },
342 "package": "software.amazon.awscdk.services.iam"
343 },
344 "js": {
345 "npm": "@aws-cdk/aws-iam"
346 },
347 "python": {
348 "classifiers": [
349 "Framework :: AWS CDK",
350 "Framework :: AWS CDK :: 1"
351 ],
352 "distName": "aws-cdk.aws-iam",
353 "module": "aws_cdk.aws_iam"
354 }
355 }
356 },
357 "@aws-cdk/aws-kms": {
358 "targets": {
359 "dotnet": {
360 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
361 "namespace": "Amazon.CDK.AWS.KMS",
362 "packageId": "Amazon.CDK.AWS.KMS"
363 },
364 "java": {
365 "maven": {
366 "artifactId": "kms",
367 "groupId": "software.amazon.awscdk"
368 },
369 "package": "software.amazon.awscdk.services.kms"
370 },
371 "js": {
372 "npm": "@aws-cdk/aws-kms"
373 },
374 "python": {
375 "classifiers": [
376 "Framework :: AWS CDK",
377 "Framework :: AWS CDK :: 1"
378 ],
379 "distName": "aws-cdk.aws-kms",
380 "module": "aws_cdk.aws_kms"
381 }
382 }
383 },
384 "@aws-cdk/aws-logs": {
385 "targets": {
386 "dotnet": {
387 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
388 "namespace": "Amazon.CDK.AWS.Logs",
389 "packageId": "Amazon.CDK.AWS.Logs"
390 },
391 "java": {
392 "maven": {
393 "artifactId": "logs",
394 "groupId": "software.amazon.awscdk"
395 },
396 "package": "software.amazon.awscdk.services.logs"
397 },
398 "js": {
399 "npm": "@aws-cdk/aws-logs"
400 },
401 "python": {
402 "classifiers": [
403 "Framework :: AWS CDK",
404 "Framework :: AWS CDK :: 1"
405 ],
406 "distName": "aws-cdk.aws-logs",
407 "module": "aws_cdk.aws_logs"
408 }
409 }
410 },
411 "@aws-cdk/aws-s3": {
412 "targets": {
413 "dotnet": {
414 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
415 "namespace": "Amazon.CDK.AWS.S3",
416 "packageId": "Amazon.CDK.AWS.S3"
417 },
418 "java": {
419 "maven": {
420 "artifactId": "s3",
421 "groupId": "software.amazon.awscdk"
422 },
423 "package": "software.amazon.awscdk.services.s3"
424 },
425 "js": {
426 "npm": "@aws-cdk/aws-s3"
427 },
428 "python": {
429 "classifiers": [
430 "Framework :: AWS CDK",
431 "Framework :: AWS CDK :: 1"
432 ],
433 "distName": "aws-cdk.aws-s3",
434 "module": "aws_cdk.aws_s3"
435 }
436 }
437 },
438 "@aws-cdk/aws-s3-assets": {
439 "targets": {
440 "dotnet": {
441 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
442 "namespace": "Amazon.CDK.AWS.S3.Assets",
443 "packageId": "Amazon.CDK.AWS.S3.Assets"
444 },
445 "java": {
446 "maven": {
447 "artifactId": "s3-assets",
448 "groupId": "software.amazon.awscdk"
449 },
450 "package": "software.amazon.awscdk.services.s3.assets"
451 },
452 "js": {
453 "npm": "@aws-cdk/aws-s3-assets"
454 },
455 "python": {
456 "classifiers": [
457 "Framework :: AWS CDK",
458 "Framework :: AWS CDK :: 1"
459 ],
460 "distName": "aws-cdk.aws-s3-assets",
461 "module": "aws_cdk.aws_s3_assets"
462 }
463 }
464 },
465 "@aws-cdk/aws-signer": {
466 "targets": {
467 "dotnet": {
468 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
469 "namespace": "Amazon.CDK.AWS.Signer",
470 "packageId": "Amazon.CDK.AWS.Signer"
471 },
472 "java": {
473 "maven": {
474 "artifactId": "signer",
475 "groupId": "software.amazon.awscdk"
476 },
477 "package": "software.amazon.awscdk.services.signer"
478 },
479 "js": {
480 "npm": "@aws-cdk/aws-signer"
481 },
482 "python": {
483 "classifiers": [
484 "Framework :: AWS CDK",
485 "Framework :: AWS CDK :: 1"
486 ],
487 "distName": "aws-cdk.aws-signer",
488 "module": "aws_cdk.aws_signer"
489 }
490 }
491 },
492 "@aws-cdk/aws-sns": {
493 "targets": {
494 "dotnet": {
495 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
496 "namespace": "Amazon.CDK.AWS.SNS",
497 "packageId": "Amazon.CDK.AWS.SNS"
498 },
499 "java": {
500 "maven": {
501 "artifactId": "sns",
502 "groupId": "software.amazon.awscdk"
503 },
504 "package": "software.amazon.awscdk.services.sns"
505 },
506 "js": {
507 "npm": "@aws-cdk/aws-sns"
508 },
509 "python": {
510 "classifiers": [
511 "Framework :: AWS CDK",
512 "Framework :: AWS CDK :: 1"
513 ],
514 "distName": "aws-cdk.aws-sns",
515 "module": "aws_cdk.aws_sns"
516 }
517 }
518 },
519 "@aws-cdk/aws-sqs": {
520 "targets": {
521 "dotnet": {
522 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
523 "namespace": "Amazon.CDK.AWS.SQS",
524 "packageId": "Amazon.CDK.AWS.SQS"
525 },
526 "java": {
527 "maven": {
528 "artifactId": "sqs",
529 "groupId": "software.amazon.awscdk"
530 },
531 "package": "software.amazon.awscdk.services.sqs"
532 },
533 "js": {
534 "npm": "@aws-cdk/aws-sqs"
535 },
536 "python": {
537 "classifiers": [
538 "Framework :: AWS CDK",
539 "Framework :: AWS CDK :: 1"
540 ],
541 "distName": "aws-cdk.aws-sqs",
542 "module": "aws_cdk.aws_sqs"
543 }
544 }
545 },
546 "@aws-cdk/aws-ssm": {
547 "targets": {
548 "dotnet": {
549 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
550 "namespace": "Amazon.CDK.AWS.SSM",
551 "packageId": "Amazon.CDK.AWS.SSM"
552 },
553 "java": {
554 "maven": {
555 "artifactId": "ssm",
556 "groupId": "software.amazon.awscdk"
557 },
558 "package": "software.amazon.awscdk.services.ssm"
559 },
560 "js": {
561 "npm": "@aws-cdk/aws-ssm"
562 },
563 "python": {
564 "classifiers": [
565 "Framework :: AWS CDK",
566 "Framework :: AWS CDK :: 1"
567 ],
568 "distName": "aws-cdk.aws-ssm",
569 "module": "aws_cdk.aws_ssm"
570 }
571 }
572 },
573 "@aws-cdk/cloud-assembly-schema": {
574 "targets": {
575 "dotnet": {
576 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
577 "namespace": "Amazon.CDK.CloudAssembly.Schema",
578 "packageId": "Amazon.CDK.CloudAssembly.Schema"
579 },
580 "java": {
581 "maven": {
582 "artifactId": "cdk-cloud-assembly-schema",
583 "groupId": "software.amazon.awscdk"
584 },
585 "package": "software.amazon.awscdk.cloudassembly.schema"
586 },
587 "js": {
588 "npm": "@aws-cdk/cloud-assembly-schema"
589 },
590 "python": {
591 "classifiers": [
592 "Framework :: AWS CDK",
593 "Framework :: AWS CDK :: 1"
594 ],
595 "distName": "aws-cdk.cloud-assembly-schema",
596 "module": "aws_cdk.cloud_assembly_schema"
597 }
598 }
599 },
600 "@aws-cdk/core": {
601 "targets": {
602 "dotnet": {
603 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
604 "namespace": "Amazon.CDK",
605 "packageId": "Amazon.CDK"
606 },
607 "java": {
608 "maven": {
609 "artifactId": "core",
610 "groupId": "software.amazon.awscdk"
611 },
612 "package": "software.amazon.awscdk.core"
613 },
614 "js": {
615 "npm": "@aws-cdk/core"
616 },
617 "python": {
618 "classifiers": [
619 "Framework :: AWS CDK",
620 "Framework :: AWS CDK :: 1"
621 ],
622 "distName": "aws-cdk.core",
623 "module": "aws_cdk.core"
624 }
625 }
626 },
627 "@aws-cdk/cx-api": {
628 "targets": {
629 "dotnet": {
630 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
631 "namespace": "Amazon.CDK.CXAPI",
632 "packageId": "Amazon.CDK.CXAPI"
633 },
634 "java": {
635 "maven": {
636 "artifactId": "cdk-cx-api",
637 "groupId": "software.amazon.awscdk"
638 },
639 "package": "software.amazon.awscdk.cxapi"
640 },
641 "js": {
642 "npm": "@aws-cdk/cx-api"
643 },
644 "python": {
645 "classifiers": [
646 "Framework :: AWS CDK",
647 "Framework :: AWS CDK :: 1"
648 ],
649 "distName": "aws-cdk.cx-api",
650 "module": "aws_cdk.cx_api"
651 }
652 }
653 },
654 "@aws-cdk/region-info": {
655 "targets": {
656 "dotnet": {
657 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
658 "namespace": "Amazon.CDK.RegionInfo",
659 "packageId": "Amazon.CDK.RegionInfo"
660 },
661 "java": {
662 "maven": {
663 "artifactId": "cdk-region-info",
664 "groupId": "software.amazon.awscdk"
665 },
666 "package": "software.amazon.awscdk.regioninfo"
667 },
668 "js": {
669 "npm": "@aws-cdk/region-info"
670 },
671 "python": {
672 "classifiers": [
673 "Framework :: AWS CDK",
674 "Framework :: AWS CDK :: 1"
675 ],
676 "distName": "aws-cdk.region-info",
677 "module": "aws_cdk.region_info"
678 }
679 }
680 },
681 "constructs": {
682 "targets": {
683 "dotnet": {
684 "namespace": "Constructs",
685 "packageId": "Constructs"
686 },
687 "go": {
688 "moduleName": "github.com/aws/constructs-go"
689 },
690 "java": {
691 "maven": {
692 "artifactId": "constructs",
693 "groupId": "software.constructs"
694 },
695 "package": "software.constructs"
696 },
697 "js": {
698 "npm": "constructs"
699 },
700 "python": {
701 "distName": "constructs",
702 "module": "constructs"
703 }
704 }
705 }
706 },
707 "description": "The CDK Construct Library for AWS::Lambda",
708 "docs": {
709 "stability": "stable"
710 },
711 "homepage": "https://github.com/aws/aws-cdk",
712 "jsiiVersion": "1.67.0 (build 2c027f5)",
713 "keywords": [
714 "aws",
715 "cdk",
716 "constructs",
717 "lambda"
718 ],
719 "license": "Apache-2.0",
720 "metadata": {
721 "jsii": {
722 "compiledWithDeprecationWarnings": true,
723 "pacmak": {
724 "hasDefaultInterfaces": true
725 },
726 "rosetta": {
727 "strict": true
728 }
729 }
730 },
731 "name": "@aws-cdk/aws-lambda",
732 "readme": {
733 "markdown": "# AWS Lambda 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\nThis construct library allows you to define AWS Lambda Functions.\n\n```ts\nconst fn = new lambda.Function(this, 'MyFunction', {\n runtime: lambda.Runtime.NODEJS_16_X,\n handler: 'index.handler',\n code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),\n});\n```\n\n## Handler Code\n\nThe `lambda.Code` class includes static convenience methods for various types of\nruntime code.\n\n * `lambda.Code.fromBucket(bucket, key[, objectVersion])` - specify an S3 object\n that contains the archive of your runtime code.\n * `lambda.Code.fromInline(code)` - inline the handle code as a string. This is\n limited to supported runtimes and the code cannot exceed 4KiB.\n * `lambda.Code.fromAsset(path)` - specify a directory or a .zip file in the local\n filesystem which will be zipped and uploaded to S3 before deployment. See also\n [bundling asset code](#bundling-asset-code).\n * `lambda.Code.fromDockerBuild(path, options)` - use the result of a Docker\n build as code. The runtime code is expected to be located at `/asset` in the\n image and will be zipped and uploaded to S3 as an asset.\n\nThe following example shows how to define a Python function and deploy the code\nfrom the local directory `my-lambda-handler` to it:\n\n```ts lit=test/integ.assets.lit.ts\nnew lambda.Function(this, 'MyLambda', {\n code: lambda.Code.fromAsset(path.join(__dirname, 'my-lambda-handler')),\n handler: 'index.main',\n runtime: lambda.Runtime.PYTHON_3_9,\n});\n```\n\nWhen deploying a stack that contains this code, the directory will be zip\narchived and then uploaded to an S3 bucket, then the exact location of the S3\nobjects will be passed when the stack is deployed.\n\nDuring synthesis, the CDK expects to find a directory on disk at the asset\ndirectory specified. Note that we are referencing the asset directory relatively\nto our CDK project directory. This is especially important when we want to share\nthis construct through a library. Different programming languages will have\ndifferent techniques for bundling resources into libraries.\n\n## Docker Images\n\nLambda functions allow specifying their handlers within docker images. The docker\nimage can be an image from ECR or a local asset that the CDK will package and load\ninto ECR.\n\nThe following `DockerImageFunction` construct uses a local folder with a\nDockerfile as the asset that will be used as the function handler.\n\n```ts\nnew lambda.DockerImageFunction(this, 'AssetFunction', {\n code: lambda.DockerImageCode.fromImageAsset(path.join(__dirname, 'docker-handler')),\n});\n```\n\nYou can also specify an image that already exists in ECR as the function handler.\n\n```ts\nimport * as ecr from '@aws-cdk/aws-ecr';\nconst repo = new ecr.Repository(this, 'Repository');\n\nnew lambda.DockerImageFunction(this, 'ECRFunction', {\n code: lambda.DockerImageCode.fromEcr(repo),\n});\n```\n\nThe props for these docker image resources allow overriding the image's `CMD`, `ENTRYPOINT`, and `WORKDIR`\nconfigurations as well as choosing a specific tag or digest. See their docs for more information.\n\n## Execution Role\n\nLambda functions assume an IAM role during execution. In CDK by default, Lambda\nfunctions will use an autogenerated Role if one is not provided.\n\nThe autogenerated Role is automatically given permissions to execute the Lambda\nfunction. To reference the autogenerated Role:\n\n```ts\nconst fn = new lambda.Function(this, 'MyFunction', {\n runtime: lambda.Runtime.NODEJS_16_X,\n handler: 'index.handler',\n code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),\n});\n\nconst role = fn.role; // the Role\n```\n\nYou can also provide your own IAM role. Provided IAM roles will not automatically\nbe given permissions to execute the Lambda function. To provide a role and grant\nit appropriate permissions:\n\n```ts\nconst myRole = new iam.Role(this, 'My Role', {\n assumedBy: new iam.ServicePrincipal('sns.amazonaws.com'),\n});\n\nconst fn = new lambda.Function(this, 'MyFunction', {\n runtime: lambda.Runtime.NODEJS_16_X,\n handler: 'index.handler',\n code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),\n role: myRole, // user-provided role\n});\n\nmyRole.addManagedPolicy(iam.ManagedPolicy.fromAwsManagedPolicyName(\"service-role/AWSLambdaBasicExecutionRole\"));\nmyRole.addManagedPolicy(iam.ManagedPolicy.fromAwsManagedPolicyName(\"service-role/AWSLambdaVPCAccessExecutionRole\")); // only required if your function lives in a VPC\n```\n\n## Function Timeout\n\nAWS Lambda functions have a default timeout of 3 seconds, but this can be increased\nup to 15 minutes. The timeout is available as a property of `Function` so that\nyou can reference it elsewhere in your stack. For instance, you could use it to create\na CloudWatch alarm to report when your function timed out:\n\n```ts\nimport * as cdk from '@aws-cdk/core';\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\n\nconst fn = new lambda.Function(this, 'MyFunction', {\n runtime: lambda.Runtime.NODEJS_16_X,\n handler: 'index.handler',\n code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),\n timeout: cdk.Duration.minutes(5),\n});\n\nif (fn.timeout) {\n new cloudwatch.Alarm(this, `MyAlarm`, {\n metric: fn.metricDuration().with({\n statistic: 'Maximum',\n }),\n evaluationPeriods: 1,\n datapointsToAlarm: 1,\n threshold: fn.timeout.toMilliseconds(),\n treatMissingData: cloudwatch.TreatMissingData.IGNORE,\n alarmName: 'My Lambda Timeout',\n });\n}\n```\n\n## Resource-based Policies\n\nAWS Lambda supports resource-based policies for controlling access to Lambda\nfunctions and layers on a per-resource basis. In particular, this allows you to\ngive permission to AWS services and other AWS accounts to modify and invoke your\nfunctions. You can also restrict permissions given to AWS services by providing\na source account or ARN (representing the account and identifier of the resource\nthat accesses the function or layer).\n\n```ts\ndeclare const fn: lambda.Function;\nconst principal = new iam.ServicePrincipal('my-service');\n\nfn.grantInvoke(principal);\n\n// Equivalent to:\nfn.addPermission('my-service Invocation', {\n principal: principal,\n});\n```\n\nFor more information, see [Resource-based\npolicies](https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html)\nin the AWS Lambda Developer Guide.\n\nProviding an unowned principal (such as account principals, generic ARN\nprincipals, service principals, and principals in other accounts) to a call to\n`fn.grantInvoke` will result in a resource-based policy being created. If the\nprincipal in question has conditions limiting the source account or ARN of the\noperation (see above), these conditions will be automatically added to the\nresource policy.\n\n```ts\ndeclare const fn: lambda.Function;\nconst servicePrincipal = new iam.ServicePrincipal('my-service');\nconst sourceArn = 'arn:aws:s3:::my-bucket';\nconst sourceAccount = '111122223333';\nconst servicePrincipalWithConditions = servicePrincipal.withConditions({\n ArnLike: {\n 'aws:SourceArn': sourceArn,\n },\n StringEquals: {\n 'aws:SourceAccount': sourceAccount,\n },\n});\n\nfn.grantInvoke(servicePrincipalWithConditions);\n\n// Equivalent to:\nfn.addPermission('my-service Invocation', {\n principal: servicePrincipal,\n sourceArn: sourceArn,\n sourceAccount: sourceAccount,\n});\n```\n\n## Versions\n\nYou can use\n[versions](https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html)\nto manage the deployment of your AWS Lambda functions. For example, you can\npublish a new version of a function for beta testing without affecting users of\nthe stable production version.\n\nThe function version includes the following information:\n\n* The function code and all associated dependencies.\n* The Lambda runtime that executes the function.\n* All of the function settings, including the environment variables.\n* A unique Amazon Resource Name (ARN) to identify this version of the function.\n\nYou could create a version to your lambda function using the `Version` construct.\n\n```ts\ndeclare const fn: lambda.Function;\nconst version = new lambda.Version(this, 'MyVersion', {\n lambda: fn,\n});\n```\n\nThe major caveat to know here is that a function version must always point to a\nspecific 'version' of the function. When the function is modified, the version\nwill continue to point to the 'then version' of the function.\n\nOne way to ensure that the `lambda.Version` always points to the latest version\nof your `lambda.Function` is to set an environment variable which changes at\nleast as often as your code does. This makes sure the function always has the\nlatest code. For instance -\n\n```ts\nconst codeVersion = \"stringOrMethodToGetCodeVersion\";\nconst fn = new lambda.Function(this, 'MyFunction', {\n runtime: lambda.Runtime.NODEJS_16_X,\n handler: 'index.handler',\n code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),\n environment: {\n 'CodeVersionString': codeVersion,\n },\n});\n```\n\nThe `fn.latestVersion` property returns a `lambda.IVersion` which represents\nthe `$LATEST` pseudo-version.\n\nHowever, most AWS services require a specific AWS Lambda version,\nand won't allow you to use `$LATEST`. Therefore, you would normally want\nto use `lambda.currentVersion`.\n\nThe `fn.currentVersion` property can be used to obtain a `lambda.Version`\nresource that represents the AWS Lambda function defined in your application.\nAny change to your function's code or configuration will result in the creation\nof a new version resource. You can specify options for this version through the\n`currentVersionOptions` property.\n\nNOTE: The `currentVersion` property is only supported when your AWS Lambda function\nuses either `lambda.Code.fromAsset` or `lambda.Code.fromInline`. Other types\nof code providers (such as `lambda.Code.fromBucket`) require that you define a\n`lambda.Version` resource directly since the CDK is unable to determine if\ntheir contents had changed.\n\n### `currentVersion`: Updated hashing logic\n\nTo produce a new lambda version each time the lambda function is modified, the\n`currentVersion` property under the hood, computes a new logical id based on the\nproperties of the function. This informs CloudFormation that a new\n`AWS::Lambda::Version` resource should be created pointing to the updated Lambda\nfunction.\n\nHowever, a bug was introduced in this calculation that caused the logical id to\nchange when it was not required (ex: when the Function's `Tags` property, or\nwhen the `DependsOn` clause was modified). This caused the deployment to fail\nsince the Lambda service does not allow creating duplicate versions.\n\nThis has been fixed in the AWS CDK but *existing* users need to opt-in via a\n[feature flag]. Users who have run `cdk init` since this fix will be opted in,\nby default.\n\nOtherwise, you will need to enable the [feature flag]\n`@aws-cdk/aws-lambda:recognizeVersionProps`. Since CloudFormation does not\nallow duplicate versions, you will also need to make some modification to\nyour function so that a new version can be created. To efficiently and trivially\nmodify all your lambda functions at once, you can attach the\n`FunctionVersionUpgrade` aspect to the stack, which slightly alters the\nfunction description. This aspect is intended for one-time use to upgrade the\nversion of all your functions at the same time, and can safely be removed after\ndeploying once.\n\n```ts\nconst stack = new Stack();\nAspects.of(stack).add(new lambda.FunctionVersionUpgrade(LAMBDA_RECOGNIZE_VERSION_PROPS));\n```\n\nWhen the new logic is in effect, you may rarely come across the following error:\n`The following properties are not recognized as version properties`. This will\noccur, typically when [property overrides] are used, when a new property\nintroduced in `AWS::Lambda::Function` is used that CDK is still unaware of.\n\nTo overcome this error, use the API `Function.classifyVersionProperty()` to\nrecord whether a new version should be generated when this property is changed.\nThis can be typically determined by checking whether the property can be\nmodified using the *[UpdateFunctionConfiguration]* API or not.\n\n### `currentVersion`: Updated hashing logic for layer versions\n\nAn additional update to the hashing logic fixes two issues surrounding layers.\nPrior to this change, updating the lambda layer version would have no effect on\nthe function version. Also, the order of lambda layers provided to the function\nwas unnecessarily baked into the hash.\n\nThis has been fixed in the AWS CDK starting with version 2.27. If you ran\n`cdk init` with an earlier version, you will need to opt-in via a [feature flag].\nIf you run `cdk init` with v2.27 or later, this fix will be opted in, by default.\n\nExisting users will need to enable the [feature flag]\n`@aws-cdk/aws-lambda:recognizeLayerVersion`. Since CloudFormation does not\nallow duplicate versions, they will also need to make some modification to\ntheir function so that a new version can be created. To efficiently and trivially\nmodify all your lambda functions at once, users can attach the\n`FunctionVersionUpgrade` aspect to the stack, which slightly alters the\nfunction description. This aspect is intended for one-time use to upgrade the\nversion of all your functions at the same time, and can safely be removed after\ndeploying once.\n\n```ts\nconst stack = new Stack();\nAspects.of(stack).add(new lambda.FunctionVersionUpgrade(LAMBDA_RECOGNIZE_LAYER_VERSION));\n```\n\n[feature flag]: https://docs.aws.amazon.com/cdk/latest/guide/featureflags.html\n[property overrides]: https://docs.aws.amazon.com/cdk/latest/guide/cfn_layer.html#cfn_layer_raw\n[UpdateFunctionConfiguration]: https://docs.aws.amazon.com/lambda/latest/dg/API_UpdateFunctionConfiguration.html\n\n## Aliases\n\nYou can define one or more\n[aliases](https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html)\nfor your AWS Lambda function. A Lambda alias is like a pointer to a specific\nLambda function version. Users can access the function version using the alias\nARN.\n\nThe `version.addAlias()` method can be used to define an AWS Lambda alias that\npoints to a specific version.\n\nThe following example defines an alias named `live` which will always point to a\nversion that represents the function as defined in your CDK app. When you change\nyour lambda code or configuration, a new resource will be created. You can\nspecify options for the current version through the `currentVersionOptions`\nproperty.\n\n```ts\nconst fn = new lambda.Function(this, 'MyFunction', {\n currentVersionOptions: {\n removalPolicy: RemovalPolicy.RETAIN, // retain old versions\n retryAttempts: 1, // async retry attempts\n },\n runtime: lambda.Runtime.NODEJS_16_X,\n handler: 'index.handler',\n code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),\n});\n\nfn.addAlias('live');\n```\n\n## Function URL\n\nA function URL is a dedicated HTTP(S) endpoint for your Lambda function. When you create a function URL, Lambda automatically generates a unique URL endpoint for you. Function URLs can be created for the latest version Lambda Functions, or Function Aliases (but not for Versions).\n\nFunction URLs are dual stack-enabled, supporting IPv4 and IPv6, and cross-origin resource sharing (CORS) configuration. After you configure a function URL for your function, you can invoke your function through its HTTP(S) endpoint via a web browser, curl, Postman, or any HTTP client. To invoke a function using IAM authentication your HTTP client must support SigV4 signing.\n\nSee the [Invoking Function URLs](https://docs.aws.amazon.com/lambda/latest/dg/urls-invocation.html) section of the AWS Lambda Developer Guide\nfor more information on the input and output payloads of Functions invoked in this way.\n\n### IAM-authenticated Function URLs\n\nTo create a Function URL which can be called by an IAM identity, call `addFunctionUrl()`, followed by `grantInvokeFunctionUrl()`:\n\n```ts\n// Can be a Function or an Alias\ndeclare const fn: lambda.Function;\ndeclare const myRole: iam.Role;\n\nconst fnUrl = fn.addFunctionUrl();\nfnUrl.grantInvokeUrl(myRole);\n\nnew CfnOutput(this, 'TheUrl', {\n // The .url attributes will return the unique Function URL\n value: fnUrl.url,\n});\n```\n\nCalls to this URL need to be signed with SigV4.\n\n### Anonymous Function URLs\n\nTo create a Function URL which can be called anonymously, pass `authType: FunctionUrlAuthType.NONE` to `addFunctionUrl()`:\n\n```ts\n// Can be a Function or an Alias\ndeclare const fn: lambda.Function;\n\nconst fnUrl = fn.addFunctionUrl({\n authType: lambda.FunctionUrlAuthType.NONE,\n});\n\nnew CfnOutput(this, 'TheUrl', {\n value: fnUrl.url,\n});\n```\n\n### CORS configuration for Function URLs\n\nIf you want your Function URLs to be invokable from a web page in browser, you\nwill need to configure cross-origin resource sharing to allow the call (if you do\nnot do this, your browser will refuse to make the call):\n\n```ts\ndeclare const fn: lambda.Function;\n\nfn.addFunctionUrl({\n authType: lambda.FunctionUrlAuthType.NONE,\n cors: {\n // Allow this to be called from websites on https://example.com.\n // Can also be ['*'] to allow all domain.\n allowedOrigins: ['https://example.com'],\n\n // More options are possible here, see the documentation for FunctionUrlCorsOptions\n },\n});\n```\n\n## Layers\n\nThe `lambda.LayerVersion` class can be used to define Lambda layers and manage\ngranting permissions to other AWS accounts or organizations.\n\n```ts lit=test/integ.layer-version.lit.ts\nconst layer = new lambda.LayerVersion(stack, 'MyLayer', {\n code: lambda.Code.fromAsset(path.join(__dirname, 'layer-code')),\n compatibleRuntimes: [lambda.Runtime.NODEJS_14_X],\n license: 'Apache-2.0',\n description: 'A layer to test the L2 construct',\n});\n\n// To grant usage by other AWS accounts\nlayer.addPermission('remote-account-grant', { accountId: awsAccountId });\n\n// To grant usage to all accounts in some AWS Ogranization\n// layer.grantUsage({ accountId: '*', organizationId });\n\nnew lambda.Function(stack, 'MyLayeredLambda', {\n code: new lambda.InlineCode('foo'),\n handler: 'index.handler',\n runtime: lambda.Runtime.NODEJS_14_X,\n layers: [layer],\n});\n```\n\nBy default, updating a layer creates a new layer version, and CloudFormation will delete the old version as part of the stack update.\n\nAlternatively, a removal policy can be used to retain the old version:\n\n```ts\nnew lambda.LayerVersion(this, 'MyLayer', {\n removalPolicy: RemovalPolicy.RETAIN,\n code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),\n});\n```\n\n## Architecture\n\nLambda functions, by default, run on compute systems that have the 64 bit x86 architecture.\n\nThe AWS Lambda service also runs compute on the ARM architecture, which can reduce cost\nfor some workloads.\n\nA lambda function can be configured to be run on one of these platforms:\n\n```ts\nnew lambda.Function(this, 'MyFunction', {\n runtime: lambda.Runtime.NODEJS_16_X,\n handler: 'index.handler',\n code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),\n architecture: lambda.Architecture.ARM_64,\n});\n```\n\nSimilarly, lambda layer versions can also be tagged with architectures it is compatible with.\n\n```ts\nnew lambda.LayerVersion(this, 'MyLayer', {\n removalPolicy: RemovalPolicy.RETAIN,\n code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),\n compatibleArchitectures: [lambda.Architecture.X86_64, lambda.Architecture.ARM_64],\n});\n```\n\n## Lambda Insights\n\nLambda functions can be configured to use CloudWatch [Lambda Insights](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Lambda-Insights.html)\nwhich provides low-level runtime metrics for a Lambda functions.\n\n```ts\nnew lambda.Function(this, 'MyFunction', {\n runtime: lambda.Runtime.NODEJS_16_X,\n handler: 'index.handler',\n code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),\n insightsVersion: lambda.LambdaInsightsVersion.VERSION_1_0_98_0,\n});\n```\n\nIf the version of insights is not yet available in the CDK, you can also provide the ARN directly as so -\n\n```ts\nconst layerArn = 'arn:aws:lambda:us-east-1:580247275435:layer:LambdaInsightsExtension:14';\nnew lambda.Function(this, 'MyFunction', {\n runtime: lambda.Runtime.NODEJS_16_X,\n handler: 'index.handler',\n code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),\n insightsVersion: lambda.LambdaInsightsVersion.fromInsightVersionArn(layerArn),\n});\n```\n\nIf you are deploying an ARM_64 Lambda Function, you must specify a\nLambda Insights Version >= `1_0_119_0`.\n\n```ts\nnew lambda.Function(this, 'MyFunction', {\n runtime: lambda.Runtime.NODEJS_16_X,\n handler: 'index.handler',\n architecture: lambda.Architecture.ARM_64,\n code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),\n insightsVersion: lambda.LambdaInsightsVersion.VERSION_1_0_119_0,\n});\n```\n\n## Event Rule Target\n\nYou can use an AWS Lambda function as a target for an Amazon CloudWatch event\nrule:\n\n```ts\nimport * as events from '@aws-cdk/aws-events';\nimport * as targets from '@aws-cdk/aws-events-targets';\n\ndeclare const fn: lambda.Function;\nconst rule = new events.Rule(this, 'Schedule Rule', {\n schedule: events.Schedule.cron({ minute: '0', hour: '4' }),\n});\nrule.addTarget(new targets.LambdaFunction(fn));\n```\n\n## Event Sources\n\nAWS Lambda supports a [variety of event sources](https://docs.aws.amazon.com/lambda/latest/dg/invoking-lambda-function.html).\n\nIn most cases, it is possible to trigger a function as a result of an event by\nusing one of the `add<Event>Notification` methods on the source construct. For\nexample, the `s3.Bucket` construct has an `onEvent` method which can be used to\ntrigger a Lambda when an event, such as PutObject occurs on an S3 bucket.\n\nAn alternative way to add event sources to a function is to use `function.addEventSource(source)`.\nThis method accepts an `IEventSource` object. The module __@aws-cdk/aws-lambda-event-sources__\nincludes classes for the various event sources supported by AWS Lambda.\n\nFor example, the following code adds an SQS queue as an event source for a function:\n\n```ts\nimport * as eventsources from '@aws-cdk/aws-lambda-event-sources';\nimport * as sqs from '@aws-cdk/aws-sqs';\n\ndeclare const fn: lambda.Function;\nconst queue = new sqs.Queue(this, 'Queue');\nfn.addEventSource(new eventsources.SqsEventSource(queue));\n```\n\nThe following code adds an S3 bucket notification as an event source:\n\n```ts\nimport * as eventsources from '@aws-cdk/aws-lambda-event-sources';\nimport * as s3 from '@aws-cdk/aws-s3';\n\ndeclare const fn: lambda.Function;\nconst bucket = new s3.Bucket(this, 'Bucket');\nfn.addEventSource(new eventsources.S3EventSource(bucket, {\n events: [ s3.EventType.OBJECT_CREATED, s3.EventType.OBJECT_REMOVED ],\n filters: [ { prefix: 'subdir/' } ] // optional\n}));\n```\n\nSee the documentation for the __@aws-cdk/aws-lambda-event-sources__ module for more details.\n\n## Imported Lambdas\n\nWhen referencing an imported lambda in the CDK, use `fromFunctionArn()` for most use cases:\n\n```ts\nconst fn = lambda.Function.fromFunctionArn(\n this,\n 'Function',\n 'arn:aws:lambda:us-east-1:123456789012:function:MyFn',\n);\n```\n\nThe `fromFunctionAttributes()` API is available for more specific use cases:\n\n```ts\nconst fn = lambda.Function.fromFunctionAttributes(this, 'Function', {\n functionArn: 'arn:aws:lambda:us-east-1:123456789012:function:MyFn',\n // The following are optional properties for specific use cases and should be used with caution:\n\n // Use Case: imported function is in the same account as the stack. This tells the CDK that it\n // can modify the function's permissions.\n sameEnvironment: true,\n\n // Use Case: imported function is in a different account and user commits to ensuring that the\n // imported function has the correct permissions outside the CDK.\n skipPermissions: true,\n});\n```\n\nIf `fromFunctionArn()` causes an error related to having to provide an account and/or region in a different construct,\nand the lambda is in the same account and region as the stack you're importing it into,\nyou can use `Function.fromFunctionName()` instead:\n\n```ts\nconst fn = lambda.Function.fromFunctionName(this, 'Function', 'MyFn');\n```\n\n## Lambda with DLQ\n\nA dead-letter queue can be automatically created for a Lambda function by\nsetting the `deadLetterQueueEnabled: true` configuration. In such case CDK creates\na `sqs.Queue` as `deadLetterQueue`.\n\n```ts\nconst fn = new lambda.Function(this, 'MyFunction', {\n runtime: lambda.Runtime.NODEJS_16_X,\n handler: 'index.handler',\n code: lambda.Code.fromInline('exports.handler = function(event, ctx, cb) { return cb(null, \"hi\"); }'),\n deadLetterQueueEnabled: true,\n});\n```\n\nIt is also possible to provide a dead-letter queue instead of getting a new queue created:\n\n```ts\nimport * as sqs from '@aws-cdk/aws-sqs';\n\nconst dlq = new sqs.Queue(this, 'DLQ');\nconst fn = new lambda.Function(this, 'MyFunction', {\n runtime: lambda.Runtime.NODEJS_16_X,\n handler: 'index.handler',\n code: lambda.Code.fromInline('exports.handler = function(event, ctx, cb) { return cb(null, \"hi\"); }'),\n deadLetterQueue: dlq,\n});\n```\n\nYou can also use a `sns.Topic` instead of an `sqs.Queue` as dead-letter queue:\n\n```ts\nimport * as sns from '@aws-cdk/aws-sns';\n\nconst dlt = new sns.Topic(this, 'DLQ');\nconst fn = new lambda.Function(this, 'MyFunction', {\n runtime: lambda.Runtime.NODEJS_16_X,\n handler: 'index.handler',\n code: lambda.Code.fromInline('// your code here'),\n deadLetterTopic: dlt,\n});\n```\n\nSee [the AWS documentation](https://docs.aws.amazon.com/lambda/latest/dg/dlq.html)\nto learn more about AWS Lambdas and DLQs.\n\n## Lambda with X-Ray Tracing\n\n```ts\nconst fn = new lambda.Function(this, 'MyFunction', {\n runtime: lambda.Runtime.NODEJS_16_X,\n handler: 'index.handler',\n code: lambda.Code.fromInline('exports.handler = function(event, ctx, cb) { return cb(null, \"hi\"); }'),\n tracing: lambda.Tracing.ACTIVE,\n});\n```\n\nSee [the AWS documentation](https://docs.aws.amazon.com/lambda/latest/dg/lambda-x-ray.html)\nto learn more about AWS Lambda's X-Ray support.\n\n## Lambda with Profiling\n\nThe following code configures the lambda function with CodeGuru profiling. By default, this creates a new CodeGuru\nprofiling group -\n\n```ts\nconst fn = new lambda.Function(this, 'MyFunction', {\n runtime: lambda.Runtime.PYTHON_3_9,\n handler: 'index.handler',\n code: lambda.Code.fromAsset('lambda-handler'),\n profiling: true,\n});\n```\n\nThe `profilingGroup` property can be used to configure an existing CodeGuru profiler group.\n\nCodeGuru profiling is supported for all Java runtimes and Python3.6+ runtimes.\n\nSee [the AWS documentation](https://docs.aws.amazon.com/codeguru/latest/profiler-ug/setting-up-lambda.html)\nto learn more about AWS Lambda's Profiling support.\n\n## Lambda with Reserved Concurrent Executions\n\n```ts\nconst fn = new lambda.Function(this, 'MyFunction', {\n runtime: lambda.Runtime.NODEJS_16_X,\n handler: 'index.handler',\n code: lambda.Code.fromInline('exports.handler = function(event, ctx, cb) { return cb(null, \"hi\"); }'),\n reservedConcurrentExecutions: 100,\n});\n```\n\nSee [the AWS documentation](https://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html)\nmanaging concurrency.\n\n## AutoScaling\n\nYou can use Application AutoScaling to automatically configure the provisioned concurrency for your functions. AutoScaling can be set to track utilization or be based on a schedule. To configure AutoScaling on a function alias:\n\n```ts\nimport * as autoscaling from '@aws-cdk/aws-autoscaling';\n\ndeclare const fn: lambda.Function;\nconst alias = fn.addAlias('prod');\n\n// Create AutoScaling target\nconst as = alias.addAutoScaling({ maxCapacity: 50 });\n\n// Configure Target Tracking\nas.scaleOnUtilization({\n utilizationTarget: 0.5,\n});\n\n// Configure Scheduled Scaling\nas.scaleOnSchedule('ScaleUpInTheMorning', {\n schedule: autoscaling.Schedule.cron({ hour: '8', minute: '0'}),\n minCapacity: 20,\n});\n```\n\n```ts lit=test/integ.autoscaling.lit.ts\nimport * as appscaling from '@aws-cdk/aws-applicationautoscaling';\nimport * as cdk from '@aws-cdk/core';\nimport { LAMBDA_RECOGNIZE_LAYER_VERSION } from '@aws-cdk/cx-api';\nimport * as lambda from '../lib';\n\n/**\n* Stack verification steps:\n* aws application-autoscaling describe-scalable-targets --service-namespace lambda --resource-ids function:<function name>:prod\n* has a minCapacity of 3 and maxCapacity of 50\n*/\nclass TestStack extends cdk.Stack {\n constructor(scope: cdk.App, id: string) {\n super(scope, id);\n\n const fn = new lambda.Function(this, 'MyLambda', {\n code: new lambda.InlineCode('exports.handler = async () => { console.log(\\'hello world\\'); };'),\n handler: 'index.handler',\n runtime: lambda.Runtime.NODEJS_14_X,\n });\n\n const version = fn.currentVersion;\n\n const alias = new lambda.Alias(this, 'Alias', {\n aliasName: 'prod',\n version,\n });\n\n const scalingTarget = alias.addAutoScaling({ minCapacity: 3, maxCapacity: 50 });\n\n scalingTarget.scaleOnUtilization({\n utilizationTarget: 0.5,\n });\n\n scalingTarget.scaleOnSchedule('ScaleUpInTheMorning', {\n schedule: appscaling.Schedule.cron({ hour: '8', minute: '0' }),\n minCapacity: 20,\n });\n\n scalingTarget.scaleOnSchedule('ScaleDownAtNight', {\n schedule: appscaling.Schedule.cron({ hour: '20', minute: '0' }),\n maxCapacity: 20,\n });\n\n new cdk.CfnOutput(this, 'FunctionName', {\n value: fn.functionName,\n });\n }\n}\n\nconst app = new cdk.App();\n\nconst stack = new TestStack(app, 'aws-lambda-autoscaling');\n\n// Changes the function description when the feature flag is present\n// to validate the changed function hash.\ncdk.Aspects.of(stack).add(new lambda.FunctionVersionUpgrade(LAMBDA_RECOGNIZE_LAYER_VERSION));\n\napp.synth();\n\n```\n\nSee [the AWS documentation](https://docs.aws.amazon.com/lambda/latest/dg/invocation-scaling.html) on autoscaling lambda functions.\n\n## Log Group\n\nLambda functions automatically create a log group with the name `/aws/lambda/<function-name>` upon first execution with\nlog data set to never expire.\n\nThe `logRetention` property can be used to set a different expiration period.\n\nIt is possible to obtain the function's log group as a `logs.ILogGroup` by calling the `logGroup` property of the\n`Function` construct.\n\nBy default, CDK uses the AWS SDK retry options when creating a log group. The `logRetentionRetryOptions` property\nallows you to customize the maximum number of retries and base backoff duration.\n\n*Note* that, if either `logRetention` is set or `logGroup` property is called, a [CloudFormation custom\nresource](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cfn-customresource.html) is added\nto the stack that pre-creates the log group as part of the stack deployment, if it already doesn't exist, and sets the\ncorrect log retention period (never expire, by default).\n\n*Further note* that, if the log group already exists and the `logRetention` is not set, the custom resource will reset\nthe log retention to never expire even if it was configured with a different value.\n\n## FileSystem Access\n\nYou can configure a function to mount an Amazon Elastic File System (Amazon EFS) to a\ndirectory in your runtime environment with the `filesystem` property. To access Amazon EFS\nfrom lambda function, the Amazon EFS access point will be required.\n\nThe following sample allows the lambda function to mount the Amazon EFS access point to `/mnt/msg` in the runtime environment and access the filesystem with the POSIX identity defined in `posixUser`.\n\n```ts\nimport * as ec2 from '@aws-cdk/aws-ec2';\nimport * as efs from '@aws-cdk/aws-efs';\n\n// create a new VPC\nconst vpc = new ec2.Vpc(this, 'VPC');\n\n// create a new Amazon EFS filesystem\nconst fileSystem = new efs.FileSystem(this, 'Efs', { vpc });\n\n// create a new access point from the filesystem\nconst accessPoint = fileSystem.addAccessPoint('AccessPoint', {\n // set /export/lambda as the root of the access point\n path: '/export/lambda',\n // as /export/lambda does not exist in a new efs filesystem, the efs will create the directory with the following createAcl\n createAcl: {\n ownerUid: '1001',\n ownerGid: '1001',\n permissions: '750',\n },\n // enforce the POSIX identity so lambda function will access with this identity\n posixUser: {\n uid: '1001',\n gid: '1001',\n },\n});\n\nconst fn = new lambda.Function(this, 'MyLambda', {\n // mount the access point to /mnt/msg in the lambda runtime environment\n filesystem: lambda.FileSystem.fromEfsAccessPoint(accessPoint, '/mnt/msg'),\n runtime: lambda.Runtime.NODEJS_16_X,\n handler: 'index.handler',\n code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),\n vpc,\n});\n```\n\n## Ephemeral Storage\n\nYou can configure ephemeral storage on a function to control the amount of storage it gets for reading\nor writing data, allowing you to use AWS Lambda for ETL jobs, ML inference, or other data-intensive workloads.\nThe ephemeral storage will be accessible in the functions' `/tmp` directory.\n\n```ts\nimport { Size } from '@aws-cdk/core';\n\nconst fn = new lambda.Function(this, 'MyFunction', {\n runtime: lambda.Runtime.NODEJS_16_X,\n handler: 'index.handler',\n code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),\n ephemeralStorageSize: Size.mebibytes(1024),\n});\n```\n\nRead more about using this feature in [this AWS blog post](https://aws.amazon.com/blogs/aws/aws-lambda-now-supports-up-to-10-gb-ephemeral-storage/).\n\n## Singleton Function\n\nThe `SingletonFunction` construct is a way to guarantee that a lambda function will be guaranteed to be part of the stack,\nonce and only once, irrespective of how many times the construct is declared to be part of the stack. This is guaranteed\nas long as the `uuid` property and the optional `lambdaPurpose` property stay the same whenever they're declared into the\nstack.\n\nA typical use case of this function is when a higher level construct needs to declare a Lambda function as part of it but\nneeds to guarantee that the function is declared once. However, a user of this higher level construct can declare it any\nnumber of times and with different properties. Using `SingletonFunction` here with a fixed `uuid` will guarantee this.\n\nFor example, the `LogRetention` construct requires only one single lambda function for all different log groups whose\nretention it seeks to manage.\n\n## Bundling Asset Code\n\nWhen using `lambda.Code.fromAsset(path)` it is possible to bundle the code by running a\ncommand in a Docker container. The asset path will be mounted at `/asset-input`. The\nDocker container is responsible for putting content at `/asset-output`. The content at\n`/asset-output` will be zipped and used as Lambda code.\n\nExample with Python:\n\n```ts\nnew lambda.Function(this, 'Function', {\n code: lambda.Code.fromAsset(path.join(__dirname, 'my-python-handler'), {\n bundling: {\n image: lambda.Runtime.PYTHON_3_9.bundlingImage,\n command: [\n 'bash', '-c',\n 'pip install -r requirements.txt -t /asset-output && cp -au . /asset-output'\n ],\n },\n }),\n runtime: lambda.Runtime.PYTHON_3_9,\n handler: 'index.handler',\n});\n```\n\nRuntimes expose a `bundlingImage` property that points to the [AWS SAM](https://github.com/awslabs/aws-sam-cli) build image.\n\nUse `cdk.DockerImage.fromRegistry(image)` to use an existing image or\n`cdk.DockerImage.fromBuild(path)` to build a specific image:\n\n```ts\nnew lambda.Function(this, 'Function', {\n code: lambda.Code.fromAsset('/path/to/handler', {\n bundling: {\n image: DockerImage.fromBuild('/path/to/dir/with/DockerFile', {\n buildArgs: {\n ARG1: 'value1',\n },\n }),\n command: ['my', 'cool', 'command'],\n },\n }),\n runtime: lambda.Runtime.PYTHON_3_9,\n handler: 'index.handler',\n});\n```\n\n## Language-specific APIs\n\nLanguage-specific higher level constructs are provided in separate modules:\n\n* `@aws-cdk/aws-lambda-nodejs`: [Github](https://github.com/aws/aws-cdk/tree/master/packages/%40aws-cdk/aws-lambda-nodejs) & [CDK Docs](https://docs.aws.amazon.com/cdk/api/latest/docs/aws-lambda-nodejs-readme.html)\n* `@aws-cdk/aws-lambda-python`: [Github](https://github.com/aws/aws-cdk/tree/master/packages/%40aws-cdk/aws-lambda-python) & [CDK Docs](https://docs.aws.amazon.com/cdk/api/latest/docs/aws-lambda-python-readme.html)\n\n## Code Signing\n\nCode signing for AWS Lambda helps to ensure that only trusted code runs in your Lambda functions.\nWhen enabled, AWS Lambda checks every code deployment and verifies that the code package is signed by a trusted source.\nFor more information, see [Configuring code signing for AWS Lambda](https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html).\nThe following code configures a function with code signing.\n\n```ts\nimport * as signer from '@aws-cdk/aws-signer';\n\nconst signingProfile = new signer.SigningProfile(this, 'SigningProfile', {\n platform: signer.Platform.AWS_LAMBDA_SHA384_ECDSA,\n});\n\nconst codeSigningConfig = new lambda.CodeSigningConfig(this, 'CodeSigningConfig', {\n signingProfiles: [signingProfile],\n});\n\nnew lambda.Function(this, 'Function', {\n codeSigningConfig,\n runtime: lambda.Runtime.NODEJS_16_X,\n handler: 'index.handler',\n code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),\n});\n```\n"
734 },
735 "repository": {
736 "directory": "packages/@aws-cdk/aws-lambda",
737 "type": "git",
738 "url": "https://github.com/aws/aws-cdk.git"
739 },
740 "schema": "jsii/0.10.0",
741 "targets": {
742 "dotnet": {
743 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
744 "namespace": "Amazon.CDK.AWS.Lambda",
745 "packageId": "Amazon.CDK.AWS.Lambda"
746 },
747 "java": {
748 "maven": {
749 "artifactId": "lambda",
750 "groupId": "software.amazon.awscdk"
751 },
752 "package": "software.amazon.awscdk.services.lambda"
753 },
754 "js": {
755 "npm": "@aws-cdk/aws-lambda"
756 },
757 "python": {
758 "classifiers": [
759 "Framework :: AWS CDK",
760 "Framework :: AWS CDK :: 1"
761 ],
762 "distName": "aws-cdk.aws-lambda",
763 "module": "aws_cdk.aws_lambda"
764 }
765 },
766 "types": {
767 "@aws-cdk/aws-lambda.Alias": {
768 "assembly": "@aws-cdk/aws-lambda",
769 "base": "@aws-cdk/aws-lambda.QualifiedFunctionBase",
770 "docs": {
771 "stability": "stable",
772 "summary": "A new alias to a particular version of a Lambda function.",
773 "example": "const lambdaCode = lambda.Code.fromCfnParameters();\nconst func = new lambda.Function(this, 'Lambda', {\n code: lambdaCode,\n handler: 'index.handler',\n runtime: lambda.Runtime.NODEJS_12_X,\n});\n// used to make sure each CDK synthesis produces a different Version\nconst version = func.currentVersion;\nconst alias = new lambda.Alias(this, 'LambdaAlias', {\n aliasName: 'Prod',\n version,\n});\n\nnew codedeploy.LambdaDeploymentGroup(this, 'DeploymentGroup', {\n alias,\n deploymentConfig: codedeploy.LambdaDeploymentConfig.LINEAR_10PERCENT_EVERY_1MINUTE,\n});",
774 "custom": {
775 "exampleMetadata": "infused"
776 }
777 },
778 "fqn": "@aws-cdk/aws-lambda.Alias",
779 "initializer": {
780 "docs": {
781 "stability": "stable"
782 },
783 "locationInModule": {
784 "filename": "lib/alias.ts",
785 "line": 144
786 },
787 "parameters": [
788 {
789 "name": "scope",
790 "type": {
791 "fqn": "constructs.Construct"
792 }
793 },
794 {
795 "name": "id",
796 "type": {
797 "primitive": "string"
798 }
799 },
800 {
801 "name": "props",
802 "type": {
803 "fqn": "@aws-cdk/aws-lambda.AliasProps"
804 }
805 }
806 ]
807 },
808 "interfaces": [
809 "@aws-cdk/aws-lambda.IAlias"
810 ],
811 "kind": "class",
812 "locationInModule": {
813 "filename": "lib/alias.ts",
814 "line": 91
815 },
816 "methods": [
817 {
818 "docs": {
819 "stability": "stable"
820 },
821 "locationInModule": {
822 "filename": "lib/alias.ts",
823 "line": 92
824 },
825 "name": "fromAliasAttributes",
826 "parameters": [
827 {
828 "name": "scope",
829 "type": {
830 "fqn": "constructs.Construct"
831 }
832 },
833 {
834 "name": "id",
835 "type": {
836 "primitive": "string"
837 }
838 },
839 {
840 "name": "attrs",
841 "type": {
842 "fqn": "@aws-cdk/aws-lambda.AliasAttributes"
843 }
844 }
845 ],
846 "returns": {
847 "type": {
848 "fqn": "@aws-cdk/aws-lambda.IAlias"
849 }
850 },
851 "static": true
852 },
853 {
854 "docs": {
855 "remarks": "Returns a scalable attribute that can call\n`scaleOnUtilization()` and `scaleOnSchedule()`.",
856 "stability": "stable",
857 "summary": "Configure provisioned concurrency autoscaling on a function alias."
858 },
859 "locationInModule": {
860 "filename": "lib/alias.ts",
861 "line": 224
862 },
863 "name": "addAutoScaling",
864 "parameters": [
865 {
866 "docs": {
867 "summary": "Autoscaling options."
868 },
869 "name": "options",
870 "type": {
871 "fqn": "@aws-cdk/aws-lambda.AutoScalingOptions"
872 }
873 }
874 ],
875 "returns": {
876 "type": {
877 "fqn": "@aws-cdk/aws-lambda.IScalableFunctionAttribute"
878 }
879 }
880 },
881 {
882 "docs": {
883 "stability": "stable",
884 "summary": "Return the given named metric for this Function."
885 },
886 "locationInModule": {
887 "filename": "lib/alias.ts",
888 "line": 204
889 },
890 "name": "metric",
891 "overrides": "@aws-cdk/aws-lambda.FunctionBase",
892 "parameters": [
893 {
894 "name": "metricName",
895 "type": {
896 "primitive": "string"
897 }
898 },
899 {
900 "name": "props",
901 "optional": true,
902 "type": {
903 "fqn": "@aws-cdk/aws-cloudwatch.MetricOptions"
904 }
905 }
906 ],
907 "returns": {
908 "type": {
909 "fqn": "@aws-cdk/aws-cloudwatch.Metric"
910 }
911 }
912 }
913 ],
914 "name": "Alias",
915 "properties": [
916 {
917 "docs": {
918 "custom": {
919 "attribute": "true"
920 },
921 "stability": "stable",
922 "summary": "Name of this alias."
923 },
924 "immutable": true,
925 "locationInModule": {
926 "filename": "lib/alias.ts",
927 "line": 114
928 },
929 "name": "aliasName",
930 "overrides": "@aws-cdk/aws-lambda.IAlias",
931 "type": {
932 "primitive": "string"
933 }
934 },
935 {
936 "docs": {
937 "stability": "stable",
938 "summary": "The architecture of this Lambda Function."
939 },
940 "immutable": true,
941 "locationInModule": {
942 "filename": "lib/alias.ts",
943 "line": 125
944 },
945 "name": "architecture",
946 "overrides": "@aws-cdk/aws-lambda.FunctionBase",
947 "type": {
948 "fqn": "@aws-cdk/aws-lambda.Architecture"
949 }
950 },
951 {
952 "docs": {
953 "remarks": "True for new Lambdas, false for version $LATEST and imported Lambdas\nfrom different accounts.",
954 "stability": "stable",
955 "summary": "Whether the addPermission() call adds any permissions."
956 },
957 "immutable": true,
958 "locationInModule": {
959 "filename": "lib/alias.ts",
960 "line": 139
961 },
962 "name": "canCreatePermissions",
963 "overrides": "@aws-cdk/aws-lambda.FunctionBase",
964 "protected": true,
965 "type": {
966 "primitive": "boolean"
967 }
968 },
969 {
970 "docs": {
971 "remarks": "Used to be able to use Alias in place of a regular Lambda. Lambda accepts\nARNs everywhere it accepts function names.",
972 "stability": "stable",
973 "summary": "ARN of this alias."
974 },
975 "immutable": true,
976 "locationInModule": {
977 "filename": "lib/alias.ts",
978 "line": 135
979 },
980 "name": "functionArn",
981 "overrides": "@aws-cdk/aws-lambda.FunctionBase",
982 "type": {
983 "primitive": "string"
984 }
985 },
986 {
987 "docs": {
988 "remarks": "Used to be able to use Alias in place of a regular Lambda. Lambda accepts\nARNs everywhere it accepts function names.",
989 "stability": "stable",
990 "summary": "ARN of this alias."
991 },
992 "immutable": true,
993 "locationInModule": {
994 "filename": "lib/alias.ts",
995 "line": 121
996 },
997 "name": "functionName",
998 "overrides": "@aws-cdk/aws-lambda.FunctionBase",
999 "type": {
1000 "primitive": "string"
1001 }
1002 },
1003 {
1004 "docs": {
1005 "stability": "stable",
1006 "summary": "The principal this Lambda Function is running as."
1007 },
1008 "immutable": true,
1009 "locationInModule": {
1010 "filename": "lib/alias.ts",
1011 "line": 196
1012 },
1013 "name": "grantPrincipal",
1014 "overrides": "@aws-cdk/aws-lambda.FunctionBase",
1015 "type": {
1016 "fqn": "@aws-cdk/aws-iam.IPrincipal"
1017 }
1018 },
1019 {
1020 "docs": {
1021 "stability": "stable"
1022 },
1023 "immutable": true,
1024 "locationInModule": {
1025 "filename": "lib/alias.ts",
1026 "line": 123
1027 },
1028 "name": "lambda",
1029 "overrides": "@aws-cdk/aws-lambda.QualifiedFunctionBase",
1030 "type": {
1031 "fqn": "@aws-cdk/aws-lambda.IFunction"
1032 }
1033 },
1034 {
1035 "docs": {
1036 "remarks": "A qualifier is the identifier that's appended to a version or alias ARN.",
1037 "stability": "stable",
1038 "summary": "The qualifier of the version or alias of this function."
1039 },
1040 "immutable": true,
1041 "locationInModule": {
1042 "filename": "lib/alias.ts",
1043 "line": 137
1044 },
1045 "name": "qualifier",
1046 "overrides": "@aws-cdk/aws-lambda.QualifiedFunctionBase",
1047 "protected": true,
1048 "type": {
1049 "primitive": "string"
1050 }
1051 },
1052 {
1053 "docs": {
1054 "stability": "stable",
1055 "summary": "The underlying Lambda function version."
1056 },
1057 "immutable": true,
1058 "locationInModule": {
1059 "filename": "lib/alias.ts",
1060 "line": 127
1061 },
1062 "name": "version",
1063 "overrides": "@aws-cdk/aws-lambda.IAlias",
1064 "type": {
1065 "fqn": "@aws-cdk/aws-lambda.IVersion"
1066 }
1067 },
1068 {
1069 "docs": {
1070 "remarks": "Undefined if the function was imported without a role.",
1071 "stability": "stable",
1072 "summary": "The IAM role associated with this function."
1073 },
1074 "immutable": true,
1075 "locationInModule": {
1076 "filename": "lib/alias.ts",
1077 "line": 200
1078 },
1079 "name": "role",
1080 "optional": true,
1081 "overrides": "@aws-cdk/aws-lambda.FunctionBase",
1082 "type": {
1083 "fqn": "@aws-cdk/aws-iam.IRole"
1084 }
1085 }
1086 ],
1087 "symbolId": "lib/alias:Alias"
1088 },
1089 "@aws-cdk/aws-lambda.AliasAttributes": {
1090 "assembly": "@aws-cdk/aws-lambda",
1091 "datatype": true,
1092 "docs": {
1093 "stability": "stable",
1094 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\n\ndeclare const version: lambda.Version;\nconst aliasAttributes: lambda.AliasAttributes = {\n aliasName: 'aliasName',\n aliasVersion: version,\n};",
1095 "custom": {
1096 "exampleMetadata": "fixture=_generated"
1097 }
1098 },
1099 "fqn": "@aws-cdk/aws-lambda.AliasAttributes",
1100 "kind": "interface",
1101 "locationInModule": {
1102 "filename": "lib/alias.ts",
1103 "line": 83
1104 },
1105 "name": "AliasAttributes",
1106 "properties": [
1107 {
1108 "abstract": true,
1109 "docs": {
1110 "stability": "stable"
1111 },
1112 "immutable": true,
1113 "locationInModule": {
1114 "filename": "lib/alias.ts",
1115 "line": 84
1116 },
1117 "name": "aliasName",
1118 "type": {
1119 "primitive": "string"
1120 }
1121 },
1122 {
1123 "abstract": true,
1124 "docs": {
1125 "stability": "stable"
1126 },
1127 "immutable": true,
1128 "locationInModule": {
1129 "filename": "lib/alias.ts",
1130 "line": 85
1131 },
1132 "name": "aliasVersion",
1133 "type": {
1134 "fqn": "@aws-cdk/aws-lambda.IVersion"
1135 }
1136 }
1137 ],
1138 "symbolId": "lib/alias:AliasAttributes"
1139 },
1140 "@aws-cdk/aws-lambda.AliasOptions": {
1141 "assembly": "@aws-cdk/aws-lambda",
1142 "datatype": true,
1143 "docs": {
1144 "stability": "stable",
1145 "summary": "Options for `lambda.Alias`.",
1146 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const destination: lambda.IDestination;\ndeclare const version: lambda.Version;\nconst aliasOptions: lambda.AliasOptions = {\n additionalVersions: [{\n version: version,\n weight: 123,\n }],\n description: 'description',\n maxEventAge: cdk.Duration.minutes(30),\n onFailure: destination,\n onSuccess: destination,\n provisionedConcurrentExecutions: 123,\n retryAttempts: 123,\n};",
1147 "custom": {
1148 "exampleMetadata": "fixture=_generated"
1149 }
1150 },
1151 "fqn": "@aws-cdk/aws-lambda.AliasOptions",
1152 "interfaces": [
1153 "@aws-cdk/aws-lambda.EventInvokeConfigOptions"
1154 ],
1155 "kind": "interface",
1156 "locationInModule": {
1157 "filename": "lib/alias.ts",
1158 "line": 31
1159 },
1160 "name": "AliasOptions",
1161 "properties": [
1162 {
1163 "abstract": true,
1164 "docs": {
1165 "default": "No additional versions",
1166 "remarks": "Individual additional version weights specified here should add up to\n(less than) one. All remaining weight is routed to the default\nversion.\n\nFor example, the config is\n\n version: \"1\"\n additionalVersions: [{ version: \"2\", weight: 0.05 }]\n\nThen 5% of traffic will be routed to function version 2, while\nthe remaining 95% of traffic will be routed to function version 1.",
1167 "stability": "stable",
1168 "summary": "Additional versions with individual weights this alias points to."
1169 },
1170 "immutable": true,
1171 "locationInModule": {
1172 "filename": "lib/alias.ts",
1173 "line": 56
1174 },
1175 "name": "additionalVersions",
1176 "optional": true,
1177 "type": {
1178 "collection": {
1179 "elementtype": {
1180 "fqn": "@aws-cdk/aws-lambda.VersionWeight"
1181 },
1182 "kind": "array"
1183 }
1184 }
1185 },
1186 {
1187 "abstract": true,
1188 "docs": {
1189 "default": "No description",
1190 "stability": "stable",
1191 "summary": "Description for the alias."
1192 },
1193 "immutable": true,
1194 "locationInModule": {
1195 "filename": "lib/alias.ts",
1196 "line": 37
1197 },
1198 "name": "description",
1199 "optional": true,
1200 "type": {
1201 "primitive": "string"
1202 }
1203 },
1204 {
1205 "abstract": true,
1206 "docs": {
1207 "default": "No provisioned concurrency",
1208 "stability": "stable",
1209 "summary": "Specifies a provisioned concurrency configuration for a function's alias."
1210 },
1211 "immutable": true,
1212 "locationInModule": {
1213 "filename": "lib/alias.ts",
1214 "line": 63
1215 },
1216 "name": "provisionedConcurrentExecutions",
1217 "optional": true,
1218 "type": {
1219 "primitive": "number"
1220 }
1221 }
1222 ],
1223 "symbolId": "lib/alias:AliasOptions"
1224 },
1225 "@aws-cdk/aws-lambda.AliasProps": {
1226 "assembly": "@aws-cdk/aws-lambda",
1227 "datatype": true,
1228 "docs": {
1229 "stability": "stable",
1230 "summary": "Properties for a new Lambda alias.",
1231 "example": "const lambdaCode = lambda.Code.fromCfnParameters();\nconst func = new lambda.Function(this, 'Lambda', {\n code: lambdaCode,\n handler: 'index.handler',\n runtime: lambda.Runtime.NODEJS_12_X,\n});\n// used to make sure each CDK synthesis produces a different Version\nconst version = func.currentVersion;\nconst alias = new lambda.Alias(this, 'LambdaAlias', {\n aliasName: 'Prod',\n version,\n});\n\nnew codedeploy.LambdaDeploymentGroup(this, 'DeploymentGroup', {\n alias,\n deploymentConfig: codedeploy.LambdaDeploymentConfig.LINEAR_10PERCENT_EVERY_1MINUTE,\n});",
1232 "custom": {
1233 "exampleMetadata": "infused"
1234 }
1235 },
1236 "fqn": "@aws-cdk/aws-lambda.AliasProps",
1237 "interfaces": [
1238 "@aws-cdk/aws-lambda.AliasOptions"
1239 ],
1240 "kind": "interface",
1241 "locationInModule": {
1242 "filename": "lib/alias.ts",
1243 "line": 69
1244 },
1245 "name": "AliasProps",
1246 "properties": [
1247 {
1248 "abstract": true,
1249 "docs": {
1250 "stability": "stable",
1251 "summary": "Name of this alias."
1252 },
1253 "immutable": true,
1254 "locationInModule": {
1255 "filename": "lib/alias.ts",
1256 "line": 73
1257 },
1258 "name": "aliasName",
1259 "type": {
1260 "primitive": "string"
1261 }
1262 },
1263 {
1264 "abstract": true,
1265 "docs": {
1266 "remarks": "Use lambda.currentVersion to reference a version with your latest changes.",
1267 "stability": "stable",
1268 "summary": "Function version this alias refers to."
1269 },
1270 "immutable": true,
1271 "locationInModule": {
1272 "filename": "lib/alias.ts",
1273 "line": 80
1274 },
1275 "name": "version",
1276 "type": {
1277 "fqn": "@aws-cdk/aws-lambda.IVersion"
1278 }
1279 }
1280 ],
1281 "symbolId": "lib/alias:AliasProps"
1282 },
1283 "@aws-cdk/aws-lambda.Architecture": {
1284 "assembly": "@aws-cdk/aws-lambda",
1285 "docs": {
1286 "stability": "stable",
1287 "summary": "Architectures supported by AWS Lambda.",
1288 "example": "new lambda.Function(this, 'MyFunction', {\n runtime: lambda.Runtime.NODEJS_16_X,\n handler: 'index.handler',\n architecture: lambda.Architecture.ARM_64,\n code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),\n insightsVersion: lambda.LambdaInsightsVersion.VERSION_1_0_119_0,\n});",
1289 "custom": {
1290 "exampleMetadata": "infused"
1291 }
1292 },
1293 "fqn": "@aws-cdk/aws-lambda.Architecture",
1294 "kind": "class",
1295 "locationInModule": {
1296 "filename": "lib/architecture.ts",
1297 "line": 4
1298 },
1299 "methods": [
1300 {
1301 "docs": {
1302 "remarks": "Use this if the architecture name is not yet supported by the CDK.",
1303 "stability": "stable",
1304 "summary": "Used to specify a custom architecture name."
1305 },
1306 "locationInModule": {
1307 "filename": "lib/architecture.ts",
1308 "line": 21
1309 },
1310 "name": "custom",
1311 "parameters": [
1312 {
1313 "docs": {
1314 "summary": "the architecture name as recognized by AWS Lambda."
1315 },
1316 "name": "name",
1317 "type": {
1318 "primitive": "string"
1319 }
1320 },
1321 {
1322 "docs": {
1323 "summary": "the platform to use for this architecture when building with Docker."
1324 },
1325 "name": "dockerPlatform",
1326 "optional": true,
1327 "type": {
1328 "primitive": "string"
1329 }
1330 }
1331 ],
1332 "returns": {
1333 "type": {
1334 "fqn": "@aws-cdk/aws-lambda.Architecture"
1335 }
1336 },
1337 "static": true
1338 }
1339 ],
1340 "name": "Architecture",
1341 "properties": [
1342 {
1343 "const": true,
1344 "docs": {
1345 "stability": "stable",
1346 "summary": "64 bit architecture with the ARM instruction set."
1347 },
1348 "immutable": true,
1349 "locationInModule": {
1350 "filename": "lib/architecture.ts",
1351 "line": 13
1352 },
1353 "name": "ARM_64",
1354 "static": true,
1355 "type": {
1356 "fqn": "@aws-cdk/aws-lambda.Architecture"
1357 }
1358 },
1359 {
1360 "const": true,
1361 "docs": {
1362 "stability": "stable",
1363 "summary": "64 bit architecture with x86 instruction set."
1364 },
1365 "immutable": true,
1366 "locationInModule": {
1367 "filename": "lib/architecture.ts",
1368 "line": 8
1369 },
1370 "name": "X86_64",
1371 "static": true,
1372 "type": {
1373 "fqn": "@aws-cdk/aws-lambda.Architecture"
1374 }
1375 },
1376 {
1377 "docs": {
1378 "stability": "stable",
1379 "summary": "The platform to use for this architecture when building with Docker."
1380 },
1381 "immutable": true,
1382 "locationInModule": {
1383 "filename": "lib/architecture.ts",
1384 "line": 33
1385 },
1386 "name": "dockerPlatform",
1387 "type": {
1388 "primitive": "string"
1389 }
1390 },
1391 {
1392 "docs": {
1393 "stability": "stable",
1394 "summary": "The name of the architecture as recognized by the AWS Lambda service APIs."
1395 },
1396 "immutable": true,
1397 "locationInModule": {
1398 "filename": "lib/architecture.ts",
1399 "line": 28
1400 },
1401 "name": "name",
1402 "type": {
1403 "primitive": "string"
1404 }
1405 }
1406 ],
1407 "symbolId": "lib/architecture:Architecture"
1408 },
1409 "@aws-cdk/aws-lambda.AssetCode": {
1410 "assembly": "@aws-cdk/aws-lambda",
1411 "base": "@aws-cdk/aws-lambda.Code",
1412 "docs": {
1413 "stability": "stable",
1414 "summary": "Lambda code from a local directory.",
1415 "example": "import * as path from 'path';\nimport * as lambda from '@aws-cdk/aws-lambda';\nimport { App, Stack } from '@aws-cdk/core';\nimport { MockIntegration, PassthroughBehavior, RestApi, TokenAuthorizer } from '../../lib';\n\n/*\n * Stack verification steps:\n * * `curl -s -o /dev/null -w \"%{http_code}\" <url>` should return 401\n * * `curl -s -o /dev/null -w \"%{http_code}\" -H 'Authorization: deny' <url>` should return 403\n * * `curl -s -o /dev/null -w \"%{http_code}\" -H 'Authorization: allow' <url>` should return 200\n */\n\nconst app = new App();\nconst stack = new Stack(app, 'TokenAuthorizerInteg');\n\nconst authorizerFn = new lambda.Function(stack, 'MyAuthorizerFunction', {\n runtime: lambda.Runtime.NODEJS_14_X,\n handler: 'index.handler',\n code: lambda.AssetCode.fromAsset(path.join(__dirname, 'integ.token-authorizer.handler')),\n});\n\nconst restapi = new RestApi(stack, 'MyRestApi');\n\nconst authorizer = new TokenAuthorizer(stack, 'MyAuthorizer', {\n handler: authorizerFn,\n});\n\nrestapi.root.addMethod('ANY', new MockIntegration({\n integrationResponses: [\n { statusCode: '200' },\n ],\n passthroughBehavior: PassthroughBehavior.NEVER,\n requestTemplates: {\n 'application/json': '{ \"statusCode\": 200 }',\n },\n}), {\n methodResponses: [\n { statusCode: '200' },\n ],\n authorizer,\n});",
1416 "custom": {
1417 "exampleMetadata": "lit=test/authorizers/integ.token-authorizer.lit.ts infused"
1418 }
1419 },
1420 "fqn": "@aws-cdk/aws-lambda.AssetCode",
1421 "initializer": {
1422 "docs": {
1423 "stability": "stable"
1424 },
1425 "locationInModule": {
1426 "filename": "lib/code.ts",
1427 "line": 278
1428 },
1429 "parameters": [
1430 {
1431 "docs": {
1432 "summary": "The path to the asset file or directory."
1433 },
1434 "name": "path",
1435 "type": {
1436 "primitive": "string"
1437 }
1438 },
1439 {
1440 "name": "options",
1441 "optional": true,
1442 "type": {
1443 "fqn": "@aws-cdk/aws-s3-assets.AssetOptions"
1444 }
1445 }
1446 ]
1447 },
1448 "kind": "class",
1449 "locationInModule": {
1450 "filename": "lib/code.ts",
1451 "line": 271
1452 },
1453 "methods": [
1454 {
1455 "docs": {
1456 "stability": "stable",
1457 "summary": "Called when the lambda or layer is initialized to allow this object to bind to the stack, add resources and have fun."
1458 },
1459 "locationInModule": {
1460 "filename": "lib/code.ts",
1461 "line": 282
1462 },
1463 "name": "bind",
1464 "overrides": "@aws-cdk/aws-lambda.Code",
1465 "parameters": [
1466 {
1467 "name": "scope",
1468 "type": {
1469 "fqn": "@aws-cdk/core.Construct"
1470 }
1471 }
1472 ],
1473 "returns": {
1474 "type": {
1475 "fqn": "@aws-cdk/aws-lambda.CodeConfig"
1476 }
1477 }
1478 },
1479 {
1480 "docs": {
1481 "remarks": "Specifically it's required to allow assets to add\nmetadata for tooling like SAM CLI to be able to find their origins.",
1482 "stability": "stable",
1483 "summary": "Called after the CFN function resource has been created to allow the code class to bind to it."
1484 },
1485 "locationInModule": {
1486 "filename": "lib/code.ts",
1487 "line": 306
1488 },
1489 "name": "bindToResource",
1490 "overrides": "@aws-cdk/aws-lambda.Code",
1491 "parameters": [
1492 {
1493 "name": "resource",
1494 "type": {
1495 "fqn": "@aws-cdk/core.CfnResource"
1496 }
1497 },
1498 {
1499 "name": "options",
1500 "optional": true,
1501 "type": {
1502 "fqn": "@aws-cdk/aws-lambda.ResourceBindOptions"
1503 }
1504 }
1505 ]
1506 }
1507 ],
1508 "name": "AssetCode",
1509 "properties": [
1510 {
1511 "docs": {
1512 "stability": "stable",
1513 "summary": "Determines whether this Code is inline code or not."
1514 },
1515 "immutable": true,
1516 "locationInModule": {
1517 "filename": "lib/code.ts",
1518 "line": 272
1519 },
1520 "name": "isInline",
1521 "overrides": "@aws-cdk/aws-lambda.Code",
1522 "type": {
1523 "primitive": "boolean"
1524 }
1525 },
1526 {
1527 "docs": {
1528 "stability": "stable",
1529 "summary": "The path to the asset file or directory."
1530 },
1531 "immutable": true,
1532 "locationInModule": {
1533 "filename": "lib/code.ts",
1534 "line": 278
1535 },
1536 "name": "path",
1537 "type": {
1538 "primitive": "string"
1539 }
1540 }
1541 ],
1542 "symbolId": "lib/code:AssetCode"
1543 },
1544 "@aws-cdk/aws-lambda.AssetImageCode": {
1545 "assembly": "@aws-cdk/aws-lambda",
1546 "base": "@aws-cdk/aws-lambda.Code",
1547 "docs": {
1548 "stability": "stable",
1549 "summary": "Represents an ECR image that will be constructed from the specified asset and can be bound as Lambda code.",
1550 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as assets from '@aws-cdk/assets';\nimport * as ecr_assets from '@aws-cdk/aws-ecr-assets';\nimport * as lambda from '@aws-cdk/aws-lambda';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const networkMode: ecr_assets.NetworkMode;\ndeclare const platform: ecr_assets.Platform;\nconst assetImageCode = new lambda.AssetImageCode('directory', {\n buildArgs: {\n buildArgsKey: 'buildArgs',\n },\n cmd: ['cmd'],\n entrypoint: ['entrypoint'],\n exclude: ['exclude'],\n extraHash: 'extraHash',\n file: 'file',\n follow: assets.FollowMode.NEVER,\n followSymlinks: cdk.SymlinkFollowMode.NEVER,\n ignoreMode: cdk.IgnoreMode.GLOB,\n invalidation: {\n buildArgs: false,\n extraHash: false,\n file: false,\n networkMode: false,\n platform: false,\n repositoryName: false,\n target: false,\n },\n networkMode: networkMode,\n platform: platform,\n repositoryName: 'repositoryName',\n target: 'target',\n workingDirectory: 'workingDirectory',\n});",
1551 "custom": {
1552 "exampleMetadata": "fixture=_generated"
1553 }
1554 },
1555 "fqn": "@aws-cdk/aws-lambda.AssetImageCode",
1556 "initializer": {
1557 "docs": {
1558 "stability": "stable"
1559 },
1560 "locationInModule": {
1561 "filename": "lib/code.ts",
1562 "line": 529
1563 },
1564 "parameters": [
1565 {
1566 "name": "directory",
1567 "type": {
1568 "primitive": "string"
1569 }
1570 },
1571 {
1572 "name": "props",
1573 "type": {
1574 "fqn": "@aws-cdk/aws-lambda.AssetImageCodeProps"
1575 }
1576 }
1577 ]
1578 },
1579 "kind": "class",
1580 "locationInModule": {
1581 "filename": "lib/code.ts",
1582 "line": 525
1583 },
1584 "methods": [
1585 {
1586 "docs": {
1587 "stability": "stable",
1588 "summary": "Called when the lambda or layer is initialized to allow this object to bind to the stack, add resources and have fun."
1589 },
1590 "locationInModule": {
1591 "filename": "lib/code.ts",
1592 "line": 533
1593 },
1594 "name": "bind",
1595 "overrides": "@aws-cdk/aws-lambda.Code",
1596 "parameters": [
1597 {
1598 "name": "scope",
1599 "type": {
1600 "fqn": "@aws-cdk/core.Construct"
1601 }
1602 }
1603 ],
1604 "returns": {
1605 "type": {
1606 "fqn": "@aws-cdk/aws-lambda.CodeConfig"
1607 }
1608 }
1609 },
1610 {
1611 "docs": {
1612 "remarks": "Specifically it's required to allow assets to add\nmetadata for tooling like SAM CLI to be able to find their origins.",
1613 "stability": "stable",
1614 "summary": "Called after the CFN function resource has been created to allow the code class to bind to it."
1615 },
1616 "locationInModule": {
1617 "filename": "lib/code.ts",
1618 "line": 556
1619 },
1620 "name": "bindToResource",
1621 "overrides": "@aws-cdk/aws-lambda.Code",
1622 "parameters": [
1623 {
1624 "name": "resource",
1625 "type": {
1626 "fqn": "@aws-cdk/core.CfnResource"
1627 }
1628 },
1629 {
1630 "name": "options",
1631 "optional": true,
1632 "type": {
1633 "fqn": "@aws-cdk/aws-lambda.ResourceBindOptions"
1634 }
1635 }
1636 ]
1637 }
1638 ],
1639 "name": "AssetImageCode",
1640 "properties": [
1641 {
1642 "docs": {
1643 "stability": "stable",
1644 "summary": "Determines whether this Code is inline code or not."
1645 },
1646 "immutable": true,
1647 "locationInModule": {
1648 "filename": "lib/code.ts",
1649 "line": 526
1650 },
1651 "name": "isInline",
1652 "overrides": "@aws-cdk/aws-lambda.Code",
1653 "type": {
1654 "primitive": "boolean"
1655 }
1656 }
1657 ],
1658 "symbolId": "lib/code:AssetImageCode"
1659 },
1660 "@aws-cdk/aws-lambda.AssetImageCodeProps": {
1661 "assembly": "@aws-cdk/aws-lambda",
1662 "datatype": true,
1663 "docs": {
1664 "stability": "stable",
1665 "summary": "Properties to initialize a new AssetImage.",
1666 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as assets from '@aws-cdk/assets';\nimport * as ecr_assets from '@aws-cdk/aws-ecr-assets';\nimport * as lambda from '@aws-cdk/aws-lambda';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const networkMode: ecr_assets.NetworkMode;\ndeclare const platform: ecr_assets.Platform;\nconst assetImageCodeProps: lambda.AssetImageCodeProps = {\n buildArgs: {\n buildArgsKey: 'buildArgs',\n },\n cmd: ['cmd'],\n entrypoint: ['entrypoint'],\n exclude: ['exclude'],\n extraHash: 'extraHash',\n file: 'file',\n follow: assets.FollowMode.NEVER,\n followSymlinks: cdk.SymlinkFollowMode.NEVER,\n ignoreMode: cdk.IgnoreMode.GLOB,\n invalidation: {\n buildArgs: false,\n extraHash: false,\n file: false,\n networkMode: false,\n platform: false,\n repositoryName: false,\n target: false,\n },\n networkMode: networkMode,\n platform: platform,\n repositoryName: 'repositoryName',\n target: 'target',\n workingDirectory: 'workingDirectory',\n};",
1667 "custom": {
1668 "exampleMetadata": "fixture=_generated"
1669 }
1670 },
1671 "fqn": "@aws-cdk/aws-lambda.AssetImageCodeProps",
1672 "interfaces": [
1673 "@aws-cdk/aws-ecr-assets.DockerImageAssetOptions"
1674 ],
1675 "kind": "interface",
1676 "locationInModule": {
1677 "filename": "lib/code.ts",
1678 "line": 495
1679 },
1680 "name": "AssetImageCodeProps",
1681 "properties": [
1682 {
1683 "abstract": true,
1684 "docs": {
1685 "default": "- use the CMD specified in the docker image or Dockerfile.",
1686 "remarks": "This needs to be in the 'exec form', viz., `[ 'executable', 'param1', 'param2' ]`.",
1687 "see": "https://docs.docker.com/engine/reference/builder/#cmd",
1688 "stability": "stable",
1689 "summary": "Specify or override the CMD on the specified Docker image or Dockerfile."
1690 },
1691 "immutable": true,
1692 "locationInModule": {
1693 "filename": "lib/code.ts",
1694 "line": 502
1695 },
1696 "name": "cmd",
1697 "optional": true,
1698 "type": {
1699 "collection": {
1700 "elementtype": {
1701 "primitive": "string"
1702 },
1703 "kind": "array"
1704 }
1705 }
1706 },
1707 {
1708 "abstract": true,
1709 "docs": {
1710 "default": "- use the ENTRYPOINT in the docker image or Dockerfile.",
1711 "remarks": "An ENTRYPOINT allows you to configure a container that will run as an executable.\nThis needs to be in the 'exec form', viz., `[ 'executable', 'param1', 'param2' ]`.",
1712 "see": "https://docs.docker.com/engine/reference/builder/#entrypoint",
1713 "stability": "stable",
1714 "summary": "Specify or override the ENTRYPOINT on the specified Docker image or Dockerfile."
1715 },
1716 "immutable": true,
1717 "locationInModule": {
1718 "filename": "lib/code.ts",
1719 "line": 511
1720 },
1721 "name": "entrypoint",
1722 "optional": true,
1723 "type": {
1724 "collection": {
1725 "elementtype": {
1726 "primitive": "string"
1727 },
1728 "kind": "array"
1729 }
1730 }
1731 },
1732 {
1733 "abstract": true,
1734 "docs": {
1735 "default": "- use the WORKDIR in the docker image or Dockerfile.",
1736 "remarks": "A WORKDIR allows you to configure the working directory the container will use.",
1737 "see": "https://docs.docker.com/engine/reference/builder/#workdir",
1738 "stability": "stable",
1739 "summary": "Specify or override the WORKDIR on the specified Docker image or Dockerfile."
1740 },
1741 "immutable": true,
1742 "locationInModule": {
1743 "filename": "lib/code.ts",
1744 "line": 519
1745 },
1746 "name": "workingDirectory",
1747 "optional": true,
1748 "type": {
1749 "primitive": "string"
1750 }
1751 }
1752 ],
1753 "symbolId": "lib/code:AssetImageCodeProps"
1754 },
1755 "@aws-cdk/aws-lambda.AutoScalingOptions": {
1756 "assembly": "@aws-cdk/aws-lambda",
1757 "datatype": true,
1758 "docs": {
1759 "stability": "stable",
1760 "summary": "Properties for enabling Lambda autoscaling.",
1761 "example": "import * as autoscaling from '@aws-cdk/aws-autoscaling';\n\ndeclare const fn: lambda.Function;\nconst alias = fn.addAlias('prod');\n\n// Create AutoScaling target\nconst as = alias.addAutoScaling({ maxCapacity: 50 });\n\n// Configure Target Tracking\nas.scaleOnUtilization({\n utilizationTarget: 0.5,\n});\n\n// Configure Scheduled Scaling\nas.scaleOnSchedule('ScaleUpInTheMorning', {\n schedule: autoscaling.Schedule.cron({ hour: '8', minute: '0'}),\n minCapacity: 20,\n});",
1762 "custom": {
1763 "exampleMetadata": "infused"
1764 }
1765 },
1766 "fqn": "@aws-cdk/aws-lambda.AutoScalingOptions",
1767 "kind": "interface",
1768 "locationInModule": {
1769 "filename": "lib/scalable-attribute-api.ts",
1770 "line": 34
1771 },
1772 "name": "AutoScalingOptions",
1773 "properties": [
1774 {
1775 "abstract": true,
1776 "docs": {
1777 "stability": "stable",
1778 "summary": "Maximum capacity to scale to."
1779 },
1780 "immutable": true,
1781 "locationInModule": {
1782 "filename": "lib/scalable-attribute-api.ts",
1783 "line": 45
1784 },
1785 "name": "maxCapacity",
1786 "type": {
1787 "primitive": "number"
1788 }
1789 },
1790 {
1791 "abstract": true,
1792 "docs": {
1793 "default": "1",
1794 "stability": "stable",
1795 "summary": "Minimum capacity to scale to."
1796 },
1797 "immutable": true,
1798 "locationInModule": {
1799 "filename": "lib/scalable-attribute-api.ts",
1800 "line": 40
1801 },
1802 "name": "minCapacity",
1803 "optional": true,
1804 "type": {
1805 "primitive": "number"
1806 }
1807 }
1808 ],
1809 "symbolId": "lib/scalable-attribute-api:AutoScalingOptions"
1810 },
1811 "@aws-cdk/aws-lambda.CfnAlias": {
1812 "assembly": "@aws-cdk/aws-lambda",
1813 "base": "@aws-cdk/core.CfnResource",
1814 "docs": {
1815 "custom": {
1816 "cloudformationResource": "AWS::Lambda::Alias",
1817 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-alias.html",
1818 "exampleMetadata": "fixture=_generated"
1819 },
1820 "remarks": "The `AWS::Lambda::Alias` resource creates an [alias](https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html) for a Lambda function version. Use aliases to provide clients with a function identifier that you can update to invoke a different version.\n\nYou can also map an alias to split invocation requests between two versions. Use the `RoutingConfig` parameter to specify a second version and the percentage of invocation requests that it receives.",
1821 "stability": "external",
1822 "summary": "A CloudFormation `AWS::Lambda::Alias`.",
1823 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst cfnAlias = new lambda.CfnAlias(this, 'MyCfnAlias', {\n functionName: 'functionName',\n functionVersion: 'functionVersion',\n name: 'name',\n\n // the properties below are optional\n description: 'description',\n provisionedConcurrencyConfig: {\n provisionedConcurrentExecutions: 123,\n },\n routingConfig: {\n additionalVersionWeights: [{\n functionVersion: 'functionVersion',\n functionWeight: 123,\n }],\n },\n});"
1824 },
1825 "fqn": "@aws-cdk/aws-lambda.CfnAlias",
1826 "initializer": {
1827 "docs": {
1828 "stability": "external",
1829 "summary": "Create a new `AWS::Lambda::Alias`."
1830 },
1831 "locationInModule": {
1832 "filename": "lib/lambda.generated.ts",
1833 "line": 225
1834 },
1835 "parameters": [
1836 {
1837 "docs": {
1838 "summary": "- scope in which this resource is defined."
1839 },
1840 "name": "scope",
1841 "type": {
1842 "fqn": "@aws-cdk/core.Construct"
1843 }
1844 },
1845 {
1846 "docs": {
1847 "summary": "- scoped id of the resource."
1848 },
1849 "name": "id",
1850 "type": {
1851 "primitive": "string"
1852 }
1853 },
1854 {
1855 "docs": {
1856 "summary": "- resource properties."
1857 },
1858 "name": "props",
1859 "type": {
1860 "fqn": "@aws-cdk/aws-lambda.CfnAliasProps"
1861 }
1862 }
1863 ]
1864 },
1865 "interfaces": [
1866 "@aws-cdk/core.IInspectable"
1867 ],
1868 "kind": "class",
1869 "locationInModule": {
1870 "filename": "lib/lambda.generated.ts",
1871 "line": 145
1872 },
1873 "methods": [
1874 {
1875 "docs": {
1876 "stability": "external",
1877 "summary": "Examines the CloudFormation resource and discloses attributes."
1878 },
1879 "locationInModule": {
1880 "filename": "lib/lambda.generated.ts",
1881 "line": 245
1882 },
1883 "name": "inspect",
1884 "overrides": "@aws-cdk/core.IInspectable",
1885 "parameters": [
1886 {
1887 "docs": {
1888 "summary": "- tree inspector to collect and process attributes."
1889 },
1890 "name": "inspector",
1891 "type": {
1892 "fqn": "@aws-cdk/core.TreeInspector"
1893 }
1894 }
1895 ]
1896 },
1897 {
1898 "docs": {
1899 "stability": "external"
1900 },
1901 "locationInModule": {
1902 "filename": "lib/lambda.generated.ts",
1903 "line": 261
1904 },
1905 "name": "renderProperties",
1906 "overrides": "@aws-cdk/core.CfnResource",
1907 "parameters": [
1908 {
1909 "name": "props",
1910 "type": {
1911 "collection": {
1912 "elementtype": {
1913 "primitive": "any"
1914 },
1915 "kind": "map"
1916 }
1917 }
1918 }
1919 ],
1920 "protected": true,
1921 "returns": {
1922 "type": {
1923 "collection": {
1924 "elementtype": {
1925 "primitive": "any"
1926 },
1927 "kind": "map"
1928 }
1929 }
1930 }
1931 }
1932 ],
1933 "name": "CfnAlias",
1934 "properties": [
1935 {
1936 "const": true,
1937 "docs": {
1938 "stability": "external",
1939 "summary": "The CloudFormation resource type name for this resource class."
1940 },
1941 "immutable": true,
1942 "locationInModule": {
1943 "filename": "lib/lambda.generated.ts",
1944 "line": 149
1945 },
1946 "name": "CFN_RESOURCE_TYPE_NAME",
1947 "static": true,
1948 "type": {
1949 "primitive": "string"
1950 }
1951 },
1952 {
1953 "docs": {
1954 "stability": "external"
1955 },
1956 "immutable": true,
1957 "locationInModule": {
1958 "filename": "lib/lambda.generated.ts",
1959 "line": 250
1960 },
1961 "name": "cfnProperties",
1962 "overrides": "@aws-cdk/core.CfnResource",
1963 "protected": true,
1964 "type": {
1965 "collection": {
1966 "elementtype": {
1967 "primitive": "any"
1968 },
1969 "kind": "map"
1970 }
1971 }
1972 },
1973 {
1974 "docs": {
1975 "custom": {
1976 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-alias.html#cfn-lambda-alias-functionname"
1977 },
1978 "remarks": "**Name formats** - *Function name* - `MyFunction` .\n- *Function ARN* - `arn:aws:lambda:us-west-2:123456789012:function:MyFunction` .\n- *Partial ARN* - `123456789012:function:MyFunction` .\n\nThe length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.",
1979 "stability": "external",
1980 "summary": "The name of the Lambda function."
1981 },
1982 "locationInModule": {
1983 "filename": "lib/lambda.generated.ts",
1984 "line": 181
1985 },
1986 "name": "functionName",
1987 "type": {
1988 "primitive": "string"
1989 }
1990 },
1991 {
1992 "docs": {
1993 "custom": {
1994 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-alias.html#cfn-lambda-alias-functionversion"
1995 },
1996 "stability": "external",
1997 "summary": "The function version that the alias invokes."
1998 },
1999 "locationInModule": {
2000 "filename": "lib/lambda.generated.ts",
2001 "line": 188
2002 },
2003 "name": "functionVersion",
2004 "type": {
2005 "primitive": "string"
2006 }
2007 },
2008 {
2009 "docs": {
2010 "custom": {
2011 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-alias.html#cfn-lambda-alias-name"
2012 },
2013 "stability": "external",
2014 "summary": "The name of the alias."
2015 },
2016 "locationInModule": {
2017 "filename": "lib/lambda.generated.ts",
2018 "line": 195
2019 },
2020 "name": "name",
2021 "type": {
2022 "primitive": "string"
2023 }
2024 },
2025 {
2026 "docs": {
2027 "custom": {
2028 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-alias.html#cfn-lambda-alias-description"
2029 },
2030 "stability": "external",
2031 "summary": "A description of the alias."
2032 },
2033 "locationInModule": {
2034 "filename": "lib/lambda.generated.ts",
2035 "line": 202
2036 },
2037 "name": "description",
2038 "optional": true,
2039 "type": {
2040 "primitive": "string"
2041 }
2042 },
2043 {
2044 "docs": {
2045 "custom": {
2046 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-alias.html#cfn-lambda-alias-provisionedconcurrencyconfig"
2047 },
2048 "stability": "external",
2049 "summary": "Specifies a [provisioned concurrency](https://docs.aws.amazon.com/lambda/latest/dg/configuration-concurrency.html) configuration for a function's alias."
2050 },
2051 "locationInModule": {
2052 "filename": "lib/lambda.generated.ts",
2053 "line": 209
2054 },
2055 "name": "provisionedConcurrencyConfig",
2056 "optional": true,
2057 "type": {
2058 "union": {
2059 "types": [
2060 {
2061 "fqn": "@aws-cdk/aws-lambda.CfnAlias.ProvisionedConcurrencyConfigurationProperty"
2062 },
2063 {
2064 "fqn": "@aws-cdk/core.IResolvable"
2065 }
2066 ]
2067 }
2068 }
2069 },
2070 {
2071 "docs": {
2072 "custom": {
2073 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-alias.html#cfn-lambda-alias-routingconfig"
2074 },
2075 "stability": "external",
2076 "summary": "The [routing configuration](https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html) of the alias."
2077 },
2078 "locationInModule": {
2079 "filename": "lib/lambda.generated.ts",
2080 "line": 216
2081 },
2082 "name": "routingConfig",
2083 "optional": true,
2084 "type": {
2085 "union": {
2086 "types": [
2087 {
2088 "fqn": "@aws-cdk/core.IResolvable"
2089 },
2090 {
2091 "fqn": "@aws-cdk/aws-lambda.CfnAlias.AliasRoutingConfigurationProperty"
2092 }
2093 ]
2094 }
2095 }
2096 }
2097 ],
2098 "symbolId": "lib/lambda.generated:CfnAlias"
2099 },
2100 "@aws-cdk/aws-lambda.CfnAlias.AliasRoutingConfigurationProperty": {
2101 "assembly": "@aws-cdk/aws-lambda",
2102 "datatype": true,
2103 "docs": {
2104 "custom": {
2105 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-alias-aliasroutingconfiguration.html",
2106 "exampleMetadata": "fixture=_generated"
2107 },
2108 "stability": "external",
2109 "summary": "The [traffic-shifting](https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html) configuration of a Lambda function alias.",
2110 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst aliasRoutingConfigurationProperty: lambda.CfnAlias.AliasRoutingConfigurationProperty = {\n additionalVersionWeights: [{\n functionVersion: 'functionVersion',\n functionWeight: 123,\n }],\n};"
2111 },
2112 "fqn": "@aws-cdk/aws-lambda.CfnAlias.AliasRoutingConfigurationProperty",
2113 "kind": "interface",
2114 "locationInModule": {
2115 "filename": "lib/lambda.generated.ts",
2116 "line": 275
2117 },
2118 "name": "AliasRoutingConfigurationProperty",
2119 "namespace": "CfnAlias",
2120 "properties": [
2121 {
2122 "abstract": true,
2123 "docs": {
2124 "custom": {
2125 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-alias-aliasroutingconfiguration.html#cfn-lambda-alias-aliasroutingconfiguration-additionalversionweights"
2126 },
2127 "stability": "external",
2128 "summary": "The second version, and the percentage of traffic that's routed to it."
2129 },
2130 "immutable": true,
2131 "locationInModule": {
2132 "filename": "lib/lambda.generated.ts",
2133 "line": 281
2134 },
2135 "name": "additionalVersionWeights",
2136 "type": {
2137 "union": {
2138 "types": [
2139 {
2140 "fqn": "@aws-cdk/core.IResolvable"
2141 },
2142 {
2143 "collection": {
2144 "elementtype": {
2145 "union": {
2146 "types": [
2147 {
2148 "fqn": "@aws-cdk/core.IResolvable"
2149 },
2150 {
2151 "fqn": "@aws-cdk/aws-lambda.CfnAlias.VersionWeightProperty"
2152 }
2153 ]
2154 }
2155 },
2156 "kind": "array"
2157 }
2158 }
2159 ]
2160 }
2161 }
2162 }
2163 ],
2164 "symbolId": "lib/lambda.generated:CfnAlias.AliasRoutingConfigurationProperty"
2165 },
2166 "@aws-cdk/aws-lambda.CfnAlias.ProvisionedConcurrencyConfigurationProperty": {
2167 "assembly": "@aws-cdk/aws-lambda",
2168 "datatype": true,
2169 "docs": {
2170 "custom": {
2171 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-alias-provisionedconcurrencyconfiguration.html",
2172 "exampleMetadata": "fixture=_generated"
2173 },
2174 "stability": "external",
2175 "summary": "A provisioned concurrency configuration for a function's alias.",
2176 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst provisionedConcurrencyConfigurationProperty: lambda.CfnAlias.ProvisionedConcurrencyConfigurationProperty = {\n provisionedConcurrentExecutions: 123,\n};"
2177 },
2178 "fqn": "@aws-cdk/aws-lambda.CfnAlias.ProvisionedConcurrencyConfigurationProperty",
2179 "kind": "interface",
2180 "locationInModule": {
2181 "filename": "lib/lambda.generated.ts",
2182 "line": 343
2183 },
2184 "name": "ProvisionedConcurrencyConfigurationProperty",
2185 "namespace": "CfnAlias",
2186 "properties": [
2187 {
2188 "abstract": true,
2189 "docs": {
2190 "custom": {
2191 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-alias-provisionedconcurrencyconfiguration.html#cfn-lambda-alias-provisionedconcurrencyconfiguration-provisionedconcurrentexecutions"
2192 },
2193 "stability": "external",
2194 "summary": "The amount of provisioned concurrency to allocate for the alias."
2195 },
2196 "immutable": true,
2197 "locationInModule": {
2198 "filename": "lib/lambda.generated.ts",
2199 "line": 349
2200 },
2201 "name": "provisionedConcurrentExecutions",
2202 "type": {
2203 "primitive": "number"
2204 }
2205 }
2206 ],
2207 "symbolId": "lib/lambda.generated:CfnAlias.ProvisionedConcurrencyConfigurationProperty"
2208 },
2209 "@aws-cdk/aws-lambda.CfnAlias.VersionWeightProperty": {
2210 "assembly": "@aws-cdk/aws-lambda",
2211 "datatype": true,
2212 "docs": {
2213 "custom": {
2214 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-alias-versionweight.html",
2215 "exampleMetadata": "fixture=_generated"
2216 },
2217 "stability": "external",
2218 "summary": "The [traffic-shifting](https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html) configuration of a Lambda function alias.",
2219 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst versionWeightProperty: lambda.CfnAlias.VersionWeightProperty = {\n functionVersion: 'functionVersion',\n functionWeight: 123,\n};"
2220 },
2221 "fqn": "@aws-cdk/aws-lambda.CfnAlias.VersionWeightProperty",
2222 "kind": "interface",
2223 "locationInModule": {
2224 "filename": "lib/lambda.generated.ts",
2225 "line": 411
2226 },
2227 "name": "VersionWeightProperty",
2228 "namespace": "CfnAlias",
2229 "properties": [
2230 {
2231 "abstract": true,
2232 "docs": {
2233 "custom": {
2234 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-alias-versionweight.html#cfn-lambda-alias-versionweight-functionversion"
2235 },
2236 "stability": "external",
2237 "summary": "The qualifier of the second version."
2238 },
2239 "immutable": true,
2240 "locationInModule": {
2241 "filename": "lib/lambda.generated.ts",
2242 "line": 417
2243 },
2244 "name": "functionVersion",
2245 "type": {
2246 "primitive": "string"
2247 }
2248 },
2249 {
2250 "abstract": true,
2251 "docs": {
2252 "custom": {
2253 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-alias-versionweight.html#cfn-lambda-alias-versionweight-functionweight"
2254 },
2255 "stability": "external",
2256 "summary": "The percentage of traffic that the alias routes to the second version."
2257 },
2258 "immutable": true,
2259 "locationInModule": {
2260 "filename": "lib/lambda.generated.ts",
2261 "line": 423
2262 },
2263 "name": "functionWeight",
2264 "type": {
2265 "primitive": "number"
2266 }
2267 }
2268 ],
2269 "symbolId": "lib/lambda.generated:CfnAlias.VersionWeightProperty"
2270 },
2271 "@aws-cdk/aws-lambda.CfnAliasProps": {
2272 "assembly": "@aws-cdk/aws-lambda",
2273 "datatype": true,
2274 "docs": {
2275 "custom": {
2276 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-alias.html",
2277 "exampleMetadata": "fixture=_generated"
2278 },
2279 "stability": "external",
2280 "summary": "Properties for defining a `CfnAlias`.",
2281 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst cfnAliasProps: lambda.CfnAliasProps = {\n functionName: 'functionName',\n functionVersion: 'functionVersion',\n name: 'name',\n\n // the properties below are optional\n description: 'description',\n provisionedConcurrencyConfig: {\n provisionedConcurrentExecutions: 123,\n },\n routingConfig: {\n additionalVersionWeights: [{\n functionVersion: 'functionVersion',\n functionWeight: 123,\n }],\n },\n};"
2282 },
2283 "fqn": "@aws-cdk/aws-lambda.CfnAliasProps",
2284 "kind": "interface",
2285 "locationInModule": {
2286 "filename": "lib/lambda.generated.ts",
2287 "line": 19
2288 },
2289 "name": "CfnAliasProps",
2290 "properties": [
2291 {
2292 "abstract": true,
2293 "docs": {
2294 "custom": {
2295 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-alias.html#cfn-lambda-alias-functionname"
2296 },
2297 "remarks": "**Name formats** - *Function name* - `MyFunction` .\n- *Function ARN* - `arn:aws:lambda:us-west-2:123456789012:function:MyFunction` .\n- *Partial ARN* - `123456789012:function:MyFunction` .\n\nThe length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.",
2298 "stability": "external",
2299 "summary": "The name of the Lambda function."
2300 },
2301 "immutable": true,
2302 "locationInModule": {
2303 "filename": "lib/lambda.generated.ts",
2304 "line": 32
2305 },
2306 "name": "functionName",
2307 "type": {
2308 "primitive": "string"
2309 }
2310 },
2311 {
2312 "abstract": true,
2313 "docs": {
2314 "custom": {
2315 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-alias.html#cfn-lambda-alias-functionversion"
2316 },
2317 "stability": "external",
2318 "summary": "The function version that the alias invokes."
2319 },
2320 "immutable": true,
2321 "locationInModule": {
2322 "filename": "lib/lambda.generated.ts",
2323 "line": 39
2324 },
2325 "name": "functionVersion",
2326 "type": {
2327 "primitive": "string"
2328 }
2329 },
2330 {
2331 "abstract": true,
2332 "docs": {
2333 "custom": {
2334 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-alias.html#cfn-lambda-alias-name"
2335 },
2336 "stability": "external",
2337 "summary": "The name of the alias."
2338 },
2339 "immutable": true,
2340 "locationInModule": {
2341 "filename": "lib/lambda.generated.ts",
2342 "line": 46
2343 },
2344 "name": "name",
2345 "type": {
2346 "primitive": "string"
2347 }
2348 },
2349 {
2350 "abstract": true,
2351 "docs": {
2352 "custom": {
2353 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-alias.html#cfn-lambda-alias-description"
2354 },
2355 "stability": "external",
2356 "summary": "A description of the alias."
2357 },
2358 "immutable": true,
2359 "locationInModule": {
2360 "filename": "lib/lambda.generated.ts",
2361 "line": 53
2362 },
2363 "name": "description",
2364 "optional": true,
2365 "type": {
2366 "primitive": "string"
2367 }
2368 },
2369 {
2370 "abstract": true,
2371 "docs": {
2372 "custom": {
2373 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-alias.html#cfn-lambda-alias-provisionedconcurrencyconfig"
2374 },
2375 "stability": "external",
2376 "summary": "Specifies a [provisioned concurrency](https://docs.aws.amazon.com/lambda/latest/dg/configuration-concurrency.html) configuration for a function's alias."
2377 },
2378 "immutable": true,
2379 "locationInModule": {
2380 "filename": "lib/lambda.generated.ts",
2381 "line": 60
2382 },
2383 "name": "provisionedConcurrencyConfig",
2384 "optional": true,
2385 "type": {
2386 "union": {
2387 "types": [
2388 {
2389 "fqn": "@aws-cdk/aws-lambda.CfnAlias.ProvisionedConcurrencyConfigurationProperty"
2390 },
2391 {
2392 "fqn": "@aws-cdk/core.IResolvable"
2393 }
2394 ]
2395 }
2396 }
2397 },
2398 {
2399 "abstract": true,
2400 "docs": {
2401 "custom": {
2402 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-alias.html#cfn-lambda-alias-routingconfig"
2403 },
2404 "stability": "external",
2405 "summary": "The [routing configuration](https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html) of the alias."
2406 },
2407 "immutable": true,
2408 "locationInModule": {
2409 "filename": "lib/lambda.generated.ts",
2410 "line": 67
2411 },
2412 "name": "routingConfig",
2413 "optional": true,
2414 "type": {
2415 "union": {
2416 "types": [
2417 {
2418 "fqn": "@aws-cdk/core.IResolvable"
2419 },
2420 {
2421 "fqn": "@aws-cdk/aws-lambda.CfnAlias.AliasRoutingConfigurationProperty"
2422 }
2423 ]
2424 }
2425 }
2426 }
2427 ],
2428 "symbolId": "lib/lambda.generated:CfnAliasProps"
2429 },
2430 "@aws-cdk/aws-lambda.CfnCodeSigningConfig": {
2431 "assembly": "@aws-cdk/aws-lambda",
2432 "base": "@aws-cdk/core.CfnResource",
2433 "docs": {
2434 "custom": {
2435 "cloudformationResource": "AWS::Lambda::CodeSigningConfig",
2436 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-codesigningconfig.html",
2437 "exampleMetadata": "fixture=_generated"
2438 },
2439 "remarks": "Details about a [Code signing configuration](https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html) .",
2440 "stability": "external",
2441 "summary": "A CloudFormation `AWS::Lambda::CodeSigningConfig`.",
2442 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst cfnCodeSigningConfig = new lambda.CfnCodeSigningConfig(this, 'MyCfnCodeSigningConfig', {\n allowedPublishers: {\n signingProfileVersionArns: ['signingProfileVersionArns'],\n },\n\n // the properties below are optional\n codeSigningPolicies: {\n untrustedArtifactOnDeployment: 'untrustedArtifactOnDeployment',\n },\n description: 'description',\n});"
2443 },
2444 "fqn": "@aws-cdk/aws-lambda.CfnCodeSigningConfig",
2445 "initializer": {
2446 "docs": {
2447 "stability": "external",
2448 "summary": "Create a new `AWS::Lambda::CodeSigningConfig`."
2449 },
2450 "locationInModule": {
2451 "filename": "lib/lambda.generated.ts",
2452 "line": 639
2453 },
2454 "parameters": [
2455 {
2456 "docs": {
2457 "summary": "- scope in which this resource is defined."
2458 },
2459 "name": "scope",
2460 "type": {
2461 "fqn": "@aws-cdk/core.Construct"
2462 }
2463 },
2464 {
2465 "docs": {
2466 "summary": "- scoped id of the resource."
2467 },
2468 "name": "id",
2469 "type": {
2470 "primitive": "string"
2471 }
2472 },
2473 {
2474 "docs": {
2475 "summary": "- resource properties."
2476 },
2477 "name": "props",
2478 "type": {
2479 "fqn": "@aws-cdk/aws-lambda.CfnCodeSigningConfigProps"
2480 }
2481 }
2482 ]
2483 },
2484 "interfaces": [
2485 "@aws-cdk/core.IInspectable"
2486 ],
2487 "kind": "class",
2488 "locationInModule": {
2489 "filename": "lib/lambda.generated.ts",
2490 "line": 574
2491 },
2492 "methods": [
2493 {
2494 "docs": {
2495 "stability": "external",
2496 "summary": "Examines the CloudFormation resource and discloses attributes."
2497 },
2498 "locationInModule": {
2499 "filename": "lib/lambda.generated.ts",
2500 "line": 656
2501 },
2502 "name": "inspect",
2503 "overrides": "@aws-cdk/core.IInspectable",
2504 "parameters": [
2505 {
2506 "docs": {
2507 "summary": "- tree inspector to collect and process attributes."
2508 },
2509 "name": "inspector",
2510 "type": {
2511 "fqn": "@aws-cdk/core.TreeInspector"
2512 }
2513 }
2514 ]
2515 },
2516 {
2517 "docs": {
2518 "stability": "external"
2519 },
2520 "locationInModule": {
2521 "filename": "lib/lambda.generated.ts",
2522 "line": 669
2523 },
2524 "name": "renderProperties",
2525 "overrides": "@aws-cdk/core.CfnResource",
2526 "parameters": [
2527 {
2528 "name": "props",
2529 "type": {
2530 "collection": {
2531 "elementtype": {
2532 "primitive": "any"
2533 },
2534 "kind": "map"
2535 }
2536 }
2537 }
2538 ],
2539 "protected": true,
2540 "returns": {
2541 "type": {
2542 "collection": {
2543 "elementtype": {
2544 "primitive": "any"
2545 },
2546 "kind": "map"
2547 }
2548 }
2549 }
2550 }
2551 ],
2552 "name": "CfnCodeSigningConfig",
2553 "properties": [
2554 {
2555 "const": true,
2556 "docs": {
2557 "stability": "external",
2558 "summary": "The CloudFormation resource type name for this resource class."
2559 },
2560 "immutable": true,
2561 "locationInModule": {
2562 "filename": "lib/lambda.generated.ts",
2563 "line": 578
2564 },
2565 "name": "CFN_RESOURCE_TYPE_NAME",
2566 "static": true,
2567 "type": {
2568 "primitive": "string"
2569 }
2570 },
2571 {
2572 "docs": {
2573 "custom": {
2574 "cloudformationAttribute": "CodeSigningConfigArn"
2575 },
2576 "stability": "external",
2577 "summary": "The Amazon Resource Name (ARN) of the code signing configuration."
2578 },
2579 "immutable": true,
2580 "locationInModule": {
2581 "filename": "lib/lambda.generated.ts",
2582 "line": 603
2583 },
2584 "name": "attrCodeSigningConfigArn",
2585 "type": {
2586 "primitive": "string"
2587 }
2588 },
2589 {
2590 "docs": {
2591 "custom": {
2592 "cloudformationAttribute": "CodeSigningConfigId"
2593 },
2594 "stability": "external",
2595 "summary": "The code signing configuration ID."
2596 },
2597 "immutable": true,
2598 "locationInModule": {
2599 "filename": "lib/lambda.generated.ts",
2600 "line": 609
2601 },
2602 "name": "attrCodeSigningConfigId",
2603 "type": {
2604 "primitive": "string"
2605 }
2606 },
2607 {
2608 "docs": {
2609 "stability": "external"
2610 },
2611 "immutable": true,
2612 "locationInModule": {
2613 "filename": "lib/lambda.generated.ts",
2614 "line": 661
2615 },
2616 "name": "cfnProperties",
2617 "overrides": "@aws-cdk/core.CfnResource",
2618 "protected": true,
2619 "type": {
2620 "collection": {
2621 "elementtype": {
2622 "primitive": "any"
2623 },
2624 "kind": "map"
2625 }
2626 }
2627 },
2628 {
2629 "docs": {
2630 "custom": {
2631 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-codesigningconfig.html#cfn-lambda-codesigningconfig-allowedpublishers"
2632 },
2633 "stability": "external",
2634 "summary": "List of allowed publishers."
2635 },
2636 "locationInModule": {
2637 "filename": "lib/lambda.generated.ts",
2638 "line": 616
2639 },
2640 "name": "allowedPublishers",
2641 "type": {
2642 "union": {
2643 "types": [
2644 {
2645 "fqn": "@aws-cdk/core.IResolvable"
2646 },
2647 {
2648 "fqn": "@aws-cdk/aws-lambda.CfnCodeSigningConfig.AllowedPublishersProperty"
2649 }
2650 ]
2651 }
2652 }
2653 },
2654 {
2655 "docs": {
2656 "custom": {
2657 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-codesigningconfig.html#cfn-lambda-codesigningconfig-codesigningpolicies"
2658 },
2659 "stability": "external",
2660 "summary": "The code signing policy controls the validation failure action for signature mismatch or expiry."
2661 },
2662 "locationInModule": {
2663 "filename": "lib/lambda.generated.ts",
2664 "line": 623
2665 },
2666 "name": "codeSigningPolicies",
2667 "optional": true,
2668 "type": {
2669 "union": {
2670 "types": [
2671 {
2672 "fqn": "@aws-cdk/core.IResolvable"
2673 },
2674 {
2675 "fqn": "@aws-cdk/aws-lambda.CfnCodeSigningConfig.CodeSigningPoliciesProperty"
2676 }
2677 ]
2678 }
2679 }
2680 },
2681 {
2682 "docs": {
2683 "custom": {
2684 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-codesigningconfig.html#cfn-lambda-codesigningconfig-description"
2685 },
2686 "stability": "external",
2687 "summary": "Code signing configuration description."
2688 },
2689 "locationInModule": {
2690 "filename": "lib/lambda.generated.ts",
2691 "line": 630
2692 },
2693 "name": "description",
2694 "optional": true,
2695 "type": {
2696 "primitive": "string"
2697 }
2698 }
2699 ],
2700 "symbolId": "lib/lambda.generated:CfnCodeSigningConfig"
2701 },
2702 "@aws-cdk/aws-lambda.CfnCodeSigningConfig.AllowedPublishersProperty": {
2703 "assembly": "@aws-cdk/aws-lambda",
2704 "datatype": true,
2705 "docs": {
2706 "custom": {
2707 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-codesigningconfig-allowedpublishers.html",
2708 "exampleMetadata": "fixture=_generated"
2709 },
2710 "stability": "external",
2711 "summary": "List of signing profiles that can sign a code package.",
2712 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst allowedPublishersProperty: lambda.CfnCodeSigningConfig.AllowedPublishersProperty = {\n signingProfileVersionArns: ['signingProfileVersionArns'],\n};"
2713 },
2714 "fqn": "@aws-cdk/aws-lambda.CfnCodeSigningConfig.AllowedPublishersProperty",
2715 "kind": "interface",
2716 "locationInModule": {
2717 "filename": "lib/lambda.generated.ts",
2718 "line": 683
2719 },
2720 "name": "AllowedPublishersProperty",
2721 "namespace": "CfnCodeSigningConfig",
2722 "properties": [
2723 {
2724 "abstract": true,
2725 "docs": {
2726 "custom": {
2727 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-codesigningconfig-allowedpublishers.html#cfn-lambda-codesigningconfig-allowedpublishers-signingprofileversionarns"
2728 },
2729 "remarks": "A signing profile defines a trusted user who can sign a code package.",
2730 "stability": "external",
2731 "summary": "The Amazon Resource Name (ARN) for each of the signing profiles."
2732 },
2733 "immutable": true,
2734 "locationInModule": {
2735 "filename": "lib/lambda.generated.ts",
2736 "line": 689
2737 },
2738 "name": "signingProfileVersionArns",
2739 "type": {
2740 "collection": {
2741 "elementtype": {
2742 "primitive": "string"
2743 },
2744 "kind": "array"
2745 }
2746 }
2747 }
2748 ],
2749 "symbolId": "lib/lambda.generated:CfnCodeSigningConfig.AllowedPublishersProperty"
2750 },
2751 "@aws-cdk/aws-lambda.CfnCodeSigningConfig.CodeSigningPoliciesProperty": {
2752 "assembly": "@aws-cdk/aws-lambda",
2753 "datatype": true,
2754 "docs": {
2755 "custom": {
2756 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-codesigningconfig-codesigningpolicies.html",
2757 "exampleMetadata": "fixture=_generated"
2758 },
2759 "stability": "external",
2760 "summary": "Code signing configuration [policies](https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html#config-codesigning-policies) specify the validation failure action for signature mismatch or expiry.",
2761 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst codeSigningPoliciesProperty: lambda.CfnCodeSigningConfig.CodeSigningPoliciesProperty = {\n untrustedArtifactOnDeployment: 'untrustedArtifactOnDeployment',\n};"
2762 },
2763 "fqn": "@aws-cdk/aws-lambda.CfnCodeSigningConfig.CodeSigningPoliciesProperty",
2764 "kind": "interface",
2765 "locationInModule": {
2766 "filename": "lib/lambda.generated.ts",
2767 "line": 751
2768 },
2769 "name": "CodeSigningPoliciesProperty",
2770 "namespace": "CfnCodeSigningConfig",
2771 "properties": [
2772 {
2773 "abstract": true,
2774 "docs": {
2775 "custom": {
2776 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-codesigningconfig-codesigningpolicies.html#cfn-lambda-codesigningconfig-codesigningpolicies-untrustedartifactondeployment"
2777 },
2778 "remarks": "If you set the policy to `Enforce` , Lambda blocks the deployment request if signature validation checks fail. If you set the policy to `Warn` , Lambda allows the deployment and creates a CloudWatch log.\n\nDefault value: `Warn`",
2779 "stability": "external",
2780 "summary": "Code signing configuration policy for deployment validation failure."
2781 },
2782 "immutable": true,
2783 "locationInModule": {
2784 "filename": "lib/lambda.generated.ts",
2785 "line": 759
2786 },
2787 "name": "untrustedArtifactOnDeployment",
2788 "type": {
2789 "primitive": "string"
2790 }
2791 }
2792 ],
2793 "symbolId": "lib/lambda.generated:CfnCodeSigningConfig.CodeSigningPoliciesProperty"
2794 },
2795 "@aws-cdk/aws-lambda.CfnCodeSigningConfigProps": {
2796 "assembly": "@aws-cdk/aws-lambda",
2797 "datatype": true,
2798 "docs": {
2799 "custom": {
2800 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-codesigningconfig.html",
2801 "exampleMetadata": "fixture=_generated"
2802 },
2803 "stability": "external",
2804 "summary": "Properties for defining a `CfnCodeSigningConfig`.",
2805 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst cfnCodeSigningConfigProps: lambda.CfnCodeSigningConfigProps = {\n allowedPublishers: {\n signingProfileVersionArns: ['signingProfileVersionArns'],\n },\n\n // the properties below are optional\n codeSigningPolicies: {\n untrustedArtifactOnDeployment: 'untrustedArtifactOnDeployment',\n },\n description: 'description',\n};"
2806 },
2807 "fqn": "@aws-cdk/aws-lambda.CfnCodeSigningConfigProps",
2808 "kind": "interface",
2809 "locationInModule": {
2810 "filename": "lib/lambda.generated.ts",
2811 "line": 488
2812 },
2813 "name": "CfnCodeSigningConfigProps",
2814 "properties": [
2815 {
2816 "abstract": true,
2817 "docs": {
2818 "custom": {
2819 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-codesigningconfig.html#cfn-lambda-codesigningconfig-allowedpublishers"
2820 },
2821 "stability": "external",
2822 "summary": "List of allowed publishers."
2823 },
2824 "immutable": true,
2825 "locationInModule": {
2826 "filename": "lib/lambda.generated.ts",
2827 "line": 495
2828 },
2829 "name": "allowedPublishers",
2830 "type": {
2831 "union": {
2832 "types": [
2833 {
2834 "fqn": "@aws-cdk/core.IResolvable"
2835 },
2836 {
2837 "fqn": "@aws-cdk/aws-lambda.CfnCodeSigningConfig.AllowedPublishersProperty"
2838 }
2839 ]
2840 }
2841 }
2842 },
2843 {
2844 "abstract": true,
2845 "docs": {
2846 "custom": {
2847 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-codesigningconfig.html#cfn-lambda-codesigningconfig-codesigningpolicies"
2848 },
2849 "stability": "external",
2850 "summary": "The code signing policy controls the validation failure action for signature mismatch or expiry."
2851 },
2852 "immutable": true,
2853 "locationInModule": {
2854 "filename": "lib/lambda.generated.ts",
2855 "line": 502
2856 },
2857 "name": "codeSigningPolicies",
2858 "optional": true,
2859 "type": {
2860 "union": {
2861 "types": [
2862 {
2863 "fqn": "@aws-cdk/core.IResolvable"
2864 },
2865 {
2866 "fqn": "@aws-cdk/aws-lambda.CfnCodeSigningConfig.CodeSigningPoliciesProperty"
2867 }
2868 ]
2869 }
2870 }
2871 },
2872 {
2873 "abstract": true,
2874 "docs": {
2875 "custom": {
2876 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-codesigningconfig.html#cfn-lambda-codesigningconfig-description"
2877 },
2878 "stability": "external",
2879 "summary": "Code signing configuration description."
2880 },
2881 "immutable": true,
2882 "locationInModule": {
2883 "filename": "lib/lambda.generated.ts",
2884 "line": 509
2885 },
2886 "name": "description",
2887 "optional": true,
2888 "type": {
2889 "primitive": "string"
2890 }
2891 }
2892 ],
2893 "symbolId": "lib/lambda.generated:CfnCodeSigningConfigProps"
2894 },
2895 "@aws-cdk/aws-lambda.CfnEventInvokeConfig": {
2896 "assembly": "@aws-cdk/aws-lambda",
2897 "base": "@aws-cdk/core.CfnResource",
2898 "docs": {
2899 "custom": {
2900 "cloudformationResource": "AWS::Lambda::EventInvokeConfig",
2901 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventinvokeconfig.html",
2902 "exampleMetadata": "fixture=_generated"
2903 },
2904 "remarks": "The `AWS::Lambda::EventInvokeConfig` resource configures options for [asynchronous invocation](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html) on a version or an alias.\n\nBy default, Lambda retries an asynchronous invocation twice if the function returns an error. It retains events in a queue for up to six hours. When an event fails all processing attempts or stays in the asynchronous invocation queue for too long, Lambda discards it.",
2905 "stability": "external",
2906 "summary": "A CloudFormation `AWS::Lambda::EventInvokeConfig`.",
2907 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst cfnEventInvokeConfig = new lambda.CfnEventInvokeConfig(this, 'MyCfnEventInvokeConfig', {\n functionName: 'functionName',\n qualifier: 'qualifier',\n\n // the properties below are optional\n destinationConfig: {\n onFailure: {\n destination: 'destination',\n },\n onSuccess: {\n destination: 'destination',\n },\n },\n maximumEventAgeInSeconds: 123,\n maximumRetryAttempts: 123,\n});"
2908 },
2909 "fqn": "@aws-cdk/aws-lambda.CfnEventInvokeConfig",
2910 "initializer": {
2911 "docs": {
2912 "stability": "external",
2913 "summary": "Create a new `AWS::Lambda::EventInvokeConfig`."
2914 },
2915 "locationInModule": {
2916 "filename": "lib/lambda.generated.ts",
2917 "line": 1026
2918 },
2919 "parameters": [
2920 {
2921 "docs": {
2922 "summary": "- scope in which this resource is defined."
2923 },
2924 "name": "scope",
2925 "type": {
2926 "fqn": "@aws-cdk/core.Construct"
2927 }
2928 },
2929 {
2930 "docs": {
2931 "summary": "- scoped id of the resource."
2932 },
2933 "name": "id",
2934 "type": {
2935 "primitive": "string"
2936 }
2937 },
2938 {
2939 "docs": {
2940 "summary": "- resource properties."
2941 },
2942 "name": "props",
2943 "type": {
2944 "fqn": "@aws-cdk/aws-lambda.CfnEventInvokeConfigProps"
2945 }
2946 }
2947 ]
2948 },
2949 "interfaces": [
2950 "@aws-cdk/core.IInspectable"
2951 ],
2952 "kind": "class",
2953 "locationInModule": {
2954 "filename": "lib/lambda.generated.ts",
2955 "line": 944
2956 },
2957 "methods": [
2958 {
2959 "docs": {
2960 "stability": "external",
2961 "summary": "Examines the CloudFormation resource and discloses attributes."
2962 },
2963 "locationInModule": {
2964 "filename": "lib/lambda.generated.ts",
2965 "line": 1044
2966 },
2967 "name": "inspect",
2968 "overrides": "@aws-cdk/core.IInspectable",
2969 "parameters": [
2970 {
2971 "docs": {
2972 "summary": "- tree inspector to collect and process attributes."
2973 },
2974 "name": "inspector",
2975 "type": {
2976 "fqn": "@aws-cdk/core.TreeInspector"
2977 }
2978 }
2979 ]
2980 },
2981 {
2982 "docs": {
2983 "stability": "external"
2984 },
2985 "locationInModule": {
2986 "filename": "lib/lambda.generated.ts",
2987 "line": 1059
2988 },
2989 "name": "renderProperties",
2990 "overrides": "@aws-cdk/core.CfnResource",
2991 "parameters": [
2992 {
2993 "name": "props",
2994 "type": {
2995 "collection": {
2996 "elementtype": {
2997 "primitive": "any"
2998 },
2999 "kind": "map"
3000 }
3001 }
3002 }
3003 ],
3004 "protected": true,
3005 "returns": {
3006 "type": {
3007 "collection": {
3008 "elementtype": {
3009 "primitive": "any"
3010 },
3011 "kind": "map"
3012 }
3013 }
3014 }
3015 }
3016 ],
3017 "name": "CfnEventInvokeConfig",
3018 "properties": [
3019 {
3020 "const": true,
3021 "docs": {
3022 "stability": "external",
3023 "summary": "The CloudFormation resource type name for this resource class."
3024 },
3025 "immutable": true,
3026 "locationInModule": {
3027 "filename": "lib/lambda.generated.ts",
3028 "line": 948
3029 },
3030 "name": "CFN_RESOURCE_TYPE_NAME",
3031 "static": true,
3032 "type": {
3033 "primitive": "string"
3034 }
3035 },
3036 {
3037 "docs": {
3038 "stability": "external"
3039 },
3040 "immutable": true,
3041 "locationInModule": {
3042 "filename": "lib/lambda.generated.ts",
3043 "line": 1049
3044 },
3045 "name": "cfnProperties",
3046 "overrides": "@aws-cdk/core.CfnResource",
3047 "protected": true,
3048 "type": {
3049 "collection": {
3050 "elementtype": {
3051 "primitive": "any"
3052 },
3053 "kind": "map"
3054 }
3055 }
3056 },
3057 {
3058 "docs": {
3059 "custom": {
3060 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventinvokeconfig.html#cfn-lambda-eventinvokeconfig-functionname"
3061 },
3062 "remarks": "*Minimum* : `1`\n\n*Maximum* : `64`\n\n*Pattern* : `([a-zA-Z0-9-_]+)`",
3063 "stability": "external",
3064 "summary": "The name of the Lambda function."
3065 },
3066 "locationInModule": {
3067 "filename": "lib/lambda.generated.ts",
3068 "line": 980
3069 },
3070 "name": "functionName",
3071 "type": {
3072 "primitive": "string"
3073 }
3074 },
3075 {
3076 "docs": {
3077 "custom": {
3078 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventinvokeconfig.html#cfn-lambda-eventinvokeconfig-qualifier"
3079 },
3080 "remarks": "- *Version* - A version number.\n- *Alias* - An alias name.\n- *Latest* - To specify the unpublished version, use `$LATEST` .",
3081 "stability": "external",
3082 "summary": "The identifier of a version or alias."
3083 },
3084 "locationInModule": {
3085 "filename": "lib/lambda.generated.ts",
3086 "line": 991
3087 },
3088 "name": "qualifier",
3089 "type": {
3090 "primitive": "string"
3091 }
3092 },
3093 {
3094 "docs": {
3095 "custom": {
3096 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventinvokeconfig.html#cfn-lambda-eventinvokeconfig-destinationconfig"
3097 },
3098 "remarks": "**Destinations** - *Function* - The Amazon Resource Name (ARN) of a Lambda function.\n- *Queue* - The ARN of an SQS queue.\n- *Topic* - The ARN of an SNS topic.\n- *Event Bus* - The ARN of an Amazon EventBridge event bus.",
3099 "stability": "external",
3100 "summary": "A destination for events after they have been sent to a function for processing."
3101 },
3102 "locationInModule": {
3103 "filename": "lib/lambda.generated.ts",
3104 "line": 1003
3105 },
3106 "name": "destinationConfig",
3107 "optional": true,
3108 "type": {
3109 "union": {
3110 "types": [
3111 {
3112 "fqn": "@aws-cdk/core.IResolvable"
3113 },
3114 {
3115 "fqn": "@aws-cdk/aws-lambda.CfnEventInvokeConfig.DestinationConfigProperty"
3116 }
3117 ]
3118 }
3119 }
3120 },
3121 {
3122 "docs": {
3123 "custom": {
3124 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventinvokeconfig.html#cfn-lambda-eventinvokeconfig-maximumeventageinseconds"
3125 },
3126 "stability": "external",
3127 "summary": "The maximum age of a request that Lambda sends to a function for processing."
3128 },
3129 "locationInModule": {
3130 "filename": "lib/lambda.generated.ts",
3131 "line": 1010
3132 },
3133 "name": "maximumEventAgeInSeconds",
3134 "optional": true,
3135 "type": {
3136 "primitive": "number"
3137 }
3138 },
3139 {
3140 "docs": {
3141 "custom": {
3142 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventinvokeconfig.html#cfn-lambda-eventinvokeconfig-maximumretryattempts"
3143 },
3144 "stability": "external",
3145 "summary": "The maximum number of times to retry when the function returns an error."
3146 },
3147 "locationInModule": {
3148 "filename": "lib/lambda.generated.ts",
3149 "line": 1017
3150 },
3151 "name": "maximumRetryAttempts",
3152 "optional": true,
3153 "type": {
3154 "primitive": "number"
3155 }
3156 }
3157 ],
3158 "symbolId": "lib/lambda.generated:CfnEventInvokeConfig"
3159 },
3160 "@aws-cdk/aws-lambda.CfnEventInvokeConfig.DestinationConfigProperty": {
3161 "assembly": "@aws-cdk/aws-lambda",
3162 "datatype": true,
3163 "docs": {
3164 "custom": {
3165 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventinvokeconfig-destinationconfig.html",
3166 "exampleMetadata": "fixture=_generated"
3167 },
3168 "stability": "external",
3169 "summary": "A configuration object that specifies the destination of an event after Lambda processes it.",
3170 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst destinationConfigProperty: lambda.CfnEventInvokeConfig.DestinationConfigProperty = {\n onFailure: {\n destination: 'destination',\n },\n onSuccess: {\n destination: 'destination',\n },\n};"
3171 },
3172 "fqn": "@aws-cdk/aws-lambda.CfnEventInvokeConfig.DestinationConfigProperty",
3173 "kind": "interface",
3174 "locationInModule": {
3175 "filename": "lib/lambda.generated.ts",
3176 "line": 1073
3177 },
3178 "name": "DestinationConfigProperty",
3179 "namespace": "CfnEventInvokeConfig",
3180 "properties": [
3181 {
3182 "abstract": true,
3183 "docs": {
3184 "custom": {
3185 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventinvokeconfig-destinationconfig.html#cfn-lambda-eventinvokeconfig-destinationconfig-onfailure"
3186 },
3187 "stability": "external",
3188 "summary": "The destination configuration for failed invocations."
3189 },
3190 "immutable": true,
3191 "locationInModule": {
3192 "filename": "lib/lambda.generated.ts",
3193 "line": 1079
3194 },
3195 "name": "onFailure",
3196 "optional": true,
3197 "type": {
3198 "union": {
3199 "types": [
3200 {
3201 "fqn": "@aws-cdk/core.IResolvable"
3202 },
3203 {
3204 "fqn": "@aws-cdk/aws-lambda.CfnEventInvokeConfig.OnFailureProperty"
3205 }
3206 ]
3207 }
3208 }
3209 },
3210 {
3211 "abstract": true,
3212 "docs": {
3213 "custom": {
3214 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventinvokeconfig-destinationconfig.html#cfn-lambda-eventinvokeconfig-destinationconfig-onsuccess"
3215 },
3216 "stability": "external",
3217 "summary": "The destination configuration for successful invocations."
3218 },
3219 "immutable": true,
3220 "locationInModule": {
3221 "filename": "lib/lambda.generated.ts",
3222 "line": 1085
3223 },
3224 "name": "onSuccess",
3225 "optional": true,
3226 "type": {
3227 "union": {
3228 "types": [
3229 {
3230 "fqn": "@aws-cdk/core.IResolvable"
3231 },
3232 {
3233 "fqn": "@aws-cdk/aws-lambda.CfnEventInvokeConfig.OnSuccessProperty"
3234 }
3235 ]
3236 }
3237 }
3238 }
3239 ],
3240 "symbolId": "lib/lambda.generated:CfnEventInvokeConfig.DestinationConfigProperty"
3241 },
3242 "@aws-cdk/aws-lambda.CfnEventInvokeConfig.OnFailureProperty": {
3243 "assembly": "@aws-cdk/aws-lambda",
3244 "datatype": true,
3245 "docs": {
3246 "custom": {
3247 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventinvokeconfig-destinationconfig-onfailure.html",
3248 "exampleMetadata": "fixture=_generated"
3249 },
3250 "stability": "external",
3251 "summary": "A destination for events that failed processing.",
3252 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst onFailureProperty: lambda.CfnEventInvokeConfig.OnFailureProperty = {\n destination: 'destination',\n};"
3253 },
3254 "fqn": "@aws-cdk/aws-lambda.CfnEventInvokeConfig.OnFailureProperty",
3255 "kind": "interface",
3256 "locationInModule": {
3257 "filename": "lib/lambda.generated.ts",
3258 "line": 1149
3259 },
3260 "name": "OnFailureProperty",
3261 "namespace": "CfnEventInvokeConfig",
3262 "properties": [
3263 {
3264 "abstract": true,
3265 "docs": {
3266 "custom": {
3267 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventinvokeconfig-destinationconfig-onfailure.html#cfn-lambda-eventinvokeconfig-destinationconfig-onfailure-destination"
3268 },
3269 "stability": "external",
3270 "summary": "The Amazon Resource Name (ARN) of the destination resource."
3271 },
3272 "immutable": true,
3273 "locationInModule": {
3274 "filename": "lib/lambda.generated.ts",
3275 "line": 1155
3276 },
3277 "name": "destination",
3278 "type": {
3279 "primitive": "string"
3280 }
3281 }
3282 ],
3283 "symbolId": "lib/lambda.generated:CfnEventInvokeConfig.OnFailureProperty"
3284 },
3285 "@aws-cdk/aws-lambda.CfnEventInvokeConfig.OnSuccessProperty": {
3286 "assembly": "@aws-cdk/aws-lambda",
3287 "datatype": true,
3288 "docs": {
3289 "custom": {
3290 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventinvokeconfig-destinationconfig-onsuccess.html",
3291 "exampleMetadata": "fixture=_generated"
3292 },
3293 "stability": "external",
3294 "summary": "A destination for events that were processed successfully.",
3295 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst onSuccessProperty: lambda.CfnEventInvokeConfig.OnSuccessProperty = {\n destination: 'destination',\n};"
3296 },
3297 "fqn": "@aws-cdk/aws-lambda.CfnEventInvokeConfig.OnSuccessProperty",
3298 "kind": "interface",
3299 "locationInModule": {
3300 "filename": "lib/lambda.generated.ts",
3301 "line": 1217
3302 },
3303 "name": "OnSuccessProperty",
3304 "namespace": "CfnEventInvokeConfig",
3305 "properties": [
3306 {
3307 "abstract": true,
3308 "docs": {
3309 "custom": {
3310 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventinvokeconfig-destinationconfig-onsuccess.html#cfn-lambda-eventinvokeconfig-destinationconfig-onsuccess-destination"
3311 },
3312 "stability": "external",
3313 "summary": "The Amazon Resource Name (ARN) of the destination resource."
3314 },
3315 "immutable": true,
3316 "locationInModule": {
3317 "filename": "lib/lambda.generated.ts",
3318 "line": 1223
3319 },
3320 "name": "destination",
3321 "type": {
3322 "primitive": "string"
3323 }
3324 }
3325 ],
3326 "symbolId": "lib/lambda.generated:CfnEventInvokeConfig.OnSuccessProperty"
3327 },
3328 "@aws-cdk/aws-lambda.CfnEventInvokeConfigProps": {
3329 "assembly": "@aws-cdk/aws-lambda",
3330 "datatype": true,
3331 "docs": {
3332 "custom": {
3333 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventinvokeconfig.html",
3334 "exampleMetadata": "fixture=_generated"
3335 },
3336 "stability": "external",
3337 "summary": "Properties for defining a `CfnEventInvokeConfig`.",
3338 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst cfnEventInvokeConfigProps: lambda.CfnEventInvokeConfigProps = {\n functionName: 'functionName',\n qualifier: 'qualifier',\n\n // the properties below are optional\n destinationConfig: {\n onFailure: {\n destination: 'destination',\n },\n onSuccess: {\n destination: 'destination',\n },\n },\n maximumEventAgeInSeconds: 123,\n maximumRetryAttempts: 123,\n};"
3339 },
3340 "fqn": "@aws-cdk/aws-lambda.CfnEventInvokeConfigProps",
3341 "kind": "interface",
3342 "locationInModule": {
3343 "filename": "lib/lambda.generated.ts",
3344 "line": 820
3345 },
3346 "name": "CfnEventInvokeConfigProps",
3347 "properties": [
3348 {
3349 "abstract": true,
3350 "docs": {
3351 "custom": {
3352 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventinvokeconfig.html#cfn-lambda-eventinvokeconfig-functionname"
3353 },
3354 "remarks": "*Minimum* : `1`\n\n*Maximum* : `64`\n\n*Pattern* : `([a-zA-Z0-9-_]+)`",
3355 "stability": "external",
3356 "summary": "The name of the Lambda function."
3357 },
3358 "immutable": true,
3359 "locationInModule": {
3360 "filename": "lib/lambda.generated.ts",
3361 "line": 833
3362 },
3363 "name": "functionName",
3364 "type": {
3365 "primitive": "string"
3366 }
3367 },
3368 {
3369 "abstract": true,
3370 "docs": {
3371 "custom": {
3372 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventinvokeconfig.html#cfn-lambda-eventinvokeconfig-qualifier"
3373 },
3374 "remarks": "- *Version* - A version number.\n- *Alias* - An alias name.\n- *Latest* - To specify the unpublished version, use `$LATEST` .",
3375 "stability": "external",
3376 "summary": "The identifier of a version or alias."
3377 },
3378 "immutable": true,
3379 "locationInModule": {
3380 "filename": "lib/lambda.generated.ts",
3381 "line": 844
3382 },
3383 "name": "qualifier",
3384 "type": {
3385 "primitive": "string"
3386 }
3387 },
3388 {
3389 "abstract": true,
3390 "docs": {
3391 "custom": {
3392 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventinvokeconfig.html#cfn-lambda-eventinvokeconfig-destinationconfig"
3393 },
3394 "remarks": "**Destinations** - *Function* - The Amazon Resource Name (ARN) of a Lambda function.\n- *Queue* - The ARN of an SQS queue.\n- *Topic* - The ARN of an SNS topic.\n- *Event Bus* - The ARN of an Amazon EventBridge event bus.",
3395 "stability": "external",
3396 "summary": "A destination for events after they have been sent to a function for processing."
3397 },
3398 "immutable": true,
3399 "locationInModule": {
3400 "filename": "lib/lambda.generated.ts",
3401 "line": 856
3402 },
3403 "name": "destinationConfig",
3404 "optional": true,
3405 "type": {
3406 "union": {
3407 "types": [
3408 {
3409 "fqn": "@aws-cdk/core.IResolvable"
3410 },
3411 {
3412 "fqn": "@aws-cdk/aws-lambda.CfnEventInvokeConfig.DestinationConfigProperty"
3413 }
3414 ]
3415 }
3416 }
3417 },
3418 {
3419 "abstract": true,
3420 "docs": {
3421 "custom": {
3422 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventinvokeconfig.html#cfn-lambda-eventinvokeconfig-maximumeventageinseconds"
3423 },
3424 "stability": "external",
3425 "summary": "The maximum age of a request that Lambda sends to a function for processing."
3426 },
3427 "immutable": true,
3428 "locationInModule": {
3429 "filename": "lib/lambda.generated.ts",
3430 "line": 863
3431 },
3432 "name": "maximumEventAgeInSeconds",
3433 "optional": true,
3434 "type": {
3435 "primitive": "number"
3436 }
3437 },
3438 {
3439 "abstract": true,
3440 "docs": {
3441 "custom": {
3442 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventinvokeconfig.html#cfn-lambda-eventinvokeconfig-maximumretryattempts"
3443 },
3444 "stability": "external",
3445 "summary": "The maximum number of times to retry when the function returns an error."
3446 },
3447 "immutable": true,
3448 "locationInModule": {
3449 "filename": "lib/lambda.generated.ts",
3450 "line": 870
3451 },
3452 "name": "maximumRetryAttempts",
3453 "optional": true,
3454 "type": {
3455 "primitive": "number"
3456 }
3457 }
3458 ],
3459 "symbolId": "lib/lambda.generated:CfnEventInvokeConfigProps"
3460 },
3461 "@aws-cdk/aws-lambda.CfnEventSourceMapping": {
3462 "assembly": "@aws-cdk/aws-lambda",
3463 "base": "@aws-cdk/core.CfnResource",
3464 "docs": {
3465 "custom": {
3466 "cloudformationResource": "AWS::Lambda::EventSourceMapping",
3467 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html",
3468 "exampleMetadata": "fixture=_generated"
3469 },
3470 "remarks": "The `AWS::Lambda::EventSourceMapping` resource creates a mapping between an event source and an AWS Lambda function. Lambda reads items from the event source and triggers the function.\n\nFor details about each event source type, see the following topics. In particular, each of the topics describes the required and optional parameters for the specific event source.\n\n- [Configuring a Dynamo DB stream as an event source](https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-dynamodb-eventsourcemapping)\n- [Configuring a Kinesis stream as an event source](https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-eventsourcemapping)\n- [Configuring an SQS queue as an event source](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-eventsource)\n- [Configuring an MQ broker as an event source](https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-eventsourcemapping)\n- [Configuring MSK as an event source](https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html)\n- [Configuring Self-Managed Apache Kafka as an event source](https://docs.aws.amazon.com/lambda/latest/dg/kafka-smaa.html)",
3471 "stability": "external",
3472 "summary": "A CloudFormation `AWS::Lambda::EventSourceMapping`.",
3473 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst cfnEventSourceMapping = new lambda.CfnEventSourceMapping(this, 'MyCfnEventSourceMapping', {\n functionName: 'functionName',\n\n // the properties below are optional\n amazonManagedKafkaEventSourceConfig: {\n consumerGroupId: 'consumerGroupId',\n },\n batchSize: 123,\n bisectBatchOnFunctionError: false,\n destinationConfig: {\n onFailure: {\n destination: 'destination',\n },\n },\n enabled: false,\n eventSourceArn: 'eventSourceArn',\n filterCriteria: {\n filters: [{\n pattern: 'pattern',\n }],\n },\n functionResponseTypes: ['functionResponseTypes'],\n maximumBatchingWindowInSeconds: 123,\n maximumRecordAgeInSeconds: 123,\n maximumRetryAttempts: 123,\n parallelizationFactor: 123,\n queues: ['queues'],\n selfManagedEventSource: {\n endpoints: {\n kafkaBootstrapServers: ['kafkaBootstrapServers'],\n },\n },\n selfManagedKafkaEventSourceConfig: {\n consumerGroupId: 'consumerGroupId',\n },\n sourceAccessConfigurations: [{\n type: 'type',\n uri: 'uri',\n }],\n startingPosition: 'startingPosition',\n startingPositionTimestamp: 123,\n topics: ['topics'],\n tumblingWindowInSeconds: 123,\n});"
3474 },
3475 "fqn": "@aws-cdk/aws-lambda.CfnEventSourceMapping",
3476 "initializer": {
3477 "docs": {
3478 "stability": "external",
3479 "summary": "Create a new `AWS::Lambda::EventSourceMapping`."
3480 },
3481 "locationInModule": {
3482 "filename": "lib/lambda.generated.ts",
3483 "line": 1810
3484 },
3485 "parameters": [
3486 {
3487 "docs": {
3488 "summary": "- scope in which this resource is defined."
3489 },
3490 "name": "scope",
3491 "type": {
3492 "fqn": "@aws-cdk/core.Construct"
3493 }
3494 },
3495 {
3496 "docs": {
3497 "summary": "- scoped id of the resource."
3498 },
3499 "name": "id",
3500 "type": {
3501 "primitive": "string"
3502 }
3503 },
3504 {
3505 "docs": {
3506 "summary": "- resource properties."
3507 },
3508 "name": "props",
3509 "type": {
3510 "fqn": "@aws-cdk/aws-lambda.CfnEventSourceMappingProps"
3511 }
3512 }
3513 ]
3514 },
3515 "interfaces": [
3516 "@aws-cdk/core.IInspectable"
3517 ],
3518 "kind": "class",
3519 "locationInModule": {
3520 "filename": "lib/lambda.generated.ts",
3521 "line": 1592
3522 },
3523 "methods": [
3524 {
3525 "docs": {
3526 "stability": "external",
3527 "summary": "Examines the CloudFormation resource and discloses attributes."
3528 },
3529 "locationInModule": {
3530 "filename": "lib/lambda.generated.ts",
3531 "line": 1844
3532 },
3533 "name": "inspect",
3534 "overrides": "@aws-cdk/core.IInspectable",
3535 "parameters": [
3536 {
3537 "docs": {
3538 "summary": "- tree inspector to collect and process attributes."
3539 },
3540 "name": "inspector",
3541 "type": {
3542 "fqn": "@aws-cdk/core.TreeInspector"
3543 }
3544 }
3545 ]
3546 },
3547 {
3548 "docs": {
3549 "stability": "external"
3550 },
3551 "locationInModule": {
3552 "filename": "lib/lambda.generated.ts",
3553 "line": 1875
3554 },
3555 "name": "renderProperties",
3556 "overrides": "@aws-cdk/core.CfnResource",
3557 "parameters": [
3558 {
3559 "name": "props",
3560 "type": {
3561 "collection": {
3562 "elementtype": {
3563 "primitive": "any"
3564 },
3565 "kind": "map"
3566 }
3567 }
3568 }
3569 ],
3570 "protected": true,
3571 "returns": {
3572 "type": {
3573 "collection": {
3574 "elementtype": {
3575 "primitive": "any"
3576 },
3577 "kind": "map"
3578 }
3579 }
3580 }
3581 }
3582 ],
3583 "name": "CfnEventSourceMapping",
3584 "properties": [
3585 {
3586 "const": true,
3587 "docs": {
3588 "stability": "external",
3589 "summary": "The CloudFormation resource type name for this resource class."
3590 },
3591 "immutable": true,
3592 "locationInModule": {
3593 "filename": "lib/lambda.generated.ts",
3594 "line": 1596
3595 },
3596 "name": "CFN_RESOURCE_TYPE_NAME",
3597 "static": true,
3598 "type": {
3599 "primitive": "string"
3600 }
3601 },
3602 {
3603 "docs": {
3604 "custom": {
3605 "cloudformationAttribute": "Id"
3606 },
3607 "stability": "external",
3608 "summary": "The event source mapping's ID."
3609 },
3610 "immutable": true,
3611 "locationInModule": {
3612 "filename": "lib/lambda.generated.ts",
3613 "line": 1621
3614 },
3615 "name": "attrId",
3616 "type": {
3617 "primitive": "string"
3618 }
3619 },
3620 {
3621 "docs": {
3622 "stability": "external"
3623 },
3624 "immutable": true,
3625 "locationInModule": {
3626 "filename": "lib/lambda.generated.ts",
3627 "line": 1849
3628 },
3629 "name": "cfnProperties",
3630 "overrides": "@aws-cdk/core.CfnResource",
3631 "protected": true,
3632 "type": {
3633 "collection": {
3634 "elementtype": {
3635 "primitive": "any"
3636 },
3637 "kind": "map"
3638 }
3639 }
3640 },
3641 {
3642 "docs": {
3643 "custom": {
3644 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-functionname"
3645 },
3646 "remarks": "**Name formats** - *Function name* - `MyFunction` .\n- *Function ARN* - `arn:aws:lambda:us-west-2:123456789012:function:MyFunction` .\n- *Version or Alias ARN* - `arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD` .\n- *Partial ARN* - `123456789012:function:MyFunction` .\n\nThe length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.",
3647 "stability": "external",
3648 "summary": "The name of the Lambda function."
3649 },
3650 "locationInModule": {
3651 "filename": "lib/lambda.generated.ts",
3652 "line": 1635
3653 },
3654 "name": "functionName",
3655 "type": {
3656 "primitive": "string"
3657 }
3658 },
3659 {
3660 "docs": {
3661 "custom": {
3662 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-amazonmanagedkafkaeventsourceconfig"
3663 },
3664 "stability": "external",
3665 "summary": "`AWS::Lambda::EventSourceMapping.AmazonManagedKafkaEventSourceConfig`."
3666 },
3667 "locationInModule": {
3668 "filename": "lib/lambda.generated.ts",
3669 "line": 1642
3670 },
3671 "name": "amazonManagedKafkaEventSourceConfig",
3672 "optional": true,
3673 "type": {
3674 "union": {
3675 "types": [
3676 {
3677 "fqn": "@aws-cdk/core.IResolvable"
3678 },
3679 {
3680 "fqn": "@aws-cdk/aws-lambda.CfnEventSourceMapping.AmazonManagedKafkaEventSourceConfigProperty"
3681 }
3682 ]
3683 }
3684 }
3685 },
3686 {
3687 "docs": {
3688 "custom": {
3689 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-batchsize"
3690 },
3691 "remarks": "Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation (6 MB).\n\n- *Amazon Kinesis* - Default 100. Max 10,000.\n- *Amazon DynamoDB Streams* - Default 100. Max 10,000.\n- *Amazon Simple Queue Service* - Default 10. For standard queues the max is 10,000. For FIFO queues the max is 10.\n- *Amazon Managed Streaming for Apache Kafka* - Default 100. Max 10,000.\n- *Self-Managed Apache Kafka* - Default 100. Max 10,000.\n- *Amazon MQ (ActiveMQ and RabbitMQ)* - Default 100. Max 10,000.",
3692 "stability": "external",
3693 "summary": "The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function."
3694 },
3695 "locationInModule": {
3696 "filename": "lib/lambda.generated.ts",
3697 "line": 1656
3698 },
3699 "name": "batchSize",
3700 "optional": true,
3701 "type": {
3702 "primitive": "number"
3703 }
3704 },
3705 {
3706 "docs": {
3707 "custom": {
3708 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-bisectbatchonfunctionerror"
3709 },
3710 "remarks": "The default value is false.",
3711 "stability": "external",
3712 "summary": "(Streams only) If the function returns an error, split the batch in two and retry."
3713 },
3714 "locationInModule": {
3715 "filename": "lib/lambda.generated.ts",
3716 "line": 1663
3717 },
3718 "name": "bisectBatchOnFunctionError",
3719 "optional": true,
3720 "type": {
3721 "union": {
3722 "types": [
3723 {
3724 "primitive": "boolean"
3725 },
3726 {
3727 "fqn": "@aws-cdk/core.IResolvable"
3728 }
3729 ]
3730 }
3731 }
3732 },
3733 {
3734 "docs": {
3735 "custom": {
3736 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-destinationconfig"
3737 },
3738 "stability": "external",
3739 "summary": "(Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded records."
3740 },
3741 "locationInModule": {
3742 "filename": "lib/lambda.generated.ts",
3743 "line": 1670
3744 },
3745 "name": "destinationConfig",
3746 "optional": true,
3747 "type": {
3748 "union": {
3749 "types": [
3750 {
3751 "fqn": "@aws-cdk/core.IResolvable"
3752 },
3753 {
3754 "fqn": "@aws-cdk/aws-lambda.CfnEventSourceMapping.DestinationConfigProperty"
3755 }
3756 ]
3757 }
3758 }
3759 },
3760 {
3761 "docs": {
3762 "custom": {
3763 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-enabled"
3764 },
3765 "remarks": "Default: True",
3766 "stability": "external",
3767 "summary": "When true, the event source mapping is active. When false, Lambda pauses polling and invocation."
3768 },
3769 "locationInModule": {
3770 "filename": "lib/lambda.generated.ts",
3771 "line": 1679
3772 },
3773 "name": "enabled",
3774 "optional": true,
3775 "type": {
3776 "union": {
3777 "types": [
3778 {
3779 "primitive": "boolean"
3780 },
3781 {
3782 "fqn": "@aws-cdk/core.IResolvable"
3783 }
3784 ]
3785 }
3786 }
3787 },
3788 {
3789 "docs": {
3790 "custom": {
3791 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-eventsourcearn"
3792 },
3793 "remarks": "- *Amazon Kinesis* - The ARN of the data stream or a stream consumer.\n- *Amazon DynamoDB Streams* - The ARN of the stream.\n- *Amazon Simple Queue Service* - The ARN of the queue.\n- *Amazon Managed Streaming for Apache Kafka* - The ARN of the cluster.",
3794 "stability": "external",
3795 "summary": "The Amazon Resource Name (ARN) of the event source."
3796 },
3797 "locationInModule": {
3798 "filename": "lib/lambda.generated.ts",
3799 "line": 1691
3800 },
3801 "name": "eventSourceArn",
3802 "optional": true,
3803 "type": {
3804 "primitive": "string"
3805 }
3806 },
3807 {
3808 "docs": {
3809 "custom": {
3810 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-filtercriteria"
3811 },
3812 "remarks": "For more information, see [Lambda event filtering](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html) .",
3813 "stability": "external",
3814 "summary": "(Streams and Amazon SQS) An object that defines the filter criteria that determine whether Lambda should process an event."
3815 },
3816 "locationInModule": {
3817 "filename": "lib/lambda.generated.ts",
3818 "line": 1698
3819 },
3820 "name": "filterCriteria",
3821 "optional": true,
3822 "type": {
3823 "union": {
3824 "types": [
3825 {
3826 "fqn": "@aws-cdk/core.IResolvable"
3827 },
3828 {
3829 "fqn": "@aws-cdk/aws-lambda.CfnEventSourceMapping.FilterCriteriaProperty"
3830 }
3831 ]
3832 }
3833 }
3834 },
3835 {
3836 "docs": {
3837 "custom": {
3838 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-functionresponsetypes"
3839 },
3840 "remarks": "Valid Values: `ReportBatchItemFailures`",
3841 "stability": "external",
3842 "summary": "(Streams and SQS) A list of current response type enums applied to the event source mapping."
3843 },
3844 "locationInModule": {
3845 "filename": "lib/lambda.generated.ts",
3846 "line": 1707
3847 },
3848 "name": "functionResponseTypes",
3849 "optional": true,
3850 "type": {
3851 "collection": {
3852 "elementtype": {
3853 "primitive": "string"
3854 },
3855 "kind": "array"
3856 }
3857 }
3858 },
3859 {
3860 "docs": {
3861 "custom": {
3862 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-maximumbatchingwindowinseconds"
3863 },
3864 "remarks": "*Default ( Kinesis , DynamoDB , Amazon SQS event sources)* : 0\n\n*Default ( Amazon MSK , Kafka, Amazon MQ event sources)* : 500 ms",
3865 "stability": "external",
3866 "summary": "The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function."
3867 },
3868 "locationInModule": {
3869 "filename": "lib/lambda.generated.ts",
3870 "line": 1718
3871 },
3872 "name": "maximumBatchingWindowInSeconds",
3873 "optional": true,
3874 "type": {
3875 "primitive": "number"
3876 }
3877 },
3878 {
3879 "docs": {
3880 "custom": {
3881 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-maximumrecordageinseconds"
3882 },
3883 "remarks": "The default value is -1,\nwhich sets the maximum age to infinite. When the value is set to infinite, Lambda never discards old records.",
3884 "stability": "external",
3885 "summary": "(Streams only) Discard records older than the specified age."
3886 },
3887 "locationInModule": {
3888 "filename": "lib/lambda.generated.ts",
3889 "line": 1726
3890 },
3891 "name": "maximumRecordAgeInSeconds",
3892 "optional": true,
3893 "type": {
3894 "primitive": "number"
3895 }
3896 },
3897 {
3898 "docs": {
3899 "custom": {
3900 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-maximumretryattempts"
3901 },
3902 "remarks": "The default value is -1,\nwhich sets the maximum number of retries to infinite. When MaximumRetryAttempts is infinite, Lambda retries failed records until the record expires in the event source.",
3903 "stability": "external",
3904 "summary": "(Streams only) Discard records after the specified number of retries."
3905 },
3906 "locationInModule": {
3907 "filename": "lib/lambda.generated.ts",
3908 "line": 1734
3909 },
3910 "name": "maximumRetryAttempts",
3911 "optional": true,
3912 "type": {
3913 "primitive": "number"
3914 }
3915 },
3916 {
3917 "docs": {
3918 "custom": {
3919 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-parallelizationfactor"
3920 },
3921 "remarks": "The default value is 1.",
3922 "stability": "external",
3923 "summary": "(Streams only) The number of batches to process concurrently from each shard."
3924 },
3925 "locationInModule": {
3926 "filename": "lib/lambda.generated.ts",
3927 "line": 1741
3928 },
3929 "name": "parallelizationFactor",
3930 "optional": true,
3931 "type": {
3932 "primitive": "number"
3933 }
3934 },
3935 {
3936 "docs": {
3937 "custom": {
3938 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-queues"
3939 },
3940 "stability": "external",
3941 "summary": "(Amazon MQ) The name of the Amazon MQ broker destination queue to consume."
3942 },
3943 "locationInModule": {
3944 "filename": "lib/lambda.generated.ts",
3945 "line": 1748
3946 },
3947 "name": "queues",
3948 "optional": true,
3949 "type": {
3950 "collection": {
3951 "elementtype": {
3952 "primitive": "string"
3953 },
3954 "kind": "array"
3955 }
3956 }
3957 },
3958 {
3959 "docs": {
3960 "custom": {
3961 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-selfmanagedeventsource"
3962 },
3963 "stability": "external",
3964 "summary": "The self-managed Apache Kafka cluster for your event source."
3965 },
3966 "locationInModule": {
3967 "filename": "lib/lambda.generated.ts",
3968 "line": 1755
3969 },
3970 "name": "selfManagedEventSource",
3971 "optional": true,
3972 "type": {
3973 "union": {
3974 "types": [
3975 {
3976 "fqn": "@aws-cdk/core.IResolvable"
3977 },
3978 {
3979 "fqn": "@aws-cdk/aws-lambda.CfnEventSourceMapping.SelfManagedEventSourceProperty"
3980 }
3981 ]
3982 }
3983 }
3984 },
3985 {
3986 "docs": {
3987 "custom": {
3988 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-selfmanagedkafkaeventsourceconfig"
3989 },
3990 "stability": "external",
3991 "summary": "`AWS::Lambda::EventSourceMapping.SelfManagedKafkaEventSourceConfig`."
3992 },
3993 "locationInModule": {
3994 "filename": "lib/lambda.generated.ts",
3995 "line": 1762
3996 },
3997 "name": "selfManagedKafkaEventSourceConfig",
3998 "optional": true,
3999 "type": {
4000 "union": {
4001 "types": [
4002 {
4003 "fqn": "@aws-cdk/core.IResolvable"
4004 },
4005 {
4006 "fqn": "@aws-cdk/aws-lambda.CfnEventSourceMapping.SelfManagedKafkaEventSourceConfigProperty"
4007 }
4008 ]
4009 }
4010 }
4011 },
4012 {
4013 "docs": {
4014 "custom": {
4015 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-sourceaccessconfigurations"
4016 },
4017 "stability": "external",
4018 "summary": "An array of the authentication protocol, VPC components, or virtual host to secure and define your event source."
4019 },
4020 "locationInModule": {
4021 "filename": "lib/lambda.generated.ts",
4022 "line": 1769
4023 },
4024 "name": "sourceAccessConfigurations",
4025 "optional": true,
4026 "type": {
4027 "union": {
4028 "types": [
4029 {
4030 "fqn": "@aws-cdk/core.IResolvable"
4031 },
4032 {
4033 "collection": {
4034 "elementtype": {
4035 "union": {
4036 "types": [
4037 {
4038 "fqn": "@aws-cdk/core.IResolvable"
4039 },
4040 {
4041 "fqn": "@aws-cdk/aws-lambda.CfnEventSourceMapping.SourceAccessConfigurationProperty"
4042 }
4043 ]
4044 }
4045 },
4046 "kind": "array"
4047 }
4048 }
4049 ]
4050 }
4051 }
4052 },
4053 {
4054 "docs": {
4055 "custom": {
4056 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-startingposition"
4057 },
4058 "remarks": "- *LATEST* - Read only new records.\n- *TRIM_HORIZON* - Process all available records.\n- *AT_TIMESTAMP* - Specify a time from which to start reading records.",
4059 "stability": "external",
4060 "summary": "The position in a stream from which to start reading. Required for Amazon Kinesis and Amazon DynamoDB."
4061 },
4062 "locationInModule": {
4063 "filename": "lib/lambda.generated.ts",
4064 "line": 1780
4065 },
4066 "name": "startingPosition",
4067 "optional": true,
4068 "type": {
4069 "primitive": "string"
4070 }
4071 },
4072 {
4073 "docs": {
4074 "custom": {
4075 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-startingpositiontimestamp"
4076 },
4077 "stability": "external",
4078 "summary": "With `StartingPosition` set to `AT_TIMESTAMP` , the time from which to start reading, in Unix time seconds."
4079 },
4080 "locationInModule": {
4081 "filename": "lib/lambda.generated.ts",
4082 "line": 1787
4083 },
4084 "name": "startingPositionTimestamp",
4085 "optional": true,
4086 "type": {
4087 "primitive": "number"
4088 }
4089 },
4090 {
4091 "docs": {
4092 "custom": {
4093 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-topics"
4094 },
4095 "stability": "external",
4096 "summary": "The name of the Kafka topic."
4097 },
4098 "locationInModule": {
4099 "filename": "lib/lambda.generated.ts",
4100 "line": 1794
4101 },
4102 "name": "topics",
4103 "optional": true,
4104 "type": {
4105 "collection": {
4106 "elementtype": {
4107 "primitive": "string"
4108 },
4109 "kind": "array"
4110 }
4111 }
4112 },
4113 {
4114 "docs": {
4115 "custom": {
4116 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-tumblingwindowinseconds"
4117 },
4118 "remarks": "The range is between 1 second up to 900 seconds.",
4119 "stability": "external",
4120 "summary": "(Streams only) The duration in seconds of a processing window."
4121 },
4122 "locationInModule": {
4123 "filename": "lib/lambda.generated.ts",
4124 "line": 1801
4125 },
4126 "name": "tumblingWindowInSeconds",
4127 "optional": true,
4128 "type": {
4129 "primitive": "number"
4130 }
4131 }
4132 ],
4133 "symbolId": "lib/lambda.generated:CfnEventSourceMapping"
4134 },
4135 "@aws-cdk/aws-lambda.CfnEventSourceMapping.AmazonManagedKafkaEventSourceConfigProperty": {
4136 "assembly": "@aws-cdk/aws-lambda",
4137 "datatype": true,
4138 "docs": {
4139 "custom": {
4140 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-amazonmanagedkafkaeventsourceconfig.html",
4141 "exampleMetadata": "fixture=_generated"
4142 },
4143 "stability": "external",
4144 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst amazonManagedKafkaEventSourceConfigProperty: lambda.CfnEventSourceMapping.AmazonManagedKafkaEventSourceConfigProperty = {\n consumerGroupId: 'consumerGroupId',\n};"
4145 },
4146 "fqn": "@aws-cdk/aws-lambda.CfnEventSourceMapping.AmazonManagedKafkaEventSourceConfigProperty",
4147 "kind": "interface",
4148 "locationInModule": {
4149 "filename": "lib/lambda.generated.ts",
4150 "line": 1889
4151 },
4152 "name": "AmazonManagedKafkaEventSourceConfigProperty",
4153 "namespace": "CfnEventSourceMapping",
4154 "properties": [
4155 {
4156 "abstract": true,
4157 "docs": {
4158 "custom": {
4159 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-amazonmanagedkafkaeventsourceconfig.html#cfn-lambda-eventsourcemapping-amazonmanagedkafkaeventsourceconfig-consumergroupid"
4160 },
4161 "stability": "external",
4162 "summary": "`CfnEventSourceMapping.AmazonManagedKafkaEventSourceConfigProperty.ConsumerGroupId`."
4163 },
4164 "immutable": true,
4165 "locationInModule": {
4166 "filename": "lib/lambda.generated.ts",
4167 "line": 1895
4168 },
4169 "name": "consumerGroupId",
4170 "optional": true,
4171 "type": {
4172 "primitive": "string"
4173 }
4174 }
4175 ],
4176 "symbolId": "lib/lambda.generated:CfnEventSourceMapping.AmazonManagedKafkaEventSourceConfigProperty"
4177 },
4178 "@aws-cdk/aws-lambda.CfnEventSourceMapping.DestinationConfigProperty": {
4179 "assembly": "@aws-cdk/aws-lambda",
4180 "datatype": true,
4181 "docs": {
4182 "custom": {
4183 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-destinationconfig.html",
4184 "exampleMetadata": "fixture=_generated"
4185 },
4186 "stability": "external",
4187 "summary": "A configuration object that specifies the destination of an event after Lambda processes it.",
4188 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst destinationConfigProperty: lambda.CfnEventSourceMapping.DestinationConfigProperty = {\n onFailure: {\n destination: 'destination',\n },\n};"
4189 },
4190 "fqn": "@aws-cdk/aws-lambda.CfnEventSourceMapping.DestinationConfigProperty",
4191 "kind": "interface",
4192 "locationInModule": {
4193 "filename": "lib/lambda.generated.ts",
4194 "line": 1956
4195 },
4196 "name": "DestinationConfigProperty",
4197 "namespace": "CfnEventSourceMapping",
4198 "properties": [
4199 {
4200 "abstract": true,
4201 "docs": {
4202 "custom": {
4203 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-destinationconfig.html#cfn-lambda-eventsourcemapping-destinationconfig-onfailure"
4204 },
4205 "stability": "external",
4206 "summary": "The destination configuration for failed invocations."
4207 },
4208 "immutable": true,
4209 "locationInModule": {
4210 "filename": "lib/lambda.generated.ts",
4211 "line": 1962
4212 },
4213 "name": "onFailure",
4214 "optional": true,
4215 "type": {
4216 "union": {
4217 "types": [
4218 {
4219 "fqn": "@aws-cdk/core.IResolvable"
4220 },
4221 {
4222 "fqn": "@aws-cdk/aws-lambda.CfnEventSourceMapping.OnFailureProperty"
4223 }
4224 ]
4225 }
4226 }
4227 }
4228 ],
4229 "symbolId": "lib/lambda.generated:CfnEventSourceMapping.DestinationConfigProperty"
4230 },
4231 "@aws-cdk/aws-lambda.CfnEventSourceMapping.EndpointsProperty": {
4232 "assembly": "@aws-cdk/aws-lambda",
4233 "datatype": true,
4234 "docs": {
4235 "custom": {
4236 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-endpoints.html",
4237 "exampleMetadata": "fixture=_generated"
4238 },
4239 "stability": "external",
4240 "summary": "The list of bootstrap servers for your Kafka brokers in the following format: `\"KafkaBootstrapServers\": [\"abc.xyz.com:xxxx\",\"abc2.xyz.com:xxxx\"]` .",
4241 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst endpointsProperty: lambda.CfnEventSourceMapping.EndpointsProperty = {\n kafkaBootstrapServers: ['kafkaBootstrapServers'],\n};"
4242 },
4243 "fqn": "@aws-cdk/aws-lambda.CfnEventSourceMapping.EndpointsProperty",
4244 "kind": "interface",
4245 "locationInModule": {
4246 "filename": "lib/lambda.generated.ts",
4247 "line": 2023
4248 },
4249 "name": "EndpointsProperty",
4250 "namespace": "CfnEventSourceMapping",
4251 "properties": [
4252 {
4253 "abstract": true,
4254 "docs": {
4255 "custom": {
4256 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-endpoints.html#cfn-lambda-eventsourcemapping-endpoints-kafkabootstrapservers"
4257 },
4258 "stability": "external",
4259 "summary": "The list of bootstrap servers for your Kafka brokers in the following format: `\"KafkaBootstrapServers\": [\"abc.xyz.com:xxxx\",\"abc2.xyz.com:xxxx\"]` ."
4260 },
4261 "immutable": true,
4262 "locationInModule": {
4263 "filename": "lib/lambda.generated.ts",
4264 "line": 2029
4265 },
4266 "name": "kafkaBootstrapServers",
4267 "optional": true,
4268 "type": {
4269 "collection": {
4270 "elementtype": {
4271 "primitive": "string"
4272 },
4273 "kind": "array"
4274 }
4275 }
4276 }
4277 ],
4278 "symbolId": "lib/lambda.generated:CfnEventSourceMapping.EndpointsProperty"
4279 },
4280 "@aws-cdk/aws-lambda.CfnEventSourceMapping.FilterCriteriaProperty": {
4281 "assembly": "@aws-cdk/aws-lambda",
4282 "datatype": true,
4283 "docs": {
4284 "custom": {
4285 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-filtercriteria.html",
4286 "exampleMetadata": "fixture=_generated"
4287 },
4288 "stability": "external",
4289 "summary": "An object that contains the filters for an event source.",
4290 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst filterCriteriaProperty: lambda.CfnEventSourceMapping.FilterCriteriaProperty = {\n filters: [{\n pattern: 'pattern',\n }],\n};"
4291 },
4292 "fqn": "@aws-cdk/aws-lambda.CfnEventSourceMapping.FilterCriteriaProperty",
4293 "kind": "interface",
4294 "locationInModule": {
4295 "filename": "lib/lambda.generated.ts",
4296 "line": 2157
4297 },
4298 "name": "FilterCriteriaProperty",
4299 "namespace": "CfnEventSourceMapping",
4300 "properties": [
4301 {
4302 "abstract": true,
4303 "docs": {
4304 "custom": {
4305 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-filtercriteria.html#cfn-lambda-eventsourcemapping-filtercriteria-filters"
4306 },
4307 "stability": "external",
4308 "summary": "A list of filters."
4309 },
4310 "immutable": true,
4311 "locationInModule": {
4312 "filename": "lib/lambda.generated.ts",
4313 "line": 2163
4314 },
4315 "name": "filters",
4316 "optional": true,
4317 "type": {
4318 "union": {
4319 "types": [
4320 {
4321 "fqn": "@aws-cdk/core.IResolvable"
4322 },
4323 {
4324 "collection": {
4325 "elementtype": {
4326 "union": {
4327 "types": [
4328 {
4329 "fqn": "@aws-cdk/core.IResolvable"
4330 },
4331 {
4332 "fqn": "@aws-cdk/aws-lambda.CfnEventSourceMapping.FilterProperty"
4333 }
4334 ]
4335 }
4336 },
4337 "kind": "array"
4338 }
4339 }
4340 ]
4341 }
4342 }
4343 }
4344 ],
4345 "symbolId": "lib/lambda.generated:CfnEventSourceMapping.FilterCriteriaProperty"
4346 },
4347 "@aws-cdk/aws-lambda.CfnEventSourceMapping.FilterProperty": {
4348 "assembly": "@aws-cdk/aws-lambda",
4349 "datatype": true,
4350 "docs": {
4351 "custom": {
4352 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-filter.html",
4353 "exampleMetadata": "fixture=_generated"
4354 },
4355 "stability": "external",
4356 "summary": "A structure within a `FilterCriteria` object that defines an event filtering pattern.",
4357 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst filterProperty: lambda.CfnEventSourceMapping.FilterProperty = {\n pattern: 'pattern',\n};"
4358 },
4359 "fqn": "@aws-cdk/aws-lambda.CfnEventSourceMapping.FilterProperty",
4360 "kind": "interface",
4361 "locationInModule": {
4362 "filename": "lib/lambda.generated.ts",
4363 "line": 2090
4364 },
4365 "name": "FilterProperty",
4366 "namespace": "CfnEventSourceMapping",
4367 "properties": [
4368 {
4369 "abstract": true,
4370 "docs": {
4371 "custom": {
4372 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-filter.html#cfn-lambda-eventsourcemapping-filter-pattern"
4373 },
4374 "remarks": "For more information on the syntax of a filter pattern, see [Filter rule syntax](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-syntax) .",
4375 "stability": "external",
4376 "summary": "A filter pattern."
4377 },
4378 "immutable": true,
4379 "locationInModule": {
4380 "filename": "lib/lambda.generated.ts",
4381 "line": 2096
4382 },
4383 "name": "pattern",
4384 "optional": true,
4385 "type": {
4386 "primitive": "string"
4387 }
4388 }
4389 ],
4390 "symbolId": "lib/lambda.generated:CfnEventSourceMapping.FilterProperty"
4391 },
4392 "@aws-cdk/aws-lambda.CfnEventSourceMapping.OnFailureProperty": {
4393 "assembly": "@aws-cdk/aws-lambda",
4394 "datatype": true,
4395 "docs": {
4396 "custom": {
4397 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-onfailure.html",
4398 "exampleMetadata": "fixture=_generated"
4399 },
4400 "stability": "external",
4401 "summary": "A destination for events that failed processing.",
4402 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst onFailureProperty: lambda.CfnEventSourceMapping.OnFailureProperty = {\n destination: 'destination',\n};"
4403 },
4404 "fqn": "@aws-cdk/aws-lambda.CfnEventSourceMapping.OnFailureProperty",
4405 "kind": "interface",
4406 "locationInModule": {
4407 "filename": "lib/lambda.generated.ts",
4408 "line": 2224
4409 },
4410 "name": "OnFailureProperty",
4411 "namespace": "CfnEventSourceMapping",
4412 "properties": [
4413 {
4414 "abstract": true,
4415 "docs": {
4416 "custom": {
4417 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-onfailure.html#cfn-lambda-eventsourcemapping-onfailure-destination"
4418 },
4419 "stability": "external",
4420 "summary": "The Amazon Resource Name (ARN) of the destination resource."
4421 },
4422 "immutable": true,
4423 "locationInModule": {
4424 "filename": "lib/lambda.generated.ts",
4425 "line": 2230
4426 },
4427 "name": "destination",
4428 "optional": true,
4429 "type": {
4430 "primitive": "string"
4431 }
4432 }
4433 ],
4434 "symbolId": "lib/lambda.generated:CfnEventSourceMapping.OnFailureProperty"
4435 },
4436 "@aws-cdk/aws-lambda.CfnEventSourceMapping.SelfManagedEventSourceProperty": {
4437 "assembly": "@aws-cdk/aws-lambda",
4438 "datatype": true,
4439 "docs": {
4440 "custom": {
4441 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-selfmanagedeventsource.html",
4442 "exampleMetadata": "fixture=_generated"
4443 },
4444 "stability": "external",
4445 "summary": "The self-managed Apache Kafka cluster for your event source.",
4446 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst selfManagedEventSourceProperty: lambda.CfnEventSourceMapping.SelfManagedEventSourceProperty = {\n endpoints: {\n kafkaBootstrapServers: ['kafkaBootstrapServers'],\n },\n};"
4447 },
4448 "fqn": "@aws-cdk/aws-lambda.CfnEventSourceMapping.SelfManagedEventSourceProperty",
4449 "kind": "interface",
4450 "locationInModule": {
4451 "filename": "lib/lambda.generated.ts",
4452 "line": 2291
4453 },
4454 "name": "SelfManagedEventSourceProperty",
4455 "namespace": "CfnEventSourceMapping",
4456 "properties": [
4457 {
4458 "abstract": true,
4459 "docs": {
4460 "custom": {
4461 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-selfmanagedeventsource.html#cfn-lambda-eventsourcemapping-selfmanagedeventsource-endpoints"
4462 },
4463 "stability": "external",
4464 "summary": "The list of bootstrap servers for your Kafka brokers in the following format: `\"KafkaBootstrapServers\": [\"abc.xyz.com:xxxx\",\"abc2.xyz.com:xxxx\"]` ."
4465 },
4466 "immutable": true,
4467 "locationInModule": {
4468 "filename": "lib/lambda.generated.ts",
4469 "line": 2297
4470 },
4471 "name": "endpoints",
4472 "optional": true,
4473 "type": {
4474 "union": {
4475 "types": [
4476 {
4477 "fqn": "@aws-cdk/core.IResolvable"
4478 },
4479 {
4480 "fqn": "@aws-cdk/aws-lambda.CfnEventSourceMapping.EndpointsProperty"
4481 }
4482 ]
4483 }
4484 }
4485 }
4486 ],
4487 "symbolId": "lib/lambda.generated:CfnEventSourceMapping.SelfManagedEventSourceProperty"
4488 },
4489 "@aws-cdk/aws-lambda.CfnEventSourceMapping.SelfManagedKafkaEventSourceConfigProperty": {
4490 "assembly": "@aws-cdk/aws-lambda",
4491 "datatype": true,
4492 "docs": {
4493 "custom": {
4494 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-selfmanagedkafkaeventsourceconfig.html",
4495 "exampleMetadata": "fixture=_generated"
4496 },
4497 "stability": "external",
4498 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst selfManagedKafkaEventSourceConfigProperty: lambda.CfnEventSourceMapping.SelfManagedKafkaEventSourceConfigProperty = {\n consumerGroupId: 'consumerGroupId',\n};"
4499 },
4500 "fqn": "@aws-cdk/aws-lambda.CfnEventSourceMapping.SelfManagedKafkaEventSourceConfigProperty",
4501 "kind": "interface",
4502 "locationInModule": {
4503 "filename": "lib/lambda.generated.ts",
4504 "line": 2358
4505 },
4506 "name": "SelfManagedKafkaEventSourceConfigProperty",
4507 "namespace": "CfnEventSourceMapping",
4508 "properties": [
4509 {
4510 "abstract": true,
4511 "docs": {
4512 "custom": {
4513 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-selfmanagedkafkaeventsourceconfig.html#cfn-lambda-eventsourcemapping-selfmanagedkafkaeventsourceconfig-consumergroupid"
4514 },
4515 "stability": "external",
4516 "summary": "`CfnEventSourceMapping.SelfManagedKafkaEventSourceConfigProperty.ConsumerGroupId`."
4517 },
4518 "immutable": true,
4519 "locationInModule": {
4520 "filename": "lib/lambda.generated.ts",
4521 "line": 2364
4522 },
4523 "name": "consumerGroupId",
4524 "optional": true,
4525 "type": {
4526 "primitive": "string"
4527 }
4528 }
4529 ],
4530 "symbolId": "lib/lambda.generated:CfnEventSourceMapping.SelfManagedKafkaEventSourceConfigProperty"
4531 },
4532 "@aws-cdk/aws-lambda.CfnEventSourceMapping.SourceAccessConfigurationProperty": {
4533 "assembly": "@aws-cdk/aws-lambda",
4534 "datatype": true,
4535 "docs": {
4536 "custom": {
4537 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-sourceaccessconfiguration.html",
4538 "exampleMetadata": "fixture=_generated"
4539 },
4540 "stability": "external",
4541 "summary": "An array of the authentication protocol, VPC components, or virtual host to secure and define your event source.",
4542 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst sourceAccessConfigurationProperty: lambda.CfnEventSourceMapping.SourceAccessConfigurationProperty = {\n type: 'type',\n uri: 'uri',\n};"
4543 },
4544 "fqn": "@aws-cdk/aws-lambda.CfnEventSourceMapping.SourceAccessConfigurationProperty",
4545 "kind": "interface",
4546 "locationInModule": {
4547 "filename": "lib/lambda.generated.ts",
4548 "line": 2425
4549 },
4550 "name": "SourceAccessConfigurationProperty",
4551 "namespace": "CfnEventSourceMapping",
4552 "properties": [
4553 {
4554 "abstract": true,
4555 "docs": {
4556 "custom": {
4557 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-sourceaccessconfiguration.html#cfn-lambda-eventsourcemapping-sourceaccessconfiguration-type"
4558 },
4559 "remarks": "- `BASIC_AUTH` - (Amazon MQ) The AWS Secrets Manager secret that stores your broker credentials.\n- `BASIC_AUTH` - (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL/PLAIN authentication of your Apache Kafka brokers.\n- `VPC_SUBNET` - The subnets associated with your VPC. Lambda connects to these subnets to fetch data from your self-managed Apache Kafka cluster.\n- `VPC_SECURITY_GROUP` - The VPC security group used to manage access to your self-managed Apache Kafka brokers.\n- `SASL_SCRAM_256_AUTH` - The Secrets Manager ARN of your secret key used for SASL SCRAM-256 authentication of your self-managed Apache Kafka brokers.\n- `SASL_SCRAM_512_AUTH` - The Secrets Manager ARN of your secret key used for SASL SCRAM-512 authentication of your self-managed Apache Kafka brokers.\n- `VIRTUAL_HOST` - (Amazon MQ) The name of the virtual host in your RabbitMQ broker. Lambda uses this RabbitMQ host as the event source. This property cannot be specified in an UpdateEventSourceMapping API call.\n- `CLIENT_CERTIFICATE_TLS_AUTH` - (Amazon MSK, Self-managed Apache Kafka) The Secrets Manager ARN of your secret key containing the certificate chain (X.509 PEM), private key (PKCS#8 PEM), and private key password (optional) used for mutual TLS authentication of your MSK/Apache Kafka brokers.\n- `SERVER_ROOT_CA_CERTIFICATE` - (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key containing the root CA certificate (X.509 PEM) used for TLS encryption of your Apache Kafka brokers.",
4560 "stability": "external",
4561 "summary": "The type of authentication protocol, VPC components, or virtual host for your event source. For example: `\"Type\":\"SASL_SCRAM_512_AUTH\"` ."
4562 },
4563 "immutable": true,
4564 "locationInModule": {
4565 "filename": "lib/lambda.generated.ts",
4566 "line": 2441
4567 },
4568 "name": "type",
4569 "optional": true,
4570 "type": {
4571 "primitive": "string"
4572 }
4573 },
4574 {
4575 "abstract": true,
4576 "docs": {
4577 "custom": {
4578 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-sourceaccessconfiguration.html#cfn-lambda-eventsourcemapping-sourceaccessconfiguration-uri"
4579 },
4580 "remarks": "For example: `\"URI\": \"arn:aws:secretsmanager:us-east-1:01234567890:secret:MyBrokerSecretName\"` .",
4581 "stability": "external",
4582 "summary": "The value for your chosen configuration in `Type` ."
4583 },
4584 "immutable": true,
4585 "locationInModule": {
4586 "filename": "lib/lambda.generated.ts",
4587 "line": 2447
4588 },
4589 "name": "uri",
4590 "optional": true,
4591 "type": {
4592 "primitive": "string"
4593 }
4594 }
4595 ],
4596 "symbolId": "lib/lambda.generated:CfnEventSourceMapping.SourceAccessConfigurationProperty"
4597 },
4598 "@aws-cdk/aws-lambda.CfnEventSourceMappingProps": {
4599 "assembly": "@aws-cdk/aws-lambda",
4600 "datatype": true,
4601 "docs": {
4602 "custom": {
4603 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html",
4604 "exampleMetadata": "fixture=_generated"
4605 },
4606 "stability": "external",
4607 "summary": "Properties for defining a `CfnEventSourceMapping`.",
4608 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst cfnEventSourceMappingProps: lambda.CfnEventSourceMappingProps = {\n functionName: 'functionName',\n\n // the properties below are optional\n amazonManagedKafkaEventSourceConfig: {\n consumerGroupId: 'consumerGroupId',\n },\n batchSize: 123,\n bisectBatchOnFunctionError: false,\n destinationConfig: {\n onFailure: {\n destination: 'destination',\n },\n },\n enabled: false,\n eventSourceArn: 'eventSourceArn',\n filterCriteria: {\n filters: [{\n pattern: 'pattern',\n }],\n },\n functionResponseTypes: ['functionResponseTypes'],\n maximumBatchingWindowInSeconds: 123,\n maximumRecordAgeInSeconds: 123,\n maximumRetryAttempts: 123,\n parallelizationFactor: 123,\n queues: ['queues'],\n selfManagedEventSource: {\n endpoints: {\n kafkaBootstrapServers: ['kafkaBootstrapServers'],\n },\n },\n selfManagedKafkaEventSourceConfig: {\n consumerGroupId: 'consumerGroupId',\n },\n sourceAccessConfigurations: [{\n type: 'type',\n uri: 'uri',\n }],\n startingPosition: 'startingPosition',\n startingPositionTimestamp: 123,\n topics: ['topics'],\n tumblingWindowInSeconds: 123,\n};"
4609 },
4610 "fqn": "@aws-cdk/aws-lambda.CfnEventSourceMappingProps",
4611 "kind": "interface",
4612 "locationInModule": {
4613 "filename": "lib/lambda.generated.ts",
4614 "line": 1284
4615 },
4616 "name": "CfnEventSourceMappingProps",
4617 "properties": [
4618 {
4619 "abstract": true,
4620 "docs": {
4621 "custom": {
4622 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-functionname"
4623 },
4624 "remarks": "**Name formats** - *Function name* - `MyFunction` .\n- *Function ARN* - `arn:aws:lambda:us-west-2:123456789012:function:MyFunction` .\n- *Version or Alias ARN* - `arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD` .\n- *Partial ARN* - `123456789012:function:MyFunction` .\n\nThe length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.",
4625 "stability": "external",
4626 "summary": "The name of the Lambda function."
4627 },
4628 "immutable": true,
4629 "locationInModule": {
4630 "filename": "lib/lambda.generated.ts",
4631 "line": 1298
4632 },
4633 "name": "functionName",
4634 "type": {
4635 "primitive": "string"
4636 }
4637 },
4638 {
4639 "abstract": true,
4640 "docs": {
4641 "custom": {
4642 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-amazonmanagedkafkaeventsourceconfig"
4643 },
4644 "stability": "external",
4645 "summary": "`AWS::Lambda::EventSourceMapping.AmazonManagedKafkaEventSourceConfig`."
4646 },
4647 "immutable": true,
4648 "locationInModule": {
4649 "filename": "lib/lambda.generated.ts",
4650 "line": 1305
4651 },
4652 "name": "amazonManagedKafkaEventSourceConfig",
4653 "optional": true,
4654 "type": {
4655 "union": {
4656 "types": [
4657 {
4658 "fqn": "@aws-cdk/core.IResolvable"
4659 },
4660 {
4661 "fqn": "@aws-cdk/aws-lambda.CfnEventSourceMapping.AmazonManagedKafkaEventSourceConfigProperty"
4662 }
4663 ]
4664 }
4665 }
4666 },
4667 {
4668 "abstract": true,
4669 "docs": {
4670 "custom": {
4671 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-batchsize"
4672 },
4673 "remarks": "Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation (6 MB).\n\n- *Amazon Kinesis* - Default 100. Max 10,000.\n- *Amazon DynamoDB Streams* - Default 100. Max 10,000.\n- *Amazon Simple Queue Service* - Default 10. For standard queues the max is 10,000. For FIFO queues the max is 10.\n- *Amazon Managed Streaming for Apache Kafka* - Default 100. Max 10,000.\n- *Self-Managed Apache Kafka* - Default 100. Max 10,000.\n- *Amazon MQ (ActiveMQ and RabbitMQ)* - Default 100. Max 10,000.",
4674 "stability": "external",
4675 "summary": "The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function."
4676 },
4677 "immutable": true,
4678 "locationInModule": {
4679 "filename": "lib/lambda.generated.ts",
4680 "line": 1319
4681 },
4682 "name": "batchSize",
4683 "optional": true,
4684 "type": {
4685 "primitive": "number"
4686 }
4687 },
4688 {
4689 "abstract": true,
4690 "docs": {
4691 "custom": {
4692 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-bisectbatchonfunctionerror"
4693 },
4694 "remarks": "The default value is false.",
4695 "stability": "external",
4696 "summary": "(Streams only) If the function returns an error, split the batch in two and retry."
4697 },
4698 "immutable": true,
4699 "locationInModule": {
4700 "filename": "lib/lambda.generated.ts",
4701 "line": 1326
4702 },
4703 "name": "bisectBatchOnFunctionError",
4704 "optional": true,
4705 "type": {
4706 "union": {
4707 "types": [
4708 {
4709 "primitive": "boolean"
4710 },
4711 {
4712 "fqn": "@aws-cdk/core.IResolvable"
4713 }
4714 ]
4715 }
4716 }
4717 },
4718 {
4719 "abstract": true,
4720 "docs": {
4721 "custom": {
4722 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-destinationconfig"
4723 },
4724 "stability": "external",
4725 "summary": "(Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded records."
4726 },
4727 "immutable": true,
4728 "locationInModule": {
4729 "filename": "lib/lambda.generated.ts",
4730 "line": 1333
4731 },
4732 "name": "destinationConfig",
4733 "optional": true,
4734 "type": {
4735 "union": {
4736 "types": [
4737 {
4738 "fqn": "@aws-cdk/core.IResolvable"
4739 },
4740 {
4741 "fqn": "@aws-cdk/aws-lambda.CfnEventSourceMapping.DestinationConfigProperty"
4742 }
4743 ]
4744 }
4745 }
4746 },
4747 {
4748 "abstract": true,
4749 "docs": {
4750 "custom": {
4751 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-enabled"
4752 },
4753 "remarks": "Default: True",
4754 "stability": "external",
4755 "summary": "When true, the event source mapping is active. When false, Lambda pauses polling and invocation."
4756 },
4757 "immutable": true,
4758 "locationInModule": {
4759 "filename": "lib/lambda.generated.ts",
4760 "line": 1342
4761 },
4762 "name": "enabled",
4763 "optional": true,
4764 "type": {
4765 "union": {
4766 "types": [
4767 {
4768 "primitive": "boolean"
4769 },
4770 {
4771 "fqn": "@aws-cdk/core.IResolvable"
4772 }
4773 ]
4774 }
4775 }
4776 },
4777 {
4778 "abstract": true,
4779 "docs": {
4780 "custom": {
4781 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-eventsourcearn"
4782 },
4783 "remarks": "- *Amazon Kinesis* - The ARN of the data stream or a stream consumer.\n- *Amazon DynamoDB Streams* - The ARN of the stream.\n- *Amazon Simple Queue Service* - The ARN of the queue.\n- *Amazon Managed Streaming for Apache Kafka* - The ARN of the cluster.",
4784 "stability": "external",
4785 "summary": "The Amazon Resource Name (ARN) of the event source."
4786 },
4787 "immutable": true,
4788 "locationInModule": {
4789 "filename": "lib/lambda.generated.ts",
4790 "line": 1354
4791 },
4792 "name": "eventSourceArn",
4793 "optional": true,
4794 "type": {
4795 "primitive": "string"
4796 }
4797 },
4798 {
4799 "abstract": true,
4800 "docs": {
4801 "custom": {
4802 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-filtercriteria"
4803 },
4804 "remarks": "For more information, see [Lambda event filtering](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html) .",
4805 "stability": "external",
4806 "summary": "(Streams and Amazon SQS) An object that defines the filter criteria that determine whether Lambda should process an event."
4807 },
4808 "immutable": true,
4809 "locationInModule": {
4810 "filename": "lib/lambda.generated.ts",
4811 "line": 1361
4812 },
4813 "name": "filterCriteria",
4814 "optional": true,
4815 "type": {
4816 "union": {
4817 "types": [
4818 {
4819 "fqn": "@aws-cdk/core.IResolvable"
4820 },
4821 {
4822 "fqn": "@aws-cdk/aws-lambda.CfnEventSourceMapping.FilterCriteriaProperty"
4823 }
4824 ]
4825 }
4826 }
4827 },
4828 {
4829 "abstract": true,
4830 "docs": {
4831 "custom": {
4832 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-functionresponsetypes"
4833 },
4834 "remarks": "Valid Values: `ReportBatchItemFailures`",
4835 "stability": "external",
4836 "summary": "(Streams and SQS) A list of current response type enums applied to the event source mapping."
4837 },
4838 "immutable": true,
4839 "locationInModule": {
4840 "filename": "lib/lambda.generated.ts",
4841 "line": 1370
4842 },
4843 "name": "functionResponseTypes",
4844 "optional": true,
4845 "type": {
4846 "collection": {
4847 "elementtype": {
4848 "primitive": "string"
4849 },
4850 "kind": "array"
4851 }
4852 }
4853 },
4854 {
4855 "abstract": true,
4856 "docs": {
4857 "custom": {
4858 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-maximumbatchingwindowinseconds"
4859 },
4860 "remarks": "*Default ( Kinesis , DynamoDB , Amazon SQS event sources)* : 0\n\n*Default ( Amazon MSK , Kafka, Amazon MQ event sources)* : 500 ms",
4861 "stability": "external",
4862 "summary": "The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function."
4863 },
4864 "immutable": true,
4865 "locationInModule": {
4866 "filename": "lib/lambda.generated.ts",
4867 "line": 1381
4868 },
4869 "name": "maximumBatchingWindowInSeconds",
4870 "optional": true,
4871 "type": {
4872 "primitive": "number"
4873 }
4874 },
4875 {
4876 "abstract": true,
4877 "docs": {
4878 "custom": {
4879 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-maximumrecordageinseconds"
4880 },
4881 "remarks": "The default value is -1,\nwhich sets the maximum age to infinite. When the value is set to infinite, Lambda never discards old records.",
4882 "stability": "external",
4883 "summary": "(Streams only) Discard records older than the specified age."
4884 },
4885 "immutable": true,
4886 "locationInModule": {
4887 "filename": "lib/lambda.generated.ts",
4888 "line": 1389
4889 },
4890 "name": "maximumRecordAgeInSeconds",
4891 "optional": true,
4892 "type": {
4893 "primitive": "number"
4894 }
4895 },
4896 {
4897 "abstract": true,
4898 "docs": {
4899 "custom": {
4900 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-maximumretryattempts"
4901 },
4902 "remarks": "The default value is -1,\nwhich sets the maximum number of retries to infinite. When MaximumRetryAttempts is infinite, Lambda retries failed records until the record expires in the event source.",
4903 "stability": "external",
4904 "summary": "(Streams only) Discard records after the specified number of retries."
4905 },
4906 "immutable": true,
4907 "locationInModule": {
4908 "filename": "lib/lambda.generated.ts",
4909 "line": 1397
4910 },
4911 "name": "maximumRetryAttempts",
4912 "optional": true,
4913 "type": {
4914 "primitive": "number"
4915 }
4916 },
4917 {
4918 "abstract": true,
4919 "docs": {
4920 "custom": {
4921 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-parallelizationfactor"
4922 },
4923 "remarks": "The default value is 1.",
4924 "stability": "external",
4925 "summary": "(Streams only) The number of batches to process concurrently from each shard."
4926 },
4927 "immutable": true,
4928 "locationInModule": {
4929 "filename": "lib/lambda.generated.ts",
4930 "line": 1404
4931 },
4932 "name": "parallelizationFactor",
4933 "optional": true,
4934 "type": {
4935 "primitive": "number"
4936 }
4937 },
4938 {
4939 "abstract": true,
4940 "docs": {
4941 "custom": {
4942 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-queues"
4943 },
4944 "stability": "external",
4945 "summary": "(Amazon MQ) The name of the Amazon MQ broker destination queue to consume."
4946 },
4947 "immutable": true,
4948 "locationInModule": {
4949 "filename": "lib/lambda.generated.ts",
4950 "line": 1411
4951 },
4952 "name": "queues",
4953 "optional": true,
4954 "type": {
4955 "collection": {
4956 "elementtype": {
4957 "primitive": "string"
4958 },
4959 "kind": "array"
4960 }
4961 }
4962 },
4963 {
4964 "abstract": true,
4965 "docs": {
4966 "custom": {
4967 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-selfmanagedeventsource"
4968 },
4969 "stability": "external",
4970 "summary": "The self-managed Apache Kafka cluster for your event source."
4971 },
4972 "immutable": true,
4973 "locationInModule": {
4974 "filename": "lib/lambda.generated.ts",
4975 "line": 1418
4976 },
4977 "name": "selfManagedEventSource",
4978 "optional": true,
4979 "type": {
4980 "union": {
4981 "types": [
4982 {
4983 "fqn": "@aws-cdk/core.IResolvable"
4984 },
4985 {
4986 "fqn": "@aws-cdk/aws-lambda.CfnEventSourceMapping.SelfManagedEventSourceProperty"
4987 }
4988 ]
4989 }
4990 }
4991 },
4992 {
4993 "abstract": true,
4994 "docs": {
4995 "custom": {
4996 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-selfmanagedkafkaeventsourceconfig"
4997 },
4998 "stability": "external",
4999 "summary": "`AWS::Lambda::EventSourceMapping.SelfManagedKafkaEventSourceConfig`."
5000 },
5001 "immutable": true,
5002 "locationInModule": {
5003 "filename": "lib/lambda.generated.ts",
5004 "line": 1425
5005 },
5006 "name": "selfManagedKafkaEventSourceConfig",
5007 "optional": true,
5008 "type": {
5009 "union": {
5010 "types": [
5011 {
5012 "fqn": "@aws-cdk/core.IResolvable"
5013 },
5014 {
5015 "fqn": "@aws-cdk/aws-lambda.CfnEventSourceMapping.SelfManagedKafkaEventSourceConfigProperty"
5016 }
5017 ]
5018 }
5019 }
5020 },
5021 {
5022 "abstract": true,
5023 "docs": {
5024 "custom": {
5025 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-sourceaccessconfigurations"
5026 },
5027 "stability": "external",
5028 "summary": "An array of the authentication protocol, VPC components, or virtual host to secure and define your event source."
5029 },
5030 "immutable": true,
5031 "locationInModule": {
5032 "filename": "lib/lambda.generated.ts",
5033 "line": 1432
5034 },
5035 "name": "sourceAccessConfigurations",
5036 "optional": true,
5037 "type": {
5038 "union": {
5039 "types": [
5040 {
5041 "fqn": "@aws-cdk/core.IResolvable"
5042 },
5043 {
5044 "collection": {
5045 "elementtype": {
5046 "union": {
5047 "types": [
5048 {
5049 "fqn": "@aws-cdk/core.IResolvable"
5050 },
5051 {
5052 "fqn": "@aws-cdk/aws-lambda.CfnEventSourceMapping.SourceAccessConfigurationProperty"
5053 }
5054 ]
5055 }
5056 },
5057 "kind": "array"
5058 }
5059 }
5060 ]
5061 }
5062 }
5063 },
5064 {
5065 "abstract": true,
5066 "docs": {
5067 "custom": {
5068 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-startingposition"
5069 },
5070 "remarks": "- *LATEST* - Read only new records.\n- *TRIM_HORIZON* - Process all available records.\n- *AT_TIMESTAMP* - Specify a time from which to start reading records.",
5071 "stability": "external",
5072 "summary": "The position in a stream from which to start reading. Required for Amazon Kinesis and Amazon DynamoDB."
5073 },
5074 "immutable": true,
5075 "locationInModule": {
5076 "filename": "lib/lambda.generated.ts",
5077 "line": 1443
5078 },
5079 "name": "startingPosition",
5080 "optional": true,
5081 "type": {
5082 "primitive": "string"
5083 }
5084 },
5085 {
5086 "abstract": true,
5087 "docs": {
5088 "custom": {
5089 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-startingpositiontimestamp"
5090 },
5091 "stability": "external",
5092 "summary": "With `StartingPosition` set to `AT_TIMESTAMP` , the time from which to start reading, in Unix time seconds."
5093 },
5094 "immutable": true,
5095 "locationInModule": {
5096 "filename": "lib/lambda.generated.ts",
5097 "line": 1450
5098 },
5099 "name": "startingPositionTimestamp",
5100 "optional": true,
5101 "type": {
5102 "primitive": "number"
5103 }
5104 },
5105 {
5106 "abstract": true,
5107 "docs": {
5108 "custom": {
5109 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-topics"
5110 },
5111 "stability": "external",
5112 "summary": "The name of the Kafka topic."
5113 },
5114 "immutable": true,
5115 "locationInModule": {
5116 "filename": "lib/lambda.generated.ts",
5117 "line": 1457
5118 },
5119 "name": "topics",
5120 "optional": true,
5121 "type": {
5122 "collection": {
5123 "elementtype": {
5124 "primitive": "string"
5125 },
5126 "kind": "array"
5127 }
5128 }
5129 },
5130 {
5131 "abstract": true,
5132 "docs": {
5133 "custom": {
5134 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-tumblingwindowinseconds"
5135 },
5136 "remarks": "The range is between 1 second up to 900 seconds.",
5137 "stability": "external",
5138 "summary": "(Streams only) The duration in seconds of a processing window."
5139 },
5140 "immutable": true,
5141 "locationInModule": {
5142 "filename": "lib/lambda.generated.ts",
5143 "line": 1464
5144 },
5145 "name": "tumblingWindowInSeconds",
5146 "optional": true,
5147 "type": {
5148 "primitive": "number"
5149 }
5150 }
5151 ],
5152 "symbolId": "lib/lambda.generated:CfnEventSourceMappingProps"
5153 },
5154 "@aws-cdk/aws-lambda.CfnFunction": {
5155 "assembly": "@aws-cdk/aws-lambda",
5156 "base": "@aws-cdk/core.CfnResource",
5157 "docs": {
5158 "custom": {
5159 "cloudformationResource": "AWS::Lambda::Function",
5160 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html",
5161 "exampleMetadata": "fixture=_generated"
5162 },
5163 "remarks": "The `AWS::Lambda::Function` resource creates a Lambda function. To create a function, you need a [deployment package](https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html) and an [execution role](https://docs.aws.amazon.com/lambda/latest/dg/lambda-intro-execution-role.html) . The deployment package is a .zip file archive or container image that contains your function code. The execution role grants the function permission to use AWS services, such as Amazon CloudWatch Logs for log streaming and AWS X-Ray for request tracing.\n\nYou set the package type to `Image` if the deployment package is a [container image](https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html) . For a container image, the code property must include the URI of a container image in the Amazon ECR registry. You do not need to specify the handler and runtime properties.\n\nYou set the package type to `Zip` if the deployment package is a [.zip file archive](https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html#gettingstarted-package-zip) . For a .zip file archive, the code property specifies the location of the .zip file. You must also specify the handler and runtime properties. For a Python example, see [Deploy Python Lambda functions with .zip file archives](https://docs.aws.amazon.com/lambda/latest/dg/python-package.html) .\n\nYou can use [code signing](https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html) if your deployment package is a .zip file archive. To enable code signing for this function, specify the ARN of a code-signing configuration. When a user attempts to deploy a code package with `UpdateFunctionCode` , Lambda checks that the code package has a valid signature from a trusted publisher. The code-signing configuration includes a set of signing profiles, which define the trusted publishers for this function.\n\nNote that you configure [provisioned concurrency](https://docs.aws.amazon.com/lambda/latest/dg/configuration-concurrency.html) on a `AWS::Lambda::Version` or a `AWS::Lambda::Alias` .\n\nFor a complete introduction to Lambda functions, see [What is Lambda?](https://docs.aws.amazon.com/lambda/latest/dg/lambda-welcome.html) in the *Lambda developer guide.*",
5164 "stability": "external",
5165 "summary": "A CloudFormation `AWS::Lambda::Function`.",
5166 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst cfnFunction = new lambda.CfnFunction(this, 'MyCfnFunction', {\n code: {\n imageUri: 'imageUri',\n s3Bucket: 's3Bucket',\n s3Key: 's3Key',\n s3ObjectVersion: 's3ObjectVersion',\n zipFile: 'zipFile',\n },\n role: 'role',\n\n // the properties below are optional\n architectures: ['architectures'],\n codeSigningConfigArn: 'codeSigningConfigArn',\n deadLetterConfig: {\n targetArn: 'targetArn',\n },\n description: 'description',\n environment: {\n variables: {\n variablesKey: 'variables',\n },\n },\n ephemeralStorage: {\n size: 123,\n },\n fileSystemConfigs: [{\n arn: 'arn',\n localMountPath: 'localMountPath',\n }],\n functionName: 'functionName',\n handler: 'handler',\n imageConfig: {\n command: ['command'],\n entryPoint: ['entryPoint'],\n workingDirectory: 'workingDirectory',\n },\n kmsKeyArn: 'kmsKeyArn',\n layers: ['layers'],\n memorySize: 123,\n packageType: 'packageType',\n reservedConcurrentExecutions: 123,\n runtime: 'runtime',\n tags: [{\n key: 'key',\n value: 'value',\n }],\n timeout: 123,\n tracingConfig: {\n mode: 'mode',\n },\n vpcConfig: {\n securityGroupIds: ['securityGroupIds'],\n subnetIds: ['subnetIds'],\n },\n});"
5167 },
5168 "fqn": "@aws-cdk/aws-lambda.CfnFunction",
5169 "initializer": {
5170 "docs": {
5171 "stability": "external",
5172 "summary": "Create a new `AWS::Lambda::Function`."
5173 },
5174 "locationInModule": {
5175 "filename": "lib/lambda.generated.ts",
5176 "line": 2999
5177 },
5178 "parameters": [
5179 {
5180 "docs": {
5181 "summary": "- scope in which this resource is defined."
5182 },
5183 "name": "scope",
5184 "type": {
5185 "fqn": "@aws-cdk/core.Construct"
5186 }
5187 },
5188 {
5189 "docs": {
5190 "summary": "- scoped id of the resource."
5191 },
5192 "name": "id",
5193 "type": {
5194 "primitive": "string"
5195 }
5196 },
5197 {
5198 "docs": {
5199 "summary": "- resource properties."
5200 },
5201 "name": "props",
5202 "type": {
5203 "fqn": "@aws-cdk/aws-lambda.CfnFunctionProps"
5204 }
5205 }
5206 ]
5207 },
5208 "interfaces": [
5209 "@aws-cdk/core.IInspectable"
5210 ],
5211 "kind": "class",
5212 "locationInModule": {
5213 "filename": "lib/lambda.generated.ts",
5214 "line": 2802
5215 },
5216 "methods": [
5217 {
5218 "docs": {
5219 "stability": "external",
5220 "summary": "Examines the CloudFormation resource and discloses attributes."
5221 },
5222 "locationInModule": {
5223 "filename": "lib/lambda.generated.ts",
5224 "line": 3035
5225 },
5226 "name": "inspect",
5227 "overrides": "@aws-cdk/core.IInspectable",
5228 "parameters": [
5229 {
5230 "docs": {
5231 "summary": "- tree inspector to collect and process attributes."
5232 },
5233 "name": "inspector",
5234 "type": {
5235 "fqn": "@aws-cdk/core.TreeInspector"
5236 }
5237 }
5238 ]
5239 },
5240 {
5241 "docs": {
5242 "stability": "external"
5243 },
5244 "locationInModule": {
5245 "filename": "lib/lambda.generated.ts",
5246 "line": 3067
5247 },
5248 "name": "renderProperties",
5249 "overrides": "@aws-cdk/core.CfnResource",
5250 "parameters": [
5251 {
5252 "name": "props",
5253 "type": {
5254 "collection": {
5255 "elementtype": {
5256 "primitive": "any"
5257 },
5258 "kind": "map"
5259 }
5260 }
5261 }
5262 ],
5263 "protected": true,
5264 "returns": {
5265 "type": {
5266 "collection": {
5267 "elementtype": {
5268 "primitive": "any"
5269 },
5270 "kind": "map"
5271 }
5272 }
5273 }
5274 }
5275 ],
5276 "name": "CfnFunction",
5277 "properties": [
5278 {
5279 "const": true,
5280 "docs": {
5281 "stability": "external",
5282 "summary": "The CloudFormation resource type name for this resource class."
5283 },
5284 "immutable": true,
5285 "locationInModule": {
5286 "filename": "lib/lambda.generated.ts",
5287 "line": 2806
5288 },
5289 "name": "CFN_RESOURCE_TYPE_NAME",
5290 "static": true,
5291 "type": {
5292 "primitive": "string"
5293 }
5294 },
5295 {
5296 "docs": {
5297 "custom": {
5298 "cloudformationAttribute": "Arn"
5299 },
5300 "stability": "external",
5301 "summary": "The Amazon Resource Name (ARN) of the function."
5302 },
5303 "immutable": true,
5304 "locationInModule": {
5305 "filename": "lib/lambda.generated.ts",
5306 "line": 2831
5307 },
5308 "name": "attrArn",
5309 "type": {
5310 "primitive": "string"
5311 }
5312 },
5313 {
5314 "docs": {
5315 "stability": "external"
5316 },
5317 "immutable": true,
5318 "locationInModule": {
5319 "filename": "lib/lambda.generated.ts",
5320 "line": 3040
5321 },
5322 "name": "cfnProperties",
5323 "overrides": "@aws-cdk/core.CfnResource",
5324 "protected": true,
5325 "type": {
5326 "collection": {
5327 "elementtype": {
5328 "primitive": "any"
5329 },
5330 "kind": "map"
5331 }
5332 }
5333 },
5334 {
5335 "docs": {
5336 "custom": {
5337 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-tags"
5338 },
5339 "stability": "external",
5340 "summary": "A list of [tags](https://docs.aws.amazon.com/lambda/latest/dg/tagging.html) to apply to the function."
5341 },
5342 "immutable": true,
5343 "locationInModule": {
5344 "filename": "lib/lambda.generated.ts",
5345 "line": 2969
5346 },
5347 "name": "tags",
5348 "type": {
5349 "fqn": "@aws-cdk/core.TagManager"
5350 }
5351 },
5352 {
5353 "docs": {
5354 "custom": {
5355 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-code"
5356 },
5357 "stability": "external",
5358 "summary": "The code for the function."
5359 },
5360 "locationInModule": {
5361 "filename": "lib/lambda.generated.ts",
5362 "line": 2838
5363 },
5364 "name": "code",
5365 "type": {
5366 "union": {
5367 "types": [
5368 {
5369 "fqn": "@aws-cdk/core.IResolvable"
5370 },
5371 {
5372 "fqn": "@aws-cdk/aws-lambda.CfnFunction.CodeProperty"
5373 }
5374 ]
5375 }
5376 }
5377 },
5378 {
5379 "docs": {
5380 "custom": {
5381 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-role"
5382 },
5383 "stability": "external",
5384 "summary": "The Amazon Resource Name (ARN) of the function's execution role."
5385 },
5386 "locationInModule": {
5387 "filename": "lib/lambda.generated.ts",
5388 "line": 2845
5389 },
5390 "name": "role",
5391 "type": {
5392 "primitive": "string"
5393 }
5394 },
5395 {
5396 "docs": {
5397 "custom": {
5398 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-architectures"
5399 },
5400 "remarks": "Enter a string array with one of the valid values (arm64 or x86_64). The default value is `x86_64` .",
5401 "stability": "external",
5402 "summary": "The instruction set architecture that the function supports."
5403 },
5404 "locationInModule": {
5405 "filename": "lib/lambda.generated.ts",
5406 "line": 2852
5407 },
5408 "name": "architectures",
5409 "optional": true,
5410 "type": {
5411 "collection": {
5412 "elementtype": {
5413 "primitive": "string"
5414 },
5415 "kind": "array"
5416 }
5417 }
5418 },
5419 {
5420 "docs": {
5421 "custom": {
5422 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-codesigningconfigarn"
5423 },
5424 "remarks": "A code-signing configuration\nincludes a set of signing profiles, which define the trusted publishers for this function.",
5425 "stability": "external",
5426 "summary": "To enable code signing for this function, specify the ARN of a code-signing configuration."
5427 },
5428 "locationInModule": {
5429 "filename": "lib/lambda.generated.ts",
5430 "line": 2860
5431 },
5432 "name": "codeSigningConfigArn",
5433 "optional": true,
5434 "type": {
5435 "primitive": "string"
5436 }
5437 },
5438 {
5439 "docs": {
5440 "custom": {
5441 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-deadletterconfig"
5442 },
5443 "remarks": "For more information, see [Dead Letter Queues](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#dlq) .",
5444 "stability": "external",
5445 "summary": "A dead letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events when they fail processing."
5446 },
5447 "locationInModule": {
5448 "filename": "lib/lambda.generated.ts",
5449 "line": 2867
5450 },
5451 "name": "deadLetterConfig",
5452 "optional": true,
5453 "type": {
5454 "union": {
5455 "types": [
5456 {
5457 "fqn": "@aws-cdk/core.IResolvable"
5458 },
5459 {
5460 "fqn": "@aws-cdk/aws-lambda.CfnFunction.DeadLetterConfigProperty"
5461 }
5462 ]
5463 }
5464 }
5465 },
5466 {
5467 "docs": {
5468 "custom": {
5469 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-description"
5470 },
5471 "stability": "external",
5472 "summary": "A description of the function."
5473 },
5474 "locationInModule": {
5475 "filename": "lib/lambda.generated.ts",
5476 "line": 2874
5477 },
5478 "name": "description",
5479 "optional": true,
5480 "type": {
5481 "primitive": "string"
5482 }
5483 },
5484 {
5485 "docs": {
5486 "custom": {
5487 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-environment"
5488 },
5489 "stability": "external",
5490 "summary": "Environment variables that are accessible from function code during execution."
5491 },
5492 "locationInModule": {
5493 "filename": "lib/lambda.generated.ts",
5494 "line": 2881
5495 },
5496 "name": "environment",
5497 "optional": true,
5498 "type": {
5499 "union": {
5500 "types": [
5501 {
5502 "fqn": "@aws-cdk/core.IResolvable"
5503 },
5504 {
5505 "fqn": "@aws-cdk/aws-lambda.CfnFunction.EnvironmentProperty"
5506 }
5507 ]
5508 }
5509 }
5510 },
5511 {
5512 "docs": {
5513 "custom": {
5514 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-ephemeralstorage"
5515 },
5516 "remarks": "The default value is 512, but can be any whole number between 512 and 10240 MB.",
5517 "stability": "external",
5518 "summary": "The size of the function’s /tmp directory in MB."
5519 },
5520 "locationInModule": {
5521 "filename": "lib/lambda.generated.ts",
5522 "line": 2888
5523 },
5524 "name": "ephemeralStorage",
5525 "optional": true,
5526 "type": {
5527 "union": {
5528 "types": [
5529 {
5530 "fqn": "@aws-cdk/core.IResolvable"
5531 },
5532 {
5533 "fqn": "@aws-cdk/aws-lambda.CfnFunction.EphemeralStorageProperty"
5534 }
5535 ]
5536 }
5537 }
5538 },
5539 {
5540 "docs": {
5541 "custom": {
5542 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-filesystemconfigs"
5543 },
5544 "remarks": "To connect a function to a file system, a mount target must be available in every Availability Zone that your function connects to. If your template contains an [AWS::EFS::MountTarget](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-mounttarget.html) resource, you must also specify a `DependsOn` attribute to ensure that the mount target is created or updated before the function.\n\nFor more information about using the `DependsOn` attribute, see [DependsOn Attribute](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html) .",
5545 "stability": "external",
5546 "summary": "Connection settings for an Amazon EFS file system."
5547 },
5548 "locationInModule": {
5549 "filename": "lib/lambda.generated.ts",
5550 "line": 2897
5551 },
5552 "name": "fileSystemConfigs",
5553 "optional": true,
5554 "type": {
5555 "union": {
5556 "types": [
5557 {
5558 "fqn": "@aws-cdk/core.IResolvable"
5559 },
5560 {
5561 "collection": {
5562 "elementtype": {
5563 "union": {
5564 "types": [
5565 {
5566 "fqn": "@aws-cdk/core.IResolvable"
5567 },
5568 {
5569 "fqn": "@aws-cdk/aws-lambda.CfnFunction.FileSystemConfigProperty"
5570 }
5571 ]
5572 }
5573 },
5574 "kind": "array"
5575 }
5576 }
5577 ]
5578 }
5579 }
5580 },
5581 {
5582 "docs": {
5583 "custom": {
5584 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-functionname"
5585 },
5586 "remarks": "If you don't specify a name, AWS CloudFormation generates one.\n\nIf you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.",
5587 "stability": "external",
5588 "summary": "The name of the Lambda function, up to 64 characters in length."
5589 },
5590 "locationInModule": {
5591 "filename": "lib/lambda.generated.ts",
5592 "line": 2906
5593 },
5594 "name": "functionName",
5595 "optional": true,
5596 "type": {
5597 "primitive": "string"
5598 }
5599 },
5600 {
5601 "docs": {
5602 "custom": {
5603 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-handler"
5604 },
5605 "remarks": "Handler is required if the deployment package is a .zip file archive. The format includes the file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information, see [Programming Model](https://docs.aws.amazon.com/lambda/latest/dg/programming-model-v2.html) .",
5606 "stability": "external",
5607 "summary": "The name of the method within your code that Lambda calls to execute your function."
5608 },
5609 "locationInModule": {
5610 "filename": "lib/lambda.generated.ts",
5611 "line": 2913
5612 },
5613 "name": "handler",
5614 "optional": true,
5615 "type": {
5616 "primitive": "string"
5617 }
5618 },
5619 {
5620 "docs": {
5621 "custom": {
5622 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-imageconfig"
5623 },
5624 "remarks": "See [Container settings](https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-parms) .",
5625 "stability": "external",
5626 "summary": "Configuration values that override the container image Dockerfile settings."
5627 },
5628 "locationInModule": {
5629 "filename": "lib/lambda.generated.ts",
5630 "line": 2920
5631 },
5632 "name": "imageConfig",
5633 "optional": true,
5634 "type": {
5635 "union": {
5636 "types": [
5637 {
5638 "fqn": "@aws-cdk/core.IResolvable"
5639 },
5640 {
5641 "fqn": "@aws-cdk/aws-lambda.CfnFunction.ImageConfigProperty"
5642 }
5643 ]
5644 }
5645 }
5646 },
5647 {
5648 "docs": {
5649 "custom": {
5650 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-kmskeyarn"
5651 },
5652 "remarks": "If it's not provided, AWS Lambda uses a default service key.",
5653 "stability": "external",
5654 "summary": "The ARN of the AWS Key Management Service ( AWS KMS ) key that's used to encrypt your function's environment variables."
5655 },
5656 "locationInModule": {
5657 "filename": "lib/lambda.generated.ts",
5658 "line": 2927
5659 },
5660 "name": "kmsKeyArn",
5661 "optional": true,
5662 "type": {
5663 "primitive": "string"
5664 }
5665 },
5666 {
5667 "docs": {
5668 "custom": {
5669 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-layers"
5670 },
5671 "stability": "external",
5672 "summary": "A list of [function layers](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html) to add to the function's execution environment. Specify each layer by its ARN, including the version."
5673 },
5674 "locationInModule": {
5675 "filename": "lib/lambda.generated.ts",
5676 "line": 2934
5677 },
5678 "name": "layers",
5679 "optional": true,
5680 "type": {
5681 "collection": {
5682 "elementtype": {
5683 "primitive": "string"
5684 },
5685 "kind": "array"
5686 }
5687 }
5688 },
5689 {
5690 "docs": {
5691 "custom": {
5692 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-memorysize"
5693 },
5694 "stability": "external",
5695 "summary": "The amount of [memory available to the function](https://docs.aws.amazon.com/lambda/latest/dg/configuration-memory.html) at runtime. Increasing the function memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB."
5696 },
5697 "locationInModule": {
5698 "filename": "lib/lambda.generated.ts",
5699 "line": 2941
5700 },
5701 "name": "memorySize",
5702 "optional": true,
5703 "type": {
5704 "primitive": "number"
5705 }
5706 },
5707 {
5708 "docs": {
5709 "custom": {
5710 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-packagetype"
5711 },
5712 "remarks": "Set to `Image` for container image and set `Zip` for .zip file archive.",
5713 "stability": "external",
5714 "summary": "The type of deployment package."
5715 },
5716 "locationInModule": {
5717 "filename": "lib/lambda.generated.ts",
5718 "line": 2948
5719 },
5720 "name": "packageType",
5721 "optional": true,
5722 "type": {
5723 "primitive": "string"
5724 }
5725 },
5726 {
5727 "docs": {
5728 "custom": {
5729 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-reservedconcurrentexecutions"
5730 },
5731 "stability": "external",
5732 "summary": "The number of simultaneous executions to reserve for the function."
5733 },
5734 "locationInModule": {
5735 "filename": "lib/lambda.generated.ts",
5736 "line": 2955
5737 },
5738 "name": "reservedConcurrentExecutions",
5739 "optional": true,
5740 "type": {
5741 "primitive": "number"
5742 }
5743 },
5744 {
5745 "docs": {
5746 "custom": {
5747 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-runtime"
5748 },
5749 "stability": "external",
5750 "summary": "The identifier of the function's [runtime](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html) . Runtime is required if the deployment package is a .zip file archive."
5751 },
5752 "locationInModule": {
5753 "filename": "lib/lambda.generated.ts",
5754 "line": 2962
5755 },
5756 "name": "runtime",
5757 "optional": true,
5758 "type": {
5759 "primitive": "string"
5760 }
5761 },
5762 {
5763 "docs": {
5764 "custom": {
5765 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-timeout"
5766 },
5767 "remarks": "The default is 3 seconds. The maximum allowed value is 900 seconds. For additional information, see [Lambda execution environment](https://docs.aws.amazon.com/lambda/latest/dg/runtimes-context.html) .",
5768 "stability": "external",
5769 "summary": "The amount of time (in seconds) that Lambda allows a function to run before stopping it."
5770 },
5771 "locationInModule": {
5772 "filename": "lib/lambda.generated.ts",
5773 "line": 2976
5774 },
5775 "name": "timeout",
5776 "optional": true,
5777 "type": {
5778 "primitive": "number"
5779 }
5780 },
5781 {
5782 "docs": {
5783 "custom": {
5784 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-tracingconfig"
5785 },
5786 "stability": "external",
5787 "summary": "Set `Mode` to `Active` to sample and trace a subset of incoming requests with [X-Ray](https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html) ."
5788 },
5789 "locationInModule": {
5790 "filename": "lib/lambda.generated.ts",
5791 "line": 2983
5792 },
5793 "name": "tracingConfig",
5794 "optional": true,
5795 "type": {
5796 "union": {
5797 "types": [
5798 {
5799 "fqn": "@aws-cdk/core.IResolvable"
5800 },
5801 {
5802 "fqn": "@aws-cdk/aws-lambda.CfnFunction.TracingConfigProperty"
5803 }
5804 ]
5805 }
5806 }
5807 },
5808 {
5809 "docs": {
5810 "custom": {
5811 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-vpcconfig"
5812 },
5813 "stability": "external",
5814 "summary": "For network connectivity to AWS resources in a [VPC](https://docs.aws.amazon.com/lambda/latest/dg/configuration-network.html) , specify a list of security groups and subnets in the VPC."
5815 },
5816 "locationInModule": {
5817 "filename": "lib/lambda.generated.ts",
5818 "line": 2990
5819 },
5820 "name": "vpcConfig",
5821 "optional": true,
5822 "type": {
5823 "union": {
5824 "types": [
5825 {
5826 "fqn": "@aws-cdk/core.IResolvable"
5827 },
5828 {
5829 "fqn": "@aws-cdk/aws-lambda.CfnFunction.VpcConfigProperty"
5830 }
5831 ]
5832 }
5833 }
5834 }
5835 ],
5836 "symbolId": "lib/lambda.generated:CfnFunction"
5837 },
5838 "@aws-cdk/aws-lambda.CfnFunction.CodeProperty": {
5839 "assembly": "@aws-cdk/aws-lambda",
5840 "datatype": true,
5841 "docs": {
5842 "custom": {
5843 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-code.html",
5844 "exampleMetadata": "fixture=_generated"
5845 },
5846 "remarks": "Changes to a deployment package in Amazon S3 are not detected automatically during stack updates. To update the function code, change the object key or version in the template.",
5847 "stability": "external",
5848 "summary": "The [deployment package](https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html) for a Lambda function. To deploy a function defined as a container image, you specify the location of a container image in the Amazon ECR registry. For a .zip file deployment package, you can specify the location of an object in Amazon S3. For Node.js and Python functions, you can specify the function code inline in the template.",
5849 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst codeProperty: lambda.CfnFunction.CodeProperty = {\n imageUri: 'imageUri',\n s3Bucket: 's3Bucket',\n s3Key: 's3Key',\n s3ObjectVersion: 's3ObjectVersion',\n zipFile: 'zipFile',\n};"
5850 },
5851 "fqn": "@aws-cdk/aws-lambda.CfnFunction.CodeProperty",
5852 "kind": "interface",
5853 "locationInModule": {
5854 "filename": "lib/lambda.generated.ts",
5855 "line": 3083
5856 },
5857 "name": "CodeProperty",
5858 "namespace": "CfnFunction",
5859 "properties": [
5860 {
5861 "abstract": true,
5862 "docs": {
5863 "custom": {
5864 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-code.html#cfn-lambda-function-code-imageuri"
5865 },
5866 "stability": "external",
5867 "summary": "URI of a [container image](https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html) in the Amazon ECR registry."
5868 },
5869 "immutable": true,
5870 "locationInModule": {
5871 "filename": "lib/lambda.generated.ts",
5872 "line": 3089
5873 },
5874 "name": "imageUri",
5875 "optional": true,
5876 "type": {
5877 "primitive": "string"
5878 }
5879 },
5880 {
5881 "abstract": true,
5882 "docs": {
5883 "custom": {
5884 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-code.html#cfn-lambda-function-code-s3bucket"
5885 },
5886 "remarks": "The bucket can be in a different AWS account.",
5887 "stability": "external",
5888 "summary": "An Amazon S3 bucket in the same AWS Region as your function."
5889 },
5890 "immutable": true,
5891 "locationInModule": {
5892 "filename": "lib/lambda.generated.ts",
5893 "line": 3095
5894 },
5895 "name": "s3Bucket",
5896 "optional": true,
5897 "type": {
5898 "primitive": "string"
5899 }
5900 },
5901 {
5902 "abstract": true,
5903 "docs": {
5904 "custom": {
5905 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-code.html#cfn-lambda-function-code-s3key"
5906 },
5907 "stability": "external",
5908 "summary": "The Amazon S3 key of the deployment package."
5909 },
5910 "immutable": true,
5911 "locationInModule": {
5912 "filename": "lib/lambda.generated.ts",
5913 "line": 3101
5914 },
5915 "name": "s3Key",
5916 "optional": true,
5917 "type": {
5918 "primitive": "string"
5919 }
5920 },
5921 {
5922 "abstract": true,
5923 "docs": {
5924 "custom": {
5925 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-code.html#cfn-lambda-function-code-s3objectversion"
5926 },
5927 "stability": "external",
5928 "summary": "For versioned objects, the version of the deployment package object to use."
5929 },
5930 "immutable": true,
5931 "locationInModule": {
5932 "filename": "lib/lambda.generated.ts",
5933 "line": 3107
5934 },
5935 "name": "s3ObjectVersion",
5936 "optional": true,
5937 "type": {
5938 "primitive": "string"
5939 }
5940 },
5941 {
5942 "abstract": true,
5943 "docs": {
5944 "custom": {
5945 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-code.html#cfn-lambda-function-code-zipfile"
5946 },
5947 "remarks": "For JSON, you must escape quotes and special characters such as newline ( `\\n` ) with a backslash.\n\nIf you specify a function that interacts with an AWS CloudFormation custom resource, you don't have to write your own functions to send responses to the custom resource that invoked the function. AWS CloudFormation provides a response module ( [cfn-response](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-lambda-function-code-cfnresponsemodule.html) ) that simplifies sending responses. See [Using AWS Lambda with AWS CloudFormation](https://docs.aws.amazon.com/lambda/latest/dg/services-cloudformation.html) for details.",
5948 "stability": "external",
5949 "summary": "(Node.js and Python) The source code of your Lambda function. If you include your function source inline with this parameter, AWS CloudFormation places it in a file named `index` and zips it to create a [deployment package](https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html) . This zip file cannot exceed 4MB. For the `Handler` property, the first part of the handler identifier must be `index` . For example, `index.handler` ."
5950 },
5951 "immutable": true,
5952 "locationInModule": {
5953 "filename": "lib/lambda.generated.ts",
5954 "line": 3117
5955 },
5956 "name": "zipFile",
5957 "optional": true,
5958 "type": {
5959 "primitive": "string"
5960 }
5961 }
5962 ],
5963 "symbolId": "lib/lambda.generated:CfnFunction.CodeProperty"
5964 },
5965 "@aws-cdk/aws-lambda.CfnFunction.DeadLetterConfigProperty": {
5966 "assembly": "@aws-cdk/aws-lambda",
5967 "datatype": true,
5968 "docs": {
5969 "custom": {
5970 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-deadletterconfig.html",
5971 "exampleMetadata": "fixture=_generated"
5972 },
5973 "stability": "external",
5974 "summary": "The [dead-letter queue](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#dlq) for failed asynchronous invocations.",
5975 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst deadLetterConfigProperty: lambda.CfnFunction.DeadLetterConfigProperty = {\n targetArn: 'targetArn',\n};"
5976 },
5977 "fqn": "@aws-cdk/aws-lambda.CfnFunction.DeadLetterConfigProperty",
5978 "kind": "interface",
5979 "locationInModule": {
5980 "filename": "lib/lambda.generated.ts",
5981 "line": 3190
5982 },
5983 "name": "DeadLetterConfigProperty",
5984 "namespace": "CfnFunction",
5985 "properties": [
5986 {
5987 "abstract": true,
5988 "docs": {
5989 "custom": {
5990 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-deadletterconfig.html#cfn-lambda-function-deadletterconfig-targetarn"
5991 },
5992 "stability": "external",
5993 "summary": "The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic."
5994 },
5995 "immutable": true,
5996 "locationInModule": {
5997 "filename": "lib/lambda.generated.ts",
5998 "line": 3196
5999 },
6000 "name": "targetArn",
6001 "optional": true,
6002 "type": {
6003 "primitive": "string"
6004 }
6005 }
6006 ],
6007 "symbolId": "lib/lambda.generated:CfnFunction.DeadLetterConfigProperty"
6008 },
6009 "@aws-cdk/aws-lambda.CfnFunction.EnvironmentProperty": {
6010 "assembly": "@aws-cdk/aws-lambda",
6011 "datatype": true,
6012 "docs": {
6013 "custom": {
6014 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-environment.html",
6015 "exampleMetadata": "fixture=_generated"
6016 },
6017 "remarks": "You can use environment variables to adjust your function's behavior without updating code. An environment variable is a pair of strings that are stored in a function's version-specific configuration.",
6018 "stability": "external",
6019 "summary": "A function's environment variable settings.",
6020 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst environmentProperty: lambda.CfnFunction.EnvironmentProperty = {\n variables: {\n variablesKey: 'variables',\n },\n};"
6021 },
6022 "fqn": "@aws-cdk/aws-lambda.CfnFunction.EnvironmentProperty",
6023 "kind": "interface",
6024 "locationInModule": {
6025 "filename": "lib/lambda.generated.ts",
6026 "line": 3257
6027 },
6028 "name": "EnvironmentProperty",
6029 "namespace": "CfnFunction",
6030 "properties": [
6031 {
6032 "abstract": true,
6033 "docs": {
6034 "custom": {
6035 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-environment.html#cfn-lambda-function-environment-variables"
6036 },
6037 "remarks": "For more information, see [Using Lambda environment variables](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html) .",
6038 "stability": "external",
6039 "summary": "Environment variable key-value pairs."
6040 },
6041 "immutable": true,
6042 "locationInModule": {
6043 "filename": "lib/lambda.generated.ts",
6044 "line": 3263
6045 },
6046 "name": "variables",
6047 "optional": true,
6048 "type": {
6049 "union": {
6050 "types": [
6051 {
6052 "fqn": "@aws-cdk/core.IResolvable"
6053 },
6054 {
6055 "collection": {
6056 "elementtype": {
6057 "primitive": "string"
6058 },
6059 "kind": "map"
6060 }
6061 }
6062 ]
6063 }
6064 }
6065 }
6066 ],
6067 "symbolId": "lib/lambda.generated:CfnFunction.EnvironmentProperty"
6068 },
6069 "@aws-cdk/aws-lambda.CfnFunction.EphemeralStorageProperty": {
6070 "assembly": "@aws-cdk/aws-lambda",
6071 "datatype": true,
6072 "docs": {
6073 "custom": {
6074 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-ephemeralstorage.html",
6075 "exampleMetadata": "fixture=_generated"
6076 },
6077 "remarks": "The default value is 512, but can be any whole number between 512 and 10240 MB.",
6078 "stability": "external",
6079 "summary": "The size of the function’s /tmp directory in MB.",
6080 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst ephemeralStorageProperty: lambda.CfnFunction.EphemeralStorageProperty = {\n size: 123,\n};"
6081 },
6082 "fqn": "@aws-cdk/aws-lambda.CfnFunction.EphemeralStorageProperty",
6083 "kind": "interface",
6084 "locationInModule": {
6085 "filename": "lib/lambda.generated.ts",
6086 "line": 3324
6087 },
6088 "name": "EphemeralStorageProperty",
6089 "namespace": "CfnFunction",
6090 "properties": [
6091 {
6092 "abstract": true,
6093 "docs": {
6094 "custom": {
6095 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-ephemeralstorage.html#cfn-lambda-function-ephemeralstorage-size"
6096 },
6097 "stability": "external",
6098 "summary": "The size of the function’s /tmp directory."
6099 },
6100 "immutable": true,
6101 "locationInModule": {
6102 "filename": "lib/lambda.generated.ts",
6103 "line": 3330
6104 },
6105 "name": "size",
6106 "type": {
6107 "primitive": "number"
6108 }
6109 }
6110 ],
6111 "symbolId": "lib/lambda.generated:CfnFunction.EphemeralStorageProperty"
6112 },
6113 "@aws-cdk/aws-lambda.CfnFunction.FileSystemConfigProperty": {
6114 "assembly": "@aws-cdk/aws-lambda",
6115 "datatype": true,
6116 "docs": {
6117 "custom": {
6118 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-filesystemconfig.html",
6119 "exampleMetadata": "fixture=_generated"
6120 },
6121 "stability": "external",
6122 "summary": "Details about the connection between a Lambda function and an [Amazon EFS file system](https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html) .",
6123 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst fileSystemConfigProperty: lambda.CfnFunction.FileSystemConfigProperty = {\n arn: 'arn',\n localMountPath: 'localMountPath',\n};"
6124 },
6125 "fqn": "@aws-cdk/aws-lambda.CfnFunction.FileSystemConfigProperty",
6126 "kind": "interface",
6127 "locationInModule": {
6128 "filename": "lib/lambda.generated.ts",
6129 "line": 3392
6130 },
6131 "name": "FileSystemConfigProperty",
6132 "namespace": "CfnFunction",
6133 "properties": [
6134 {
6135 "abstract": true,
6136 "docs": {
6137 "custom": {
6138 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-filesystemconfig.html#cfn-lambda-function-filesystemconfig-arn"
6139 },
6140 "stability": "external",
6141 "summary": "The Amazon Resource Name (ARN) of the Amazon EFS access point that provides access to the file system."
6142 },
6143 "immutable": true,
6144 "locationInModule": {
6145 "filename": "lib/lambda.generated.ts",
6146 "line": 3398
6147 },
6148 "name": "arn",
6149 "type": {
6150 "primitive": "string"
6151 }
6152 },
6153 {
6154 "abstract": true,
6155 "docs": {
6156 "custom": {
6157 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-filesystemconfig.html#cfn-lambda-function-filesystemconfig-localmountpath"
6158 },
6159 "stability": "external",
6160 "summary": "The path where the function can access the file system, starting with `/mnt/` ."
6161 },
6162 "immutable": true,
6163 "locationInModule": {
6164 "filename": "lib/lambda.generated.ts",
6165 "line": 3404
6166 },
6167 "name": "localMountPath",
6168 "type": {
6169 "primitive": "string"
6170 }
6171 }
6172 ],
6173 "symbolId": "lib/lambda.generated:CfnFunction.FileSystemConfigProperty"
6174 },
6175 "@aws-cdk/aws-lambda.CfnFunction.ImageConfigProperty": {
6176 "assembly": "@aws-cdk/aws-lambda",
6177 "datatype": true,
6178 "docs": {
6179 "custom": {
6180 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-imageconfig.html",
6181 "exampleMetadata": "fixture=_generated"
6182 },
6183 "remarks": "See [Container settings](https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-parms) .",
6184 "stability": "external",
6185 "summary": "Configuration values that override the container image Dockerfile settings.",
6186 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst imageConfigProperty: lambda.CfnFunction.ImageConfigProperty = {\n command: ['command'],\n entryPoint: ['entryPoint'],\n workingDirectory: 'workingDirectory',\n};"
6187 },
6188 "fqn": "@aws-cdk/aws-lambda.CfnFunction.ImageConfigProperty",
6189 "kind": "interface",
6190 "locationInModule": {
6191 "filename": "lib/lambda.generated.ts",
6192 "line": 3470
6193 },
6194 "name": "ImageConfigProperty",
6195 "namespace": "CfnFunction",
6196 "properties": [
6197 {
6198 "abstract": true,
6199 "docs": {
6200 "custom": {
6201 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-imageconfig.html#cfn-lambda-function-imageconfig-command"
6202 },
6203 "stability": "external",
6204 "summary": "Specifies parameters that you want to pass in with ENTRYPOINT."
6205 },
6206 "immutable": true,
6207 "locationInModule": {
6208 "filename": "lib/lambda.generated.ts",
6209 "line": 3476
6210 },
6211 "name": "command",
6212 "optional": true,
6213 "type": {
6214 "collection": {
6215 "elementtype": {
6216 "primitive": "string"
6217 },
6218 "kind": "array"
6219 }
6220 }
6221 },
6222 {
6223 "abstract": true,
6224 "docs": {
6225 "custom": {
6226 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-imageconfig.html#cfn-lambda-function-imageconfig-entrypoint"
6227 },
6228 "stability": "external",
6229 "summary": "Specifies the entry point to their application, which is typically the location of the runtime executable."
6230 },
6231 "immutable": true,
6232 "locationInModule": {
6233 "filename": "lib/lambda.generated.ts",
6234 "line": 3482
6235 },
6236 "name": "entryPoint",
6237 "optional": true,
6238 "type": {
6239 "collection": {
6240 "elementtype": {
6241 "primitive": "string"
6242 },
6243 "kind": "array"
6244 }
6245 }
6246 },
6247 {
6248 "abstract": true,
6249 "docs": {
6250 "custom": {
6251 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-imageconfig.html#cfn-lambda-function-imageconfig-workingdirectory"
6252 },
6253 "stability": "external",
6254 "summary": "Specifies the working directory."
6255 },
6256 "immutable": true,
6257 "locationInModule": {
6258 "filename": "lib/lambda.generated.ts",
6259 "line": 3488
6260 },
6261 "name": "workingDirectory",
6262 "optional": true,
6263 "type": {
6264 "primitive": "string"
6265 }
6266 }
6267 ],
6268 "symbolId": "lib/lambda.generated:CfnFunction.ImageConfigProperty"
6269 },
6270 "@aws-cdk/aws-lambda.CfnFunction.TracingConfigProperty": {
6271 "assembly": "@aws-cdk/aws-lambda",
6272 "datatype": true,
6273 "docs": {
6274 "custom": {
6275 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-tracingconfig.html",
6276 "exampleMetadata": "fixture=_generated"
6277 },
6278 "stability": "external",
6279 "summary": "The function's [AWS X-Ray](https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html) tracing configuration. To sample and record incoming requests, set `Mode` to `Active` .",
6280 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst tracingConfigProperty: lambda.CfnFunction.TracingConfigProperty = {\n mode: 'mode',\n};"
6281 },
6282 "fqn": "@aws-cdk/aws-lambda.CfnFunction.TracingConfigProperty",
6283 "kind": "interface",
6284 "locationInModule": {
6285 "filename": "lib/lambda.generated.ts",
6286 "line": 3555
6287 },
6288 "name": "TracingConfigProperty",
6289 "namespace": "CfnFunction",
6290 "properties": [
6291 {
6292 "abstract": true,
6293 "docs": {
6294 "custom": {
6295 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-tracingconfig.html#cfn-lambda-function-tracingconfig-mode"
6296 },
6297 "stability": "external",
6298 "summary": "The tracing mode."
6299 },
6300 "immutable": true,
6301 "locationInModule": {
6302 "filename": "lib/lambda.generated.ts",
6303 "line": 3561
6304 },
6305 "name": "mode",
6306 "optional": true,
6307 "type": {
6308 "primitive": "string"
6309 }
6310 }
6311 ],
6312 "symbolId": "lib/lambda.generated:CfnFunction.TracingConfigProperty"
6313 },
6314 "@aws-cdk/aws-lambda.CfnFunction.VpcConfigProperty": {
6315 "assembly": "@aws-cdk/aws-lambda",
6316 "datatype": true,
6317 "docs": {
6318 "custom": {
6319 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-vpcconfig.html",
6320 "exampleMetadata": "fixture=_generated"
6321 },
6322 "remarks": "When you connect a function to a VPC, Lambda creates an elastic network interface for each combination of security group and subnet in the function's VPC configuration. The function can only access resources and the internet through that VPC. For more information, see [VPC Settings](https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html) .\n\n> When you delete a function, AWS CloudFormation monitors the state of its network interfaces and waits for Lambda to delete them before proceeding. If the VPC is defined in the same stack, the network interfaces need to be deleted by Lambda before AWS CloudFormation can delete the VPC's resources.\n>\n> To monitor network interfaces, AWS CloudFormation needs the `ec2:DescribeNetworkInterfaces` permission. It obtains this from the user or role that modifies the stack. If you don't provide this permission, AWS CloudFormation does not wait for network interfaces to be deleted.",
6323 "stability": "external",
6324 "summary": "The VPC security groups and subnets that are attached to a Lambda function.",
6325 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst vpcConfigProperty: lambda.CfnFunction.VpcConfigProperty = {\n securityGroupIds: ['securityGroupIds'],\n subnetIds: ['subnetIds'],\n};"
6326 },
6327 "fqn": "@aws-cdk/aws-lambda.CfnFunction.VpcConfigProperty",
6328 "kind": "interface",
6329 "locationInModule": {
6330 "filename": "lib/lambda.generated.ts",
6331 "line": 3626
6332 },
6333 "name": "VpcConfigProperty",
6334 "namespace": "CfnFunction",
6335 "properties": [
6336 {
6337 "abstract": true,
6338 "docs": {
6339 "custom": {
6340 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-vpcconfig.html#cfn-lambda-function-vpcconfig-securitygroupids"
6341 },
6342 "stability": "external",
6343 "summary": "A list of VPC security groups IDs."
6344 },
6345 "immutable": true,
6346 "locationInModule": {
6347 "filename": "lib/lambda.generated.ts",
6348 "line": 3632
6349 },
6350 "name": "securityGroupIds",
6351 "optional": true,
6352 "type": {
6353 "collection": {
6354 "elementtype": {
6355 "primitive": "string"
6356 },
6357 "kind": "array"
6358 }
6359 }
6360 },
6361 {
6362 "abstract": true,
6363 "docs": {
6364 "custom": {
6365 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-vpcconfig.html#cfn-lambda-function-vpcconfig-subnetids"
6366 },
6367 "stability": "external",
6368 "summary": "A list of VPC subnet IDs."
6369 },
6370 "immutable": true,
6371 "locationInModule": {
6372 "filename": "lib/lambda.generated.ts",
6373 "line": 3638
6374 },
6375 "name": "subnetIds",
6376 "optional": true,
6377 "type": {
6378 "collection": {
6379 "elementtype": {
6380 "primitive": "string"
6381 },
6382 "kind": "array"
6383 }
6384 }
6385 }
6386 ],
6387 "symbolId": "lib/lambda.generated:CfnFunction.VpcConfigProperty"
6388 },
6389 "@aws-cdk/aws-lambda.CfnFunctionProps": {
6390 "assembly": "@aws-cdk/aws-lambda",
6391 "datatype": true,
6392 "docs": {
6393 "custom": {
6394 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html",
6395 "exampleMetadata": "fixture=_generated"
6396 },
6397 "stability": "external",
6398 "summary": "Properties for defining a `CfnFunction`.",
6399 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst cfnFunctionProps: lambda.CfnFunctionProps = {\n code: {\n imageUri: 'imageUri',\n s3Bucket: 's3Bucket',\n s3Key: 's3Key',\n s3ObjectVersion: 's3ObjectVersion',\n zipFile: 'zipFile',\n },\n role: 'role',\n\n // the properties below are optional\n architectures: ['architectures'],\n codeSigningConfigArn: 'codeSigningConfigArn',\n deadLetterConfig: {\n targetArn: 'targetArn',\n },\n description: 'description',\n environment: {\n variables: {\n variablesKey: 'variables',\n },\n },\n ephemeralStorage: {\n size: 123,\n },\n fileSystemConfigs: [{\n arn: 'arn',\n localMountPath: 'localMountPath',\n }],\n functionName: 'functionName',\n handler: 'handler',\n imageConfig: {\n command: ['command'],\n entryPoint: ['entryPoint'],\n workingDirectory: 'workingDirectory',\n },\n kmsKeyArn: 'kmsKeyArn',\n layers: ['layers'],\n memorySize: 123,\n packageType: 'packageType',\n reservedConcurrentExecutions: 123,\n runtime: 'runtime',\n tags: [{\n key: 'key',\n value: 'value',\n }],\n timeout: 123,\n tracingConfig: {\n mode: 'mode',\n },\n vpcConfig: {\n securityGroupIds: ['securityGroupIds'],\n subnetIds: ['subnetIds'],\n },\n};"
6400 },
6401 "fqn": "@aws-cdk/aws-lambda.CfnFunctionProps",
6402 "kind": "interface",
6403 "locationInModule": {
6404 "filename": "lib/lambda.generated.ts",
6405 "line": 2510
6406 },
6407 "name": "CfnFunctionProps",
6408 "properties": [
6409 {
6410 "abstract": true,
6411 "docs": {
6412 "custom": {
6413 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-code"
6414 },
6415 "stability": "external",
6416 "summary": "The code for the function."
6417 },
6418 "immutable": true,
6419 "locationInModule": {
6420 "filename": "lib/lambda.generated.ts",
6421 "line": 2517
6422 },
6423 "name": "code",
6424 "type": {
6425 "union": {
6426 "types": [
6427 {
6428 "fqn": "@aws-cdk/core.IResolvable"
6429 },
6430 {
6431 "fqn": "@aws-cdk/aws-lambda.CfnFunction.CodeProperty"
6432 }
6433 ]
6434 }
6435 }
6436 },
6437 {
6438 "abstract": true,
6439 "docs": {
6440 "custom": {
6441 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-role"
6442 },
6443 "stability": "external",
6444 "summary": "The Amazon Resource Name (ARN) of the function's execution role."
6445 },
6446 "immutable": true,
6447 "locationInModule": {
6448 "filename": "lib/lambda.generated.ts",
6449 "line": 2524
6450 },
6451 "name": "role",
6452 "type": {
6453 "primitive": "string"
6454 }
6455 },
6456 {
6457 "abstract": true,
6458 "docs": {
6459 "custom": {
6460 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-architectures"
6461 },
6462 "remarks": "Enter a string array with one of the valid values (arm64 or x86_64). The default value is `x86_64` .",
6463 "stability": "external",
6464 "summary": "The instruction set architecture that the function supports."
6465 },
6466 "immutable": true,
6467 "locationInModule": {
6468 "filename": "lib/lambda.generated.ts",
6469 "line": 2531
6470 },
6471 "name": "architectures",
6472 "optional": true,
6473 "type": {
6474 "collection": {
6475 "elementtype": {
6476 "primitive": "string"
6477 },
6478 "kind": "array"
6479 }
6480 }
6481 },
6482 {
6483 "abstract": true,
6484 "docs": {
6485 "custom": {
6486 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-codesigningconfigarn"
6487 },
6488 "remarks": "A code-signing configuration\nincludes a set of signing profiles, which define the trusted publishers for this function.",
6489 "stability": "external",
6490 "summary": "To enable code signing for this function, specify the ARN of a code-signing configuration."
6491 },
6492 "immutable": true,
6493 "locationInModule": {
6494 "filename": "lib/lambda.generated.ts",
6495 "line": 2539
6496 },
6497 "name": "codeSigningConfigArn",
6498 "optional": true,
6499 "type": {
6500 "primitive": "string"
6501 }
6502 },
6503 {
6504 "abstract": true,
6505 "docs": {
6506 "custom": {
6507 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-deadletterconfig"
6508 },
6509 "remarks": "For more information, see [Dead Letter Queues](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#dlq) .",
6510 "stability": "external",
6511 "summary": "A dead letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events when they fail processing."
6512 },
6513 "immutable": true,
6514 "locationInModule": {
6515 "filename": "lib/lambda.generated.ts",
6516 "line": 2546
6517 },
6518 "name": "deadLetterConfig",
6519 "optional": true,
6520 "type": {
6521 "union": {
6522 "types": [
6523 {
6524 "fqn": "@aws-cdk/core.IResolvable"
6525 },
6526 {
6527 "fqn": "@aws-cdk/aws-lambda.CfnFunction.DeadLetterConfigProperty"
6528 }
6529 ]
6530 }
6531 }
6532 },
6533 {
6534 "abstract": true,
6535 "docs": {
6536 "custom": {
6537 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-description"
6538 },
6539 "stability": "external",
6540 "summary": "A description of the function."
6541 },
6542 "immutable": true,
6543 "locationInModule": {
6544 "filename": "lib/lambda.generated.ts",
6545 "line": 2553
6546 },
6547 "name": "description",
6548 "optional": true,
6549 "type": {
6550 "primitive": "string"
6551 }
6552 },
6553 {
6554 "abstract": true,
6555 "docs": {
6556 "custom": {
6557 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-environment"
6558 },
6559 "stability": "external",
6560 "summary": "Environment variables that are accessible from function code during execution."
6561 },
6562 "immutable": true,
6563 "locationInModule": {
6564 "filename": "lib/lambda.generated.ts",
6565 "line": 2560
6566 },
6567 "name": "environment",
6568 "optional": true,
6569 "type": {
6570 "union": {
6571 "types": [
6572 {
6573 "fqn": "@aws-cdk/core.IResolvable"
6574 },
6575 {
6576 "fqn": "@aws-cdk/aws-lambda.CfnFunction.EnvironmentProperty"
6577 }
6578 ]
6579 }
6580 }
6581 },
6582 {
6583 "abstract": true,
6584 "docs": {
6585 "custom": {
6586 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-ephemeralstorage"
6587 },
6588 "remarks": "The default value is 512, but can be any whole number between 512 and 10240 MB.",
6589 "stability": "external",
6590 "summary": "The size of the function’s /tmp directory in MB."
6591 },
6592 "immutable": true,
6593 "locationInModule": {
6594 "filename": "lib/lambda.generated.ts",
6595 "line": 2567
6596 },
6597 "name": "ephemeralStorage",
6598 "optional": true,
6599 "type": {
6600 "union": {
6601 "types": [
6602 {
6603 "fqn": "@aws-cdk/core.IResolvable"
6604 },
6605 {
6606 "fqn": "@aws-cdk/aws-lambda.CfnFunction.EphemeralStorageProperty"
6607 }
6608 ]
6609 }
6610 }
6611 },
6612 {
6613 "abstract": true,
6614 "docs": {
6615 "custom": {
6616 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-filesystemconfigs"
6617 },
6618 "remarks": "To connect a function to a file system, a mount target must be available in every Availability Zone that your function connects to. If your template contains an [AWS::EFS::MountTarget](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-mounttarget.html) resource, you must also specify a `DependsOn` attribute to ensure that the mount target is created or updated before the function.\n\nFor more information about using the `DependsOn` attribute, see [DependsOn Attribute](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html) .",
6619 "stability": "external",
6620 "summary": "Connection settings for an Amazon EFS file system."
6621 },
6622 "immutable": true,
6623 "locationInModule": {
6624 "filename": "lib/lambda.generated.ts",
6625 "line": 2576
6626 },
6627 "name": "fileSystemConfigs",
6628 "optional": true,
6629 "type": {
6630 "union": {
6631 "types": [
6632 {
6633 "fqn": "@aws-cdk/core.IResolvable"
6634 },
6635 {
6636 "collection": {
6637 "elementtype": {
6638 "union": {
6639 "types": [
6640 {
6641 "fqn": "@aws-cdk/core.IResolvable"
6642 },
6643 {
6644 "fqn": "@aws-cdk/aws-lambda.CfnFunction.FileSystemConfigProperty"
6645 }
6646 ]
6647 }
6648 },
6649 "kind": "array"
6650 }
6651 }
6652 ]
6653 }
6654 }
6655 },
6656 {
6657 "abstract": true,
6658 "docs": {
6659 "custom": {
6660 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-functionname"
6661 },
6662 "remarks": "If you don't specify a name, AWS CloudFormation generates one.\n\nIf you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.",
6663 "stability": "external",
6664 "summary": "The name of the Lambda function, up to 64 characters in length."
6665 },
6666 "immutable": true,
6667 "locationInModule": {
6668 "filename": "lib/lambda.generated.ts",
6669 "line": 2585
6670 },
6671 "name": "functionName",
6672 "optional": true,
6673 "type": {
6674 "primitive": "string"
6675 }
6676 },
6677 {
6678 "abstract": true,
6679 "docs": {
6680 "custom": {
6681 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-handler"
6682 },
6683 "remarks": "Handler is required if the deployment package is a .zip file archive. The format includes the file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information, see [Programming Model](https://docs.aws.amazon.com/lambda/latest/dg/programming-model-v2.html) .",
6684 "stability": "external",
6685 "summary": "The name of the method within your code that Lambda calls to execute your function."
6686 },
6687 "immutable": true,
6688 "locationInModule": {
6689 "filename": "lib/lambda.generated.ts",
6690 "line": 2592
6691 },
6692 "name": "handler",
6693 "optional": true,
6694 "type": {
6695 "primitive": "string"
6696 }
6697 },
6698 {
6699 "abstract": true,
6700 "docs": {
6701 "custom": {
6702 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-imageconfig"
6703 },
6704 "remarks": "See [Container settings](https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-parms) .",
6705 "stability": "external",
6706 "summary": "Configuration values that override the container image Dockerfile settings."
6707 },
6708 "immutable": true,
6709 "locationInModule": {
6710 "filename": "lib/lambda.generated.ts",
6711 "line": 2599
6712 },
6713 "name": "imageConfig",
6714 "optional": true,
6715 "type": {
6716 "union": {
6717 "types": [
6718 {
6719 "fqn": "@aws-cdk/core.IResolvable"
6720 },
6721 {
6722 "fqn": "@aws-cdk/aws-lambda.CfnFunction.ImageConfigProperty"
6723 }
6724 ]
6725 }
6726 }
6727 },
6728 {
6729 "abstract": true,
6730 "docs": {
6731 "custom": {
6732 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-kmskeyarn"
6733 },
6734 "remarks": "If it's not provided, AWS Lambda uses a default service key.",
6735 "stability": "external",
6736 "summary": "The ARN of the AWS Key Management Service ( AWS KMS ) key that's used to encrypt your function's environment variables."
6737 },
6738 "immutable": true,
6739 "locationInModule": {
6740 "filename": "lib/lambda.generated.ts",
6741 "line": 2606
6742 },
6743 "name": "kmsKeyArn",
6744 "optional": true,
6745 "type": {
6746 "primitive": "string"
6747 }
6748 },
6749 {
6750 "abstract": true,
6751 "docs": {
6752 "custom": {
6753 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-layers"
6754 },
6755 "stability": "external",
6756 "summary": "A list of [function layers](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html) to add to the function's execution environment. Specify each layer by its ARN, including the version."
6757 },
6758 "immutable": true,
6759 "locationInModule": {
6760 "filename": "lib/lambda.generated.ts",
6761 "line": 2613
6762 },
6763 "name": "layers",
6764 "optional": true,
6765 "type": {
6766 "collection": {
6767 "elementtype": {
6768 "primitive": "string"
6769 },
6770 "kind": "array"
6771 }
6772 }
6773 },
6774 {
6775 "abstract": true,
6776 "docs": {
6777 "custom": {
6778 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-memorysize"
6779 },
6780 "stability": "external",
6781 "summary": "The amount of [memory available to the function](https://docs.aws.amazon.com/lambda/latest/dg/configuration-memory.html) at runtime. Increasing the function memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB."
6782 },
6783 "immutable": true,
6784 "locationInModule": {
6785 "filename": "lib/lambda.generated.ts",
6786 "line": 2620
6787 },
6788 "name": "memorySize",
6789 "optional": true,
6790 "type": {
6791 "primitive": "number"
6792 }
6793 },
6794 {
6795 "abstract": true,
6796 "docs": {
6797 "custom": {
6798 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-packagetype"
6799 },
6800 "remarks": "Set to `Image` for container image and set `Zip` for .zip file archive.",
6801 "stability": "external",
6802 "summary": "The type of deployment package."
6803 },
6804 "immutable": true,
6805 "locationInModule": {
6806 "filename": "lib/lambda.generated.ts",
6807 "line": 2627
6808 },
6809 "name": "packageType",
6810 "optional": true,
6811 "type": {
6812 "primitive": "string"
6813 }
6814 },
6815 {
6816 "abstract": true,
6817 "docs": {
6818 "custom": {
6819 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-reservedconcurrentexecutions"
6820 },
6821 "stability": "external",
6822 "summary": "The number of simultaneous executions to reserve for the function."
6823 },
6824 "immutable": true,
6825 "locationInModule": {
6826 "filename": "lib/lambda.generated.ts",
6827 "line": 2634
6828 },
6829 "name": "reservedConcurrentExecutions",
6830 "optional": true,
6831 "type": {
6832 "primitive": "number"
6833 }
6834 },
6835 {
6836 "abstract": true,
6837 "docs": {
6838 "custom": {
6839 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-runtime"
6840 },
6841 "stability": "external",
6842 "summary": "The identifier of the function's [runtime](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html) . Runtime is required if the deployment package is a .zip file archive."
6843 },
6844 "immutable": true,
6845 "locationInModule": {
6846 "filename": "lib/lambda.generated.ts",
6847 "line": 2641
6848 },
6849 "name": "runtime",
6850 "optional": true,
6851 "type": {
6852 "primitive": "string"
6853 }
6854 },
6855 {
6856 "abstract": true,
6857 "docs": {
6858 "custom": {
6859 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-tags"
6860 },
6861 "stability": "external",
6862 "summary": "A list of [tags](https://docs.aws.amazon.com/lambda/latest/dg/tagging.html) to apply to the function."
6863 },
6864 "immutable": true,
6865 "locationInModule": {
6866 "filename": "lib/lambda.generated.ts",
6867 "line": 2648
6868 },
6869 "name": "tags",
6870 "optional": true,
6871 "type": {
6872 "collection": {
6873 "elementtype": {
6874 "fqn": "@aws-cdk/core.CfnTag"
6875 },
6876 "kind": "array"
6877 }
6878 }
6879 },
6880 {
6881 "abstract": true,
6882 "docs": {
6883 "custom": {
6884 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-timeout"
6885 },
6886 "remarks": "The default is 3 seconds. The maximum allowed value is 900 seconds. For additional information, see [Lambda execution environment](https://docs.aws.amazon.com/lambda/latest/dg/runtimes-context.html) .",
6887 "stability": "external",
6888 "summary": "The amount of time (in seconds) that Lambda allows a function to run before stopping it."
6889 },
6890 "immutable": true,
6891 "locationInModule": {
6892 "filename": "lib/lambda.generated.ts",
6893 "line": 2655
6894 },
6895 "name": "timeout",
6896 "optional": true,
6897 "type": {
6898 "primitive": "number"
6899 }
6900 },
6901 {
6902 "abstract": true,
6903 "docs": {
6904 "custom": {
6905 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-tracingconfig"
6906 },
6907 "stability": "external",
6908 "summary": "Set `Mode` to `Active` to sample and trace a subset of incoming requests with [X-Ray](https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html) ."
6909 },
6910 "immutable": true,
6911 "locationInModule": {
6912 "filename": "lib/lambda.generated.ts",
6913 "line": 2662
6914 },
6915 "name": "tracingConfig",
6916 "optional": true,
6917 "type": {
6918 "union": {
6919 "types": [
6920 {
6921 "fqn": "@aws-cdk/core.IResolvable"
6922 },
6923 {
6924 "fqn": "@aws-cdk/aws-lambda.CfnFunction.TracingConfigProperty"
6925 }
6926 ]
6927 }
6928 }
6929 },
6930 {
6931 "abstract": true,
6932 "docs": {
6933 "custom": {
6934 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-vpcconfig"
6935 },
6936 "stability": "external",
6937 "summary": "For network connectivity to AWS resources in a [VPC](https://docs.aws.amazon.com/lambda/latest/dg/configuration-network.html) , specify a list of security groups and subnets in the VPC."
6938 },
6939 "immutable": true,
6940 "locationInModule": {
6941 "filename": "lib/lambda.generated.ts",
6942 "line": 2669
6943 },
6944 "name": "vpcConfig",
6945 "optional": true,
6946 "type": {
6947 "union": {
6948 "types": [
6949 {
6950 "fqn": "@aws-cdk/core.IResolvable"
6951 },
6952 {
6953 "fqn": "@aws-cdk/aws-lambda.CfnFunction.VpcConfigProperty"
6954 }
6955 ]
6956 }
6957 }
6958 }
6959 ],
6960 "symbolId": "lib/lambda.generated:CfnFunctionProps"
6961 },
6962 "@aws-cdk/aws-lambda.CfnLayerVersion": {
6963 "assembly": "@aws-cdk/aws-lambda",
6964 "base": "@aws-cdk/core.CfnResource",
6965 "docs": {
6966 "custom": {
6967 "cloudformationResource": "AWS::Lambda::LayerVersion",
6968 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-layerversion.html",
6969 "exampleMetadata": "fixture=_generated"
6970 },
6971 "remarks": "The `AWS::Lambda::LayerVersion` resource creates a [Lambda layer](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html) from a ZIP archive.",
6972 "stability": "external",
6973 "summary": "A CloudFormation `AWS::Lambda::LayerVersion`.",
6974 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst cfnLayerVersion = new lambda.CfnLayerVersion(this, 'MyCfnLayerVersion', {\n content: {\n s3Bucket: 's3Bucket',\n s3Key: 's3Key',\n\n // the properties below are optional\n s3ObjectVersion: 's3ObjectVersion',\n },\n\n // the properties below are optional\n compatibleArchitectures: ['compatibleArchitectures'],\n compatibleRuntimes: ['compatibleRuntimes'],\n description: 'description',\n layerName: 'layerName',\n licenseInfo: 'licenseInfo',\n});"
6975 },
6976 "fqn": "@aws-cdk/aws-lambda.CfnLayerVersion",
6977 "initializer": {
6978 "docs": {
6979 "stability": "external",
6980 "summary": "Create a new `AWS::Lambda::LayerVersion`."
6981 },
6982 "locationInModule": {
6983 "filename": "lib/lambda.generated.ts",
6984 "line": 3899
6985 },
6986 "parameters": [
6987 {
6988 "docs": {
6989 "summary": "- scope in which this resource is defined."
6990 },
6991 "name": "scope",
6992 "type": {
6993 "fqn": "@aws-cdk/core.Construct"
6994 }
6995 },
6996 {
6997 "docs": {
6998 "summary": "- scoped id of the resource."
6999 },
7000 "name": "id",
7001 "type": {
7002 "primitive": "string"
7003 }
7004 },
7005 {
7006 "docs": {
7007 "summary": "- resource properties."
7008 },
7009 "name": "props",
7010 "type": {
7011 "fqn": "@aws-cdk/aws-lambda.CfnLayerVersionProps"
7012 }
7013 }
7014 ]
7015 },
7016 "interfaces": [
7017 "@aws-cdk/core.IInspectable"
7018 ],
7019 "kind": "class",
7020 "locationInModule": {
7021 "filename": "lib/lambda.generated.ts",
7022 "line": 3821
7023 },
7024 "methods": [
7025 {
7026 "docs": {
7027 "stability": "external",
7028 "summary": "Examines the CloudFormation resource and discloses attributes."
7029 },
7030 "locationInModule": {
7031 "filename": "lib/lambda.generated.ts",
7032 "line": 3917
7033 },
7034 "name": "inspect",
7035 "overrides": "@aws-cdk/core.IInspectable",
7036 "parameters": [
7037 {
7038 "docs": {
7039 "summary": "- tree inspector to collect and process attributes."
7040 },
7041 "name": "inspector",
7042 "type": {
7043 "fqn": "@aws-cdk/core.TreeInspector"
7044 }
7045 }
7046 ]
7047 },
7048 {
7049 "docs": {
7050 "stability": "external"
7051 },
7052 "locationInModule": {
7053 "filename": "lib/lambda.generated.ts",
7054 "line": 3933
7055 },
7056 "name": "renderProperties",
7057 "overrides": "@aws-cdk/core.CfnResource",
7058 "parameters": [
7059 {
7060 "name": "props",
7061 "type": {
7062 "collection": {
7063 "elementtype": {
7064 "primitive": "any"
7065 },
7066 "kind": "map"
7067 }
7068 }
7069 }
7070 ],
7071 "protected": true,
7072 "returns": {
7073 "type": {
7074 "collection": {
7075 "elementtype": {
7076 "primitive": "any"
7077 },
7078 "kind": "map"
7079 }
7080 }
7081 }
7082 }
7083 ],
7084 "name": "CfnLayerVersion",
7085 "properties": [
7086 {
7087 "const": true,
7088 "docs": {
7089 "stability": "external",
7090 "summary": "The CloudFormation resource type name for this resource class."
7091 },
7092 "immutable": true,
7093 "locationInModule": {
7094 "filename": "lib/lambda.generated.ts",
7095 "line": 3825
7096 },
7097 "name": "CFN_RESOURCE_TYPE_NAME",
7098 "static": true,
7099 "type": {
7100 "primitive": "string"
7101 }
7102 },
7103 {
7104 "docs": {
7105 "stability": "external"
7106 },
7107 "immutable": true,
7108 "locationInModule": {
7109 "filename": "lib/lambda.generated.ts",
7110 "line": 3922
7111 },
7112 "name": "cfnProperties",
7113 "overrides": "@aws-cdk/core.CfnResource",
7114 "protected": true,
7115 "type": {
7116 "collection": {
7117 "elementtype": {
7118 "primitive": "any"
7119 },
7120 "kind": "map"
7121 }
7122 }
7123 },
7124 {
7125 "docs": {
7126 "custom": {
7127 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-layerversion.html#cfn-lambda-layerversion-content"
7128 },
7129 "stability": "external",
7130 "summary": "The function layer archive."
7131 },
7132 "locationInModule": {
7133 "filename": "lib/lambda.generated.ts",
7134 "line": 3851
7135 },
7136 "name": "content",
7137 "type": {
7138 "union": {
7139 "types": [
7140 {
7141 "fqn": "@aws-cdk/core.IResolvable"
7142 },
7143 {
7144 "fqn": "@aws-cdk/aws-lambda.CfnLayerVersion.ContentProperty"
7145 }
7146 ]
7147 }
7148 }
7149 },
7150 {
7151 "docs": {
7152 "custom": {
7153 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-layerversion.html#cfn-lambda-layerversion-compatiblearchitectures"
7154 },
7155 "stability": "external",
7156 "summary": "A list of compatible [instruction set architectures](https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html) ."
7157 },
7158 "locationInModule": {
7159 "filename": "lib/lambda.generated.ts",
7160 "line": 3858
7161 },
7162 "name": "compatibleArchitectures",
7163 "optional": true,
7164 "type": {
7165 "collection": {
7166 "elementtype": {
7167 "primitive": "string"
7168 },
7169 "kind": "array"
7170 }
7171 }
7172 },
7173 {
7174 "docs": {
7175 "custom": {
7176 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-layerversion.html#cfn-lambda-layerversion-compatibleruntimes"
7177 },
7178 "stability": "external",
7179 "summary": "A list of compatible [function runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html) . Used for filtering with [ListLayers](https://docs.aws.amazon.com/lambda/latest/dg/API_ListLayers.html) and [ListLayerVersions](https://docs.aws.amazon.com/lambda/latest/dg/API_ListLayerVersions.html) ."
7180 },
7181 "locationInModule": {
7182 "filename": "lib/lambda.generated.ts",
7183 "line": 3865
7184 },
7185 "name": "compatibleRuntimes",
7186 "optional": true,
7187 "type": {
7188 "collection": {
7189 "elementtype": {
7190 "primitive": "string"
7191 },
7192 "kind": "array"
7193 }
7194 }
7195 },
7196 {
7197 "docs": {
7198 "custom": {
7199 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-layerversion.html#cfn-lambda-layerversion-description"
7200 },
7201 "stability": "external",
7202 "summary": "The description of the version."
7203 },
7204 "locationInModule": {
7205 "filename": "lib/lambda.generated.ts",
7206 "line": 3872
7207 },
7208 "name": "description",
7209 "optional": true,
7210 "type": {
7211 "primitive": "string"
7212 }
7213 },
7214 {
7215 "docs": {
7216 "custom": {
7217 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-layerversion.html#cfn-lambda-layerversion-layername"
7218 },
7219 "stability": "external",
7220 "summary": "The name or Amazon Resource Name (ARN) of the layer."
7221 },
7222 "locationInModule": {
7223 "filename": "lib/lambda.generated.ts",
7224 "line": 3879
7225 },
7226 "name": "layerName",
7227 "optional": true,
7228 "type": {
7229 "primitive": "string"
7230 }
7231 },
7232 {
7233 "docs": {
7234 "custom": {
7235 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-layerversion.html#cfn-lambda-layerversion-licenseinfo"
7236 },
7237 "remarks": "- An [SPDX license identifier](https://docs.aws.amazon.com/https://spdx.org/licenses/) . For example, `MIT` .\n- The URL of a license hosted on the internet. For example, `https://opensource.org/licenses/MIT` .\n- The full text of the license.",
7238 "stability": "external",
7239 "summary": "The layer's software license. It can be any of the following:."
7240 },
7241 "locationInModule": {
7242 "filename": "lib/lambda.generated.ts",
7243 "line": 3890
7244 },
7245 "name": "licenseInfo",
7246 "optional": true,
7247 "type": {
7248 "primitive": "string"
7249 }
7250 }
7251 ],
7252 "symbolId": "lib/lambda.generated:CfnLayerVersion"
7253 },
7254 "@aws-cdk/aws-lambda.CfnLayerVersion.ContentProperty": {
7255 "assembly": "@aws-cdk/aws-lambda",
7256 "datatype": true,
7257 "docs": {
7258 "custom": {
7259 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-layerversion-content.html",
7260 "exampleMetadata": "fixture=_generated"
7261 },
7262 "stability": "external",
7263 "summary": "A ZIP archive that contains the contents of an [Lambda layer](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html) .",
7264 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst contentProperty: lambda.CfnLayerVersion.ContentProperty = {\n s3Bucket: 's3Bucket',\n s3Key: 's3Key',\n\n // the properties below are optional\n s3ObjectVersion: 's3ObjectVersion',\n};"
7265 },
7266 "fqn": "@aws-cdk/aws-lambda.CfnLayerVersion.ContentProperty",
7267 "kind": "interface",
7268 "locationInModule": {
7269 "filename": "lib/lambda.generated.ts",
7270 "line": 3947
7271 },
7272 "name": "ContentProperty",
7273 "namespace": "CfnLayerVersion",
7274 "properties": [
7275 {
7276 "abstract": true,
7277 "docs": {
7278 "custom": {
7279 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-layerversion-content.html#cfn-lambda-layerversion-content-s3bucket"
7280 },
7281 "stability": "external",
7282 "summary": "The Amazon S3 bucket of the layer archive."
7283 },
7284 "immutable": true,
7285 "locationInModule": {
7286 "filename": "lib/lambda.generated.ts",
7287 "line": 3953
7288 },
7289 "name": "s3Bucket",
7290 "type": {
7291 "primitive": "string"
7292 }
7293 },
7294 {
7295 "abstract": true,
7296 "docs": {
7297 "custom": {
7298 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-layerversion-content.html#cfn-lambda-layerversion-content-s3key"
7299 },
7300 "stability": "external",
7301 "summary": "The Amazon S3 key of the layer archive."
7302 },
7303 "immutable": true,
7304 "locationInModule": {
7305 "filename": "lib/lambda.generated.ts",
7306 "line": 3959
7307 },
7308 "name": "s3Key",
7309 "type": {
7310 "primitive": "string"
7311 }
7312 },
7313 {
7314 "abstract": true,
7315 "docs": {
7316 "custom": {
7317 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-layerversion-content.html#cfn-lambda-layerversion-content-s3objectversion"
7318 },
7319 "stability": "external",
7320 "summary": "For versioned objects, the version of the layer archive object to use."
7321 },
7322 "immutable": true,
7323 "locationInModule": {
7324 "filename": "lib/lambda.generated.ts",
7325 "line": 3965
7326 },
7327 "name": "s3ObjectVersion",
7328 "optional": true,
7329 "type": {
7330 "primitive": "string"
7331 }
7332 }
7333 ],
7334 "symbolId": "lib/lambda.generated:CfnLayerVersion.ContentProperty"
7335 },
7336 "@aws-cdk/aws-lambda.CfnLayerVersionPermission": {
7337 "assembly": "@aws-cdk/aws-lambda",
7338 "base": "@aws-cdk/core.CfnResource",
7339 "docs": {
7340 "custom": {
7341 "cloudformationResource": "AWS::Lambda::LayerVersionPermission",
7342 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-layerversionpermission.html",
7343 "exampleMetadata": "fixture=_generated"
7344 },
7345 "remarks": "The `AWS::Lambda::LayerVersionPermission` resource adds permissions to the resource-based policy of a version of an [Lambda layer](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html) . Use this action to grant layer usage permission to other accounts. You can grant permission to a single account, all AWS accounts, or all accounts in an organization.\n\n> Since the release of the [UpdateReplacePolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatereplacepolicy.html) both `UpdateReplacePolicy` and `DeletionPolicy` are required to protect your Resources/LayerPermissions from deletion.",
7346 "stability": "external",
7347 "summary": "A CloudFormation `AWS::Lambda::LayerVersionPermission`.",
7348 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst cfnLayerVersionPermission = new lambda.CfnLayerVersionPermission(this, 'MyCfnLayerVersionPermission', {\n action: 'action',\n layerVersionArn: 'layerVersionArn',\n principal: 'principal',\n\n // the properties below are optional\n organizationId: 'organizationId',\n});"
7349 },
7350 "fqn": "@aws-cdk/aws-lambda.CfnLayerVersionPermission",
7351 "initializer": {
7352 "docs": {
7353 "stability": "external",
7354 "summary": "Create a new `AWS::Lambda::LayerVersionPermission`."
7355 },
7356 "locationInModule": {
7357 "filename": "lib/lambda.generated.ts",
7358 "line": 4193
7359 },
7360 "parameters": [
7361 {
7362 "docs": {
7363 "summary": "- scope in which this resource is defined."
7364 },
7365 "name": "scope",
7366 "type": {
7367 "fqn": "@aws-cdk/core.Construct"
7368 }
7369 },
7370 {
7371 "docs": {
7372 "summary": "- scoped id of the resource."
7373 },
7374 "name": "id",
7375 "type": {
7376 "primitive": "string"
7377 }
7378 },
7379 {
7380 "docs": {
7381 "summary": "- resource properties."
7382 },
7383 "name": "props",
7384 "type": {
7385 "fqn": "@aws-cdk/aws-lambda.CfnLayerVersionPermissionProps"
7386 }
7387 }
7388 ]
7389 },
7390 "interfaces": [
7391 "@aws-cdk/core.IInspectable"
7392 ],
7393 "kind": "class",
7394 "locationInModule": {
7395 "filename": "lib/lambda.generated.ts",
7396 "line": 4133
7397 },
7398 "methods": [
7399 {
7400 "docs": {
7401 "stability": "external",
7402 "summary": "Examines the CloudFormation resource and discloses attributes."
7403 },
7404 "locationInModule": {
7405 "filename": "lib/lambda.generated.ts",
7406 "line": 4211
7407 },
7408 "name": "inspect",
7409 "overrides": "@aws-cdk/core.IInspectable",
7410 "parameters": [
7411 {
7412 "docs": {
7413 "summary": "- tree inspector to collect and process attributes."
7414 },
7415 "name": "inspector",
7416 "type": {
7417 "fqn": "@aws-cdk/core.TreeInspector"
7418 }
7419 }
7420 ]
7421 },
7422 {
7423 "docs": {
7424 "stability": "external"
7425 },
7426 "locationInModule": {
7427 "filename": "lib/lambda.generated.ts",
7428 "line": 4225
7429 },
7430 "name": "renderProperties",
7431 "overrides": "@aws-cdk/core.CfnResource",
7432 "parameters": [
7433 {
7434 "name": "props",
7435 "type": {
7436 "collection": {
7437 "elementtype": {
7438 "primitive": "any"
7439 },
7440 "kind": "map"
7441 }
7442 }
7443 }
7444 ],
7445 "protected": true,
7446 "returns": {
7447 "type": {
7448 "collection": {
7449 "elementtype": {
7450 "primitive": "any"
7451 },
7452 "kind": "map"
7453 }
7454 }
7455 }
7456 }
7457 ],
7458 "name": "CfnLayerVersionPermission",
7459 "properties": [
7460 {
7461 "const": true,
7462 "docs": {
7463 "stability": "external",
7464 "summary": "The CloudFormation resource type name for this resource class."
7465 },
7466 "immutable": true,
7467 "locationInModule": {
7468 "filename": "lib/lambda.generated.ts",
7469 "line": 4137
7470 },
7471 "name": "CFN_RESOURCE_TYPE_NAME",
7472 "static": true,
7473 "type": {
7474 "primitive": "string"
7475 }
7476 },
7477 {
7478 "docs": {
7479 "stability": "external"
7480 },
7481 "immutable": true,
7482 "locationInModule": {
7483 "filename": "lib/lambda.generated.ts",
7484 "line": 4216
7485 },
7486 "name": "cfnProperties",
7487 "overrides": "@aws-cdk/core.CfnResource",
7488 "protected": true,
7489 "type": {
7490 "collection": {
7491 "elementtype": {
7492 "primitive": "any"
7493 },
7494 "kind": "map"
7495 }
7496 }
7497 },
7498 {
7499 "docs": {
7500 "custom": {
7501 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-layerversionpermission.html#cfn-lambda-layerversionpermission-action"
7502 },
7503 "remarks": "For example, `lambda:GetLayerVersion` .",
7504 "stability": "external",
7505 "summary": "The API action that grants access to the layer."
7506 },
7507 "locationInModule": {
7508 "filename": "lib/lambda.generated.ts",
7509 "line": 4163
7510 },
7511 "name": "action",
7512 "type": {
7513 "primitive": "string"
7514 }
7515 },
7516 {
7517 "docs": {
7518 "custom": {
7519 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-layerversionpermission.html#cfn-lambda-layerversionpermission-layerversionarn"
7520 },
7521 "stability": "external",
7522 "summary": "The name or Amazon Resource Name (ARN) of the layer."
7523 },
7524 "locationInModule": {
7525 "filename": "lib/lambda.generated.ts",
7526 "line": 4170
7527 },
7528 "name": "layerVersionArn",
7529 "type": {
7530 "primitive": "string"
7531 }
7532 },
7533 {
7534 "docs": {
7535 "custom": {
7536 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-layerversionpermission.html#cfn-lambda-layerversionpermission-principal"
7537 },
7538 "remarks": "For the last case, make sure that you really do want all AWS accounts to have usage permission to this layer.",
7539 "stability": "external",
7540 "summary": "An account ID, or `*` to grant layer usage permission to all accounts in an organization, or all AWS accounts (if `organizationId` is not specified)."
7541 },
7542 "locationInModule": {
7543 "filename": "lib/lambda.generated.ts",
7544 "line": 4177
7545 },
7546 "name": "principal",
7547 "type": {
7548 "primitive": "string"
7549 }
7550 },
7551 {
7552 "docs": {
7553 "custom": {
7554 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-layerversionpermission.html#cfn-lambda-layerversionpermission-organizationid"
7555 },
7556 "stability": "external",
7557 "summary": "With the principal set to `*` , grant permission to all accounts in the specified organization."
7558 },
7559 "locationInModule": {
7560 "filename": "lib/lambda.generated.ts",
7561 "line": 4184
7562 },
7563 "name": "organizationId",
7564 "optional": true,
7565 "type": {
7566 "primitive": "string"
7567 }
7568 }
7569 ],
7570 "symbolId": "lib/lambda.generated:CfnLayerVersionPermission"
7571 },
7572 "@aws-cdk/aws-lambda.CfnLayerVersionPermissionProps": {
7573 "assembly": "@aws-cdk/aws-lambda",
7574 "datatype": true,
7575 "docs": {
7576 "custom": {
7577 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-layerversionpermission.html",
7578 "exampleMetadata": "fixture=_generated"
7579 },
7580 "stability": "external",
7581 "summary": "Properties for defining a `CfnLayerVersionPermission`.",
7582 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst cfnLayerVersionPermissionProps: lambda.CfnLayerVersionPermissionProps = {\n action: 'action',\n layerVersionArn: 'layerVersionArn',\n principal: 'principal',\n\n // the properties below are optional\n organizationId: 'organizationId',\n};"
7583 },
7584 "fqn": "@aws-cdk/aws-lambda.CfnLayerVersionPermissionProps",
7585 "kind": "interface",
7586 "locationInModule": {
7587 "filename": "lib/lambda.generated.ts",
7588 "line": 4033
7589 },
7590 "name": "CfnLayerVersionPermissionProps",
7591 "properties": [
7592 {
7593 "abstract": true,
7594 "docs": {
7595 "custom": {
7596 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-layerversionpermission.html#cfn-lambda-layerversionpermission-action"
7597 },
7598 "remarks": "For example, `lambda:GetLayerVersion` .",
7599 "stability": "external",
7600 "summary": "The API action that grants access to the layer."
7601 },
7602 "immutable": true,
7603 "locationInModule": {
7604 "filename": "lib/lambda.generated.ts",
7605 "line": 4040
7606 },
7607 "name": "action",
7608 "type": {
7609 "primitive": "string"
7610 }
7611 },
7612 {
7613 "abstract": true,
7614 "docs": {
7615 "custom": {
7616 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-layerversionpermission.html#cfn-lambda-layerversionpermission-layerversionarn"
7617 },
7618 "stability": "external",
7619 "summary": "The name or Amazon Resource Name (ARN) of the layer."
7620 },
7621 "immutable": true,
7622 "locationInModule": {
7623 "filename": "lib/lambda.generated.ts",
7624 "line": 4047
7625 },
7626 "name": "layerVersionArn",
7627 "type": {
7628 "primitive": "string"
7629 }
7630 },
7631 {
7632 "abstract": true,
7633 "docs": {
7634 "custom": {
7635 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-layerversionpermission.html#cfn-lambda-layerversionpermission-principal"
7636 },
7637 "remarks": "For the last case, make sure that you really do want all AWS accounts to have usage permission to this layer.",
7638 "stability": "external",
7639 "summary": "An account ID, or `*` to grant layer usage permission to all accounts in an organization, or all AWS accounts (if `organizationId` is not specified)."
7640 },
7641 "immutable": true,
7642 "locationInModule": {
7643 "filename": "lib/lambda.generated.ts",
7644 "line": 4054
7645 },
7646 "name": "principal",
7647 "type": {
7648 "primitive": "string"
7649 }
7650 },
7651 {
7652 "abstract": true,
7653 "docs": {
7654 "custom": {
7655 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-layerversionpermission.html#cfn-lambda-layerversionpermission-organizationid"
7656 },
7657 "stability": "external",
7658 "summary": "With the principal set to `*` , grant permission to all accounts in the specified organization."
7659 },
7660 "immutable": true,
7661 "locationInModule": {
7662 "filename": "lib/lambda.generated.ts",
7663 "line": 4061
7664 },
7665 "name": "organizationId",
7666 "optional": true,
7667 "type": {
7668 "primitive": "string"
7669 }
7670 }
7671 ],
7672 "symbolId": "lib/lambda.generated:CfnLayerVersionPermissionProps"
7673 },
7674 "@aws-cdk/aws-lambda.CfnLayerVersionProps": {
7675 "assembly": "@aws-cdk/aws-lambda",
7676 "datatype": true,
7677 "docs": {
7678 "custom": {
7679 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-layerversion.html",
7680 "exampleMetadata": "fixture=_generated"
7681 },
7682 "stability": "external",
7683 "summary": "Properties for defining a `CfnLayerVersion`.",
7684 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst cfnLayerVersionProps: lambda.CfnLayerVersionProps = {\n content: {\n s3Bucket: 's3Bucket',\n s3Key: 's3Key',\n\n // the properties below are optional\n s3ObjectVersion: 's3ObjectVersion',\n },\n\n // the properties below are optional\n compatibleArchitectures: ['compatibleArchitectures'],\n compatibleRuntimes: ['compatibleRuntimes'],\n description: 'description',\n layerName: 'layerName',\n licenseInfo: 'licenseInfo',\n};"
7685 },
7686 "fqn": "@aws-cdk/aws-lambda.CfnLayerVersionProps",
7687 "kind": "interface",
7688 "locationInModule": {
7689 "filename": "lib/lambda.generated.ts",
7690 "line": 3701
7691 },
7692 "name": "CfnLayerVersionProps",
7693 "properties": [
7694 {
7695 "abstract": true,
7696 "docs": {
7697 "custom": {
7698 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-layerversion.html#cfn-lambda-layerversion-content"
7699 },
7700 "stability": "external",
7701 "summary": "The function layer archive."
7702 },
7703 "immutable": true,
7704 "locationInModule": {
7705 "filename": "lib/lambda.generated.ts",
7706 "line": 3708
7707 },
7708 "name": "content",
7709 "type": {
7710 "union": {
7711 "types": [
7712 {
7713 "fqn": "@aws-cdk/core.IResolvable"
7714 },
7715 {
7716 "fqn": "@aws-cdk/aws-lambda.CfnLayerVersion.ContentProperty"
7717 }
7718 ]
7719 }
7720 }
7721 },
7722 {
7723 "abstract": true,
7724 "docs": {
7725 "custom": {
7726 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-layerversion.html#cfn-lambda-layerversion-compatiblearchitectures"
7727 },
7728 "stability": "external",
7729 "summary": "A list of compatible [instruction set architectures](https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html) ."
7730 },
7731 "immutable": true,
7732 "locationInModule": {
7733 "filename": "lib/lambda.generated.ts",
7734 "line": 3715
7735 },
7736 "name": "compatibleArchitectures",
7737 "optional": true,
7738 "type": {
7739 "collection": {
7740 "elementtype": {
7741 "primitive": "string"
7742 },
7743 "kind": "array"
7744 }
7745 }
7746 },
7747 {
7748 "abstract": true,
7749 "docs": {
7750 "custom": {
7751 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-layerversion.html#cfn-lambda-layerversion-compatibleruntimes"
7752 },
7753 "stability": "external",
7754 "summary": "A list of compatible [function runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html) . Used for filtering with [ListLayers](https://docs.aws.amazon.com/lambda/latest/dg/API_ListLayers.html) and [ListLayerVersions](https://docs.aws.amazon.com/lambda/latest/dg/API_ListLayerVersions.html) ."
7755 },
7756 "immutable": true,
7757 "locationInModule": {
7758 "filename": "lib/lambda.generated.ts",
7759 "line": 3722
7760 },
7761 "name": "compatibleRuntimes",
7762 "optional": true,
7763 "type": {
7764 "collection": {
7765 "elementtype": {
7766 "primitive": "string"
7767 },
7768 "kind": "array"
7769 }
7770 }
7771 },
7772 {
7773 "abstract": true,
7774 "docs": {
7775 "custom": {
7776 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-layerversion.html#cfn-lambda-layerversion-description"
7777 },
7778 "stability": "external",
7779 "summary": "The description of the version."
7780 },
7781 "immutable": true,
7782 "locationInModule": {
7783 "filename": "lib/lambda.generated.ts",
7784 "line": 3729
7785 },
7786 "name": "description",
7787 "optional": true,
7788 "type": {
7789 "primitive": "string"
7790 }
7791 },
7792 {
7793 "abstract": true,
7794 "docs": {
7795 "custom": {
7796 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-layerversion.html#cfn-lambda-layerversion-layername"
7797 },
7798 "stability": "external",
7799 "summary": "The name or Amazon Resource Name (ARN) of the layer."
7800 },
7801 "immutable": true,
7802 "locationInModule": {
7803 "filename": "lib/lambda.generated.ts",
7804 "line": 3736
7805 },
7806 "name": "layerName",
7807 "optional": true,
7808 "type": {
7809 "primitive": "string"
7810 }
7811 },
7812 {
7813 "abstract": true,
7814 "docs": {
7815 "custom": {
7816 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-layerversion.html#cfn-lambda-layerversion-licenseinfo"
7817 },
7818 "remarks": "- An [SPDX license identifier](https://docs.aws.amazon.com/https://spdx.org/licenses/) . For example, `MIT` .\n- The URL of a license hosted on the internet. For example, `https://opensource.org/licenses/MIT` .\n- The full text of the license.",
7819 "stability": "external",
7820 "summary": "The layer's software license. It can be any of the following:."
7821 },
7822 "immutable": true,
7823 "locationInModule": {
7824 "filename": "lib/lambda.generated.ts",
7825 "line": 3747
7826 },
7827 "name": "licenseInfo",
7828 "optional": true,
7829 "type": {
7830 "primitive": "string"
7831 }
7832 }
7833 ],
7834 "symbolId": "lib/lambda.generated:CfnLayerVersionProps"
7835 },
7836 "@aws-cdk/aws-lambda.CfnParametersCode": {
7837 "assembly": "@aws-cdk/aws-lambda",
7838 "base": "@aws-cdk/aws-lambda.Code",
7839 "docs": {
7840 "remarks": "Useful when you don't have access to the code of your Lambda from your CDK code, so you can't use Assets,\nand you want to deploy the Lambda in a CodePipeline, using CloudFormation Actions -\nyou can fill the parameters using the {@link #assign} method.",
7841 "stability": "stable",
7842 "summary": "Lambda code defined using 2 CloudFormation parameters.",
7843 "example": "const lambdaStack = new cdk.Stack(app, 'LambdaStack');\nconst lambdaCode = lambda.Code.fromCfnParameters();\nnew lambda.Function(lambdaStack, 'Lambda', {\n code: lambdaCode,\n handler: 'index.handler',\n runtime: lambda.Runtime.NODEJS_14_X,\n});\n// other resources that your Lambda needs, added to the lambdaStack...\n\nconst pipelineStack = new cdk.Stack(app, 'PipelineStack');\nconst pipeline = new codepipeline.Pipeline(pipelineStack, 'Pipeline');\n\n// add the source code repository containing this code to your Pipeline,\n// and the source code of the Lambda Function, if they're separate\nconst cdkSourceOutput = new codepipeline.Artifact();\nconst cdkSourceAction = new codepipeline_actions.CodeCommitSourceAction({\n repository: new codecommit.Repository(pipelineStack, 'CdkCodeRepo', {\n repositoryName: 'CdkCodeRepo',\n }),\n actionName: 'CdkCode_Source',\n output: cdkSourceOutput,\n});\nconst lambdaSourceOutput = new codepipeline.Artifact();\nconst lambdaSourceAction = new codepipeline_actions.CodeCommitSourceAction({\n repository: new codecommit.Repository(pipelineStack, 'LambdaCodeRepo', {\n repositoryName: 'LambdaCodeRepo',\n }),\n actionName: 'LambdaCode_Source',\n output: lambdaSourceOutput,\n});\npipeline.addStage({\n stageName: 'Source',\n actions: [cdkSourceAction, lambdaSourceAction],\n});\n\n// synthesize the Lambda CDK template, using CodeBuild\n// the below values are just examples, assuming your CDK code is in TypeScript/JavaScript -\n// adjust the build environment and/or commands accordingly\nconst cdkBuildProject = new codebuild.Project(pipelineStack, 'CdkBuildProject', {\n environment: {\n buildImage: codebuild.LinuxBuildImage.UBUNTU_14_04_NODEJS_10_1_0,\n },\n buildSpec: codebuild.BuildSpec.fromObject({\n version: '0.2',\n phases: {\n install: {\n commands: 'npm install',\n },\n build: {\n commands: [\n 'npm run build',\n 'npm run cdk synth LambdaStack -- -o .',\n ],\n },\n },\n artifacts: {\n files: 'LambdaStack.template.yaml',\n },\n }),\n});\nconst cdkBuildOutput = new codepipeline.Artifact();\nconst cdkBuildAction = new codepipeline_actions.CodeBuildAction({\n actionName: 'CDK_Build',\n project: cdkBuildProject,\n input: cdkSourceOutput,\n outputs: [cdkBuildOutput],\n});\n\n// build your Lambda code, using CodeBuild\n// again, this example assumes your Lambda is written in TypeScript/JavaScript -\n// make sure to adjust the build environment and/or commands if they don't match your specific situation\nconst lambdaBuildProject = new codebuild.Project(pipelineStack, 'LambdaBuildProject', {\n environment: {\n buildImage: codebuild.LinuxBuildImage.UBUNTU_14_04_NODEJS_10_1_0,\n },\n buildSpec: codebuild.BuildSpec.fromObject({\n version: '0.2',\n phases: {\n install: {\n commands: 'npm install',\n },\n build: {\n commands: 'npm run build',\n },\n },\n artifacts: {\n files: [\n 'index.js',\n 'node_modules/**/*',\n ],\n },\n }),\n});\nconst lambdaBuildOutput = new codepipeline.Artifact();\nconst lambdaBuildAction = new codepipeline_actions.CodeBuildAction({\n actionName: 'Lambda_Build',\n project: lambdaBuildProject,\n input: lambdaSourceOutput,\n outputs: [lambdaBuildOutput],\n});\n\npipeline.addStage({\n stageName: 'Build',\n actions: [cdkBuildAction, lambdaBuildAction],\n});\n\n// finally, deploy your Lambda Stack\npipeline.addStage({\n stageName: 'Deploy',\n actions: [\n new codepipeline_actions.CloudFormationCreateUpdateStackAction({\n actionName: 'Lambda_CFN_Deploy',\n templatePath: cdkBuildOutput.atPath('LambdaStack.template.yaml'),\n stackName: 'LambdaStackDeployedName',\n adminPermissions: true,\n parameterOverrides: lambdaCode.assign(lambdaBuildOutput.s3Location),\n extraInputs: [\n lambdaBuildOutput,\n ],\n }),\n ],\n});",
7844 "custom": {
7845 "exampleMetadata": "lit=test/integ.lambda-deployed-through-codepipeline.lit.ts infused"
7846 }
7847 },
7848 "fqn": "@aws-cdk/aws-lambda.CfnParametersCode",
7849 "initializer": {
7850 "docs": {
7851 "stability": "stable"
7852 },
7853 "locationInModule": {
7854 "filename": "lib/code.ts",
7855 "line": 361
7856 },
7857 "parameters": [
7858 {
7859 "name": "props",
7860 "optional": true,
7861 "type": {
7862 "fqn": "@aws-cdk/aws-lambda.CfnParametersCodeProps"
7863 }
7864 }
7865 ]
7866 },
7867 "kind": "class",
7868 "locationInModule": {
7869 "filename": "lib/code.ts",
7870 "line": 356
7871 },
7872 "methods": [
7873 {
7874 "docs": {
7875 "remarks": "It returns a map with 2 keys that correspond to the names of the parameters defined in this Lambda code,\nand as values it contains the appropriate expressions pointing at the provided S3 location\n(most likely, obtained from a CodePipeline Artifact by calling the `artifact.s3Location` method).\nThe result should be provided to the CloudFormation Action\nthat is deploying the Stack that the Lambda with this code is part of,\nin the `parameterOverrides` property.",
7876 "stability": "stable",
7877 "summary": "Create a parameters map from this instance's CloudFormation parameters."
7878 },
7879 "locationInModule": {
7880 "filename": "lib/code.ts",
7881 "line": 401
7882 },
7883 "name": "assign",
7884 "parameters": [
7885 {
7886 "docs": {
7887 "summary": "the location of the object in S3 that represents the Lambda code."
7888 },
7889 "name": "location",
7890 "type": {
7891 "fqn": "@aws-cdk/aws-s3.Location"
7892 }
7893 }
7894 ],
7895 "returns": {
7896 "type": {
7897 "collection": {
7898 "elementtype": {
7899 "primitive": "any"
7900 },
7901 "kind": "map"
7902 }
7903 }
7904 }
7905 },
7906 {
7907 "docs": {
7908 "stability": "stable",
7909 "summary": "Called when the lambda or layer is initialized to allow this object to bind to the stack, add resources and have fun."
7910 },
7911 "locationInModule": {
7912 "filename": "lib/code.ts",
7913 "line": 368
7914 },
7915 "name": "bind",
7916 "overrides": "@aws-cdk/aws-lambda.Code",
7917 "parameters": [
7918 {
7919 "name": "scope",
7920 "type": {
7921 "fqn": "@aws-cdk/core.Construct"
7922 }
7923 }
7924 ],
7925 "returns": {
7926 "type": {
7927 "fqn": "@aws-cdk/aws-lambda.CodeConfig"
7928 }
7929 }
7930 }
7931 ],
7932 "name": "CfnParametersCode",
7933 "properties": [
7934 {
7935 "docs": {
7936 "stability": "stable"
7937 },
7938 "immutable": true,
7939 "locationInModule": {
7940 "filename": "lib/code.ts",
7941 "line": 408
7942 },
7943 "name": "bucketNameParam",
7944 "type": {
7945 "primitive": "string"
7946 }
7947 },
7948 {
7949 "docs": {
7950 "stability": "stable",
7951 "summary": "Determines whether this Code is inline code or not."
7952 },
7953 "immutable": true,
7954 "locationInModule": {
7955 "filename": "lib/code.ts",
7956 "line": 357
7957 },
7958 "name": "isInline",
7959 "overrides": "@aws-cdk/aws-lambda.Code",
7960 "type": {
7961 "primitive": "boolean"
7962 }
7963 },
7964 {
7965 "docs": {
7966 "stability": "stable"
7967 },
7968 "immutable": true,
7969 "locationInModule": {
7970 "filename": "lib/code.ts",
7971 "line": 416
7972 },
7973 "name": "objectKeyParam",
7974 "type": {
7975 "primitive": "string"
7976 }
7977 }
7978 ],
7979 "symbolId": "lib/code:CfnParametersCode"
7980 },
7981 "@aws-cdk/aws-lambda.CfnParametersCodeProps": {
7982 "assembly": "@aws-cdk/aws-lambda",
7983 "datatype": true,
7984 "docs": {
7985 "stability": "stable",
7986 "summary": "Construction properties for {@link CfnParametersCode}.",
7987 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const cfnParameter: cdk.CfnParameter;\nconst cfnParametersCodeProps: lambda.CfnParametersCodeProps = {\n bucketNameParam: cfnParameter,\n objectKeyParam: cfnParameter,\n};",
7988 "custom": {
7989 "exampleMetadata": "fixture=_generated"
7990 }
7991 },
7992 "fqn": "@aws-cdk/aws-lambda.CfnParametersCodeProps",
7993 "kind": "interface",
7994 "locationInModule": {
7995 "filename": "lib/code.ts",
7996 "line": 330
7997 },
7998 "name": "CfnParametersCodeProps",
7999 "properties": [
8000 {
8001 "abstract": true,
8002 "docs": {
8003 "default": "a new parameter will be created",
8004 "remarks": "Must be of type 'String'.",
8005 "stability": "stable",
8006 "summary": "The CloudFormation parameter that represents the name of the S3 Bucket where the Lambda code will be located in."
8007 },
8008 "immutable": true,
8009 "locationInModule": {
8010 "filename": "lib/code.ts",
8011 "line": 338
8012 },
8013 "name": "bucketNameParam",
8014 "optional": true,
8015 "type": {
8016 "fqn": "@aws-cdk/core.CfnParameter"
8017 }
8018 },
8019 {
8020 "abstract": true,
8021 "docs": {
8022 "default": "a new parameter will be created",
8023 "remarks": "Must be of type 'String'.",
8024 "stability": "stable",
8025 "summary": "The CloudFormation parameter that represents the path inside the S3 Bucket where the Lambda code will be located at."
8026 },
8027 "immutable": true,
8028 "locationInModule": {
8029 "filename": "lib/code.ts",
8030 "line": 347
8031 },
8032 "name": "objectKeyParam",
8033 "optional": true,
8034 "type": {
8035 "fqn": "@aws-cdk/core.CfnParameter"
8036 }
8037 }
8038 ],
8039 "symbolId": "lib/code:CfnParametersCodeProps"
8040 },
8041 "@aws-cdk/aws-lambda.CfnPermission": {
8042 "assembly": "@aws-cdk/aws-lambda",
8043 "base": "@aws-cdk/core.CfnResource",
8044 "docs": {
8045 "custom": {
8046 "cloudformationResource": "AWS::Lambda::Permission",
8047 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html",
8048 "exampleMetadata": "fixture=_generated"
8049 },
8050 "remarks": "The `AWS::Lambda::Permission` resource grants an AWS service or another account permission to use a function. You can apply the policy at the function level, or specify a qualifier to restrict access to a single version or alias. If you use a qualifier, the invoker must use the full Amazon Resource Name (ARN) of that version or alias to invoke the function.\n\nTo grant permission to another account, specify the account ID as the `Principal` . To grant permission to an organization defined in AWS Organizations , specify the organization ID as the `PrincipalOrgID` . For AWS services, the principal is a domain-style identifier defined by the service, like `s3.amazonaws.com` or `sns.amazonaws.com` . For AWS services, you can also specify the ARN of the associated resource as the `SourceArn` . If you grant permission to a service principal without specifying the source, other accounts could potentially configure resources in their account to invoke your Lambda function.\n\nIf your function has a function URL, you can specify the `FunctionUrlAuthType` parameter. This adds a condition to your permission that only applies when your function URL's `AuthType` matches the specified `FunctionUrlAuthType` . For more information about the `AuthType` parameter, see [Security and auth model for Lambda function URLs](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html) .\n\nThis resource adds a statement to a resource-based permission policy for the function. For more information about function policies, see [Lambda Function Policies](https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html) .",
8051 "stability": "external",
8052 "summary": "A CloudFormation `AWS::Lambda::Permission`.",
8053 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst cfnPermission = new lambda.CfnPermission(this, 'MyCfnPermission', {\n action: 'action',\n functionName: 'functionName',\n principal: 'principal',\n\n // the properties below are optional\n eventSourceToken: 'eventSourceToken',\n functionUrlAuthType: 'functionUrlAuthType',\n principalOrgId: 'principalOrgId',\n sourceAccount: 'sourceAccount',\n sourceArn: 'sourceArn',\n});"
8054 },
8055 "fqn": "@aws-cdk/aws-lambda.CfnPermission",
8056 "initializer": {
8057 "docs": {
8058 "stability": "external",
8059 "summary": "Create a new `AWS::Lambda::Permission`."
8060 },
8061 "locationInModule": {
8062 "filename": "lib/lambda.generated.ts",
8063 "line": 4486
8064 },
8065 "parameters": [
8066 {
8067 "docs": {
8068 "summary": "- scope in which this resource is defined."
8069 },
8070 "name": "scope",
8071 "type": {
8072 "fqn": "@aws-cdk/core.Construct"
8073 }
8074 },
8075 {
8076 "docs": {
8077 "summary": "- scoped id of the resource."
8078 },
8079 "name": "id",
8080 "type": {
8081 "primitive": "string"
8082 }
8083 },
8084 {
8085 "docs": {
8086 "summary": "- resource properties."
8087 },
8088 "name": "props",
8089 "type": {
8090 "fqn": "@aws-cdk/aws-lambda.CfnPermissionProps"
8091 }
8092 }
8093 ]
8094 },
8095 "interfaces": [
8096 "@aws-cdk/core.IInspectable"
8097 ],
8098 "kind": "class",
8099 "locationInModule": {
8100 "filename": "lib/lambda.generated.ts",
8101 "line": 4390
8102 },
8103 "methods": [
8104 {
8105 "docs": {
8106 "stability": "external",
8107 "summary": "Examines the CloudFormation resource and discloses attributes."
8108 },
8109 "locationInModule": {
8110 "filename": "lib/lambda.generated.ts",
8111 "line": 4508
8112 },
8113 "name": "inspect",
8114 "overrides": "@aws-cdk/core.IInspectable",
8115 "parameters": [
8116 {
8117 "docs": {
8118 "summary": "- tree inspector to collect and process attributes."
8119 },
8120 "name": "inspector",
8121 "type": {
8122 "fqn": "@aws-cdk/core.TreeInspector"
8123 }
8124 }
8125 ]
8126 },
8127 {
8128 "docs": {
8129 "stability": "external"
8130 },
8131 "locationInModule": {
8132 "filename": "lib/lambda.generated.ts",
8133 "line": 4526
8134 },
8135 "name": "renderProperties",
8136 "overrides": "@aws-cdk/core.CfnResource",
8137 "parameters": [
8138 {
8139 "name": "props",
8140 "type": {
8141 "collection": {
8142 "elementtype": {
8143 "primitive": "any"
8144 },
8145 "kind": "map"
8146 }
8147 }
8148 }
8149 ],
8150 "protected": true,
8151 "returns": {
8152 "type": {
8153 "collection": {
8154 "elementtype": {
8155 "primitive": "any"
8156 },
8157 "kind": "map"
8158 }
8159 }
8160 }
8161 }
8162 ],
8163 "name": "CfnPermission",
8164 "properties": [
8165 {
8166 "const": true,
8167 "docs": {
8168 "stability": "external",
8169 "summary": "The CloudFormation resource type name for this resource class."
8170 },
8171 "immutable": true,
8172 "locationInModule": {
8173 "filename": "lib/lambda.generated.ts",
8174 "line": 4394
8175 },
8176 "name": "CFN_RESOURCE_TYPE_NAME",
8177 "static": true,
8178 "type": {
8179 "primitive": "string"
8180 }
8181 },
8182 {
8183 "docs": {
8184 "stability": "external"
8185 },
8186 "immutable": true,
8187 "locationInModule": {
8188 "filename": "lib/lambda.generated.ts",
8189 "line": 4513
8190 },
8191 "name": "cfnProperties",
8192 "overrides": "@aws-cdk/core.CfnResource",
8193 "protected": true,
8194 "type": {
8195 "collection": {
8196 "elementtype": {
8197 "primitive": "any"
8198 },
8199 "kind": "map"
8200 }
8201 }
8202 },
8203 {
8204 "docs": {
8205 "custom": {
8206 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html#cfn-lambda-permission-action"
8207 },
8208 "remarks": "For example, `lambda:InvokeFunction` or `lambda:GetFunction` .",
8209 "stability": "external",
8210 "summary": "The action that the principal can use on the function."
8211 },
8212 "locationInModule": {
8213 "filename": "lib/lambda.generated.ts",
8214 "line": 4420
8215 },
8216 "name": "action",
8217 "type": {
8218 "primitive": "string"
8219 }
8220 },
8221 {
8222 "docs": {
8223 "custom": {
8224 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html#cfn-lambda-permission-functionname"
8225 },
8226 "remarks": "**Name formats** - *Function name* - `my-function` (name-only), `my-function:v1` (with alias).\n- *Function ARN* - `arn:aws:lambda:us-west-2:123456789012:function:my-function` .\n- *Partial ARN* - `123456789012:function:my-function` .\n\nYou can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.",
8227 "stability": "external",
8228 "summary": "The name of the Lambda function, version, or alias."
8229 },
8230 "locationInModule": {
8231 "filename": "lib/lambda.generated.ts",
8232 "line": 4433
8233 },
8234 "name": "functionName",
8235 "type": {
8236 "primitive": "string"
8237 }
8238 },
8239 {
8240 "docs": {
8241 "custom": {
8242 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html#cfn-lambda-permission-principal"
8243 },
8244 "remarks": "If you specify a service, use `SourceArn` or `SourceAccount` to limit who can invoke the function through that service.",
8245 "stability": "external",
8246 "summary": "The AWS service or account that invokes the function."
8247 },
8248 "locationInModule": {
8249 "filename": "lib/lambda.generated.ts",
8250 "line": 4440
8251 },
8252 "name": "principal",
8253 "type": {
8254 "primitive": "string"
8255 }
8256 },
8257 {
8258 "docs": {
8259 "custom": {
8260 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html#cfn-lambda-permission-eventsourcetoken"
8261 },
8262 "stability": "external",
8263 "summary": "For Alexa Smart Home functions, a token that must be supplied by the invoker."
8264 },
8265 "locationInModule": {
8266 "filename": "lib/lambda.generated.ts",
8267 "line": 4447
8268 },
8269 "name": "eventSourceToken",
8270 "optional": true,
8271 "type": {
8272 "primitive": "string"
8273 }
8274 },
8275 {
8276 "docs": {
8277 "custom": {
8278 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html#cfn-lambda-permission-functionurlauthtype"
8279 },
8280 "remarks": "Set to `AWS_IAM` if you want to restrict access to authenticated `IAM` users only. Set to `NONE` if you want to bypass IAM authentication to create a public endpoint. For more information, see [Security and auth model for Lambda function URLs](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html) .",
8281 "stability": "external",
8282 "summary": "The type of authentication that your function URL uses."
8283 },
8284 "locationInModule": {
8285 "filename": "lib/lambda.generated.ts",
8286 "line": 4454
8287 },
8288 "name": "functionUrlAuthType",
8289 "optional": true,
8290 "type": {
8291 "primitive": "string"
8292 }
8293 },
8294 {
8295 "docs": {
8296 "custom": {
8297 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html#cfn-lambda-permission-principalorgid"
8298 },
8299 "remarks": "Use this to grant permissions to all the AWS accounts under this organization.",
8300 "stability": "external",
8301 "summary": "The identifier for your organization in AWS Organizations ."
8302 },
8303 "locationInModule": {
8304 "filename": "lib/lambda.generated.ts",
8305 "line": 4461
8306 },
8307 "name": "principalOrgId",
8308 "optional": true,
8309 "type": {
8310 "primitive": "string"
8311 }
8312 },
8313 {
8314 "docs": {
8315 "custom": {
8316 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html#cfn-lambda-permission-sourceaccount"
8317 },
8318 "remarks": "Use this together with `SourceArn` to ensure that the resource is owned by the specified account. It is possible for an Amazon S3 bucket to be deleted by its owner and recreated by another account.",
8319 "stability": "external",
8320 "summary": "For Amazon S3, the ID of the account that owns the resource."
8321 },
8322 "locationInModule": {
8323 "filename": "lib/lambda.generated.ts",
8324 "line": 4468
8325 },
8326 "name": "sourceAccount",
8327 "optional": true,
8328 "type": {
8329 "primitive": "string"
8330 }
8331 },
8332 {
8333 "docs": {
8334 "custom": {
8335 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html#cfn-lambda-permission-sourcearn"
8336 },
8337 "remarks": "For example, an Amazon S3 bucket or Amazon SNS topic.\n\nNote that Lambda configures the comparison using the `StringLike` operator.",
8338 "stability": "external",
8339 "summary": "For AWS services, the ARN of the AWS resource that invokes the function."
8340 },
8341 "locationInModule": {
8342 "filename": "lib/lambda.generated.ts",
8343 "line": 4477
8344 },
8345 "name": "sourceArn",
8346 "optional": true,
8347 "type": {
8348 "primitive": "string"
8349 }
8350 }
8351 ],
8352 "symbolId": "lib/lambda.generated:CfnPermission"
8353 },
8354 "@aws-cdk/aws-lambda.CfnPermissionProps": {
8355 "assembly": "@aws-cdk/aws-lambda",
8356 "datatype": true,
8357 "docs": {
8358 "custom": {
8359 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html",
8360 "exampleMetadata": "fixture=_generated"
8361 },
8362 "stability": "external",
8363 "summary": "Properties for defining a `CfnPermission`.",
8364 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst cfnPermissionProps: lambda.CfnPermissionProps = {\n action: 'action',\n functionName: 'functionName',\n principal: 'principal',\n\n // the properties below are optional\n eventSourceToken: 'eventSourceToken',\n functionUrlAuthType: 'functionUrlAuthType',\n principalOrgId: 'principalOrgId',\n sourceAccount: 'sourceAccount',\n sourceArn: 'sourceArn',\n};"
8365 },
8366 "fqn": "@aws-cdk/aws-lambda.CfnPermissionProps",
8367 "kind": "interface",
8368 "locationInModule": {
8369 "filename": "lib/lambda.generated.ts",
8370 "line": 4238
8371 },
8372 "name": "CfnPermissionProps",
8373 "properties": [
8374 {
8375 "abstract": true,
8376 "docs": {
8377 "custom": {
8378 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html#cfn-lambda-permission-action"
8379 },
8380 "remarks": "For example, `lambda:InvokeFunction` or `lambda:GetFunction` .",
8381 "stability": "external",
8382 "summary": "The action that the principal can use on the function."
8383 },
8384 "immutable": true,
8385 "locationInModule": {
8386 "filename": "lib/lambda.generated.ts",
8387 "line": 4245
8388 },
8389 "name": "action",
8390 "type": {
8391 "primitive": "string"
8392 }
8393 },
8394 {
8395 "abstract": true,
8396 "docs": {
8397 "custom": {
8398 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html#cfn-lambda-permission-functionname"
8399 },
8400 "remarks": "**Name formats** - *Function name* - `my-function` (name-only), `my-function:v1` (with alias).\n- *Function ARN* - `arn:aws:lambda:us-west-2:123456789012:function:my-function` .\n- *Partial ARN* - `123456789012:function:my-function` .\n\nYou can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.",
8401 "stability": "external",
8402 "summary": "The name of the Lambda function, version, or alias."
8403 },
8404 "immutable": true,
8405 "locationInModule": {
8406 "filename": "lib/lambda.generated.ts",
8407 "line": 4258
8408 },
8409 "name": "functionName",
8410 "type": {
8411 "primitive": "string"
8412 }
8413 },
8414 {
8415 "abstract": true,
8416 "docs": {
8417 "custom": {
8418 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html#cfn-lambda-permission-principal"
8419 },
8420 "remarks": "If you specify a service, use `SourceArn` or `SourceAccount` to limit who can invoke the function through that service.",
8421 "stability": "external",
8422 "summary": "The AWS service or account that invokes the function."
8423 },
8424 "immutable": true,
8425 "locationInModule": {
8426 "filename": "lib/lambda.generated.ts",
8427 "line": 4265
8428 },
8429 "name": "principal",
8430 "type": {
8431 "primitive": "string"
8432 }
8433 },
8434 {
8435 "abstract": true,
8436 "docs": {
8437 "custom": {
8438 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html#cfn-lambda-permission-eventsourcetoken"
8439 },
8440 "stability": "external",
8441 "summary": "For Alexa Smart Home functions, a token that must be supplied by the invoker."
8442 },
8443 "immutable": true,
8444 "locationInModule": {
8445 "filename": "lib/lambda.generated.ts",
8446 "line": 4272
8447 },
8448 "name": "eventSourceToken",
8449 "optional": true,
8450 "type": {
8451 "primitive": "string"
8452 }
8453 },
8454 {
8455 "abstract": true,
8456 "docs": {
8457 "custom": {
8458 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html#cfn-lambda-permission-functionurlauthtype"
8459 },
8460 "remarks": "Set to `AWS_IAM` if you want to restrict access to authenticated `IAM` users only. Set to `NONE` if you want to bypass IAM authentication to create a public endpoint. For more information, see [Security and auth model for Lambda function URLs](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html) .",
8461 "stability": "external",
8462 "summary": "The type of authentication that your function URL uses."
8463 },
8464 "immutable": true,
8465 "locationInModule": {
8466 "filename": "lib/lambda.generated.ts",
8467 "line": 4279
8468 },
8469 "name": "functionUrlAuthType",
8470 "optional": true,
8471 "type": {
8472 "primitive": "string"
8473 }
8474 },
8475 {
8476 "abstract": true,
8477 "docs": {
8478 "custom": {
8479 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html#cfn-lambda-permission-principalorgid"
8480 },
8481 "remarks": "Use this to grant permissions to all the AWS accounts under this organization.",
8482 "stability": "external",
8483 "summary": "The identifier for your organization in AWS Organizations ."
8484 },
8485 "immutable": true,
8486 "locationInModule": {
8487 "filename": "lib/lambda.generated.ts",
8488 "line": 4286
8489 },
8490 "name": "principalOrgId",
8491 "optional": true,
8492 "type": {
8493 "primitive": "string"
8494 }
8495 },
8496 {
8497 "abstract": true,
8498 "docs": {
8499 "custom": {
8500 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html#cfn-lambda-permission-sourceaccount"
8501 },
8502 "remarks": "Use this together with `SourceArn` to ensure that the resource is owned by the specified account. It is possible for an Amazon S3 bucket to be deleted by its owner and recreated by another account.",
8503 "stability": "external",
8504 "summary": "For Amazon S3, the ID of the account that owns the resource."
8505 },
8506 "immutable": true,
8507 "locationInModule": {
8508 "filename": "lib/lambda.generated.ts",
8509 "line": 4293
8510 },
8511 "name": "sourceAccount",
8512 "optional": true,
8513 "type": {
8514 "primitive": "string"
8515 }
8516 },
8517 {
8518 "abstract": true,
8519 "docs": {
8520 "custom": {
8521 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html#cfn-lambda-permission-sourcearn"
8522 },
8523 "remarks": "For example, an Amazon S3 bucket or Amazon SNS topic.\n\nNote that Lambda configures the comparison using the `StringLike` operator.",
8524 "stability": "external",
8525 "summary": "For AWS services, the ARN of the AWS resource that invokes the function."
8526 },
8527 "immutable": true,
8528 "locationInModule": {
8529 "filename": "lib/lambda.generated.ts",
8530 "line": 4302
8531 },
8532 "name": "sourceArn",
8533 "optional": true,
8534 "type": {
8535 "primitive": "string"
8536 }
8537 }
8538 ],
8539 "symbolId": "lib/lambda.generated:CfnPermissionProps"
8540 },
8541 "@aws-cdk/aws-lambda.CfnUrl": {
8542 "assembly": "@aws-cdk/aws-lambda",
8543 "base": "@aws-cdk/core.CfnResource",
8544 "docs": {
8545 "custom": {
8546 "cloudformationResource": "AWS::Lambda::Url",
8547 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-url.html",
8548 "exampleMetadata": "fixture=_generated"
8549 },
8550 "remarks": "The `AWS::Lambda::Url` resource creates a function URL with the specified configuration parameters. A [function URL](https://docs.aws.amazon.com/lambda/latest/dg/lambda-urls.html) is a dedicated HTTP(S) endpoint that you can use to invoke your function.",
8551 "stability": "external",
8552 "summary": "A CloudFormation `AWS::Lambda::Url`.",
8553 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst cfnUrl = new lambda.CfnUrl(this, 'MyCfnUrl', {\n authType: 'authType',\n targetFunctionArn: 'targetFunctionArn',\n\n // the properties below are optional\n cors: {\n allowCredentials: false,\n allowHeaders: ['allowHeaders'],\n allowMethods: ['allowMethods'],\n allowOrigins: ['allowOrigins'],\n exposeHeaders: ['exposeHeaders'],\n maxAge: 123,\n },\n invokeMode: 'invokeMode',\n qualifier: 'qualifier',\n});"
8554 },
8555 "fqn": "@aws-cdk/aws-lambda.CfnUrl",
8556 "initializer": {
8557 "docs": {
8558 "stability": "external",
8559 "summary": "Create a new `AWS::Lambda::Url`."
8560 },
8561 "locationInModule": {
8562 "filename": "lib/lambda.generated.ts",
8563 "line": 4737
8564 },
8565 "parameters": [
8566 {
8567 "docs": {
8568 "summary": "- scope in which this resource is defined."
8569 },
8570 "name": "scope",
8571 "type": {
8572 "fqn": "@aws-cdk/core.Construct"
8573 }
8574 },
8575 {
8576 "docs": {
8577 "summary": "- scoped id of the resource."
8578 },
8579 "name": "id",
8580 "type": {
8581 "primitive": "string"
8582 }
8583 },
8584 {
8585 "docs": {
8586 "summary": "- resource properties."
8587 },
8588 "name": "props",
8589 "type": {
8590 "fqn": "@aws-cdk/aws-lambda.CfnUrlProps"
8591 }
8592 }
8593 ]
8594 },
8595 "interfaces": [
8596 "@aws-cdk/core.IInspectable"
8597 ],
8598 "kind": "class",
8599 "locationInModule": {
8600 "filename": "lib/lambda.generated.ts",
8601 "line": 4652
8602 },
8603 "methods": [
8604 {
8605 "docs": {
8606 "stability": "external",
8607 "summary": "Examines the CloudFormation resource and discloses attributes."
8608 },
8609 "locationInModule": {
8610 "filename": "lib/lambda.generated.ts",
8611 "line": 4757
8612 },
8613 "name": "inspect",
8614 "overrides": "@aws-cdk/core.IInspectable",
8615 "parameters": [
8616 {
8617 "docs": {
8618 "summary": "- tree inspector to collect and process attributes."
8619 },
8620 "name": "inspector",
8621 "type": {
8622 "fqn": "@aws-cdk/core.TreeInspector"
8623 }
8624 }
8625 ]
8626 },
8627 {
8628 "docs": {
8629 "stability": "external"
8630 },
8631 "locationInModule": {
8632 "filename": "lib/lambda.generated.ts",
8633 "line": 4772
8634 },
8635 "name": "renderProperties",
8636 "overrides": "@aws-cdk/core.CfnResource",
8637 "parameters": [
8638 {
8639 "name": "props",
8640 "type": {
8641 "collection": {
8642 "elementtype": {
8643 "primitive": "any"
8644 },
8645 "kind": "map"
8646 }
8647 }
8648 }
8649 ],
8650 "protected": true,
8651 "returns": {
8652 "type": {
8653 "collection": {
8654 "elementtype": {
8655 "primitive": "any"
8656 },
8657 "kind": "map"
8658 }
8659 }
8660 }
8661 }
8662 ],
8663 "name": "CfnUrl",
8664 "properties": [
8665 {
8666 "const": true,
8667 "docs": {
8668 "stability": "external",
8669 "summary": "The CloudFormation resource type name for this resource class."
8670 },
8671 "immutable": true,
8672 "locationInModule": {
8673 "filename": "lib/lambda.generated.ts",
8674 "line": 4656
8675 },
8676 "name": "CFN_RESOURCE_TYPE_NAME",
8677 "static": true,
8678 "type": {
8679 "primitive": "string"
8680 }
8681 },
8682 {
8683 "docs": {
8684 "custom": {
8685 "cloudformationAttribute": "FunctionArn"
8686 },
8687 "stability": "external",
8688 "summary": "The Amazon Resource Name (ARN) of the function."
8689 },
8690 "immutable": true,
8691 "locationInModule": {
8692 "filename": "lib/lambda.generated.ts",
8693 "line": 4681
8694 },
8695 "name": "attrFunctionArn",
8696 "type": {
8697 "primitive": "string"
8698 }
8699 },
8700 {
8701 "docs": {
8702 "custom": {
8703 "cloudformationAttribute": "FunctionUrl"
8704 },
8705 "stability": "external",
8706 "summary": "The HTTP URL endpoint for your function."
8707 },
8708 "immutable": true,
8709 "locationInModule": {
8710 "filename": "lib/lambda.generated.ts",
8711 "line": 4687
8712 },
8713 "name": "attrFunctionUrl",
8714 "type": {
8715 "primitive": "string"
8716 }
8717 },
8718 {
8719 "docs": {
8720 "stability": "external"
8721 },
8722 "immutable": true,
8723 "locationInModule": {
8724 "filename": "lib/lambda.generated.ts",
8725 "line": 4762
8726 },
8727 "name": "cfnProperties",
8728 "overrides": "@aws-cdk/core.CfnResource",
8729 "protected": true,
8730 "type": {
8731 "collection": {
8732 "elementtype": {
8733 "primitive": "any"
8734 },
8735 "kind": "map"
8736 }
8737 }
8738 },
8739 {
8740 "docs": {
8741 "custom": {
8742 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-url.html#cfn-lambda-url-authtype"
8743 },
8744 "remarks": "Set to `AWS_IAM` if you want to restrict access to authenticated `IAM` users only. Set to `NONE` if you want to bypass IAM authentication to create a public endpoint. For more information, see [Security and auth model for Lambda function URLs](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html) .",
8745 "stability": "external",
8746 "summary": "The type of authentication that your function URL uses."
8747 },
8748 "locationInModule": {
8749 "filename": "lib/lambda.generated.ts",
8750 "line": 4694
8751 },
8752 "name": "authType",
8753 "type": {
8754 "primitive": "string"
8755 }
8756 },
8757 {
8758 "docs": {
8759 "custom": {
8760 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-url.html#cfn-lambda-url-targetfunctionarn"
8761 },
8762 "remarks": "**Name formats** - *Function name* - `my-function` .\n- *Function ARN* - `arn:aws:lambda:us-west-2:123456789012:function:my-function` .\n- *Partial ARN* - `123456789012:function:my-function` .\n\nThe length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.",
8763 "stability": "external",
8764 "summary": "The name of the Lambda function."
8765 },
8766 "locationInModule": {
8767 "filename": "lib/lambda.generated.ts",
8768 "line": 4707
8769 },
8770 "name": "targetFunctionArn",
8771 "type": {
8772 "primitive": "string"
8773 }
8774 },
8775 {
8776 "docs": {
8777 "custom": {
8778 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-url.html#cfn-lambda-url-cors"
8779 },
8780 "stability": "external",
8781 "summary": "The [Cross-Origin Resource Sharing (CORS)](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) settings for your function URL."
8782 },
8783 "locationInModule": {
8784 "filename": "lib/lambda.generated.ts",
8785 "line": 4714
8786 },
8787 "name": "cors",
8788 "optional": true,
8789 "type": {
8790 "union": {
8791 "types": [
8792 {
8793 "fqn": "@aws-cdk/core.IResolvable"
8794 },
8795 {
8796 "fqn": "@aws-cdk/aws-lambda.CfnUrl.CorsProperty"
8797 }
8798 ]
8799 }
8800 }
8801 },
8802 {
8803 "docs": {
8804 "custom": {
8805 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-url.html#cfn-lambda-url-invokemode"
8806 },
8807 "stability": "external",
8808 "summary": "`AWS::Lambda::Url.InvokeMode`."
8809 },
8810 "locationInModule": {
8811 "filename": "lib/lambda.generated.ts",
8812 "line": 4721
8813 },
8814 "name": "invokeMode",
8815 "optional": true,
8816 "type": {
8817 "primitive": "string"
8818 }
8819 },
8820 {
8821 "docs": {
8822 "custom": {
8823 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-url.html#cfn-lambda-url-qualifier"
8824 },
8825 "stability": "external",
8826 "summary": "The alias name."
8827 },
8828 "locationInModule": {
8829 "filename": "lib/lambda.generated.ts",
8830 "line": 4728
8831 },
8832 "name": "qualifier",
8833 "optional": true,
8834 "type": {
8835 "primitive": "string"
8836 }
8837 }
8838 ],
8839 "symbolId": "lib/lambda.generated:CfnUrl"
8840 },
8841 "@aws-cdk/aws-lambda.CfnUrl.CorsProperty": {
8842 "assembly": "@aws-cdk/aws-lambda",
8843 "datatype": true,
8844 "docs": {
8845 "custom": {
8846 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-url-cors.html",
8847 "exampleMetadata": "fixture=_generated"
8848 },
8849 "stability": "external",
8850 "summary": "The [Cross-Origin Resource Sharing (CORS)](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) settings for your function URL. Use CORS to grant access to your function URL from any origin. You can also use CORS to control access for specific HTTP headers and methods in requests to your function URL.",
8851 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst corsProperty: lambda.CfnUrl.CorsProperty = {\n allowCredentials: false,\n allowHeaders: ['allowHeaders'],\n allowMethods: ['allowMethods'],\n allowOrigins: ['allowOrigins'],\n exposeHeaders: ['exposeHeaders'],\n maxAge: 123,\n};"
8852 },
8853 "fqn": "@aws-cdk/aws-lambda.CfnUrl.CorsProperty",
8854 "kind": "interface",
8855 "locationInModule": {
8856 "filename": "lib/lambda.generated.ts",
8857 "line": 4786
8858 },
8859 "name": "CorsProperty",
8860 "namespace": "CfnUrl",
8861 "properties": [
8862 {
8863 "abstract": true,
8864 "docs": {
8865 "custom": {
8866 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-url-cors.html#cfn-lambda-url-cors-allowcredentials"
8867 },
8868 "remarks": "The default is `false` .",
8869 "stability": "external",
8870 "summary": "Whether you want to allow cookies or other credentials in requests to your function URL."
8871 },
8872 "immutable": true,
8873 "locationInModule": {
8874 "filename": "lib/lambda.generated.ts",
8875 "line": 4792
8876 },
8877 "name": "allowCredentials",
8878 "optional": true,
8879 "type": {
8880 "union": {
8881 "types": [
8882 {
8883 "primitive": "boolean"
8884 },
8885 {
8886 "fqn": "@aws-cdk/core.IResolvable"
8887 }
8888 ]
8889 }
8890 }
8891 },
8892 {
8893 "abstract": true,
8894 "docs": {
8895 "custom": {
8896 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-url-cors.html#cfn-lambda-url-cors-allowheaders"
8897 },
8898 "remarks": "For example: `Date` , `Keep-Alive` , `X-Custom-Header` .",
8899 "stability": "external",
8900 "summary": "The HTTP headers that origins can include in requests to your function URL."
8901 },
8902 "immutable": true,
8903 "locationInModule": {
8904 "filename": "lib/lambda.generated.ts",
8905 "line": 4798
8906 },
8907 "name": "allowHeaders",
8908 "optional": true,
8909 "type": {
8910 "collection": {
8911 "elementtype": {
8912 "primitive": "string"
8913 },
8914 "kind": "array"
8915 }
8916 }
8917 },
8918 {
8919 "abstract": true,
8920 "docs": {
8921 "custom": {
8922 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-url-cors.html#cfn-lambda-url-cors-allowmethods"
8923 },
8924 "remarks": "For example: `GET` , `POST` , `DELETE` , or the wildcard character ( `*` ).",
8925 "stability": "external",
8926 "summary": "The HTTP methods that are allowed when calling your function URL."
8927 },
8928 "immutable": true,
8929 "locationInModule": {
8930 "filename": "lib/lambda.generated.ts",
8931 "line": 4804
8932 },
8933 "name": "allowMethods",
8934 "optional": true,
8935 "type": {
8936 "collection": {
8937 "elementtype": {
8938 "primitive": "string"
8939 },
8940 "kind": "array"
8941 }
8942 }
8943 },
8944 {
8945 "abstract": true,
8946 "docs": {
8947 "custom": {
8948 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-url-cors.html#cfn-lambda-url-cors-alloworigins"
8949 },
8950 "remarks": "You can list any number of specific origins, separated by a comma. For example: `https://www.example.com` , `http://localhost:60905` .\n\nAlternatively, you can grant access to all origins with the wildcard character ( `*` ).",
8951 "stability": "external",
8952 "summary": "The origins that can access your function URL."
8953 },
8954 "immutable": true,
8955 "locationInModule": {
8956 "filename": "lib/lambda.generated.ts",
8957 "line": 4812
8958 },
8959 "name": "allowOrigins",
8960 "optional": true,
8961 "type": {
8962 "collection": {
8963 "elementtype": {
8964 "primitive": "string"
8965 },
8966 "kind": "array"
8967 }
8968 }
8969 },
8970 {
8971 "abstract": true,
8972 "docs": {
8973 "custom": {
8974 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-url-cors.html#cfn-lambda-url-cors-exposeheaders"
8975 },
8976 "remarks": "For example: `Date` , `Keep-Alive` , `X-Custom-Header` .",
8977 "stability": "external",
8978 "summary": "The HTTP headers in your function response that you want to expose to origins that call your function URL."
8979 },
8980 "immutable": true,
8981 "locationInModule": {
8982 "filename": "lib/lambda.generated.ts",
8983 "line": 4818
8984 },
8985 "name": "exposeHeaders",
8986 "optional": true,
8987 "type": {
8988 "collection": {
8989 "elementtype": {
8990 "primitive": "string"
8991 },
8992 "kind": "array"
8993 }
8994 }
8995 },
8996 {
8997 "abstract": true,
8998 "docs": {
8999 "custom": {
9000 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-url-cors.html#cfn-lambda-url-cors-maxage"
9001 },
9002 "remarks": "By default, this is set to `0` , which means the browser will not cache results.",
9003 "stability": "external",
9004 "summary": "The maximum amount of time, in seconds, that browsers can cache results of a preflight request."
9005 },
9006 "immutable": true,
9007 "locationInModule": {
9008 "filename": "lib/lambda.generated.ts",
9009 "line": 4824
9010 },
9011 "name": "maxAge",
9012 "optional": true,
9013 "type": {
9014 "primitive": "number"
9015 }
9016 }
9017 ],
9018 "symbolId": "lib/lambda.generated:CfnUrl.CorsProperty"
9019 },
9020 "@aws-cdk/aws-lambda.CfnUrlProps": {
9021 "assembly": "@aws-cdk/aws-lambda",
9022 "datatype": true,
9023 "docs": {
9024 "custom": {
9025 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-url.html",
9026 "exampleMetadata": "fixture=_generated"
9027 },
9028 "stability": "external",
9029 "summary": "Properties for defining a `CfnUrl`.",
9030 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst cfnUrlProps: lambda.CfnUrlProps = {\n authType: 'authType',\n targetFunctionArn: 'targetFunctionArn',\n\n // the properties below are optional\n cors: {\n allowCredentials: false,\n allowHeaders: ['allowHeaders'],\n allowMethods: ['allowMethods'],\n allowOrigins: ['allowOrigins'],\n exposeHeaders: ['exposeHeaders'],\n maxAge: 123,\n },\n invokeMode: 'invokeMode',\n qualifier: 'qualifier',\n};"
9031 },
9032 "fqn": "@aws-cdk/aws-lambda.CfnUrlProps",
9033 "kind": "interface",
9034 "locationInModule": {
9035 "filename": "lib/lambda.generated.ts",
9036 "line": 4539
9037 },
9038 "name": "CfnUrlProps",
9039 "properties": [
9040 {
9041 "abstract": true,
9042 "docs": {
9043 "custom": {
9044 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-url.html#cfn-lambda-url-authtype"
9045 },
9046 "remarks": "Set to `AWS_IAM` if you want to restrict access to authenticated `IAM` users only. Set to `NONE` if you want to bypass IAM authentication to create a public endpoint. For more information, see [Security and auth model for Lambda function URLs](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html) .",
9047 "stability": "external",
9048 "summary": "The type of authentication that your function URL uses."
9049 },
9050 "immutable": true,
9051 "locationInModule": {
9052 "filename": "lib/lambda.generated.ts",
9053 "line": 4546
9054 },
9055 "name": "authType",
9056 "type": {
9057 "primitive": "string"
9058 }
9059 },
9060 {
9061 "abstract": true,
9062 "docs": {
9063 "custom": {
9064 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-url.html#cfn-lambda-url-targetfunctionarn"
9065 },
9066 "remarks": "**Name formats** - *Function name* - `my-function` .\n- *Function ARN* - `arn:aws:lambda:us-west-2:123456789012:function:my-function` .\n- *Partial ARN* - `123456789012:function:my-function` .\n\nThe length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.",
9067 "stability": "external",
9068 "summary": "The name of the Lambda function."
9069 },
9070 "immutable": true,
9071 "locationInModule": {
9072 "filename": "lib/lambda.generated.ts",
9073 "line": 4559
9074 },
9075 "name": "targetFunctionArn",
9076 "type": {
9077 "primitive": "string"
9078 }
9079 },
9080 {
9081 "abstract": true,
9082 "docs": {
9083 "custom": {
9084 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-url.html#cfn-lambda-url-cors"
9085 },
9086 "stability": "external",
9087 "summary": "The [Cross-Origin Resource Sharing (CORS)](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) settings for your function URL."
9088 },
9089 "immutable": true,
9090 "locationInModule": {
9091 "filename": "lib/lambda.generated.ts",
9092 "line": 4566
9093 },
9094 "name": "cors",
9095 "optional": true,
9096 "type": {
9097 "union": {
9098 "types": [
9099 {
9100 "fqn": "@aws-cdk/core.IResolvable"
9101 },
9102 {
9103 "fqn": "@aws-cdk/aws-lambda.CfnUrl.CorsProperty"
9104 }
9105 ]
9106 }
9107 }
9108 },
9109 {
9110 "abstract": true,
9111 "docs": {
9112 "custom": {
9113 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-url.html#cfn-lambda-url-invokemode"
9114 },
9115 "stability": "external",
9116 "summary": "`AWS::Lambda::Url.InvokeMode`."
9117 },
9118 "immutable": true,
9119 "locationInModule": {
9120 "filename": "lib/lambda.generated.ts",
9121 "line": 4573
9122 },
9123 "name": "invokeMode",
9124 "optional": true,
9125 "type": {
9126 "primitive": "string"
9127 }
9128 },
9129 {
9130 "abstract": true,
9131 "docs": {
9132 "custom": {
9133 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-url.html#cfn-lambda-url-qualifier"
9134 },
9135 "stability": "external",
9136 "summary": "The alias name."
9137 },
9138 "immutable": true,
9139 "locationInModule": {
9140 "filename": "lib/lambda.generated.ts",
9141 "line": 4580
9142 },
9143 "name": "qualifier",
9144 "optional": true,
9145 "type": {
9146 "primitive": "string"
9147 }
9148 }
9149 ],
9150 "symbolId": "lib/lambda.generated:CfnUrlProps"
9151 },
9152 "@aws-cdk/aws-lambda.CfnVersion": {
9153 "assembly": "@aws-cdk/aws-lambda",
9154 "base": "@aws-cdk/core.CfnResource",
9155 "docs": {
9156 "custom": {
9157 "cloudformationResource": "AWS::Lambda::Version",
9158 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-version.html",
9159 "exampleMetadata": "fixture=_generated"
9160 },
9161 "remarks": "The `AWS::Lambda::Version` resource creates a [version](https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html) from the current code and configuration of a function. Use versions to create a snapshot of your function code and configuration that doesn't change.",
9162 "stability": "external",
9163 "summary": "A CloudFormation `AWS::Lambda::Version`.",
9164 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst cfnVersion = new lambda.CfnVersion(this, 'MyCfnVersion', {\n functionName: 'functionName',\n\n // the properties below are optional\n codeSha256: 'codeSha256',\n description: 'description',\n provisionedConcurrencyConfig: {\n provisionedConcurrentExecutions: 123,\n },\n});"
9165 },
9166 "fqn": "@aws-cdk/aws-lambda.CfnVersion",
9167 "initializer": {
9168 "docs": {
9169 "stability": "external",
9170 "summary": "Create a new `AWS::Lambda::Version`."
9171 },
9172 "locationInModule": {
9173 "filename": "lib/lambda.generated.ts",
9174 "line": 5073
9175 },
9176 "parameters": [
9177 {
9178 "docs": {
9179 "summary": "- scope in which this resource is defined."
9180 },
9181 "name": "scope",
9182 "type": {
9183 "fqn": "@aws-cdk/core.Construct"
9184 }
9185 },
9186 {
9187 "docs": {
9188 "summary": "- scoped id of the resource."
9189 },
9190 "name": "id",
9191 "type": {
9192 "primitive": "string"
9193 }
9194 },
9195 {
9196 "docs": {
9197 "summary": "- resource properties."
9198 },
9199 "name": "props",
9200 "type": {
9201 "fqn": "@aws-cdk/aws-lambda.CfnVersionProps"
9202 }
9203 }
9204 ]
9205 },
9206 "interfaces": [
9207 "@aws-cdk/core.IInspectable"
9208 ],
9209 "kind": "class",
9210 "locationInModule": {
9211 "filename": "lib/lambda.generated.ts",
9212 "line": 5001
9213 },
9214 "methods": [
9215 {
9216 "docs": {
9217 "stability": "external",
9218 "summary": "Examines the CloudFormation resource and discloses attributes."
9219 },
9220 "locationInModule": {
9221 "filename": "lib/lambda.generated.ts",
9222 "line": 5090
9223 },
9224 "name": "inspect",
9225 "overrides": "@aws-cdk/core.IInspectable",
9226 "parameters": [
9227 {
9228 "docs": {
9229 "summary": "- tree inspector to collect and process attributes."
9230 },
9231 "name": "inspector",
9232 "type": {
9233 "fqn": "@aws-cdk/core.TreeInspector"
9234 }
9235 }
9236 ]
9237 },
9238 {
9239 "docs": {
9240 "stability": "external"
9241 },
9242 "locationInModule": {
9243 "filename": "lib/lambda.generated.ts",
9244 "line": 5104
9245 },
9246 "name": "renderProperties",
9247 "overrides": "@aws-cdk/core.CfnResource",
9248 "parameters": [
9249 {
9250 "name": "props",
9251 "type": {
9252 "collection": {
9253 "elementtype": {
9254 "primitive": "any"
9255 },
9256 "kind": "map"
9257 }
9258 }
9259 }
9260 ],
9261 "protected": true,
9262 "returns": {
9263 "type": {
9264 "collection": {
9265 "elementtype": {
9266 "primitive": "any"
9267 },
9268 "kind": "map"
9269 }
9270 }
9271 }
9272 }
9273 ],
9274 "name": "CfnVersion",
9275 "properties": [
9276 {
9277 "const": true,
9278 "docs": {
9279 "stability": "external",
9280 "summary": "The CloudFormation resource type name for this resource class."
9281 },
9282 "immutable": true,
9283 "locationInModule": {
9284 "filename": "lib/lambda.generated.ts",
9285 "line": 5005
9286 },
9287 "name": "CFN_RESOURCE_TYPE_NAME",
9288 "static": true,
9289 "type": {
9290 "primitive": "string"
9291 }
9292 },
9293 {
9294 "docs": {
9295 "custom": {
9296 "cloudformationAttribute": "Version"
9297 },
9298 "stability": "external",
9299 "summary": "The version number."
9300 },
9301 "immutable": true,
9302 "locationInModule": {
9303 "filename": "lib/lambda.generated.ts",
9304 "line": 5030
9305 },
9306 "name": "attrVersion",
9307 "type": {
9308 "primitive": "string"
9309 }
9310 },
9311 {
9312 "docs": {
9313 "stability": "external"
9314 },
9315 "immutable": true,
9316 "locationInModule": {
9317 "filename": "lib/lambda.generated.ts",
9318 "line": 5095
9319 },
9320 "name": "cfnProperties",
9321 "overrides": "@aws-cdk/core.CfnResource",
9322 "protected": true,
9323 "type": {
9324 "collection": {
9325 "elementtype": {
9326 "primitive": "any"
9327 },
9328 "kind": "map"
9329 }
9330 }
9331 },
9332 {
9333 "docs": {
9334 "custom": {
9335 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-version.html#cfn-lambda-version-functionname"
9336 },
9337 "remarks": "**Name formats** - *Function name* - `MyFunction` .\n- *Function ARN* - `arn:aws:lambda:us-west-2:123456789012:function:MyFunction` .\n- *Partial ARN* - `123456789012:function:MyFunction` .\n\nThe length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.",
9338 "stability": "external",
9339 "summary": "The name of the Lambda function."
9340 },
9341 "locationInModule": {
9342 "filename": "lib/lambda.generated.ts",
9343 "line": 5043
9344 },
9345 "name": "functionName",
9346 "type": {
9347 "primitive": "string"
9348 }
9349 },
9350 {
9351 "docs": {
9352 "custom": {
9353 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-version.html#cfn-lambda-version-codesha256"
9354 },
9355 "remarks": "Use this option to avoid publishing a version if the function code has changed since you last updated it. Updates are not supported for this property.",
9356 "stability": "external",
9357 "summary": "Only publish a version if the hash value matches the value that's specified."
9358 },
9359 "locationInModule": {
9360 "filename": "lib/lambda.generated.ts",
9361 "line": 5050
9362 },
9363 "name": "codeSha256",
9364 "optional": true,
9365 "type": {
9366 "primitive": "string"
9367 }
9368 },
9369 {
9370 "docs": {
9371 "custom": {
9372 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-version.html#cfn-lambda-version-description"
9373 },
9374 "remarks": "Updates are not supported for this property.",
9375 "stability": "external",
9376 "summary": "A description for the version to override the description in the function configuration."
9377 },
9378 "locationInModule": {
9379 "filename": "lib/lambda.generated.ts",
9380 "line": 5057
9381 },
9382 "name": "description",
9383 "optional": true,
9384 "type": {
9385 "primitive": "string"
9386 }
9387 },
9388 {
9389 "docs": {
9390 "custom": {
9391 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-version.html#cfn-lambda-version-provisionedconcurrencyconfig"
9392 },
9393 "remarks": "Updates are not supported for this property.",
9394 "stability": "external",
9395 "summary": "Specifies a provisioned concurrency configuration for a function's version."
9396 },
9397 "locationInModule": {
9398 "filename": "lib/lambda.generated.ts",
9399 "line": 5064
9400 },
9401 "name": "provisionedConcurrencyConfig",
9402 "optional": true,
9403 "type": {
9404 "union": {
9405 "types": [
9406 {
9407 "fqn": "@aws-cdk/core.IResolvable"
9408 },
9409 {
9410 "fqn": "@aws-cdk/aws-lambda.CfnVersion.ProvisionedConcurrencyConfigurationProperty"
9411 }
9412 ]
9413 }
9414 }
9415 }
9416 ],
9417 "symbolId": "lib/lambda.generated:CfnVersion"
9418 },
9419 "@aws-cdk/aws-lambda.CfnVersion.ProvisionedConcurrencyConfigurationProperty": {
9420 "assembly": "@aws-cdk/aws-lambda",
9421 "datatype": true,
9422 "docs": {
9423 "custom": {
9424 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-version-provisionedconcurrencyconfiguration.html",
9425 "exampleMetadata": "fixture=_generated"
9426 },
9427 "stability": "external",
9428 "summary": "A [provisioned concurrency](https://docs.aws.amazon.com/lambda/latest/dg/configuration-concurrency.html) configuration for a function's version.",
9429 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst provisionedConcurrencyConfigurationProperty: lambda.CfnVersion.ProvisionedConcurrencyConfigurationProperty = {\n provisionedConcurrentExecutions: 123,\n};"
9430 },
9431 "fqn": "@aws-cdk/aws-lambda.CfnVersion.ProvisionedConcurrencyConfigurationProperty",
9432 "kind": "interface",
9433 "locationInModule": {
9434 "filename": "lib/lambda.generated.ts",
9435 "line": 5118
9436 },
9437 "name": "ProvisionedConcurrencyConfigurationProperty",
9438 "namespace": "CfnVersion",
9439 "properties": [
9440 {
9441 "abstract": true,
9442 "docs": {
9443 "custom": {
9444 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-version-provisionedconcurrencyconfiguration.html#cfn-lambda-version-provisionedconcurrencyconfiguration-provisionedconcurrentexecutions"
9445 },
9446 "stability": "external",
9447 "summary": "The amount of provisioned concurrency to allocate for the version."
9448 },
9449 "immutable": true,
9450 "locationInModule": {
9451 "filename": "lib/lambda.generated.ts",
9452 "line": 5124
9453 },
9454 "name": "provisionedConcurrentExecutions",
9455 "type": {
9456 "primitive": "number"
9457 }
9458 }
9459 ],
9460 "symbolId": "lib/lambda.generated:CfnVersion.ProvisionedConcurrencyConfigurationProperty"
9461 },
9462 "@aws-cdk/aws-lambda.CfnVersionProps": {
9463 "assembly": "@aws-cdk/aws-lambda",
9464 "datatype": true,
9465 "docs": {
9466 "custom": {
9467 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-version.html",
9468 "exampleMetadata": "fixture=_generated"
9469 },
9470 "stability": "external",
9471 "summary": "Properties for defining a `CfnVersion`.",
9472 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst cfnVersionProps: lambda.CfnVersionProps = {\n functionName: 'functionName',\n\n // the properties below are optional\n codeSha256: 'codeSha256',\n description: 'description',\n provisionedConcurrencyConfig: {\n provisionedConcurrentExecutions: 123,\n },\n};"
9473 },
9474 "fqn": "@aws-cdk/aws-lambda.CfnVersionProps",
9475 "kind": "interface",
9476 "locationInModule": {
9477 "filename": "lib/lambda.generated.ts",
9478 "line": 4899
9479 },
9480 "name": "CfnVersionProps",
9481 "properties": [
9482 {
9483 "abstract": true,
9484 "docs": {
9485 "custom": {
9486 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-version.html#cfn-lambda-version-functionname"
9487 },
9488 "remarks": "**Name formats** - *Function name* - `MyFunction` .\n- *Function ARN* - `arn:aws:lambda:us-west-2:123456789012:function:MyFunction` .\n- *Partial ARN* - `123456789012:function:MyFunction` .\n\nThe length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.",
9489 "stability": "external",
9490 "summary": "The name of the Lambda function."
9491 },
9492 "immutable": true,
9493 "locationInModule": {
9494 "filename": "lib/lambda.generated.ts",
9495 "line": 4912
9496 },
9497 "name": "functionName",
9498 "type": {
9499 "primitive": "string"
9500 }
9501 },
9502 {
9503 "abstract": true,
9504 "docs": {
9505 "custom": {
9506 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-version.html#cfn-lambda-version-codesha256"
9507 },
9508 "remarks": "Use this option to avoid publishing a version if the function code has changed since you last updated it. Updates are not supported for this property.",
9509 "stability": "external",
9510 "summary": "Only publish a version if the hash value matches the value that's specified."
9511 },
9512 "immutable": true,
9513 "locationInModule": {
9514 "filename": "lib/lambda.generated.ts",
9515 "line": 4919
9516 },
9517 "name": "codeSha256",
9518 "optional": true,
9519 "type": {
9520 "primitive": "string"
9521 }
9522 },
9523 {
9524 "abstract": true,
9525 "docs": {
9526 "custom": {
9527 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-version.html#cfn-lambda-version-description"
9528 },
9529 "remarks": "Updates are not supported for this property.",
9530 "stability": "external",
9531 "summary": "A description for the version to override the description in the function configuration."
9532 },
9533 "immutable": true,
9534 "locationInModule": {
9535 "filename": "lib/lambda.generated.ts",
9536 "line": 4926
9537 },
9538 "name": "description",
9539 "optional": true,
9540 "type": {
9541 "primitive": "string"
9542 }
9543 },
9544 {
9545 "abstract": true,
9546 "docs": {
9547 "custom": {
9548 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-version.html#cfn-lambda-version-provisionedconcurrencyconfig"
9549 },
9550 "remarks": "Updates are not supported for this property.",
9551 "stability": "external",
9552 "summary": "Specifies a provisioned concurrency configuration for a function's version."
9553 },
9554 "immutable": true,
9555 "locationInModule": {
9556 "filename": "lib/lambda.generated.ts",
9557 "line": 4933
9558 },
9559 "name": "provisionedConcurrencyConfig",
9560 "optional": true,
9561 "type": {
9562 "union": {
9563 "types": [
9564 {
9565 "fqn": "@aws-cdk/core.IResolvable"
9566 },
9567 {
9568 "fqn": "@aws-cdk/aws-lambda.CfnVersion.ProvisionedConcurrencyConfigurationProperty"
9569 }
9570 ]
9571 }
9572 }
9573 }
9574 ],
9575 "symbolId": "lib/lambda.generated:CfnVersionProps"
9576 },
9577 "@aws-cdk/aws-lambda.Code": {
9578 "abstract": true,
9579 "assembly": "@aws-cdk/aws-lambda",
9580 "docs": {
9581 "stability": "stable",
9582 "summary": "Represents the Lambda Handler Code.",
9583 "example": "import * as signer from '@aws-cdk/aws-signer';\n\nconst signingProfile = new signer.SigningProfile(this, 'SigningProfile', {\n platform: signer.Platform.AWS_LAMBDA_SHA384_ECDSA,\n});\n\nconst codeSigningConfig = new lambda.CodeSigningConfig(this, 'CodeSigningConfig', {\n signingProfiles: [signingProfile],\n});\n\nnew lambda.Function(this, 'Function', {\n codeSigningConfig,\n runtime: lambda.Runtime.NODEJS_16_X,\n handler: 'index.handler',\n code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),\n});",
9584 "custom": {
9585 "exampleMetadata": "infused"
9586 }
9587 },
9588 "fqn": "@aws-cdk/aws-lambda.Code",
9589 "initializer": {
9590 "docs": {
9591 "stability": "stable"
9592 }
9593 },
9594 "kind": "class",
9595 "locationInModule": {
9596 "filename": "lib/code.ts",
9597 "line": 15
9598 },
9599 "methods": [
9600 {
9601 "docs": {
9602 "deprecated": "use `fromAsset`",
9603 "stability": "deprecated",
9604 "summary": "DEPRECATED."
9605 },
9606 "locationInModule": {
9607 "filename": "lib/code.ts",
9608 "line": 90
9609 },
9610 "name": "asset",
9611 "parameters": [
9612 {
9613 "name": "path",
9614 "type": {
9615 "primitive": "string"
9616 }
9617 }
9618 ],
9619 "returns": {
9620 "type": {
9621 "fqn": "@aws-cdk/aws-lambda.AssetCode"
9622 }
9623 },
9624 "static": true
9625 },
9626 {
9627 "docs": {
9628 "deprecated": "use `fromBucket`",
9629 "stability": "deprecated",
9630 "summary": "DEPRECATED."
9631 },
9632 "locationInModule": {
9633 "filename": "lib/code.ts",
9634 "line": 30
9635 },
9636 "name": "bucket",
9637 "parameters": [
9638 {
9639 "name": "bucket",
9640 "type": {
9641 "fqn": "@aws-cdk/aws-s3.IBucket"
9642 }
9643 },
9644 {
9645 "name": "key",
9646 "type": {
9647 "primitive": "string"
9648 }
9649 },
9650 {
9651 "name": "objectVersion",
9652 "optional": true,
9653 "type": {
9654 "primitive": "string"
9655 }
9656 }
9657 ],
9658 "returns": {
9659 "type": {
9660 "fqn": "@aws-cdk/aws-lambda.S3Code"
9661 }
9662 },
9663 "static": true
9664 },
9665 {
9666 "docs": {
9667 "deprecated": "use `fromCfnParameters`",
9668 "stability": "deprecated",
9669 "summary": "DEPRECATED."
9670 },
9671 "locationInModule": {
9672 "filename": "lib/code.ts",
9673 "line": 108
9674 },
9675 "name": "cfnParameters",
9676 "parameters": [
9677 {
9678 "name": "props",
9679 "optional": true,
9680 "type": {
9681 "fqn": "@aws-cdk/aws-lambda.CfnParametersCodeProps"
9682 }
9683 }
9684 ],
9685 "returns": {
9686 "type": {
9687 "fqn": "@aws-cdk/aws-lambda.CfnParametersCode"
9688 }
9689 },
9690 "static": true
9691 },
9692 {
9693 "docs": {
9694 "stability": "stable",
9695 "summary": "Loads the function code from a local disk path."
9696 },
9697 "locationInModule": {
9698 "filename": "lib/code.ts",
9699 "line": 56
9700 },
9701 "name": "fromAsset",
9702 "parameters": [
9703 {
9704 "docs": {
9705 "summary": "Either a directory with the Lambda code bundle or a .zip file."
9706 },
9707 "name": "path",
9708 "type": {
9709 "primitive": "string"
9710 }
9711 },
9712 {
9713 "name": "options",
9714 "optional": true,
9715 "type": {
9716 "fqn": "@aws-cdk/aws-s3-assets.AssetOptions"
9717 }
9718 }
9719 ],
9720 "returns": {
9721 "type": {
9722 "fqn": "@aws-cdk/aws-lambda.AssetCode"
9723 }
9724 },
9725 "static": true
9726 },
9727 {
9728 "docs": {
9729 "stability": "stable",
9730 "summary": "Create an ECR image from the specified asset and bind it as the Lambda code."
9731 },
9732 "locationInModule": {
9733 "filename": "lib/code.ts",
9734 "line": 126
9735 },
9736 "name": "fromAssetImage",
9737 "parameters": [
9738 {
9739 "docs": {
9740 "summary": "the directory from which the asset must be created."
9741 },
9742 "name": "directory",
9743 "type": {
9744 "primitive": "string"
9745 }
9746 },
9747 {
9748 "docs": {
9749 "summary": "properties to further configure the selected image."
9750 },
9751 "name": "props",
9752 "optional": true,
9753 "type": {
9754 "fqn": "@aws-cdk/aws-lambda.AssetImageCodeProps"
9755 }
9756 }
9757 ],
9758 "returns": {
9759 "type": {
9760 "fqn": "@aws-cdk/aws-lambda.AssetImageCode"
9761 }
9762 },
9763 "static": true
9764 },
9765 {
9766 "docs": {
9767 "stability": "stable",
9768 "summary": "Lambda handler code as an S3 object."
9769 },
9770 "locationInModule": {
9771 "filename": "lib/code.ts",
9772 "line": 22
9773 },
9774 "name": "fromBucket",
9775 "parameters": [
9776 {
9777 "docs": {
9778 "summary": "The S3 bucket."
9779 },
9780 "name": "bucket",
9781 "type": {
9782 "fqn": "@aws-cdk/aws-s3.IBucket"
9783 }
9784 },
9785 {
9786 "docs": {
9787 "summary": "The object key."
9788 },
9789 "name": "key",
9790 "type": {
9791 "primitive": "string"
9792 }
9793 },
9794 {
9795 "docs": {
9796 "summary": "Optional S3 object version."
9797 },
9798 "name": "objectVersion",
9799 "optional": true,
9800 "type": {
9801 "primitive": "string"
9802 }
9803 }
9804 ],
9805 "returns": {
9806 "type": {
9807 "fqn": "@aws-cdk/aws-lambda.S3Code"
9808 }
9809 },
9810 "static": true
9811 },
9812 {
9813 "docs": {
9814 "returns": "a new instance of `CfnParametersCode`",
9815 "stability": "stable",
9816 "summary": "Creates a new Lambda source defined using CloudFormation parameters."
9817 },
9818 "locationInModule": {
9819 "filename": "lib/code.ts",
9820 "line": 100
9821 },
9822 "name": "fromCfnParameters",
9823 "parameters": [
9824 {
9825 "docs": {
9826 "summary": "optional construction properties of {@link CfnParametersCode}."
9827 },
9828 "name": "props",
9829 "optional": true,
9830 "type": {
9831 "fqn": "@aws-cdk/aws-lambda.CfnParametersCodeProps"
9832 }
9833 }
9834 ],
9835 "returns": {
9836 "type": {
9837 "fqn": "@aws-cdk/aws-lambda.CfnParametersCode"
9838 }
9839 },
9840 "static": true
9841 },
9842 {
9843 "docs": {
9844 "remarks": "By default, the asset is expected to be located at `/asset` in the\nimage.",
9845 "stability": "stable",
9846 "summary": "Loads the function code from an asset created by a Docker build."
9847 },
9848 "locationInModule": {
9849 "filename": "lib/code.ts",
9850 "line": 69
9851 },
9852 "name": "fromDockerBuild",
9853 "parameters": [
9854 {
9855 "docs": {
9856 "summary": "The path to the directory containing the Docker file."
9857 },
9858 "name": "path",
9859 "type": {
9860 "primitive": "string"
9861 }
9862 },
9863 {
9864 "docs": {
9865 "summary": "Docker build options."
9866 },
9867 "name": "options",
9868 "optional": true,
9869 "type": {
9870 "fqn": "@aws-cdk/aws-lambda.DockerBuildAssetOptions"
9871 }
9872 }
9873 ],
9874 "returns": {
9875 "type": {
9876 "fqn": "@aws-cdk/aws-lambda.AssetCode"
9877 }
9878 },
9879 "static": true
9880 },
9881 {
9882 "docs": {
9883 "stability": "stable",
9884 "summary": "Use an existing ECR image as the Lambda code."
9885 },
9886 "locationInModule": {
9887 "filename": "lib/code.ts",
9888 "line": 117
9889 },
9890 "name": "fromEcrImage",
9891 "parameters": [
9892 {
9893 "docs": {
9894 "summary": "the ECR repository that the image is in."
9895 },
9896 "name": "repository",
9897 "type": {
9898 "fqn": "@aws-cdk/aws-ecr.IRepository"
9899 }
9900 },
9901 {
9902 "docs": {
9903 "summary": "properties to further configure the selected image."
9904 },
9905 "name": "props",
9906 "optional": true,
9907 "type": {
9908 "fqn": "@aws-cdk/aws-lambda.EcrImageCodeProps"
9909 }
9910 }
9911 ],
9912 "returns": {
9913 "type": {
9914 "fqn": "@aws-cdk/aws-lambda.EcrImageCode"
9915 }
9916 },
9917 "static": true
9918 },
9919 {
9920 "docs": {
9921 "returns": "`LambdaInlineCode` with inline code.",
9922 "stability": "stable",
9923 "summary": "Inline code for Lambda handler."
9924 },
9925 "locationInModule": {
9926 "filename": "lib/code.ts",
9927 "line": 39
9928 },
9929 "name": "fromInline",
9930 "parameters": [
9931 {
9932 "docs": {
9933 "summary": "The actual handler code (limited to 4KiB)."
9934 },
9935 "name": "code",
9936 "type": {
9937 "primitive": "string"
9938 }
9939 }
9940 ],
9941 "returns": {
9942 "type": {
9943 "fqn": "@aws-cdk/aws-lambda.InlineCode"
9944 }
9945 },
9946 "static": true
9947 },
9948 {
9949 "docs": {
9950 "deprecated": "use `fromInline`",
9951 "stability": "deprecated",
9952 "summary": "DEPRECATED."
9953 },
9954 "locationInModule": {
9955 "filename": "lib/code.ts",
9956 "line": 47
9957 },
9958 "name": "inline",
9959 "parameters": [
9960 {
9961 "name": "code",
9962 "type": {
9963 "primitive": "string"
9964 }
9965 }
9966 ],
9967 "returns": {
9968 "type": {
9969 "fqn": "@aws-cdk/aws-lambda.InlineCode"
9970 }
9971 },
9972 "static": true
9973 },
9974 {
9975 "abstract": true,
9976 "docs": {
9977 "stability": "stable",
9978 "summary": "Called when the lambda or layer is initialized to allow this object to bind to the stack, add resources and have fun."
9979 },
9980 "locationInModule": {
9981 "filename": "lib/code.ts",
9982 "line": 145
9983 },
9984 "name": "bind",
9985 "parameters": [
9986 {
9987 "docs": {
9988 "remarks": "Don't be smart about trying to down-cast or\nassume it's initialized. You may just use it as a construct scope.",
9989 "summary": "The binding scope."
9990 },
9991 "name": "scope",
9992 "type": {
9993 "fqn": "@aws-cdk/core.Construct"
9994 }
9995 }
9996 ],
9997 "returns": {
9998 "type": {
9999 "fqn": "@aws-cdk/aws-lambda.CodeConfig"
10000 }
10001 }
10002 },
10003 {
10004 "docs": {
10005 "remarks": "Specifically it's required to allow assets to add\nmetadata for tooling like SAM CLI to be able to find their origins.",
10006 "stability": "stable",
10007 "summary": "Called after the CFN function resource has been created to allow the code class to bind to it."
10008 },
10009 "locationInModule": {
10010 "filename": "lib/code.ts",
10011 "line": 152
10012 },
10013 "name": "bindToResource",
10014 "parameters": [
10015 {
10016 "name": "_resource",
10017 "type": {
10018 "fqn": "@aws-cdk/core.CfnResource"
10019 }
10020 },
10021 {
10022 "name": "_options",
10023 "optional": true,
10024 "type": {
10025 "fqn": "@aws-cdk/aws-lambda.ResourceBindOptions"
10026 }
10027 }
10028 ]
10029 }
10030 ],
10031 "name": "Code",
10032 "properties": [
10033 {
10034 "abstract": true,
10035 "docs": {
10036 "deprecated": "this value is ignored since inline is now determined based on the\nthe `inlineCode` field of `CodeConfig` returned from `bind()`.",
10037 "stability": "deprecated",
10038 "summary": "Determines whether this Code is inline code or not."
10039 },
10040 "immutable": true,
10041 "locationInModule": {
10042 "filename": "lib/code.ts",
10043 "line": 136
10044 },
10045 "name": "isInline",
10046 "type": {
10047 "primitive": "boolean"
10048 }
10049 }
10050 ],
10051 "symbolId": "lib/code:Code"
10052 },
10053 "@aws-cdk/aws-lambda.CodeConfig": {
10054 "assembly": "@aws-cdk/aws-lambda",
10055 "datatype": true,
10056 "docs": {
10057 "stability": "stable",
10058 "summary": "Result of binding `Code` into a `Function`.",
10059 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst codeConfig: lambda.CodeConfig = {\n image: {\n imageUri: 'imageUri',\n\n // the properties below are optional\n cmd: ['cmd'],\n entrypoint: ['entrypoint'],\n workingDirectory: 'workingDirectory',\n },\n inlineCode: 'inlineCode',\n s3Location: {\n bucketName: 'bucketName',\n objectKey: 'objectKey',\n\n // the properties below are optional\n objectVersion: 'objectVersion',\n },\n};",
10060 "custom": {
10061 "exampleMetadata": "fixture=_generated"
10062 }
10063 },
10064 "fqn": "@aws-cdk/aws-lambda.CodeConfig",
10065 "kind": "interface",
10066 "locationInModule": {
10067 "filename": "lib/code.ts",
10068 "line": 160
10069 },
10070 "name": "CodeConfig",
10071 "properties": [
10072 {
10073 "abstract": true,
10074 "docs": {
10075 "default": "- code is not an ECR container image",
10076 "stability": "stable",
10077 "summary": "Docker image configuration (mutually exclusive with `s3Location` and `inlineCode`)."
10078 },
10079 "immutable": true,
10080 "locationInModule": {
10081 "filename": "lib/code.ts",
10082 "line": 177
10083 },
10084 "name": "image",
10085 "optional": true,
10086 "type": {
10087 "fqn": "@aws-cdk/aws-lambda.CodeImageConfig"
10088 }
10089 },
10090 {
10091 "abstract": true,
10092 "docs": {
10093 "default": "- code is not inline code",
10094 "stability": "stable",
10095 "summary": "Inline code (mutually exclusive with `s3Location` and `image`)."
10096 },
10097 "immutable": true,
10098 "locationInModule": {
10099 "filename": "lib/code.ts",
10100 "line": 171
10101 },
10102 "name": "inlineCode",
10103 "optional": true,
10104 "type": {
10105 "primitive": "string"
10106 }
10107 },
10108 {
10109 "abstract": true,
10110 "docs": {
10111 "default": "- code is not an s3 location",
10112 "stability": "stable",
10113 "summary": "The location of the code in S3 (mutually exclusive with `inlineCode` and `image`)."
10114 },
10115 "immutable": true,
10116 "locationInModule": {
10117 "filename": "lib/code.ts",
10118 "line": 165
10119 },
10120 "name": "s3Location",
10121 "optional": true,
10122 "type": {
10123 "fqn": "@aws-cdk/aws-s3.Location"
10124 }
10125 }
10126 ],
10127 "symbolId": "lib/code:CodeConfig"
10128 },
10129 "@aws-cdk/aws-lambda.CodeImageConfig": {
10130 "assembly": "@aws-cdk/aws-lambda",
10131 "datatype": true,
10132 "docs": {
10133 "stability": "stable",
10134 "summary": "Result of the bind when an ECR image is used.",
10135 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst codeImageConfig: lambda.CodeImageConfig = {\n imageUri: 'imageUri',\n\n // the properties below are optional\n cmd: ['cmd'],\n entrypoint: ['entrypoint'],\n workingDirectory: 'workingDirectory',\n};",
10136 "custom": {
10137 "exampleMetadata": "fixture=_generated"
10138 }
10139 },
10140 "fqn": "@aws-cdk/aws-lambda.CodeImageConfig",
10141 "kind": "interface",
10142 "locationInModule": {
10143 "filename": "lib/code.ts",
10144 "line": 183
10145 },
10146 "name": "CodeImageConfig",
10147 "properties": [
10148 {
10149 "abstract": true,
10150 "docs": {
10151 "stability": "stable",
10152 "summary": "URI to the Docker image."
10153 },
10154 "immutable": true,
10155 "locationInModule": {
10156 "filename": "lib/code.ts",
10157 "line": 187
10158 },
10159 "name": "imageUri",
10160 "type": {
10161 "primitive": "string"
10162 }
10163 },
10164 {
10165 "abstract": true,
10166 "docs": {
10167 "default": "- use the CMD specified in the docker image or Dockerfile.",
10168 "remarks": "This needs to be in the 'exec form', viz., `[ 'executable', 'param1', 'param2' ]`.",
10169 "see": "https://docs.docker.com/engine/reference/builder/#cmd",
10170 "stability": "stable",
10171 "summary": "Specify or override the CMD on the specified Docker image or Dockerfile."
10172 },
10173 "immutable": true,
10174 "locationInModule": {
10175 "filename": "lib/code.ts",
10176 "line": 195
10177 },
10178 "name": "cmd",
10179 "optional": true,
10180 "type": {
10181 "collection": {
10182 "elementtype": {
10183 "primitive": "string"
10184 },
10185 "kind": "array"
10186 }
10187 }
10188 },
10189 {
10190 "abstract": true,
10191 "docs": {
10192 "default": "- use the ENTRYPOINT in the docker image or Dockerfile.",
10193 "remarks": "An ENTRYPOINT allows you to configure a container that will run as an executable.\nThis needs to be in the 'exec form', viz., `[ 'executable', 'param1', 'param2' ]`.",
10194 "see": "https://docs.docker.com/engine/reference/builder/#entrypoint",
10195 "stability": "stable",
10196 "summary": "Specify or override the ENTRYPOINT on the specified Docker image or Dockerfile."
10197 },
10198 "immutable": true,
10199 "locationInModule": {
10200 "filename": "lib/code.ts",
10201 "line": 204
10202 },
10203 "name": "entrypoint",
10204 "optional": true,
10205 "type": {
10206 "collection": {
10207 "elementtype": {
10208 "primitive": "string"
10209 },
10210 "kind": "array"
10211 }
10212 }
10213 },
10214 {
10215 "abstract": true,
10216 "docs": {
10217 "default": "- use the WORKDIR in the docker image or Dockerfile.",
10218 "remarks": "A WORKDIR allows you to configure the working directory the container will use.",
10219 "see": "https://docs.docker.com/engine/reference/builder/#workdir",
10220 "stability": "stable",
10221 "summary": "Specify or override the WORKDIR on the specified Docker image or Dockerfile."
10222 },
10223 "immutable": true,
10224 "locationInModule": {
10225 "filename": "lib/code.ts",
10226 "line": 212
10227 },
10228 "name": "workingDirectory",
10229 "optional": true,
10230 "type": {
10231 "primitive": "string"
10232 }
10233 }
10234 ],
10235 "symbolId": "lib/code:CodeImageConfig"
10236 },
10237 "@aws-cdk/aws-lambda.CodeSigningConfig": {
10238 "assembly": "@aws-cdk/aws-lambda",
10239 "base": "@aws-cdk/core.Resource",
10240 "docs": {
10241 "custom": {
10242 "resource": "AWS::Lambda::CodeSigningConfig",
10243 "exampleMetadata": "infused"
10244 },
10245 "stability": "stable",
10246 "summary": "Defines a Code Signing Config.",
10247 "example": "import * as signer from '@aws-cdk/aws-signer';\n\nconst signingProfile = new signer.SigningProfile(this, 'SigningProfile', {\n platform: signer.Platform.AWS_LAMBDA_SHA384_ECDSA,\n});\n\nconst codeSigningConfig = new lambda.CodeSigningConfig(this, 'CodeSigningConfig', {\n signingProfiles: [signingProfile],\n});\n\nnew lambda.Function(this, 'Function', {\n codeSigningConfig,\n runtime: lambda.Runtime.NODEJS_16_X,\n handler: 'index.handler',\n code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),\n});"
10248 },
10249 "fqn": "@aws-cdk/aws-lambda.CodeSigningConfig",
10250 "initializer": {
10251 "docs": {
10252 "stability": "stable"
10253 },
10254 "locationInModule": {
10255 "filename": "lib/code-signing-config.ts",
10256 "line": 101
10257 },
10258 "parameters": [
10259 {
10260 "name": "scope",
10261 "type": {
10262 "fqn": "constructs.Construct"
10263 }
10264 },
10265 {
10266 "name": "id",
10267 "type": {
10268 "primitive": "string"
10269 }
10270 },
10271 {
10272 "name": "props",
10273 "type": {
10274 "fqn": "@aws-cdk/aws-lambda.CodeSigningConfigProps"
10275 }
10276 }
10277 ]
10278 },
10279 "interfaces": [
10280 "@aws-cdk/aws-lambda.ICodeSigningConfig"
10281 ],
10282 "kind": "class",
10283 "locationInModule": {
10284 "filename": "lib/code-signing-config.ts",
10285 "line": 73
10286 },
10287 "methods": [
10288 {
10289 "docs": {
10290 "stability": "stable",
10291 "summary": "Creates a Signing Profile construct that represents an external Signing Profile."
10292 },
10293 "locationInModule": {
10294 "filename": "lib/code-signing-config.ts",
10295 "line": 81
10296 },
10297 "name": "fromCodeSigningConfigArn",
10298 "parameters": [
10299 {
10300 "docs": {
10301 "summary": "The parent creating construct (usually `this`)."
10302 },
10303 "name": "scope",
10304 "type": {
10305 "fqn": "constructs.Construct"
10306 }
10307 },
10308 {
10309 "docs": {
10310 "summary": "The construct's name."
10311 },
10312 "name": "id",
10313 "type": {
10314 "primitive": "string"
10315 }
10316 },
10317 {
10318 "docs": {
10319 "summary": "The ARN of code signing config."
10320 },
10321 "name": "codeSigningConfigArn",
10322 "type": {
10323 "primitive": "string"
10324 }
10325 }
10326 ],
10327 "returns": {
10328 "type": {
10329 "fqn": "@aws-cdk/aws-lambda.ICodeSigningConfig"
10330 }
10331 },
10332 "static": true
10333 }
10334 ],
10335 "name": "CodeSigningConfig",
10336 "properties": [
10337 {
10338 "docs": {
10339 "stability": "stable",
10340 "summary": "The ARN of Code Signing Config."
10341 },
10342 "immutable": true,
10343 "locationInModule": {
10344 "filename": "lib/code-signing-config.ts",
10345 "line": 98
10346 },
10347 "name": "codeSigningConfigArn",
10348 "overrides": "@aws-cdk/aws-lambda.ICodeSigningConfig",
10349 "type": {
10350 "primitive": "string"
10351 }
10352 },
10353 {
10354 "docs": {
10355 "stability": "stable",
10356 "summary": "The id of Code Signing Config."
10357 },
10358 "immutable": true,
10359 "locationInModule": {
10360 "filename": "lib/code-signing-config.ts",
10361 "line": 99
10362 },
10363 "name": "codeSigningConfigId",
10364 "overrides": "@aws-cdk/aws-lambda.ICodeSigningConfig",
10365 "type": {
10366 "primitive": "string"
10367 }
10368 }
10369 ],
10370 "symbolId": "lib/code-signing-config:CodeSigningConfig"
10371 },
10372 "@aws-cdk/aws-lambda.CodeSigningConfigProps": {
10373 "assembly": "@aws-cdk/aws-lambda",
10374 "datatype": true,
10375 "docs": {
10376 "stability": "stable",
10377 "summary": "Construction properties for a Code Signing Config object.",
10378 "example": "import * as signer from '@aws-cdk/aws-signer';\n\nconst signingProfile = new signer.SigningProfile(this, 'SigningProfile', {\n platform: signer.Platform.AWS_LAMBDA_SHA384_ECDSA,\n});\n\nconst codeSigningConfig = new lambda.CodeSigningConfig(this, 'CodeSigningConfig', {\n signingProfiles: [signingProfile],\n});\n\nnew lambda.Function(this, 'Function', {\n codeSigningConfig,\n runtime: lambda.Runtime.NODEJS_16_X,\n handler: 'index.handler',\n code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),\n});",
10379 "custom": {
10380 "exampleMetadata": "infused"
10381 }
10382 },
10383 "fqn": "@aws-cdk/aws-lambda.CodeSigningConfigProps",
10384 "kind": "interface",
10385 "locationInModule": {
10386 "filename": "lib/code-signing-config.ts",
10387 "line": 42
10388 },
10389 "name": "CodeSigningConfigProps",
10390 "properties": [
10391 {
10392 "abstract": true,
10393 "docs": {
10394 "stability": "stable",
10395 "summary": "List of signing profiles that defines a trusted user who can sign a code package."
10396 },
10397 "immutable": true,
10398 "locationInModule": {
10399 "filename": "lib/code-signing-config.ts",
10400 "line": 47
10401 },
10402 "name": "signingProfiles",
10403 "type": {
10404 "collection": {
10405 "elementtype": {
10406 "fqn": "@aws-cdk/aws-signer.ISigningProfile"
10407 },
10408 "kind": "array"
10409 }
10410 }
10411 },
10412 {
10413 "abstract": true,
10414 "docs": {
10415 "default": "- No description.",
10416 "stability": "stable",
10417 "summary": "Code signing configuration description."
10418 },
10419 "immutable": true,
10420 "locationInModule": {
10421 "filename": "lib/code-signing-config.ts",
10422 "line": 65
10423 },
10424 "name": "description",
10425 "optional": true,
10426 "type": {
10427 "primitive": "string"
10428 }
10429 },
10430 {
10431 "abstract": true,
10432 "docs": {
10433 "default": "UntrustedArtifactOnDeployment.WARN",
10434 "remarks": "If you set the policy to Enforce, Lambda blocks the deployment request\nif signature validation checks fail.\nIf you set the policy to Warn, Lambda allows the deployment and\ncreates a CloudWatch log.",
10435 "stability": "stable",
10436 "summary": "Code signing configuration policy for deployment validation failure."
10437 },
10438 "immutable": true,
10439 "locationInModule": {
10440 "filename": "lib/code-signing-config.ts",
10441 "line": 58
10442 },
10443 "name": "untrustedArtifactOnDeployment",
10444 "optional": true,
10445 "type": {
10446 "fqn": "@aws-cdk/aws-lambda.UntrustedArtifactOnDeployment"
10447 }
10448 }
10449 ],
10450 "symbolId": "lib/code-signing-config:CodeSigningConfigProps"
10451 },
10452 "@aws-cdk/aws-lambda.DestinationConfig": {
10453 "assembly": "@aws-cdk/aws-lambda",
10454 "datatype": true,
10455 "docs": {
10456 "stability": "stable",
10457 "summary": "A destination configuration.",
10458 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst destinationConfig: lambda.DestinationConfig = {\n destination: 'destination',\n};",
10459 "custom": {
10460 "exampleMetadata": "fixture=_generated"
10461 }
10462 },
10463 "fqn": "@aws-cdk/aws-lambda.DestinationConfig",
10464 "kind": "interface",
10465 "locationInModule": {
10466 "filename": "lib/destination.ts",
10467 "line": 11
10468 },
10469 "name": "DestinationConfig",
10470 "properties": [
10471 {
10472 "abstract": true,
10473 "docs": {
10474 "stability": "stable",
10475 "summary": "The Amazon Resource Name (ARN) of the destination resource."
10476 },
10477 "immutable": true,
10478 "locationInModule": {
10479 "filename": "lib/destination.ts",
10480 "line": 15
10481 },
10482 "name": "destination",
10483 "type": {
10484 "primitive": "string"
10485 }
10486 }
10487 ],
10488 "symbolId": "lib/destination:DestinationConfig"
10489 },
10490 "@aws-cdk/aws-lambda.DestinationOptions": {
10491 "assembly": "@aws-cdk/aws-lambda",
10492 "datatype": true,
10493 "docs": {
10494 "stability": "stable",
10495 "summary": "Options when binding a destination to a function.",
10496 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst destinationOptions: lambda.DestinationOptions = {\n type: lambda.DestinationType.FAILURE,\n};",
10497 "custom": {
10498 "exampleMetadata": "fixture=_generated"
10499 }
10500 },
10501 "fqn": "@aws-cdk/aws-lambda.DestinationOptions",
10502 "kind": "interface",
10503 "locationInModule": {
10504 "filename": "lib/destination.ts",
10505 "line": 36
10506 },
10507 "name": "DestinationOptions",
10508 "properties": [
10509 {
10510 "abstract": true,
10511 "docs": {
10512 "stability": "stable",
10513 "summary": "The destination type."
10514 },
10515 "immutable": true,
10516 "locationInModule": {
10517 "filename": "lib/destination.ts",
10518 "line": 40
10519 },
10520 "name": "type",
10521 "type": {
10522 "fqn": "@aws-cdk/aws-lambda.DestinationType"
10523 }
10524 }
10525 ],
10526 "symbolId": "lib/destination:DestinationOptions"
10527 },
10528 "@aws-cdk/aws-lambda.DestinationType": {
10529 "assembly": "@aws-cdk/aws-lambda",
10530 "docs": {
10531 "stability": "stable",
10532 "summary": "The type of destination."
10533 },
10534 "fqn": "@aws-cdk/aws-lambda.DestinationType",
10535 "kind": "enum",
10536 "locationInModule": {
10537 "filename": "lib/destination.ts",
10538 "line": 21
10539 },
10540 "members": [
10541 {
10542 "docs": {
10543 "stability": "stable",
10544 "summary": "Failure."
10545 },
10546 "name": "FAILURE"
10547 },
10548 {
10549 "docs": {
10550 "stability": "stable",
10551 "summary": "Success."
10552 },
10553 "name": "SUCCESS"
10554 }
10555 ],
10556 "name": "DestinationType",
10557 "symbolId": "lib/destination:DestinationType"
10558 },
10559 "@aws-cdk/aws-lambda.DlqDestinationConfig": {
10560 "assembly": "@aws-cdk/aws-lambda",
10561 "datatype": true,
10562 "docs": {
10563 "stability": "stable",
10564 "summary": "A destination configuration.",
10565 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst dlqDestinationConfig: lambda.DlqDestinationConfig = {\n destination: 'destination',\n};",
10566 "custom": {
10567 "exampleMetadata": "fixture=_generated"
10568 }
10569 },
10570 "fqn": "@aws-cdk/aws-lambda.DlqDestinationConfig",
10571 "kind": "interface",
10572 "locationInModule": {
10573 "filename": "lib/dlq.ts",
10574 "line": 7
10575 },
10576 "name": "DlqDestinationConfig",
10577 "properties": [
10578 {
10579 "abstract": true,
10580 "docs": {
10581 "stability": "stable",
10582 "summary": "The Amazon Resource Name (ARN) of the destination resource."
10583 },
10584 "immutable": true,
10585 "locationInModule": {
10586 "filename": "lib/dlq.ts",
10587 "line": 11
10588 },
10589 "name": "destination",
10590 "type": {
10591 "primitive": "string"
10592 }
10593 }
10594 ],
10595 "symbolId": "lib/dlq:DlqDestinationConfig"
10596 },
10597 "@aws-cdk/aws-lambda.DockerBuildAssetOptions": {
10598 "assembly": "@aws-cdk/aws-lambda",
10599 "datatype": true,
10600 "docs": {
10601 "stability": "stable",
10602 "summary": "Options when creating an asset from a Docker build.",
10603 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst dockerBuildAssetOptions: lambda.DockerBuildAssetOptions = {\n buildArgs: {\n buildArgsKey: 'buildArgs',\n },\n file: 'file',\n imagePath: 'imagePath',\n outputPath: 'outputPath',\n platform: 'platform',\n};",
10604 "custom": {
10605 "exampleMetadata": "fixture=_generated"
10606 }
10607 },
10608 "fqn": "@aws-cdk/aws-lambda.DockerBuildAssetOptions",
10609 "interfaces": [
10610 "@aws-cdk/core.DockerBuildOptions"
10611 ],
10612 "kind": "interface",
10613 "locationInModule": {
10614 "filename": "lib/code.ts",
10615 "line": 571
10616 },
10617 "name": "DockerBuildAssetOptions",
10618 "properties": [
10619 {
10620 "abstract": true,
10621 "docs": {
10622 "default": "/asset",
10623 "stability": "stable",
10624 "summary": "The path in the Docker image where the asset is located after the build operation."
10625 },
10626 "immutable": true,
10627 "locationInModule": {
10628 "filename": "lib/code.ts",
10629 "line": 578
10630 },
10631 "name": "imagePath",
10632 "optional": true,
10633 "type": {
10634 "primitive": "string"
10635 }
10636 },
10637 {
10638 "abstract": true,
10639 "docs": {
10640 "default": "- a unique temporary directory in the system temp directory",
10641 "stability": "stable",
10642 "summary": "The path on the local filesystem where the asset will be copied using `docker cp`."
10643 },
10644 "immutable": true,
10645 "locationInModule": {
10646 "filename": "lib/code.ts",
10647 "line": 586
10648 },
10649 "name": "outputPath",
10650 "optional": true,
10651 "type": {
10652 "primitive": "string"
10653 }
10654 }
10655 ],
10656 "symbolId": "lib/code:DockerBuildAssetOptions"
10657 },
10658 "@aws-cdk/aws-lambda.DockerImageCode": {
10659 "abstract": true,
10660 "assembly": "@aws-cdk/aws-lambda",
10661 "docs": {
10662 "stability": "stable",
10663 "summary": "Code property for the DockerImageFunction construct.",
10664 "example": "new lambda.DockerImageFunction(this, 'AssetFunction', {\n code: lambda.DockerImageCode.fromImageAsset(path.join(__dirname, 'docker-handler')),\n});",
10665 "custom": {
10666 "exampleMetadata": "infused"
10667 }
10668 },
10669 "fqn": "@aws-cdk/aws-lambda.DockerImageCode",
10670 "initializer": {
10671 "docs": {
10672 "stability": "stable"
10673 }
10674 },
10675 "kind": "class",
10676 "locationInModule": {
10677 "filename": "lib/image-function.ts",
10678 "line": 23
10679 },
10680 "methods": [
10681 {
10682 "docs": {
10683 "stability": "stable",
10684 "summary": "Use an existing ECR image as the Lambda code."
10685 },
10686 "locationInModule": {
10687 "filename": "lib/image-function.ts",
10688 "line": 29
10689 },
10690 "name": "fromEcr",
10691 "parameters": [
10692 {
10693 "docs": {
10694 "summary": "the ECR repository that the image is in."
10695 },
10696 "name": "repository",
10697 "type": {
10698 "fqn": "@aws-cdk/aws-ecr.IRepository"
10699 }
10700 },
10701 {
10702 "docs": {
10703 "summary": "properties to further configure the selected image."
10704 },
10705 "name": "props",
10706 "optional": true,
10707 "type": {
10708 "fqn": "@aws-cdk/aws-lambda.EcrImageCodeProps"
10709 }
10710 }
10711 ],
10712 "returns": {
10713 "type": {
10714 "fqn": "@aws-cdk/aws-lambda.DockerImageCode"
10715 }
10716 },
10717 "static": true
10718 },
10719 {
10720 "docs": {
10721 "stability": "stable",
10722 "summary": "Create an ECR image from the specified asset and bind it as the Lambda code."
10723 },
10724 "locationInModule": {
10725 "filename": "lib/image-function.ts",
10726 "line": 42
10727 },
10728 "name": "fromImageAsset",
10729 "parameters": [
10730 {
10731 "docs": {
10732 "summary": "the directory from which the asset must be created."
10733 },
10734 "name": "directory",
10735 "type": {
10736 "primitive": "string"
10737 }
10738 },
10739 {
10740 "docs": {
10741 "summary": "properties to further configure the selected image."
10742 },
10743 "name": "props",
10744 "optional": true,
10745 "type": {
10746 "fqn": "@aws-cdk/aws-lambda.AssetImageCodeProps"
10747 }
10748 }
10749 ],
10750 "returns": {
10751 "type": {
10752 "fqn": "@aws-cdk/aws-lambda.DockerImageCode"
10753 }
10754 },
10755 "static": true
10756 }
10757 ],
10758 "name": "DockerImageCode",
10759 "symbolId": "lib/image-function:DockerImageCode"
10760 },
10761 "@aws-cdk/aws-lambda.DockerImageFunction": {
10762 "assembly": "@aws-cdk/aws-lambda",
10763 "base": "@aws-cdk/aws-lambda.Function",
10764 "docs": {
10765 "stability": "stable",
10766 "summary": "Create a lambda function where the handler is a docker image.",
10767 "example": "new lambda.DockerImageFunction(this, 'AssetFunction', {\n code: lambda.DockerImageCode.fromImageAsset(path.join(__dirname, 'docker-handler')),\n});",
10768 "custom": {
10769 "exampleMetadata": "infused"
10770 }
10771 },
10772 "fqn": "@aws-cdk/aws-lambda.DockerImageFunction",
10773 "initializer": {
10774 "docs": {
10775 "stability": "stable"
10776 },
10777 "locationInModule": {
10778 "filename": "lib/image-function.ts",
10779 "line": 61
10780 },
10781 "parameters": [
10782 {
10783 "name": "scope",
10784 "type": {
10785 "fqn": "constructs.Construct"
10786 }
10787 },
10788 {
10789 "name": "id",
10790 "type": {
10791 "primitive": "string"
10792 }
10793 },
10794 {
10795 "name": "props",
10796 "type": {
10797 "fqn": "@aws-cdk/aws-lambda.DockerImageFunctionProps"
10798 }
10799 }
10800 ]
10801 },
10802 "kind": "class",
10803 "locationInModule": {
10804 "filename": "lib/image-function.ts",
10805 "line": 60
10806 },
10807 "name": "DockerImageFunction",
10808 "symbolId": "lib/image-function:DockerImageFunction"
10809 },
10810 "@aws-cdk/aws-lambda.DockerImageFunctionProps": {
10811 "assembly": "@aws-cdk/aws-lambda",
10812 "datatype": true,
10813 "docs": {
10814 "stability": "stable",
10815 "summary": "Properties to configure a new DockerImageFunction construct.",
10816 "example": "new lambda.DockerImageFunction(this, 'AssetFunction', {\n code: lambda.DockerImageCode.fromImageAsset(path.join(__dirname, 'docker-handler')),\n});",
10817 "custom": {
10818 "exampleMetadata": "infused"
10819 }
10820 },
10821 "fqn": "@aws-cdk/aws-lambda.DockerImageFunctionProps",
10822 "interfaces": [
10823 "@aws-cdk/aws-lambda.FunctionOptions"
10824 ],
10825 "kind": "interface",
10826 "locationInModule": {
10827 "filename": "lib/image-function.ts",
10828 "line": 11
10829 },
10830 "name": "DockerImageFunctionProps",
10831 "properties": [
10832 {
10833 "abstract": true,
10834 "docs": {
10835 "remarks": "You can point to a file in an\nAmazon Simple Storage Service (Amazon S3) bucket or specify your source\ncode as inline text.",
10836 "stability": "stable",
10837 "summary": "The source code of your Lambda function."
10838 },
10839 "immutable": true,
10840 "locationInModule": {
10841 "filename": "lib/image-function.ts",
10842 "line": 17
10843 },
10844 "name": "code",
10845 "type": {
10846 "fqn": "@aws-cdk/aws-lambda.DockerImageCode"
10847 }
10848 }
10849 ],
10850 "symbolId": "lib/image-function:DockerImageFunctionProps"
10851 },
10852 "@aws-cdk/aws-lambda.EcrImageCode": {
10853 "assembly": "@aws-cdk/aws-lambda",
10854 "base": "@aws-cdk/aws-lambda.Code",
10855 "docs": {
10856 "stability": "stable",
10857 "summary": "Represents a Docker image in ECR that can be bound as Lambda Code.",
10858 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as ecr from '@aws-cdk/aws-ecr';\nimport * as lambda from '@aws-cdk/aws-lambda';\n\ndeclare const repository: ecr.Repository;\nconst ecrImageCode = new lambda.EcrImageCode(repository, /* all optional props */ {\n cmd: ['cmd'],\n entrypoint: ['entrypoint'],\n tag: 'tag',\n tagOrDigest: 'tagOrDigest',\n workingDirectory: 'workingDirectory',\n});",
10859 "custom": {
10860 "exampleMetadata": "fixture=_generated"
10861 }
10862 },
10863 "fqn": "@aws-cdk/aws-lambda.EcrImageCode",
10864 "initializer": {
10865 "docs": {
10866 "stability": "stable"
10867 },
10868 "locationInModule": {
10869 "filename": "lib/code.ts",
10870 "line": 474
10871 },
10872 "parameters": [
10873 {
10874 "name": "repository",
10875 "type": {
10876 "fqn": "@aws-cdk/aws-ecr.IRepository"
10877 }
10878 },
10879 {
10880 "name": "props",
10881 "optional": true,
10882 "type": {
10883 "fqn": "@aws-cdk/aws-lambda.EcrImageCodeProps"
10884 }
10885 }
10886 ]
10887 },
10888 "kind": "class",
10889 "locationInModule": {
10890 "filename": "lib/code.ts",
10891 "line": 471
10892 },
10893 "methods": [
10894 {
10895 "docs": {
10896 "stability": "stable",
10897 "summary": "Called when the lambda or layer is initialized to allow this object to bind to the stack, add resources and have fun."
10898 },
10899 "locationInModule": {
10900 "filename": "lib/code.ts",
10901 "line": 478
10902 },
10903 "name": "bind",
10904 "overrides": "@aws-cdk/aws-lambda.Code",
10905 "parameters": [
10906 {
10907 "name": "_",
10908 "type": {
10909 "fqn": "@aws-cdk/core.Construct"
10910 }
10911 }
10912 ],
10913 "returns": {
10914 "type": {
10915 "fqn": "@aws-cdk/aws-lambda.CodeConfig"
10916 }
10917 }
10918 }
10919 ],
10920 "name": "EcrImageCode",
10921 "properties": [
10922 {
10923 "docs": {
10924 "stability": "stable",
10925 "summary": "Determines whether this Code is inline code or not."
10926 },
10927 "immutable": true,
10928 "locationInModule": {
10929 "filename": "lib/code.ts",
10930 "line": 472
10931 },
10932 "name": "isInline",
10933 "overrides": "@aws-cdk/aws-lambda.Code",
10934 "type": {
10935 "primitive": "boolean"
10936 }
10937 }
10938 ],
10939 "symbolId": "lib/code:EcrImageCode"
10940 },
10941 "@aws-cdk/aws-lambda.EcrImageCodeProps": {
10942 "assembly": "@aws-cdk/aws-lambda",
10943 "datatype": true,
10944 "docs": {
10945 "stability": "stable",
10946 "summary": "Properties to initialize a new EcrImageCode.",
10947 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst ecrImageCodeProps: lambda.EcrImageCodeProps = {\n cmd: ['cmd'],\n entrypoint: ['entrypoint'],\n tag: 'tag',\n tagOrDigest: 'tagOrDigest',\n workingDirectory: 'workingDirectory',\n};",
10948 "custom": {
10949 "exampleMetadata": "fixture=_generated"
10950 }
10951 },
10952 "fqn": "@aws-cdk/aws-lambda.EcrImageCodeProps",
10953 "kind": "interface",
10954 "locationInModule": {
10955 "filename": "lib/code.ts",
10956 "line": 428
10957 },
10958 "name": "EcrImageCodeProps",
10959 "properties": [
10960 {
10961 "abstract": true,
10962 "docs": {
10963 "default": "- use the CMD specified in the docker image or Dockerfile.",
10964 "remarks": "This needs to be in the 'exec form', viz., `[ 'executable', 'param1', 'param2' ]`.",
10965 "see": "https://docs.docker.com/engine/reference/builder/#cmd",
10966 "stability": "stable",
10967 "summary": "Specify or override the CMD on the specified Docker image or Dockerfile."
10968 },
10969 "immutable": true,
10970 "locationInModule": {
10971 "filename": "lib/code.ts",
10972 "line": 435
10973 },
10974 "name": "cmd",
10975 "optional": true,
10976 "type": {
10977 "collection": {
10978 "elementtype": {
10979 "primitive": "string"
10980 },
10981 "kind": "array"
10982 }
10983 }
10984 },
10985 {
10986 "abstract": true,
10987 "docs": {
10988 "default": "- use the ENTRYPOINT in the docker image or Dockerfile.",
10989 "remarks": "An ENTRYPOINT allows you to configure a container that will run as an executable.\nThis needs to be in the 'exec form', viz., `[ 'executable', 'param1', 'param2' ]`.",
10990 "see": "https://docs.docker.com/engine/reference/builder/#entrypoint",
10991 "stability": "stable",
10992 "summary": "Specify or override the ENTRYPOINT on the specified Docker image or Dockerfile."
10993 },
10994 "immutable": true,
10995 "locationInModule": {
10996 "filename": "lib/code.ts",
10997 "line": 444
10998 },
10999 "name": "entrypoint",
11000 "optional": true,
11001 "type": {
11002 "collection": {
11003 "elementtype": {
11004 "primitive": "string"
11005 },
11006 "kind": "array"
11007 }
11008 }
11009 },
11010 {
11011 "abstract": true,
11012 "docs": {
11013 "default": "'latest'",
11014 "deprecated": "use `tagOrDigest`",
11015 "stability": "deprecated",
11016 "summary": "The image tag to use when pulling the image from ECR."
11017 },
11018 "immutable": true,
11019 "locationInModule": {
11020 "filename": "lib/code.ts",
11021 "line": 459
11022 },
11023 "name": "tag",
11024 "optional": true,
11025 "type": {
11026 "primitive": "string"
11027 }
11028 },
11029 {
11030 "abstract": true,
11031 "docs": {
11032 "default": "'latest'",
11033 "stability": "stable",
11034 "summary": "The image tag or digest to use when pulling the image from ECR (digests must start with `sha256:`)."
11035 },
11036 "immutable": true,
11037 "locationInModule": {
11038 "filename": "lib/code.ts",
11039 "line": 465
11040 },
11041 "name": "tagOrDigest",
11042 "optional": true,
11043 "type": {
11044 "primitive": "string"
11045 }
11046 },
11047 {
11048 "abstract": true,
11049 "docs": {
11050 "default": "- use the WORKDIR in the docker image or Dockerfile.",
11051 "remarks": "A WORKDIR allows you to configure the working directory the container will use.",
11052 "see": "https://docs.docker.com/engine/reference/builder/#workdir",
11053 "stability": "stable",
11054 "summary": "Specify or override the WORKDIR on the specified Docker image or Dockerfile."
11055 },
11056 "immutable": true,
11057 "locationInModule": {
11058 "filename": "lib/code.ts",
11059 "line": 452
11060 },
11061 "name": "workingDirectory",
11062 "optional": true,
11063 "type": {
11064 "primitive": "string"
11065 }
11066 }
11067 ],
11068 "symbolId": "lib/code:EcrImageCodeProps"
11069 },
11070 "@aws-cdk/aws-lambda.EnvironmentOptions": {
11071 "assembly": "@aws-cdk/aws-lambda",
11072 "datatype": true,
11073 "docs": {
11074 "stability": "stable",
11075 "summary": "Environment variables options.",
11076 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst environmentOptions: lambda.EnvironmentOptions = {\n removeInEdge: false,\n};",
11077 "custom": {
11078 "exampleMetadata": "fixture=_generated"
11079 }
11080 },
11081 "fqn": "@aws-cdk/aws-lambda.EnvironmentOptions",
11082 "kind": "interface",
11083 "locationInModule": {
11084 "filename": "lib/function.ts",
11085 "line": 1223
11086 },
11087 "name": "EnvironmentOptions",
11088 "properties": [
11089 {
11090 "abstract": true,
11091 "docs": {
11092 "custom": {
11093 "Edge": "will throw"
11094 },
11095 "default": "false - using the function in Lambda",
11096 "remarks": "If not set, an error will be thrown.",
11097 "see": "https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-requirements-limits.html#lambda-requirements-lambda-function-configuration",
11098 "stability": "stable",
11099 "summary": "When used in Lambda@Edge via edgeArn() API, these environment variables will be removed."
11100 },
11101 "immutable": true,
11102 "locationInModule": {
11103 "filename": "lib/function.ts",
11104 "line": 1231
11105 },
11106 "name": "removeInEdge",
11107 "optional": true,
11108 "type": {
11109 "primitive": "boolean"
11110 }
11111 }
11112 ],
11113 "symbolId": "lib/function:EnvironmentOptions"
11114 },
11115 "@aws-cdk/aws-lambda.EventInvokeConfig": {
11116 "assembly": "@aws-cdk/aws-lambda",
11117 "base": "@aws-cdk/core.Resource",
11118 "docs": {
11119 "remarks": "By default, Lambda retries an asynchronous invocation twice if the function\nreturns an error. It retains events in a queue for up to six hours. When an\nevent fails all processing attempts or stays in the asynchronous invocation\nqueue for too long, Lambda discards it.",
11120 "stability": "stable",
11121 "summary": "Configure options for asynchronous invocation on a version or an alias.",
11122 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const destination: lambda.IDestination;\ndeclare const function_: lambda.Function;\nconst eventInvokeConfig = new lambda.EventInvokeConfig(this, 'MyEventInvokeConfig', {\n function: function_,\n\n // the properties below are optional\n maxEventAge: cdk.Duration.minutes(30),\n onFailure: destination,\n onSuccess: destination,\n qualifier: 'qualifier',\n retryAttempts: 123,\n});",
11123 "custom": {
11124 "exampleMetadata": "fixture=_generated"
11125 }
11126 },
11127 "fqn": "@aws-cdk/aws-lambda.EventInvokeConfig",
11128 "initializer": {
11129 "docs": {
11130 "stability": "stable"
11131 },
11132 "locationInModule": {
11133 "filename": "lib/event-invoke-config.ts",
11134 "line": 73
11135 },
11136 "parameters": [
11137 {
11138 "name": "scope",
11139 "type": {
11140 "fqn": "constructs.Construct"
11141 }
11142 },
11143 {
11144 "name": "id",
11145 "type": {
11146 "primitive": "string"
11147 }
11148 },
11149 {
11150 "name": "props",
11151 "type": {
11152 "fqn": "@aws-cdk/aws-lambda.EventInvokeConfigProps"
11153 }
11154 }
11155 ]
11156 },
11157 "kind": "class",
11158 "locationInModule": {
11159 "filename": "lib/event-invoke-config.ts",
11160 "line": 72
11161 },
11162 "name": "EventInvokeConfig",
11163 "symbolId": "lib/event-invoke-config:EventInvokeConfig"
11164 },
11165 "@aws-cdk/aws-lambda.EventInvokeConfigOptions": {
11166 "assembly": "@aws-cdk/aws-lambda",
11167 "datatype": true,
11168 "docs": {
11169 "stability": "stable",
11170 "summary": "Options to add an EventInvokeConfig to a function.",
11171 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const destination: lambda.IDestination;\nconst eventInvokeConfigOptions: lambda.EventInvokeConfigOptions = {\n maxEventAge: cdk.Duration.minutes(30),\n onFailure: destination,\n onSuccess: destination,\n retryAttempts: 123,\n};",
11172 "custom": {
11173 "exampleMetadata": "fixture=_generated"
11174 }
11175 },
11176 "fqn": "@aws-cdk/aws-lambda.EventInvokeConfigOptions",
11177 "kind": "interface",
11178 "locationInModule": {
11179 "filename": "lib/event-invoke-config.ts",
11180 "line": 10
11181 },
11182 "name": "EventInvokeConfigOptions",
11183 "properties": [
11184 {
11185 "abstract": true,
11186 "docs": {
11187 "default": "Duration.hours(6)",
11188 "remarks": "Minimum: 60 seconds\nMaximum: 6 hours",
11189 "stability": "stable",
11190 "summary": "The maximum age of a request that Lambda sends to a function for processing."
11191 },
11192 "immutable": true,
11193 "locationInModule": {
11194 "filename": "lib/event-invoke-config.ts",
11195 "line": 34
11196 },
11197 "name": "maxEventAge",
11198 "optional": true,
11199 "type": {
11200 "fqn": "@aws-cdk/core.Duration"
11201 }
11202 },
11203 {
11204 "abstract": true,
11205 "docs": {
11206 "default": "- no destination",
11207 "stability": "stable",
11208 "summary": "The destination for failed invocations."
11209 },
11210 "immutable": true,
11211 "locationInModule": {
11212 "filename": "lib/event-invoke-config.ts",
11213 "line": 16
11214 },
11215 "name": "onFailure",
11216 "optional": true,
11217 "type": {
11218 "fqn": "@aws-cdk/aws-lambda.IDestination"
11219 }
11220 },
11221 {
11222 "abstract": true,
11223 "docs": {
11224 "default": "- no destination",
11225 "stability": "stable",
11226 "summary": "The destination for successful invocations."
11227 },
11228 "immutable": true,
11229 "locationInModule": {
11230 "filename": "lib/event-invoke-config.ts",
11231 "line": 23
11232 },
11233 "name": "onSuccess",
11234 "optional": true,
11235 "type": {
11236 "fqn": "@aws-cdk/aws-lambda.IDestination"
11237 }
11238 },
11239 {
11240 "abstract": true,
11241 "docs": {
11242 "default": "2",
11243 "remarks": "Minimum: 0\nMaximum: 2",
11244 "stability": "stable",
11245 "summary": "The maximum number of times to retry when the function returns an error."
11246 },
11247 "immutable": true,
11248 "locationInModule": {
11249 "filename": "lib/event-invoke-config.ts",
11250 "line": 44
11251 },
11252 "name": "retryAttempts",
11253 "optional": true,
11254 "type": {
11255 "primitive": "number"
11256 }
11257 }
11258 ],
11259 "symbolId": "lib/event-invoke-config:EventInvokeConfigOptions"
11260 },
11261 "@aws-cdk/aws-lambda.EventInvokeConfigProps": {
11262 "assembly": "@aws-cdk/aws-lambda",
11263 "datatype": true,
11264 "docs": {
11265 "stability": "stable",
11266 "summary": "Properties for an EventInvokeConfig.",
11267 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const destination: lambda.IDestination;\ndeclare const function_: lambda.Function;\nconst eventInvokeConfigProps: lambda.EventInvokeConfigProps = {\n function: function_,\n\n // the properties below are optional\n maxEventAge: cdk.Duration.minutes(30),\n onFailure: destination,\n onSuccess: destination,\n qualifier: 'qualifier',\n retryAttempts: 123,\n};",
11268 "custom": {
11269 "exampleMetadata": "fixture=_generated"
11270 }
11271 },
11272 "fqn": "@aws-cdk/aws-lambda.EventInvokeConfigProps",
11273 "interfaces": [
11274 "@aws-cdk/aws-lambda.EventInvokeConfigOptions"
11275 ],
11276 "kind": "interface",
11277 "locationInModule": {
11278 "filename": "lib/event-invoke-config.ts",
11279 "line": 50
11280 },
11281 "name": "EventInvokeConfigProps",
11282 "properties": [
11283 {
11284 "abstract": true,
11285 "docs": {
11286 "stability": "stable",
11287 "summary": "The Lambda function."
11288 },
11289 "immutable": true,
11290 "locationInModule": {
11291 "filename": "lib/event-invoke-config.ts",
11292 "line": 54
11293 },
11294 "name": "function",
11295 "type": {
11296 "fqn": "@aws-cdk/aws-lambda.IFunction"
11297 }
11298 },
11299 {
11300 "abstract": true,
11301 "docs": {
11302 "default": "- latest version",
11303 "stability": "stable",
11304 "summary": "The qualifier."
11305 },
11306 "immutable": true,
11307 "locationInModule": {
11308 "filename": "lib/event-invoke-config.ts",
11309 "line": 61
11310 },
11311 "name": "qualifier",
11312 "optional": true,
11313 "type": {
11314 "primitive": "string"
11315 }
11316 }
11317 ],
11318 "symbolId": "lib/event-invoke-config:EventInvokeConfigProps"
11319 },
11320 "@aws-cdk/aws-lambda.EventSourceMapping": {
11321 "assembly": "@aws-cdk/aws-lambda",
11322 "base": "@aws-cdk/core.Resource",
11323 "docs": {
11324 "remarks": "Usually, you won't need to define the mapping yourself. This will usually be done by\nevent sources. For example, to add an SQS event source to a function:\n\n import { SqsEventSource } from '@aws-cdk/aws-lambda-event-sources';\n lambda.addEventSource(new SqsEventSource(sqs));\n\nThe `SqsEventSource` class will automatically create the mapping, and will also\nmodify the Lambda's execution role so it can consume messages from the queue.",
11325 "stability": "stable",
11326 "summary": "Defines a Lambda EventSourceMapping resource.",
11327 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const eventSourceDlq: lambda.IEventSourceDlq;\ndeclare const function_: lambda.Function;\ndeclare const sourceAccessConfigurationType: lambda.SourceAccessConfigurationType;\nconst eventSourceMapping = new lambda.EventSourceMapping(this, 'MyEventSourceMapping', {\n target: function_,\n\n // the properties below are optional\n batchSize: 123,\n bisectBatchOnError: false,\n enabled: false,\n eventSourceArn: 'eventSourceArn',\n kafkaBootstrapServers: ['kafkaBootstrapServers'],\n kafkaTopic: 'kafkaTopic',\n maxBatchingWindow: cdk.Duration.minutes(30),\n maxRecordAge: cdk.Duration.minutes(30),\n onFailure: eventSourceDlq,\n parallelizationFactor: 123,\n reportBatchItemFailures: false,\n retryAttempts: 123,\n sourceAccessConfigurations: [{\n type: sourceAccessConfigurationType,\n uri: 'uri',\n }],\n startingPosition: lambda.StartingPosition.TRIM_HORIZON,\n tumblingWindow: cdk.Duration.minutes(30),\n});",
11328 "custom": {
11329 "exampleMetadata": "fixture=_generated"
11330 }
11331 },
11332 "fqn": "@aws-cdk/aws-lambda.EventSourceMapping",
11333 "initializer": {
11334 "docs": {
11335 "stability": "stable"
11336 },
11337 "locationInModule": {
11338 "filename": "lib/event-source-mapping.ts",
11339 "line": 263
11340 },
11341 "parameters": [
11342 {
11343 "name": "scope",
11344 "type": {
11345 "fqn": "constructs.Construct"
11346 }
11347 },
11348 {
11349 "name": "id",
11350 "type": {
11351 "primitive": "string"
11352 }
11353 },
11354 {
11355 "name": "props",
11356 "type": {
11357 "fqn": "@aws-cdk/aws-lambda.EventSourceMappingProps"
11358 }
11359 }
11360 ]
11361 },
11362 "interfaces": [
11363 "@aws-cdk/aws-lambda.IEventSourceMapping"
11364 ],
11365 "kind": "class",
11366 "locationInModule": {
11367 "filename": "lib/event-source-mapping.ts",
11368 "line": 249
11369 },
11370 "methods": [
11371 {
11372 "docs": {
11373 "stability": "stable",
11374 "summary": "Import an event source into this stack from its event source id."
11375 },
11376 "locationInModule": {
11377 "filename": "lib/event-source-mapping.ts",
11378 "line": 254
11379 },
11380 "name": "fromEventSourceMappingId",
11381 "parameters": [
11382 {
11383 "name": "scope",
11384 "type": {
11385 "fqn": "constructs.Construct"
11386 }
11387 },
11388 {
11389 "name": "id",
11390 "type": {
11391 "primitive": "string"
11392 }
11393 },
11394 {
11395 "name": "eventSourceMappingId",
11396 "type": {
11397 "primitive": "string"
11398 }
11399 }
11400 ],
11401 "returns": {
11402 "type": {
11403 "fqn": "@aws-cdk/aws-lambda.IEventSourceMapping"
11404 }
11405 },
11406 "static": true
11407 }
11408 ],
11409 "name": "EventSourceMapping",
11410 "properties": [
11411 {
11412 "docs": {
11413 "stability": "stable",
11414 "summary": "The identifier for this EventSourceMapping."
11415 },
11416 "immutable": true,
11417 "locationInModule": {
11418 "filename": "lib/event-source-mapping.ts",
11419 "line": 261
11420 },
11421 "name": "eventSourceMappingId",
11422 "overrides": "@aws-cdk/aws-lambda.IEventSourceMapping",
11423 "type": {
11424 "primitive": "string"
11425 }
11426 }
11427 ],
11428 "symbolId": "lib/event-source-mapping:EventSourceMapping"
11429 },
11430 "@aws-cdk/aws-lambda.EventSourceMappingOptions": {
11431 "assembly": "@aws-cdk/aws-lambda",
11432 "datatype": true,
11433 "docs": {
11434 "stability": "stable",
11435 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const eventSourceDlq: lambda.IEventSourceDlq;\ndeclare const sourceAccessConfigurationType: lambda.SourceAccessConfigurationType;\nconst eventSourceMappingOptions: lambda.EventSourceMappingOptions = {\n batchSize: 123,\n bisectBatchOnError: false,\n enabled: false,\n eventSourceArn: 'eventSourceArn',\n kafkaBootstrapServers: ['kafkaBootstrapServers'],\n kafkaTopic: 'kafkaTopic',\n maxBatchingWindow: cdk.Duration.minutes(30),\n maxRecordAge: cdk.Duration.minutes(30),\n onFailure: eventSourceDlq,\n parallelizationFactor: 123,\n reportBatchItemFailures: false,\n retryAttempts: 123,\n sourceAccessConfigurations: [{\n type: sourceAccessConfigurationType,\n uri: 'uri',\n }],\n startingPosition: lambda.StartingPosition.TRIM_HORIZON,\n tumblingWindow: cdk.Duration.minutes(30),\n};",
11436 "custom": {
11437 "exampleMetadata": "fixture=_generated"
11438 }
11439 },
11440 "fqn": "@aws-cdk/aws-lambda.EventSourceMappingOptions",
11441 "kind": "interface",
11442 "locationInModule": {
11443 "filename": "lib/event-source-mapping.ts",
11444 "line": 77
11445 },
11446 "name": "EventSourceMappingOptions",
11447 "properties": [
11448 {
11449 "abstract": true,
11450 "docs": {
11451 "default": "- Amazon Kinesis, Amazon DynamoDB, and Amazon MSK is 100 records.\nThe default for Amazon SQS is 10 messages. For standard SQS queues, the maximum is 10,000. For FIFO SQS queues, the maximum is 10.",
11452 "remarks": "Your function receives an\nevent with all the retrieved records.\n\nValid Range: Minimum value of 1. Maximum value of 10000.",
11453 "stability": "stable",
11454 "summary": "The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function."
11455 },
11456 "immutable": true,
11457 "locationInModule": {
11458 "filename": "lib/event-source-mapping.ts",
11459 "line": 96
11460 },
11461 "name": "batchSize",
11462 "optional": true,
11463 "type": {
11464 "primitive": "number"
11465 }
11466 },
11467 {
11468 "abstract": true,
11469 "docs": {
11470 "default": "false",
11471 "stability": "stable",
11472 "summary": "If the function returns an error, split the batch in two and retry."
11473 },
11474 "immutable": true,
11475 "locationInModule": {
11476 "filename": "lib/event-source-mapping.ts",
11477 "line": 103
11478 },
11479 "name": "bisectBatchOnError",
11480 "optional": true,
11481 "type": {
11482 "primitive": "boolean"
11483 }
11484 },
11485 {
11486 "abstract": true,
11487 "docs": {
11488 "default": "true",
11489 "stability": "stable",
11490 "summary": "Set to false to disable the event source upon creation."
11491 },
11492 "immutable": true,
11493 "locationInModule": {
11494 "filename": "lib/event-source-mapping.ts",
11495 "line": 117
11496 },
11497 "name": "enabled",
11498 "optional": true,
11499 "type": {
11500 "primitive": "boolean"
11501 }
11502 },
11503 {
11504 "abstract": true,
11505 "docs": {
11506 "default": "- not set if using a self managed Kafka cluster, throws an error otherwise",
11507 "remarks": "Any record added to\nthis stream can invoke the Lambda function.",
11508 "stability": "stable",
11509 "summary": "The Amazon Resource Name (ARN) of the event source."
11510 },
11511 "immutable": true,
11512 "locationInModule": {
11513 "filename": "lib/event-source-mapping.ts",
11514 "line": 84
11515 },
11516 "name": "eventSourceArn",
11517 "optional": true,
11518 "type": {
11519 "primitive": "string"
11520 }
11521 },
11522 {
11523 "abstract": true,
11524 "docs": {
11525 "default": "- none",
11526 "remarks": "They are in the format `abc.example.com:9096`.",
11527 "stability": "stable",
11528 "summary": "A list of host and port pairs that are the addresses of the Kafka brokers in a self managed \"bootstrap\" Kafka cluster that a Kafka client connects to initially to bootstrap itself."
11529 },
11530 "immutable": true,
11531 "locationInModule": {
11532 "filename": "lib/event-source-mapping.ts",
11533 "line": 204
11534 },
11535 "name": "kafkaBootstrapServers",
11536 "optional": true,
11537 "type": {
11538 "collection": {
11539 "elementtype": {
11540 "primitive": "string"
11541 },
11542 "kind": "array"
11543 }
11544 }
11545 },
11546 {
11547 "abstract": true,
11548 "docs": {
11549 "default": "- no topic",
11550 "stability": "stable",
11551 "summary": "The name of the Kafka topic."
11552 },
11553 "immutable": true,
11554 "locationInModule": {
11555 "filename": "lib/event-source-mapping.ts",
11556 "line": 184
11557 },
11558 "name": "kafkaTopic",
11559 "optional": true,
11560 "type": {
11561 "primitive": "string"
11562 }
11563 },
11564 {
11565 "abstract": true,
11566 "docs": {
11567 "default": "Duration.seconds(0)",
11568 "remarks": "Maximum of Duration.minutes(5)",
11569 "stability": "stable",
11570 "summary": "The maximum amount of time to gather records before invoking the function."
11571 },
11572 "immutable": true,
11573 "locationInModule": {
11574 "filename": "lib/event-source-mapping.ts",
11575 "line": 144
11576 },
11577 "name": "maxBatchingWindow",
11578 "optional": true,
11579 "type": {
11580 "fqn": "@aws-cdk/core.Duration"
11581 }
11582 },
11583 {
11584 "abstract": true,
11585 "docs": {
11586 "default": "- infinite or until the record expires.",
11587 "remarks": "Valid Range:\n* Minimum value of 60 seconds\n* Maximum value of 7 days",
11588 "stability": "stable",
11589 "summary": "The maximum age of a record that Lambda sends to a function for processing."
11590 },
11591 "immutable": true,
11592 "locationInModule": {
11593 "filename": "lib/event-source-mapping.ts",
11594 "line": 154
11595 },
11596 "name": "maxRecordAge",
11597 "optional": true,
11598 "type": {
11599 "fqn": "@aws-cdk/core.Duration"
11600 }
11601 },
11602 {
11603 "abstract": true,
11604 "docs": {
11605 "default": "discarded records are ignored",
11606 "stability": "stable",
11607 "summary": "An Amazon SQS queue or Amazon SNS topic destination for discarded records."
11608 },
11609 "immutable": true,
11610 "locationInModule": {
11611 "filename": "lib/event-source-mapping.ts",
11612 "line": 110
11613 },
11614 "name": "onFailure",
11615 "optional": true,
11616 "type": {
11617 "fqn": "@aws-cdk/aws-lambda.IEventSourceDlq"
11618 }
11619 },
11620 {
11621 "abstract": true,
11622 "docs": {
11623 "default": "1",
11624 "remarks": "Valid Range:\n* Minimum value of 1\n* Maximum value of 10",
11625 "stability": "stable",
11626 "summary": "The number of batches to process from each shard concurrently."
11627 },
11628 "immutable": true,
11629 "locationInModule": {
11630 "filename": "lib/event-source-mapping.ts",
11631 "line": 177
11632 },
11633 "name": "parallelizationFactor",
11634 "optional": true,
11635 "type": {
11636 "primitive": "number"
11637 }
11638 },
11639 {
11640 "abstract": true,
11641 "docs": {
11642 "default": "false",
11643 "see": "https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-ddb-batchfailurereporting",
11644 "stability": "stable",
11645 "summary": "Allow functions to return partially successful responses for a batch of records."
11646 },
11647 "immutable": true,
11648 "locationInModule": {
11649 "filename": "lib/event-source-mapping.ts",
11650 "line": 136
11651 },
11652 "name": "reportBatchItemFailures",
11653 "optional": true,
11654 "type": {
11655 "primitive": "boolean"
11656 }
11657 },
11658 {
11659 "abstract": true,
11660 "docs": {
11661 "default": "- infinite or until the record expires.",
11662 "remarks": "Set to `undefined` if you want lambda to keep retrying infinitely or until\nthe record expires.\n\nValid Range:\n* Minimum value of 0\n* Maximum value of 10000",
11663 "stability": "stable",
11664 "summary": "The maximum number of times to retry when the function returns an error."
11665 },
11666 "immutable": true,
11667 "locationInModule": {
11668 "filename": "lib/event-source-mapping.ts",
11669 "line": 167
11670 },
11671 "name": "retryAttempts",
11672 "optional": true,
11673 "type": {
11674 "primitive": "number"
11675 }
11676 },
11677 {
11678 "abstract": true,
11679 "docs": {
11680 "default": "- none",
11681 "see": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-sourceaccessconfiguration.html",
11682 "stability": "stable",
11683 "summary": "Specific settings like the authentication protocol or the VPC components to secure access to your event source."
11684 },
11685 "immutable": true,
11686 "locationInModule": {
11687 "filename": "lib/event-source-mapping.ts",
11688 "line": 212
11689 },
11690 "name": "sourceAccessConfigurations",
11691 "optional": true,
11692 "type": {
11693 "collection": {
11694 "elementtype": {
11695 "fqn": "@aws-cdk/aws-lambda.SourceAccessConfiguration"
11696 },
11697 "kind": "array"
11698 }
11699 }
11700 },
11701 {
11702 "abstract": true,
11703 "docs": {
11704 "default": "- Required for Amazon Kinesis, Amazon DynamoDB, and Amazon MSK Streams sources.",
11705 "see": "https://docs.aws.amazon.com/kinesis/latest/APIReference/API_GetShardIterator.html#Kinesis-GetShardIterator-request-ShardIteratorType",
11706 "stability": "stable",
11707 "summary": "The position in the DynamoDB, Kinesis or MSK stream where AWS Lambda should start reading."
11708 },
11709 "immutable": true,
11710 "locationInModule": {
11711 "filename": "lib/event-source-mapping.ts",
11712 "line": 127
11713 },
11714 "name": "startingPosition",
11715 "optional": true,
11716 "type": {
11717 "fqn": "@aws-cdk/aws-lambda.StartingPosition"
11718 }
11719 },
11720 {
11721 "abstract": true,
11722 "docs": {
11723 "default": "- None",
11724 "see": "https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-ddb-windows\n\nValid Range: 0 - 15 minutes",
11725 "stability": "stable",
11726 "summary": "The size of the tumbling windows to group records sent to DynamoDB or Kinesis."
11727 },
11728 "immutable": true,
11729 "locationInModule": {
11730 "filename": "lib/event-source-mapping.ts",
11731 "line": 195
11732 },
11733 "name": "tumblingWindow",
11734 "optional": true,
11735 "type": {
11736 "fqn": "@aws-cdk/core.Duration"
11737 }
11738 }
11739 ],
11740 "symbolId": "lib/event-source-mapping:EventSourceMappingOptions"
11741 },
11742 "@aws-cdk/aws-lambda.EventSourceMappingProps": {
11743 "assembly": "@aws-cdk/aws-lambda",
11744 "datatype": true,
11745 "docs": {
11746 "stability": "stable",
11747 "summary": "Properties for declaring a new event source mapping.",
11748 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const eventSourceDlq: lambda.IEventSourceDlq;\ndeclare const function_: lambda.Function;\ndeclare const sourceAccessConfigurationType: lambda.SourceAccessConfigurationType;\nconst eventSourceMappingProps: lambda.EventSourceMappingProps = {\n target: function_,\n\n // the properties below are optional\n batchSize: 123,\n bisectBatchOnError: false,\n enabled: false,\n eventSourceArn: 'eventSourceArn',\n kafkaBootstrapServers: ['kafkaBootstrapServers'],\n kafkaTopic: 'kafkaTopic',\n maxBatchingWindow: cdk.Duration.minutes(30),\n maxRecordAge: cdk.Duration.minutes(30),\n onFailure: eventSourceDlq,\n parallelizationFactor: 123,\n reportBatchItemFailures: false,\n retryAttempts: 123,\n sourceAccessConfigurations: [{\n type: sourceAccessConfigurationType,\n uri: 'uri',\n }],\n startingPosition: lambda.StartingPosition.TRIM_HORIZON,\n tumblingWindow: cdk.Duration.minutes(30),\n};",
11749 "custom": {
11750 "exampleMetadata": "fixture=_generated"
11751 }
11752 },
11753 "fqn": "@aws-cdk/aws-lambda.EventSourceMappingProps",
11754 "interfaces": [
11755 "@aws-cdk/aws-lambda.EventSourceMappingOptions"
11756 ],
11757 "kind": "interface",
11758 "locationInModule": {
11759 "filename": "lib/event-source-mapping.ts",
11760 "line": 218
11761 },
11762 "name": "EventSourceMappingProps",
11763 "properties": [
11764 {
11765 "abstract": true,
11766 "docs": {
11767 "stability": "stable",
11768 "summary": "The target AWS Lambda function."
11769 },
11770 "immutable": true,
11771 "locationInModule": {
11772 "filename": "lib/event-source-mapping.ts",
11773 "line": 222
11774 },
11775 "name": "target",
11776 "type": {
11777 "fqn": "@aws-cdk/aws-lambda.IFunction"
11778 }
11779 }
11780 ],
11781 "symbolId": "lib/event-source-mapping:EventSourceMappingProps"
11782 },
11783 "@aws-cdk/aws-lambda.FileSystem": {
11784 "assembly": "@aws-cdk/aws-lambda",
11785 "docs": {
11786 "stability": "stable",
11787 "summary": "Represents the filesystem for the Lambda function.",
11788 "example": "import * as ec2 from '@aws-cdk/aws-ec2';\nimport * as efs from '@aws-cdk/aws-efs';\n\n// create a new VPC\nconst vpc = new ec2.Vpc(this, 'VPC');\n\n// create a new Amazon EFS filesystem\nconst fileSystem = new efs.FileSystem(this, 'Efs', { vpc });\n\n// create a new access point from the filesystem\nconst accessPoint = fileSystem.addAccessPoint('AccessPoint', {\n // set /export/lambda as the root of the access point\n path: '/export/lambda',\n // as /export/lambda does not exist in a new efs filesystem, the efs will create the directory with the following createAcl\n createAcl: {\n ownerUid: '1001',\n ownerGid: '1001',\n permissions: '750',\n },\n // enforce the POSIX identity so lambda function will access with this identity\n posixUser: {\n uid: '1001',\n gid: '1001',\n },\n});\n\nconst fn = new lambda.Function(this, 'MyLambda', {\n // mount the access point to /mnt/msg in the lambda runtime environment\n filesystem: lambda.FileSystem.fromEfsAccessPoint(accessPoint, '/mnt/msg'),\n runtime: lambda.Runtime.NODEJS_16_X,\n handler: 'index.handler',\n code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),\n vpc,\n});",
11789 "custom": {
11790 "exampleMetadata": "infused"
11791 }
11792 },
11793 "fqn": "@aws-cdk/aws-lambda.FileSystem",
11794 "initializer": {
11795 "docs": {
11796 "stability": "stable"
11797 },
11798 "locationInModule": {
11799 "filename": "lib/filesystem.ts",
11800 "line": 82
11801 },
11802 "parameters": [
11803 {
11804 "docs": {
11805 "summary": "the FileSystem configurations for the Lambda function."
11806 },
11807 "name": "config",
11808 "type": {
11809 "fqn": "@aws-cdk/aws-lambda.FileSystemConfig"
11810 }
11811 }
11812 ],
11813 "protected": true
11814 },
11815 "kind": "class",
11816 "locationInModule": {
11817 "filename": "lib/filesystem.ts",
11818 "line": 45
11819 },
11820 "methods": [
11821 {
11822 "docs": {
11823 "stability": "stable",
11824 "summary": "mount the filesystem from Amazon EFS."
11825 },
11826 "locationInModule": {
11827 "filename": "lib/filesystem.ts",
11828 "line": 51
11829 },
11830 "name": "fromEfsAccessPoint",
11831 "parameters": [
11832 {
11833 "docs": {
11834 "summary": "the Amazon EFS access point."
11835 },
11836 "name": "ap",
11837 "type": {
11838 "fqn": "@aws-cdk/aws-efs.IAccessPoint"
11839 }
11840 },
11841 {
11842 "docs": {
11843 "summary": "the target path in the lambda runtime environment."
11844 },
11845 "name": "mountPath",
11846 "type": {
11847 "primitive": "string"
11848 }
11849 }
11850 ],
11851 "returns": {
11852 "type": {
11853 "fqn": "@aws-cdk/aws-lambda.FileSystem"
11854 }
11855 },
11856 "static": true
11857 }
11858 ],
11859 "name": "FileSystem",
11860 "properties": [
11861 {
11862 "docs": {
11863 "stability": "stable",
11864 "summary": "the FileSystem configurations for the Lambda function."
11865 },
11866 "immutable": true,
11867 "locationInModule": {
11868 "filename": "lib/filesystem.ts",
11869 "line": 82
11870 },
11871 "name": "config",
11872 "type": {
11873 "fqn": "@aws-cdk/aws-lambda.FileSystemConfig"
11874 }
11875 }
11876 ],
11877 "symbolId": "lib/filesystem:FileSystem"
11878 },
11879 "@aws-cdk/aws-lambda.FileSystemConfig": {
11880 "assembly": "@aws-cdk/aws-lambda",
11881 "datatype": true,
11882 "docs": {
11883 "stability": "stable",
11884 "summary": "FileSystem configurations for the Lambda function.",
11885 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as ec2 from '@aws-cdk/aws-ec2';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as lambda from '@aws-cdk/aws-lambda';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const connections: ec2.Connections;\ndeclare const dependable: cdk.IDependable;\ndeclare const policyStatement: iam.PolicyStatement;\nconst fileSystemConfig: lambda.FileSystemConfig = {\n arn: 'arn',\n localMountPath: 'localMountPath',\n\n // the properties below are optional\n connections: connections,\n dependency: [dependable],\n policies: [policyStatement],\n};",
11886 "custom": {
11887 "exampleMetadata": "fixture=_generated"
11888 }
11889 },
11890 "fqn": "@aws-cdk/aws-lambda.FileSystemConfig",
11891 "kind": "interface",
11892 "locationInModule": {
11893 "filename": "lib/filesystem.ts",
11894 "line": 9
11895 },
11896 "name": "FileSystemConfig",
11897 "properties": [
11898 {
11899 "abstract": true,
11900 "docs": {
11901 "stability": "stable",
11902 "summary": "ARN of the access point."
11903 },
11904 "immutable": true,
11905 "locationInModule": {
11906 "filename": "lib/filesystem.ts",
11907 "line": 18
11908 },
11909 "name": "arn",
11910 "type": {
11911 "primitive": "string"
11912 }
11913 },
11914 {
11915 "abstract": true,
11916 "docs": {
11917 "stability": "stable",
11918 "summary": "mount path in the lambda runtime environment."
11919 },
11920 "immutable": true,
11921 "locationInModule": {
11922 "filename": "lib/filesystem.ts",
11923 "line": 13
11924 },
11925 "name": "localMountPath",
11926 "type": {
11927 "primitive": "string"
11928 }
11929 },
11930 {
11931 "abstract": true,
11932 "docs": {
11933 "default": "- no connections required to add extra ingress rules for Lambda function",
11934 "stability": "stable",
11935 "summary": "connections object used to allow ingress traffic from lambda function."
11936 },
11937 "immutable": true,
11938 "locationInModule": {
11939 "filename": "lib/filesystem.ts",
11940 "line": 32
11941 },
11942 "name": "connections",
11943 "optional": true,
11944 "type": {
11945 "fqn": "@aws-cdk/aws-ec2.Connections"
11946 }
11947 },
11948 {
11949 "abstract": true,
11950 "docs": {
11951 "default": "- no dependency",
11952 "stability": "stable",
11953 "summary": "array of IDependable that lambda function depends on."
11954 },
11955 "immutable": true,
11956 "locationInModule": {
11957 "filename": "lib/filesystem.ts",
11958 "line": 25
11959 },
11960 "name": "dependency",
11961 "optional": true,
11962 "type": {
11963 "collection": {
11964 "elementtype": {
11965 "fqn": "@aws-cdk/core.IDependable"
11966 },
11967 "kind": "array"
11968 }
11969 }
11970 },
11971 {
11972 "abstract": true,
11973 "docs": {
11974 "default": "- no additional policies required",
11975 "stability": "stable",
11976 "summary": "additional IAM policies required for the lambda function."
11977 },
11978 "immutable": true,
11979 "locationInModule": {
11980 "filename": "lib/filesystem.ts",
11981 "line": 39
11982 },
11983 "name": "policies",
11984 "optional": true,
11985 "type": {
11986 "collection": {
11987 "elementtype": {
11988 "fqn": "@aws-cdk/aws-iam.PolicyStatement"
11989 },
11990 "kind": "array"
11991 }
11992 }
11993 }
11994 ],
11995 "symbolId": "lib/filesystem:FileSystemConfig"
11996 },
11997 "@aws-cdk/aws-lambda.Function": {
11998 "assembly": "@aws-cdk/aws-lambda",
11999 "base": "@aws-cdk/aws-lambda.FunctionBase",
12000 "docs": {
12001 "remarks": "The supplied file is subject to the 4096 bytes limit of being embedded in a\nCloudFormation template.\n\nThe construct includes an associated role with the lambda.\n\nThis construct does not yet reproduce all features from the underlying resource\nlibrary.",
12002 "stability": "stable",
12003 "summary": "Deploys a file from inside the construct library as a function.",
12004 "example": "import * as signer from '@aws-cdk/aws-signer';\n\nconst signingProfile = new signer.SigningProfile(this, 'SigningProfile', {\n platform: signer.Platform.AWS_LAMBDA_SHA384_ECDSA,\n});\n\nconst codeSigningConfig = new lambda.CodeSigningConfig(this, 'CodeSigningConfig', {\n signingProfiles: [signingProfile],\n});\n\nnew lambda.Function(this, 'Function', {\n codeSigningConfig,\n runtime: lambda.Runtime.NODEJS_16_X,\n handler: 'index.handler',\n code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),\n});",
12005 "custom": {
12006 "exampleMetadata": "infused"
12007 }
12008 },
12009 "fqn": "@aws-cdk/aws-lambda.Function",
12010 "initializer": {
12011 "docs": {
12012 "stability": "stable"
12013 },
12014 "locationInModule": {
12015 "filename": "lib/function.ts",
12016 "line": 658
12017 },
12018 "parameters": [
12019 {
12020 "name": "scope",
12021 "type": {
12022 "fqn": "constructs.Construct"
12023 }
12024 },
12025 {
12026 "name": "id",
12027 "type": {
12028 "primitive": "string"
12029 }
12030 },
12031 {
12032 "name": "props",
12033 "type": {
12034 "fqn": "@aws-cdk/aws-lambda.FunctionProps"
12035 }
12036 }
12037 ]
12038 },
12039 "kind": "class",
12040 "locationInModule": {
12041 "filename": "lib/function.ts",
12042 "line": 397
12043 },
12044 "methods": [
12045 {
12046 "docs": {
12047 "remarks": "See 'currentVersion' section in the module README for more details.",
12048 "stability": "stable",
12049 "summary": "Record whether specific properties in the `AWS::Lambda::Function` resource should also be associated to the Version resource."
12050 },
12051 "locationInModule": {
12052 "filename": "lib/function.ts",
12053 "line": 452
12054 },
12055 "name": "classifyVersionProperty",
12056 "parameters": [
12057 {
12058 "docs": {
12059 "summary": "The property to classify."
12060 },
12061 "name": "propertyName",
12062 "type": {
12063 "primitive": "string"
12064 }
12065 },
12066 {
12067 "docs": {
12068 "summary": "whether the property should be associated to the version or not."
12069 },
12070 "name": "locked",
12071 "type": {
12072 "primitive": "boolean"
12073 }
12074 }
12075 ],
12076 "static": true
12077 },
12078 {
12079 "docs": {
12080 "stability": "stable",
12081 "summary": "Import a lambda function into the CDK using its ARN."
12082 },
12083 "locationInModule": {
12084 "filename": "lib/function.ts",
12085 "line": 473
12086 },
12087 "name": "fromFunctionArn",
12088 "parameters": [
12089 {
12090 "name": "scope",
12091 "type": {
12092 "fqn": "constructs.Construct"
12093 }
12094 },
12095 {
12096 "name": "id",
12097 "type": {
12098 "primitive": "string"
12099 }
12100 },
12101 {
12102 "name": "functionArn",
12103 "type": {
12104 "primitive": "string"
12105 }
12106 }
12107 ],
12108 "returns": {
12109 "type": {
12110 "fqn": "@aws-cdk/aws-lambda.IFunction"
12111 }
12112 },
12113 "static": true
12114 },
12115 {
12116 "docs": {
12117 "stability": "stable",
12118 "summary": "Creates a Lambda function object which represents a function not defined within this stack."
12119 },
12120 "locationInModule": {
12121 "filename": "lib/function.ts",
12122 "line": 485
12123 },
12124 "name": "fromFunctionAttributes",
12125 "parameters": [
12126 {
12127 "docs": {
12128 "summary": "The parent construct."
12129 },
12130 "name": "scope",
12131 "type": {
12132 "fqn": "constructs.Construct"
12133 }
12134 },
12135 {
12136 "docs": {
12137 "summary": "The name of the lambda construct."
12138 },
12139 "name": "id",
12140 "type": {
12141 "primitive": "string"
12142 }
12143 },
12144 {
12145 "docs": {
12146 "summary": "the attributes of the function to import."
12147 },
12148 "name": "attrs",
12149 "type": {
12150 "fqn": "@aws-cdk/aws-lambda.FunctionAttributes"
12151 }
12152 }
12153 ],
12154 "returns": {
12155 "type": {
12156 "fqn": "@aws-cdk/aws-lambda.IFunction"
12157 }
12158 },
12159 "static": true
12160 },
12161 {
12162 "docs": {
12163 "stability": "stable",
12164 "summary": "Import a lambda function into the CDK using its name."
12165 },
12166 "locationInModule": {
12167 "filename": "lib/function.ts",
12168 "line": 459
12169 },
12170 "name": "fromFunctionName",
12171 "parameters": [
12172 {
12173 "name": "scope",
12174 "type": {
12175 "fqn": "constructs.Construct"
12176 }
12177 },
12178 {
12179 "name": "id",
12180 "type": {
12181 "primitive": "string"
12182 }
12183 },
12184 {
12185 "name": "functionName",
12186 "type": {
12187 "primitive": "string"
12188 }
12189 }
12190 ],
12191 "returns": {
12192 "type": {
12193 "fqn": "@aws-cdk/aws-lambda.IFunction"
12194 }
12195 },
12196 "static": true
12197 },
12198 {
12199 "docs": {
12200 "stability": "stable",
12201 "summary": "Return the given named metric for this Lambda."
12202 },
12203 "locationInModule": {
12204 "filename": "lib/function.ts",
12205 "line": 527
12206 },
12207 "name": "metricAll",
12208 "parameters": [
12209 {
12210 "name": "metricName",
12211 "type": {
12212 "primitive": "string"
12213 }
12214 },
12215 {
12216 "name": "props",
12217 "optional": true,
12218 "type": {
12219 "fqn": "@aws-cdk/aws-cloudwatch.MetricOptions"
12220 }
12221 }
12222 ],
12223 "returns": {
12224 "type": {
12225 "fqn": "@aws-cdk/aws-cloudwatch.Metric"
12226 }
12227 },
12228 "static": true
12229 },
12230 {
12231 "docs": {
12232 "default": "max over 5 minutes",
12233 "stability": "stable",
12234 "summary": "Metric for the number of concurrent executions across all Lambdas."
12235 },
12236 "locationInModule": {
12237 "filename": "lib/function.ts",
12238 "line": 575
12239 },
12240 "name": "metricAllConcurrentExecutions",
12241 "parameters": [
12242 {
12243 "name": "props",
12244 "optional": true,
12245 "type": {
12246 "fqn": "@aws-cdk/aws-cloudwatch.MetricOptions"
12247 }
12248 }
12249 ],
12250 "returns": {
12251 "type": {
12252 "fqn": "@aws-cdk/aws-cloudwatch.Metric"
12253 }
12254 },
12255 "static": true
12256 },
12257 {
12258 "docs": {
12259 "default": "average over 5 minutes",
12260 "stability": "stable",
12261 "summary": "Metric for the Duration executing all Lambdas."
12262 },
12263 "locationInModule": {
12264 "filename": "lib/function.ts",
12265 "line": 548
12266 },
12267 "name": "metricAllDuration",
12268 "parameters": [
12269 {
12270 "name": "props",
12271 "optional": true,
12272 "type": {
12273 "fqn": "@aws-cdk/aws-cloudwatch.MetricOptions"
12274 }
12275 }
12276 ],
12277 "returns": {
12278 "type": {
12279 "fqn": "@aws-cdk/aws-cloudwatch.Metric"
12280 }
12281 },
12282 "static": true
12283 },
12284 {
12285 "docs": {
12286 "default": "sum over 5 minutes",
12287 "stability": "stable",
12288 "summary": "Metric for the number of Errors executing all Lambdas."
12289 },
12290 "locationInModule": {
12291 "filename": "lib/function.ts",
12292 "line": 539
12293 },
12294 "name": "metricAllErrors",
12295 "parameters": [
12296 {
12297 "name": "props",
12298 "optional": true,
12299 "type": {
12300 "fqn": "@aws-cdk/aws-cloudwatch.MetricOptions"
12301 }
12302 }
12303 ],
12304 "returns": {
12305 "type": {
12306 "fqn": "@aws-cdk/aws-cloudwatch.Metric"
12307 }
12308 },
12309 "static": true
12310 },
12311 {
12312 "docs": {
12313 "default": "sum over 5 minutes",
12314 "stability": "stable",
12315 "summary": "Metric for the number of invocations of all Lambdas."
12316 },
12317 "locationInModule": {
12318 "filename": "lib/function.ts",
12319 "line": 557
12320 },
12321 "name": "metricAllInvocations",
12322 "parameters": [
12323 {
12324 "name": "props",
12325 "optional": true,
12326 "type": {
12327 "fqn": "@aws-cdk/aws-cloudwatch.MetricOptions"
12328 }
12329 }
12330 ],
12331 "returns": {
12332 "type": {
12333 "fqn": "@aws-cdk/aws-cloudwatch.Metric"
12334 }
12335 },
12336 "static": true
12337 },
12338 {
12339 "docs": {
12340 "default": "sum over 5 minutes",
12341 "stability": "stable",
12342 "summary": "Metric for the number of throttled invocations of all Lambdas."
12343 },
12344 "locationInModule": {
12345 "filename": "lib/function.ts",
12346 "line": 566
12347 },
12348 "name": "metricAllThrottles",
12349 "parameters": [
12350 {
12351 "name": "props",
12352 "optional": true,
12353 "type": {
12354 "fqn": "@aws-cdk/aws-cloudwatch.MetricOptions"
12355 }
12356 }
12357 ],
12358 "returns": {
12359 "type": {
12360 "fqn": "@aws-cdk/aws-cloudwatch.Metric"
12361 }
12362 },
12363 "static": true
12364 },
12365 {
12366 "docs": {
12367 "default": "max over 5 minutes",
12368 "stability": "stable",
12369 "summary": "Metric for the number of unreserved concurrent executions across all Lambdas."
12370 },
12371 "locationInModule": {
12372 "filename": "lib/function.ts",
12373 "line": 590
12374 },
12375 "name": "metricAllUnreservedConcurrentExecutions",
12376 "parameters": [
12377 {
12378 "name": "props",
12379 "optional": true,
12380 "type": {
12381 "fqn": "@aws-cdk/aws-cloudwatch.MetricOptions"
12382 }
12383 }
12384 ],
12385 "returns": {
12386 "type": {
12387 "fqn": "@aws-cdk/aws-cloudwatch.Metric"
12388 }
12389 },
12390 "static": true
12391 },
12392 {
12393 "docs": {
12394 "remarks": "The alias will automatically be updated to point to the latest version of\nthe function as it is being updated during a deployment.\n\n```ts\ndeclare const fn: lambda.Function;\n\nfn.addAlias('Live');\n\n// Is equivalent to\n\nnew lambda.Alias(this, 'AliasLive', {\n aliasName: 'Live',\n version: fn.currentVersion,\n});",
12395 "stability": "stable",
12396 "summary": "Defines an alias for this function."
12397 },
12398 "locationInModule": {
12399 "filename": "lib/function.ts",
12400 "line": 991
12401 },
12402 "name": "addAlias",
12403 "parameters": [
12404 {
12405 "docs": {
12406 "summary": "The name of the alias."
12407 },
12408 "name": "aliasName",
12409 "type": {
12410 "primitive": "string"
12411 }
12412 },
12413 {
12414 "docs": {
12415 "summary": "Alias options."
12416 },
12417 "name": "options",
12418 "optional": true,
12419 "type": {
12420 "fqn": "@aws-cdk/aws-lambda.AliasOptions"
12421 }
12422 }
12423 ],
12424 "returns": {
12425 "type": {
12426 "fqn": "@aws-cdk/aws-lambda.Alias"
12427 }
12428 }
12429 },
12430 {
12431 "docs": {
12432 "remarks": "If this is a ref to a Lambda function, this operation results in a no-op.",
12433 "stability": "stable",
12434 "summary": "Adds an environment variable to this Lambda function."
12435 },
12436 "locationInModule": {
12437 "filename": "lib/function.ts",
12438 "line": 899
12439 },
12440 "name": "addEnvironment",
12441 "parameters": [
12442 {
12443 "docs": {
12444 "summary": "The environment variable key."
12445 },
12446 "name": "key",
12447 "type": {
12448 "primitive": "string"
12449 }
12450 },
12451 {
12452 "docs": {
12453 "summary": "The environment variable's value."
12454 },
12455 "name": "value",
12456 "type": {
12457 "primitive": "string"
12458 }
12459 },
12460 {
12461 "docs": {
12462 "summary": "Environment variable options."
12463 },
12464 "name": "options",
12465 "optional": true,
12466 "type": {
12467 "fqn": "@aws-cdk/aws-lambda.EnvironmentOptions"
12468 }
12469 }
12470 ],
12471 "returns": {
12472 "type": {
12473 "fqn": "@aws-cdk/aws-lambda.Function"
12474 }
12475 }
12476 },
12477 {
12478 "docs": {
12479 "custom": {
12480 "throws": "if there are already 5 layers on this function, or the layer is incompatible with this function's runtime."
12481 },
12482 "stability": "stable",
12483 "summary": "Adds one or more Lambda Layers to this Lambda function."
12484 },
12485 "locationInModule": {
12486 "filename": "lib/function.ts",
12487 "line": 911
12488 },
12489 "name": "addLayers",
12490 "parameters": [
12491 {
12492 "docs": {
12493 "summary": "the layers to be added."
12494 },
12495 "name": "layers",
12496 "type": {
12497 "fqn": "@aws-cdk/aws-lambda.ILayerVersion"
12498 },
12499 "variadic": true
12500 }
12501 ],
12502 "variadic": true
12503 },
12504 {
12505 "docs": {
12506 "deprecated": "This method will create an AWS::Lambda::Version resource which\nsnapshots the AWS Lambda function *at the time of its creation* and it\nwon't get updated when the function changes. Instead, use\n`this.currentVersion` to obtain a reference to a version resource that gets\nautomatically recreated when the function configuration (or code) changes.",
12507 "remarks": "If you want to deploy through CloudFormation and use aliases, you need to\nadd a new version (with a new name) to your Lambda every time you want to\ndeploy an update. An alias can then refer to the newly created Version.\n\nAll versions should have distinct names, and you should not delete versions\nas long as your Alias needs to refer to them.",
12508 "returns": "A new Version object.",
12509 "stability": "deprecated",
12510 "summary": "Add a new version for this Lambda."
12511 },
12512 "locationInModule": {
12513 "filename": "lib/function.ts",
12514 "line": 954
12515 },
12516 "name": "addVersion",
12517 "parameters": [
12518 {
12519 "docs": {
12520 "summary": "A unique name for this version."
12521 },
12522 "name": "name",
12523 "type": {
12524 "primitive": "string"
12525 }
12526 },
12527 {
12528 "docs": {
12529 "summary": "The SHA-256 hash of the most recently deployed Lambda source code, or omit to skip validation."
12530 },
12531 "name": "codeSha256",
12532 "optional": true,
12533 "type": {
12534 "primitive": "string"
12535 }
12536 },
12537 {
12538 "docs": {
12539 "summary": "A description for this version."
12540 },
12541 "name": "description",
12542 "optional": true,
12543 "type": {
12544 "primitive": "string"
12545 }
12546 },
12547 {
12548 "docs": {
12549 "summary": "A provisioned concurrency configuration for a function's version."
12550 },
12551 "name": "provisionedExecutions",
12552 "optional": true,
12553 "type": {
12554 "primitive": "number"
12555 }
12556 },
12557 {
12558 "docs": {
12559 "summary": "configuration for this version when it is invoked asynchronously."
12560 },
12561 "name": "asyncInvokeConfig",
12562 "optional": true,
12563 "type": {
12564 "fqn": "@aws-cdk/aws-lambda.EventInvokeConfigOptions"
12565 }
12566 }
12567 ],
12568 "returns": {
12569 "type": {
12570 "fqn": "@aws-cdk/aws-lambda.Version"
12571 }
12572 }
12573 }
12574 ],
12575 "name": "Function",
12576 "properties": [
12577 {
12578 "docs": {
12579 "stability": "stable",
12580 "summary": "The architecture of this Lambda Function (this is an optional attribute and defaults to X86_64)."
12581 },
12582 "immutable": true,
12583 "locationInModule": {
12584 "filename": "lib/function.ts",
12585 "line": 632
12586 },
12587 "name": "architecture",
12588 "overrides": "@aws-cdk/aws-lambda.FunctionBase",
12589 "type": {
12590 "fqn": "@aws-cdk/aws-lambda.Architecture"
12591 }
12592 },
12593 {
12594 "docs": {
12595 "remarks": "True for new Lambdas, false for version $LATEST and imported Lambdas\nfrom different accounts.",
12596 "stability": "stable",
12597 "summary": "Whether the addPermission() call adds any permissions."
12598 },
12599 "immutable": true,
12600 "locationInModule": {
12601 "filename": "lib/function.ts",
12602 "line": 641
12603 },
12604 "name": "canCreatePermissions",
12605 "overrides": "@aws-cdk/aws-lambda.FunctionBase",
12606 "protected": true,
12607 "type": {
12608 "primitive": "boolean"
12609 }
12610 },
12611 {
12612 "docs": {
12613 "remarks": "You can specify options for this version using the `currentVersionOptions`\nprop when initializing the `lambda.Function`.",
12614 "stability": "stable",
12615 "summary": "Returns a `lambda.Version` which represents the current version of this Lambda function. A new version will be created every time the function's configuration changes."
12616 },
12617 "immutable": true,
12618 "locationInModule": {
12619 "filename": "lib/function.ts",
12620 "line": 407
12621 },
12622 "name": "currentVersion",
12623 "type": {
12624 "fqn": "@aws-cdk/aws-lambda.Version"
12625 }
12626 },
12627 {
12628 "docs": {
12629 "stability": "stable",
12630 "summary": "ARN of this function."
12631 },
12632 "immutable": true,
12633 "locationInModule": {
12634 "filename": "lib/function.ts",
12635 "line": 602
12636 },
12637 "name": "functionArn",
12638 "overrides": "@aws-cdk/aws-lambda.FunctionBase",
12639 "type": {
12640 "primitive": "string"
12641 }
12642 },
12643 {
12644 "docs": {
12645 "stability": "stable",
12646 "summary": "Name of this function."
12647 },
12648 "immutable": true,
12649 "locationInModule": {
12650 "filename": "lib/function.ts",
12651 "line": 597
12652 },
12653 "name": "functionName",
12654 "overrides": "@aws-cdk/aws-lambda.FunctionBase",
12655 "type": {
12656 "primitive": "string"
12657 }
12658 },
12659 {
12660 "docs": {
12661 "stability": "stable",
12662 "summary": "The principal this Lambda Function is running as."
12663 },
12664 "immutable": true,
12665 "locationInModule": {
12666 "filename": "lib/function.ts",
12667 "line": 617
12668 },
12669 "name": "grantPrincipal",
12670 "overrides": "@aws-cdk/aws-lambda.FunctionBase",
12671 "type": {
12672 "fqn": "@aws-cdk/aws-iam.IPrincipal"
12673 }
12674 },
12675 {
12676 "docs": {
12677 "remarks": "If either `logRetention` is set or this property is called, a CloudFormation custom resource is added to the stack that\npre-creates the log group as part of the stack deployment, if it already doesn't exist, and sets the correct log retention\nperiod (never expire, by default).\n\nFurther, if the log group already exists and the `logRetention` is not set, the custom resource will reset the log retention\nto never expire even if it was configured with a different value.",
12678 "stability": "stable",
12679 "summary": "The LogGroup where the Lambda function's logs are made available."
12680 },
12681 "immutable": true,
12682 "locationInModule": {
12683 "filename": "lib/function.ts",
12684 "line": 1005
12685 },
12686 "name": "logGroup",
12687 "type": {
12688 "fqn": "@aws-cdk/aws-logs.ILogGroup"
12689 }
12690 },
12691 {
12692 "docs": {
12693 "stability": "stable",
12694 "summary": "The construct node where permissions are attached."
12695 },
12696 "immutable": true,
12697 "locationInModule": {
12698 "filename": "lib/function.ts",
12699 "line": 639
12700 },
12701 "name": "permissionsNode",
12702 "overrides": "@aws-cdk/aws-lambda.FunctionBase",
12703 "type": {
12704 "fqn": "@aws-cdk/core.ConstructNode"
12705 }
12706 },
12707 {
12708 "docs": {
12709 "stability": "stable",
12710 "summary": "The ARN(s) to put into the resource field of the generated IAM policy for grantInvoke()."
12711 },
12712 "immutable": true,
12713 "locationInModule": {
12714 "filename": "lib/function.ts",
12715 "line": 438
12716 },
12717 "name": "resourceArnsForGrantInvoke",
12718 "overrides": "@aws-cdk/aws-lambda.FunctionBase",
12719 "type": {
12720 "collection": {
12721 "elementtype": {
12722 "primitive": "string"
12723 },
12724 "kind": "array"
12725 }
12726 }
12727 },
12728 {
12729 "docs": {
12730 "stability": "stable",
12731 "summary": "The runtime configured for this lambda."
12732 },
12733 "immutable": true,
12734 "locationInModule": {
12735 "filename": "lib/function.ts",
12736 "line": 612
12737 },
12738 "name": "runtime",
12739 "type": {
12740 "fqn": "@aws-cdk/aws-lambda.Runtime"
12741 }
12742 },
12743 {
12744 "docs": {
12745 "stability": "stable",
12746 "summary": "The DLQ (as queue) associated with this Lambda Function (this is an optional attribute)."
12747 },
12748 "immutable": true,
12749 "locationInModule": {
12750 "filename": "lib/function.ts",
12751 "line": 622
12752 },
12753 "name": "deadLetterQueue",
12754 "optional": true,
12755 "type": {
12756 "fqn": "@aws-cdk/aws-sqs.IQueue"
12757 }
12758 },
12759 {
12760 "docs": {
12761 "stability": "stable",
12762 "summary": "The DLQ (as topic) associated with this Lambda Function (this is an optional attribute)."
12763 },
12764 "immutable": true,
12765 "locationInModule": {
12766 "filename": "lib/function.ts",
12767 "line": 627
12768 },
12769 "name": "deadLetterTopic",
12770 "optional": true,
12771 "type": {
12772 "fqn": "@aws-cdk/aws-sns.ITopic"
12773 }
12774 },
12775 {
12776 "docs": {
12777 "stability": "stable",
12778 "summary": "Execution role associated with this function."
12779 },
12780 "immutable": true,
12781 "locationInModule": {
12782 "filename": "lib/function.ts",
12783 "line": 607
12784 },
12785 "name": "role",
12786 "optional": true,
12787 "overrides": "@aws-cdk/aws-lambda.FunctionBase",
12788 "type": {
12789 "fqn": "@aws-cdk/aws-iam.IRole"
12790 }
12791 },
12792 {
12793 "docs": {
12794 "stability": "stable",
12795 "summary": "The timeout configured for this lambda."
12796 },
12797 "immutable": true,
12798 "locationInModule": {
12799 "filename": "lib/function.ts",
12800 "line": 637
12801 },
12802 "name": "timeout",
12803 "optional": true,
12804 "type": {
12805 "fqn": "@aws-cdk/core.Duration"
12806 }
12807 }
12808 ],
12809 "symbolId": "lib/function:Function"
12810 },
12811 "@aws-cdk/aws-lambda.FunctionAttributes": {
12812 "assembly": "@aws-cdk/aws-lambda",
12813 "datatype": true,
12814 "docs": {
12815 "stability": "stable",
12816 "summary": "Represents a Lambda function defined outside of this stack.",
12817 "example": "const fn = lambda.Function.fromFunctionAttributes(this, 'Function', {\n functionArn: 'arn:aws:lambda:us-east-1:123456789012:function:MyFn',\n // The following are optional properties for specific use cases and should be used with caution:\n\n // Use Case: imported function is in the same account as the stack. This tells the CDK that it\n // can modify the function's permissions.\n sameEnvironment: true,\n\n // Use Case: imported function is in a different account and user commits to ensuring that the\n // imported function has the correct permissions outside the CDK.\n skipPermissions: true,\n});",
12818 "custom": {
12819 "exampleMetadata": "infused"
12820 }
12821 },
12822 "fqn": "@aws-cdk/aws-lambda.FunctionAttributes",
12823 "kind": "interface",
12824 "locationInModule": {
12825 "filename": "lib/function-base.ts",
12826 "line": 161
12827 },
12828 "name": "FunctionAttributes",
12829 "properties": [
12830 {
12831 "abstract": true,
12832 "docs": {
12833 "remarks": "Format: arn:<partition>:lambda:<region>:<account-id>:function:<function-name>",
12834 "stability": "stable",
12835 "summary": "The ARN of the Lambda function."
12836 },
12837 "immutable": true,
12838 "locationInModule": {
12839 "filename": "lib/function-base.ts",
12840 "line": 167
12841 },
12842 "name": "functionArn",
12843 "type": {
12844 "primitive": "string"
12845 }
12846 },
12847 {
12848 "abstract": true,
12849 "docs": {
12850 "default": "- Architecture.X86_64",
12851 "stability": "stable",
12852 "summary": "The architecture of this Lambda Function (this is an optional attribute and defaults to X86_64)."
12853 },
12854 "immutable": true,
12855 "locationInModule": {
12856 "filename": "lib/function-base.ts",
12857 "line": 225
12858 },
12859 "name": "architecture",
12860 "optional": true,
12861 "type": {
12862 "fqn": "@aws-cdk/aws-lambda.Architecture"
12863 }
12864 },
12865 {
12866 "abstract": true,
12867 "docs": {
12868 "remarks": "If the role is not specified, any role-related operations will no-op.",
12869 "stability": "stable",
12870 "summary": "The IAM execution role associated with this function."
12871 },
12872 "immutable": true,
12873 "locationInModule": {
12874 "filename": "lib/function-base.ts",
12875 "line": 174
12876 },
12877 "name": "role",
12878 "optional": true,
12879 "type": {
12880 "fqn": "@aws-cdk/aws-iam.IRole"
12881 }
12882 },
12883 {
12884 "abstract": true,
12885 "docs": {
12886 "default": "- depends: true, if the Stack is configured with an explicit `env` (account and region) and the account is the same as this function.\nFor environment-agnostic stacks this will default to `false`.",
12887 "remarks": "This affects certain behaviours such as, whether this function's permission can be modified.\nWhen not configured, the CDK attempts to auto-determine this. For environment agnostic stacks, i.e., stacks\nwhere the account is not specified with the `env` property, this is determined to be false.\n\nSet this to property *ONLY IF* the imported function is in the same account as the stack\nit's imported in.",
12888 "stability": "stable",
12889 "summary": "Setting this property informs the CDK that the imported function is in the same environment as the stack."
12890 },
12891 "immutable": true,
12892 "locationInModule": {
12893 "filename": "lib/function-base.ts",
12894 "line": 205
12895 },
12896 "name": "sameEnvironment",
12897 "optional": true,
12898 "type": {
12899 "primitive": "boolean"
12900 }
12901 },
12902 {
12903 "abstract": true,
12904 "docs": {
12905 "remarks": "This needs to be given in order to support allowing connections\nto this Lambda.",
12906 "stability": "stable",
12907 "summary": "The security group of this Lambda, if in a VPC."
12908 },
12909 "immutable": true,
12910 "locationInModule": {
12911 "filename": "lib/function-base.ts",
12912 "line": 192
12913 },
12914 "name": "securityGroup",
12915 "optional": true,
12916 "type": {
12917 "fqn": "@aws-cdk/aws-ec2.ISecurityGroup"
12918 }
12919 },
12920 {
12921 "abstract": true,
12922 "docs": {
12923 "deprecated": "use `securityGroup` instead",
12924 "remarks": "This needs to be given in order to support allowing connections\nto this Lambda.",
12925 "stability": "deprecated",
12926 "summary": "Id of the security group of this Lambda, if in a VPC."
12927 },
12928 "immutable": true,
12929 "locationInModule": {
12930 "filename": "lib/function-base.ts",
12931 "line": 184
12932 },
12933 "name": "securityGroupId",
12934 "optional": true,
12935 "type": {
12936 "primitive": "string"
12937 }
12938 },
12939 {
12940 "abstract": true,
12941 "docs": {
12942 "default": "false",
12943 "remarks": "When not configured, the CDK attempts to auto-determine whether or not\nadditional permissions are necessary on the function when grant APIs are used. If the CDK tried to add\npermissions on an imported lambda, it will fail.\n\nSet this property *ONLY IF* you are committing to manage the imported function's permissions outside of\nCDK. You are acknowledging that your CDK code alone will have insufficient permissions to access the\nimported function.",
12944 "stability": "stable",
12945 "summary": "Setting this property informs the CDK that the imported function ALREADY HAS the necessary permissions for what you are trying to do."
12946 },
12947 "immutable": true,
12948 "locationInModule": {
12949 "filename": "lib/function-base.ts",
12950 "line": 219
12951 },
12952 "name": "skipPermissions",
12953 "optional": true,
12954 "type": {
12955 "primitive": "boolean"
12956 }
12957 }
12958 ],
12959 "symbolId": "lib/function-base:FunctionAttributes"
12960 },
12961 "@aws-cdk/aws-lambda.FunctionBase": {
12962 "abstract": true,
12963 "assembly": "@aws-cdk/aws-lambda",
12964 "base": "@aws-cdk/core.Resource",
12965 "docs": {
12966 "stability": "stable"
12967 },
12968 "fqn": "@aws-cdk/aws-lambda.FunctionBase",
12969 "initializer": {
12970 "docs": {
12971 "stability": "stable"
12972 },
12973 "locationInModule": {
12974 "filename": "lib/resource.ts",
12975 "line": 150
12976 },
12977 "parameters": [
12978 {
12979 "name": "scope",
12980 "type": {
12981 "fqn": "constructs.Construct"
12982 }
12983 },
12984 {
12985 "name": "id",
12986 "type": {
12987 "primitive": "string"
12988 }
12989 },
12990 {
12991 "name": "props",
12992 "optional": true,
12993 "type": {
12994 "fqn": "@aws-cdk/core.ResourceProps"
12995 }
12996 }
12997 ]
12998 },
12999 "interfaces": [
13000 "@aws-cdk/aws-lambda.IFunction",
13001 "@aws-cdk/aws-ec2.IClientVpnConnectionHandler"
13002 ],
13003 "kind": "class",
13004 "locationInModule": {
13005 "filename": "lib/function-base.ts",
13006 "line": 228
13007 },
13008 "methods": [
13009 {
13010 "docs": {
13011 "remarks": "Event sources are implemented in the @aws-cdk/aws-lambda-event-sources module.\n\nThe following example adds an SQS Queue as an event source:\n```\nimport { SqsEventSource } from '@aws-cdk/aws-lambda-event-sources';\nmyFunction.addEventSource(new SqsEventSource(myQueue));\n```",
13012 "stability": "stable",
13013 "summary": "Adds an event source to this function."
13014 },
13015 "locationInModule": {
13016 "filename": "lib/function-base.ts",
13017 "line": 452
13018 },
13019 "name": "addEventSource",
13020 "overrides": "@aws-cdk/aws-lambda.IFunction",
13021 "parameters": [
13022 {
13023 "name": "source",
13024 "type": {
13025 "fqn": "@aws-cdk/aws-lambda.IEventSource"
13026 }
13027 }
13028 ]
13029 },
13030 {
13031 "docs": {
13032 "stability": "stable",
13033 "summary": "Adds an event source that maps to this AWS Lambda function."
13034 },
13035 "locationInModule": {
13036 "filename": "lib/function-base.ts",
13037 "line": 407
13038 },
13039 "name": "addEventSourceMapping",
13040 "overrides": "@aws-cdk/aws-lambda.IFunction",
13041 "parameters": [
13042 {
13043 "name": "id",
13044 "type": {
13045 "primitive": "string"
13046 }
13047 },
13048 {
13049 "name": "options",
13050 "type": {
13051 "fqn": "@aws-cdk/aws-lambda.EventSourceMappingOptions"
13052 }
13053 }
13054 ],
13055 "returns": {
13056 "type": {
13057 "fqn": "@aws-cdk/aws-lambda.EventSourceMapping"
13058 }
13059 }
13060 },
13061 {
13062 "docs": {
13063 "stability": "stable",
13064 "summary": "Adds a url to this lambda function."
13065 },
13066 "locationInModule": {
13067 "filename": "lib/function-base.ts",
13068 "line": 467
13069 },
13070 "name": "addFunctionUrl",
13071 "overrides": "@aws-cdk/aws-lambda.IFunction",
13072 "parameters": [
13073 {
13074 "name": "options",
13075 "optional": true,
13076 "type": {
13077 "fqn": "@aws-cdk/aws-lambda.FunctionUrlOptions"
13078 }
13079 }
13080 ],
13081 "returns": {
13082 "type": {
13083 "fqn": "@aws-cdk/aws-lambda.FunctionUrl"
13084 }
13085 }
13086 },
13087 {
13088 "docs": {
13089 "see": "Permission for details.",
13090 "stability": "stable",
13091 "summary": "Adds a permission to the Lambda resource policy."
13092 },
13093 "locationInModule": {
13094 "filename": "lib/function-base.ts",
13095 "line": 343
13096 },
13097 "name": "addPermission",
13098 "overrides": "@aws-cdk/aws-lambda.IFunction",
13099 "parameters": [
13100 {
13101 "docs": {
13102 "summary": "The id for the permission construct."
13103 },
13104 "name": "id",
13105 "type": {
13106 "primitive": "string"
13107 }
13108 },
13109 {
13110 "docs": {
13111 "summary": "The permission to grant to this Lambda function."
13112 },
13113 "name": "permission",
13114 "type": {
13115 "fqn": "@aws-cdk/aws-lambda.Permission"
13116 }
13117 }
13118 ]
13119 },
13120 {
13121 "docs": {
13122 "stability": "stable",
13123 "summary": "Adds a statement to the IAM role assumed by the instance."
13124 },
13125 "locationInModule": {
13126 "filename": "lib/function-base.ts",
13127 "line": 370
13128 },
13129 "name": "addToRolePolicy",
13130 "overrides": "@aws-cdk/aws-lambda.IFunction",
13131 "parameters": [
13132 {
13133 "name": "statement",
13134 "type": {
13135 "fqn": "@aws-cdk/aws-iam.PolicyStatement"
13136 }
13137 }
13138 ]
13139 },
13140 {
13141 "docs": {
13142 "stability": "stable",
13143 "summary": "Configures options for asynchronous invocation."
13144 },
13145 "locationInModule": {
13146 "filename": "lib/function-base.ts",
13147 "line": 456
13148 },
13149 "name": "configureAsyncInvoke",
13150 "overrides": "@aws-cdk/aws-lambda.IFunction",
13151 "parameters": [
13152 {
13153 "name": "options",
13154 "type": {
13155 "fqn": "@aws-cdk/aws-lambda.EventInvokeConfigOptions"
13156 }
13157 }
13158 ]
13159 },
13160 {
13161 "docs": {
13162 "remarks": "- function.currentVersion is invoked before or after the permission is created.\n\nThis applies only to permissions on Lambda functions, not versions or aliases.\nThis function is overridden as a noOp for QualifiedFunctionBase.",
13163 "stability": "stable",
13164 "summary": "A warning will be added to functions under the following conditions: - permissions that include `lambda:InvokeFunction` are added to the unqualified function."
13165 },
13166 "locationInModule": {
13167 "filename": "lib/function-base.ts",
13168 "line": 319
13169 },
13170 "name": "considerWarningOnInvokeFunctionPermissions",
13171 "parameters": [
13172 {
13173 "name": "scope",
13174 "type": {
13175 "fqn": "@aws-cdk/core.Construct"
13176 }
13177 },
13178 {
13179 "name": "action",
13180 "type": {
13181 "primitive": "string"
13182 }
13183 }
13184 ]
13185 },
13186 {
13187 "docs": {
13188 "stability": "stable",
13189 "summary": "Grant the given identity permissions to invoke this Lambda."
13190 },
13191 "locationInModule": {
13192 "filename": "lib/function-base.ts",
13193 "line": 417
13194 },
13195 "name": "grantInvoke",
13196 "overrides": "@aws-cdk/aws-lambda.IFunction",
13197 "parameters": [
13198 {
13199 "name": "grantee",
13200 "type": {
13201 "fqn": "@aws-cdk/aws-iam.IGrantable"
13202 }
13203 }
13204 ],
13205 "returns": {
13206 "type": {
13207 "fqn": "@aws-cdk/aws-iam.Grant"
13208 }
13209 }
13210 },
13211 {
13212 "docs": {
13213 "stability": "stable",
13214 "summary": "Grant the given identity permissions to invoke this Lambda Function URL."
13215 },
13216 "locationInModule": {
13217 "filename": "lib/function-base.ts",
13218 "line": 438
13219 },
13220 "name": "grantInvokeUrl",
13221 "overrides": "@aws-cdk/aws-lambda.IFunction",
13222 "parameters": [
13223 {
13224 "name": "grantee",
13225 "type": {
13226 "fqn": "@aws-cdk/aws-iam.IGrantable"
13227 }
13228 }
13229 ],
13230 "returns": {
13231 "type": {
13232 "fqn": "@aws-cdk/aws-iam.Grant"
13233 }
13234 }
13235 },
13236 {
13237 "docs": {
13238 "stability": "stable",
13239 "summary": "Return the given named metric for this Function."
13240 },
13241 "locationInModule": {
13242 "filename": "lib/lambda-augmentations.generated.ts",
13243 "line": 41
13244 },
13245 "name": "metric",
13246 "overrides": "@aws-cdk/aws-lambda.IFunction",
13247 "parameters": [
13248 {
13249 "name": "metricName",
13250 "type": {
13251 "primitive": "string"
13252 }
13253 },
13254 {
13255 "name": "props",
13256 "optional": true,
13257 "type": {
13258 "fqn": "@aws-cdk/aws-cloudwatch.MetricOptions"
13259 }
13260 }
13261 ],
13262 "returns": {
13263 "type": {
13264 "fqn": "@aws-cdk/aws-cloudwatch.Metric"
13265 }
13266 }
13267 },
13268 {
13269 "docs": {
13270 "remarks": "Average over 5 minutes",
13271 "stability": "stable",
13272 "summary": "How long execution of this Lambda takes."
13273 },
13274 "locationInModule": {
13275 "filename": "lib/lambda-augmentations.generated.ts",
13276 "line": 65
13277 },
13278 "name": "metricDuration",
13279 "overrides": "@aws-cdk/aws-lambda.IFunction",
13280 "parameters": [
13281 {
13282 "name": "props",
13283 "optional": true,
13284 "type": {
13285 "fqn": "@aws-cdk/aws-cloudwatch.MetricOptions"
13286 }
13287 }
13288 ],
13289 "returns": {
13290 "type": {
13291 "fqn": "@aws-cdk/aws-cloudwatch.Metric"
13292 }
13293 }
13294 },
13295 {
13296 "docs": {
13297 "remarks": "Sum over 5 minutes",
13298 "stability": "stable",
13299 "summary": "How many invocations of this Lambda fail."
13300 },
13301 "locationInModule": {
13302 "filename": "lib/lambda-augmentations.generated.ts",
13303 "line": 59
13304 },
13305 "name": "metricErrors",
13306 "overrides": "@aws-cdk/aws-lambda.IFunction",
13307 "parameters": [
13308 {
13309 "name": "props",
13310 "optional": true,
13311 "type": {
13312 "fqn": "@aws-cdk/aws-cloudwatch.MetricOptions"
13313 }
13314 }
13315 ],
13316 "returns": {
13317 "type": {
13318 "fqn": "@aws-cdk/aws-cloudwatch.Metric"
13319 }
13320 }
13321 },
13322 {
13323 "docs": {
13324 "remarks": "Sum over 5 minutes",
13325 "stability": "stable",
13326 "summary": "How often this Lambda is invoked."
13327 },
13328 "locationInModule": {
13329 "filename": "lib/lambda-augmentations.generated.ts",
13330 "line": 53
13331 },
13332 "name": "metricInvocations",
13333 "overrides": "@aws-cdk/aws-lambda.IFunction",
13334 "parameters": [
13335 {
13336 "name": "props",
13337 "optional": true,
13338 "type": {
13339 "fqn": "@aws-cdk/aws-cloudwatch.MetricOptions"
13340 }
13341 }
13342 ],
13343 "returns": {
13344 "type": {
13345 "fqn": "@aws-cdk/aws-cloudwatch.Metric"
13346 }
13347 }
13348 },
13349 {
13350 "docs": {
13351 "remarks": "Sum over 5 minutes",
13352 "stability": "stable",
13353 "summary": "How often this Lambda is throttled."
13354 },
13355 "locationInModule": {
13356 "filename": "lib/lambda-augmentations.generated.ts",
13357 "line": 47
13358 },
13359 "name": "metricThrottles",
13360 "overrides": "@aws-cdk/aws-lambda.IFunction",
13361 "parameters": [
13362 {
13363 "name": "props",
13364 "optional": true,
13365 "type": {
13366 "fqn": "@aws-cdk/aws-cloudwatch.MetricOptions"
13367 }
13368 }
13369 ],
13370 "returns": {
13371 "type": {
13372 "fqn": "@aws-cdk/aws-cloudwatch.Metric"
13373 }
13374 }
13375 },
13376 {
13377 "docs": {
13378 "stability": "stable"
13379 },
13380 "locationInModule": {
13381 "filename": "lib/function-base.ts",
13382 "line": 330
13383 },
13384 "name": "warnInvokeFunctionPermissions",
13385 "parameters": [
13386 {
13387 "name": "scope",
13388 "type": {
13389 "fqn": "@aws-cdk/core.Construct"
13390 }
13391 }
13392 ],
13393 "protected": true
13394 }
13395 ],
13396 "name": "FunctionBase",
13397 "properties": [
13398 {
13399 "abstract": true,
13400 "docs": {
13401 "stability": "stable",
13402 "summary": "The architecture of this Lambda Function."
13403 },
13404 "immutable": true,
13405 "locationInModule": {
13406 "filename": "lib/function-base.ts",
13407 "line": 259
13408 },
13409 "name": "architecture",
13410 "overrides": "@aws-cdk/aws-lambda.IFunction",
13411 "type": {
13412 "fqn": "@aws-cdk/aws-lambda.Architecture"
13413 }
13414 },
13415 {
13416 "abstract": true,
13417 "docs": {
13418 "remarks": "True for new Lambdas, false for version $LATEST and imported Lambdas\nfrom different accounts.",
13419 "stability": "stable",
13420 "summary": "Whether the addPermission() call adds any permissions."
13421 },
13422 "immutable": true,
13423 "locationInModule": {
13424 "filename": "lib/function-base.ts",
13425 "line": 267
13426 },
13427 "name": "canCreatePermissions",
13428 "protected": true,
13429 "type": {
13430 "primitive": "boolean"
13431 }
13432 },
13433 {
13434 "docs": {
13435 "remarks": "Will fail if not a VPC-enabled Lambda Function",
13436 "stability": "stable",
13437 "summary": "Access the Connections object."
13438 },
13439 "immutable": true,
13440 "locationInModule": {
13441 "filename": "lib/function-base.ts",
13442 "line": 383
13443 },
13444 "name": "connections",
13445 "overrides": "@aws-cdk/aws-ec2.IConnectable",
13446 "type": {
13447 "fqn": "@aws-cdk/aws-ec2.Connections"
13448 }
13449 },
13450 {
13451 "abstract": true,
13452 "docs": {
13453 "stability": "stable",
13454 "summary": "The ARN fo the function."
13455 },
13456 "immutable": true,
13457 "locationInModule": {
13458 "filename": "lib/function-base.ts",
13459 "line": 242
13460 },
13461 "name": "functionArn",
13462 "overrides": "@aws-cdk/aws-lambda.IFunction",
13463 "type": {
13464 "primitive": "string"
13465 }
13466 },
13467 {
13468 "abstract": true,
13469 "docs": {
13470 "stability": "stable",
13471 "summary": "The name of the function."
13472 },
13473 "immutable": true,
13474 "locationInModule": {
13475 "filename": "lib/function-base.ts",
13476 "line": 237
13477 },
13478 "name": "functionName",
13479 "overrides": "@aws-cdk/aws-lambda.IFunction",
13480 "type": {
13481 "primitive": "string"
13482 }
13483 },
13484 {
13485 "abstract": true,
13486 "docs": {
13487 "stability": "stable",
13488 "summary": "The principal this Lambda Function is running as."
13489 },
13490 "immutable": true,
13491 "locationInModule": {
13492 "filename": "lib/function-base.ts",
13493 "line": 232
13494 },
13495 "name": "grantPrincipal",
13496 "overrides": "@aws-cdk/aws-iam.IGrantable",
13497 "type": {
13498 "fqn": "@aws-cdk/aws-iam.IPrincipal"
13499 }
13500 },
13501 {
13502 "docs": {
13503 "remarks": "If this is is `false`, trying to access the `connections` object will fail.",
13504 "stability": "stable",
13505 "summary": "Whether or not this Lambda function was bound to a VPC."
13506 },
13507 "immutable": true,
13508 "locationInModule": {
13509 "filename": "lib/function-base.ts",
13510 "line": 403
13511 },
13512 "name": "isBoundToVpc",
13513 "overrides": "@aws-cdk/aws-lambda.IFunction",
13514 "type": {
13515 "primitive": "boolean"
13516 }
13517 },
13518 {
13519 "docs": {
13520 "remarks": "Note that this is reference to a non-specific AWS Lambda version, which\nmeans the function this version refers to can return different results in\ndifferent invocations.\n\nTo obtain a reference to an explicit version which references the current\nfunction configuration, use `lambdaFunction.currentVersion` instead.",
13521 "stability": "stable",
13522 "summary": "The `$LATEST` version of this function."
13523 },
13524 "immutable": true,
13525 "locationInModule": {
13526 "filename": "lib/function-base.ts",
13527 "line": 391
13528 },
13529 "name": "latestVersion",
13530 "overrides": "@aws-cdk/aws-lambda.IFunction",
13531 "type": {
13532 "fqn": "@aws-cdk/aws-lambda.IVersion"
13533 }
13534 },
13535 {
13536 "abstract": true,
13537 "docs": {
13538 "stability": "stable",
13539 "summary": "The construct node where permissions are attached."
13540 },
13541 "immutable": true,
13542 "locationInModule": {
13543 "filename": "lib/function-base.ts",
13544 "line": 254
13545 },
13546 "name": "permissionsNode",
13547 "overrides": "@aws-cdk/aws-lambda.IFunction",
13548 "type": {
13549 "fqn": "@aws-cdk/core.ConstructNode"
13550 }
13551 },
13552 {
13553 "abstract": true,
13554 "docs": {
13555 "stability": "stable",
13556 "summary": "The ARN(s) to put into the resource field of the generated IAM policy for grantInvoke()."
13557 },
13558 "immutable": true,
13559 "locationInModule": {
13560 "filename": "lib/function-base.ts",
13561 "line": 272
13562 },
13563 "name": "resourceArnsForGrantInvoke",
13564 "overrides": "@aws-cdk/aws-lambda.IFunction",
13565 "type": {
13566 "collection": {
13567 "elementtype": {
13568 "primitive": "string"
13569 },
13570 "kind": "array"
13571 }
13572 }
13573 },
13574 {
13575 "abstract": true,
13576 "docs": {
13577 "remarks": "Undefined if the function was imported without a role.",
13578 "stability": "stable",
13579 "summary": "The IAM role associated with this function."
13580 },
13581 "immutable": true,
13582 "locationInModule": {
13583 "filename": "lib/function-base.ts",
13584 "line": 249
13585 },
13586 "name": "role",
13587 "optional": true,
13588 "overrides": "@aws-cdk/aws-lambda.IFunction",
13589 "type": {
13590 "fqn": "@aws-cdk/aws-iam.IRole"
13591 }
13592 }
13593 ],
13594 "symbolId": "lib/function-base:FunctionBase"
13595 },
13596 "@aws-cdk/aws-lambda.FunctionOptions": {
13597 "assembly": "@aws-cdk/aws-lambda",
13598 "datatype": true,
13599 "docs": {
13600 "stability": "stable",
13601 "summary": "Non runtime options.",
13602 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as codeguruprofiler from '@aws-cdk/aws-codeguruprofiler';\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 lambda from '@aws-cdk/aws-lambda';\nimport * as logs from '@aws-cdk/aws-logs';\nimport * as sns from '@aws-cdk/aws-sns';\nimport * as sqs from '@aws-cdk/aws-sqs';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const architecture: lambda.Architecture;\ndeclare const codeSigningConfig: lambda.CodeSigningConfig;\ndeclare const destination: lambda.IDestination;\ndeclare const eventSource: lambda.IEventSource;\ndeclare const fileSystem: lambda.FileSystem;\ndeclare const key: kms.Key;\ndeclare const lambdaInsightsVersion: lambda.LambdaInsightsVersion;\ndeclare const layerVersion: lambda.LayerVersion;\ndeclare const policyStatement: iam.PolicyStatement;\ndeclare const profilingGroup: codeguruprofiler.ProfilingGroup;\ndeclare const queue: sqs.Queue;\ndeclare const role: iam.Role;\ndeclare const securityGroup: ec2.SecurityGroup;\ndeclare const size: cdk.Size;\ndeclare const subnet: ec2.Subnet;\ndeclare const subnetFilter: ec2.SubnetFilter;\ndeclare const topic: sns.Topic;\ndeclare const vpc: ec2.Vpc;\nconst functionOptions: lambda.FunctionOptions = {\n allowAllOutbound: false,\n allowPublicSubnet: false,\n architecture: architecture,\n architectures: [architecture],\n codeSigningConfig: codeSigningConfig,\n currentVersionOptions: {\n codeSha256: 'codeSha256',\n description: 'description',\n maxEventAge: cdk.Duration.minutes(30),\n onFailure: destination,\n onSuccess: destination,\n provisionedConcurrentExecutions: 123,\n removalPolicy: cdk.RemovalPolicy.DESTROY,\n retryAttempts: 123,\n },\n deadLetterQueue: queue,\n deadLetterQueueEnabled: false,\n deadLetterTopic: topic,\n description: 'description',\n environment: {\n environmentKey: 'environment',\n },\n environmentEncryption: key,\n ephemeralStorageSize: size,\n events: [eventSource],\n filesystem: fileSystem,\n functionName: 'functionName',\n initialPolicy: [policyStatement],\n insightsVersion: lambdaInsightsVersion,\n layers: [layerVersion],\n logRetention: logs.RetentionDays.ONE_DAY,\n logRetentionRetryOptions: {\n base: cdk.Duration.minutes(30),\n maxRetries: 123,\n },\n logRetentionRole: role,\n maxEventAge: cdk.Duration.minutes(30),\n memorySize: 123,\n onFailure: destination,\n onSuccess: destination,\n profiling: false,\n profilingGroup: profilingGroup,\n reservedConcurrentExecutions: 123,\n retryAttempts: 123,\n role: role,\n securityGroup: securityGroup,\n securityGroups: [securityGroup],\n timeout: cdk.Duration.minutes(30),\n tracing: lambda.Tracing.ACTIVE,\n vpc: vpc,\n vpcSubnets: {\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};",
13603 "custom": {
13604 "exampleMetadata": "fixture=_generated"
13605 }
13606 },
13607 "fqn": "@aws-cdk/aws-lambda.FunctionOptions",
13608 "interfaces": [
13609 "@aws-cdk/aws-lambda.EventInvokeConfigOptions"
13610 ],
13611 "kind": "interface",
13612 "locationInModule": {
13613 "filename": "lib/function.ts",
13614 "line": 56
13615 },
13616 "name": "FunctionOptions",
13617 "properties": [
13618 {
13619 "abstract": true,
13620 "docs": {
13621 "default": "true",
13622 "remarks": "If set to false, you must individually add traffic rules to allow the\nLambda to connect to network targets.",
13623 "stability": "stable",
13624 "summary": "Whether to allow the Lambda to send all network traffic."
13625 },
13626 "immutable": true,
13627 "locationInModule": {
13628 "filename": "lib/function.ts",
13629 "line": 190
13630 },
13631 "name": "allowAllOutbound",
13632 "optional": true,
13633 "type": {
13634 "primitive": "boolean"
13635 }
13636 },
13637 {
13638 "abstract": true,
13639 "docs": {
13640 "default": "false",
13641 "remarks": "Use this property to acknowledge this limitation and still place the function in a public subnet.",
13642 "see": "https://stackoverflow.com/questions/52992085/why-cant-an-aws-lambda-function-inside-a-public-subnet-in-a-vpc-connect-to-the/52994841#52994841",
13643 "stability": "stable",
13644 "summary": "Lambda Functions in a public subnet can NOT access the internet."
13645 },
13646 "immutable": true,
13647 "locationInModule": {
13648 "filename": "lib/function.ts",
13649 "line": 324
13650 },
13651 "name": "allowPublicSubnet",
13652 "optional": true,
13653 "type": {
13654 "primitive": "boolean"
13655 }
13656 },
13657 {
13658 "abstract": true,
13659 "docs": {
13660 "default": "Architecture.X86_64",
13661 "stability": "stable",
13662 "summary": "The system architectures compatible with this lambda function."
13663 },
13664 "immutable": true,
13665 "locationInModule": {
13666 "filename": "lib/function.ts",
13667 "line": 351
13668 },
13669 "name": "architecture",
13670 "optional": true,
13671 "type": {
13672 "fqn": "@aws-cdk/aws-lambda.Architecture"
13673 }
13674 },
13675 {
13676 "abstract": true,
13677 "docs": {
13678 "default": "[Architecture.X86_64]",
13679 "deprecated": "use `architecture`",
13680 "stability": "deprecated",
13681 "summary": "DEPRECATED."
13682 },
13683 "immutable": true,
13684 "locationInModule": {
13685 "filename": "lib/function.ts",
13686 "line": 345
13687 },
13688 "name": "architectures",
13689 "optional": true,
13690 "type": {
13691 "collection": {
13692 "elementtype": {
13693 "fqn": "@aws-cdk/aws-lambda.Architecture"
13694 },
13695 "kind": "array"
13696 }
13697 }
13698 },
13699 {
13700 "abstract": true,
13701 "docs": {
13702 "default": "- Not Sign the Code",
13703 "stability": "stable",
13704 "summary": "Code signing config associated with this function."
13705 },
13706 "immutable": true,
13707 "locationInModule": {
13708 "filename": "lib/function.ts",
13709 "line": 338
13710 },
13711 "name": "codeSigningConfig",
13712 "optional": true,
13713 "type": {
13714 "fqn": "@aws-cdk/aws-lambda.ICodeSigningConfig"
13715 }
13716 },
13717 {
13718 "abstract": true,
13719 "docs": {
13720 "default": "- default options as described in `VersionOptions`",
13721 "stability": "stable",
13722 "summary": "Options for the `lambda.Version` resource automatically created by the `fn.currentVersion` method."
13723 },
13724 "immutable": true,
13725 "locationInModule": {
13726 "filename": "lib/function.ts",
13727 "line": 308
13728 },
13729 "name": "currentVersionOptions",
13730 "optional": true,
13731 "type": {
13732 "fqn": "@aws-cdk/aws-lambda.VersionOptions"
13733 }
13734 },
13735 {
13736 "abstract": true,
13737 "docs": {
13738 "default": "- SQS queue with 14 day retention period if `deadLetterQueueEnabled` is `true`",
13739 "remarks": "If SNS topic is desired, specify `deadLetterTopic` property instead.",
13740 "stability": "stable",
13741 "summary": "The SQS queue to use if DLQ is enabled."
13742 },
13743 "immutable": true,
13744 "locationInModule": {
13745 "filename": "lib/function.ts",
13746 "line": 206
13747 },
13748 "name": "deadLetterQueue",
13749 "optional": true,
13750 "type": {
13751 "fqn": "@aws-cdk/aws-sqs.IQueue"
13752 }
13753 },
13754 {
13755 "abstract": true,
13756 "docs": {
13757 "default": "- false unless `deadLetterQueue` is set, which implies DLQ is enabled.",
13758 "remarks": "If `deadLetterQueue` is undefined,\nan SQS queue with default options will be defined for your Function.",
13759 "stability": "stable",
13760 "summary": "Enabled DLQ."
13761 },
13762 "immutable": true,
13763 "locationInModule": {
13764 "filename": "lib/function.ts",
13765 "line": 198
13766 },
13767 "name": "deadLetterQueueEnabled",
13768 "optional": true,
13769 "type": {
13770 "primitive": "boolean"
13771 }
13772 },
13773 {
13774 "abstract": true,
13775 "docs": {
13776 "default": "- no SNS topic",
13777 "remarks": "Note that if `deadLetterQueueEnabled` is set to `true`, an SQS queue will be created\nrather than an SNS topic. Using an SNS topic as a DLQ requires this property to be set explicitly.",
13778 "stability": "stable",
13779 "summary": "The SNS topic to use as a DLQ."
13780 },
13781 "immutable": true,
13782 "locationInModule": {
13783 "filename": "lib/function.ts",
13784 "line": 215
13785 },
13786 "name": "deadLetterTopic",
13787 "optional": true,
13788 "type": {
13789 "fqn": "@aws-cdk/aws-sns.ITopic"
13790 }
13791 },
13792 {
13793 "abstract": true,
13794 "docs": {
13795 "default": "- No description.",
13796 "stability": "stable",
13797 "summary": "A description of the function."
13798 },
13799 "immutable": true,
13800 "locationInModule": {
13801 "filename": "lib/function.ts",
13802 "line": 62
13803 },
13804 "name": "description",
13805 "optional": true,
13806 "type": {
13807 "primitive": "string"
13808 }
13809 },
13810 {
13811 "abstract": true,
13812 "docs": {
13813 "default": "- No environment variables.",
13814 "remarks": "Use environment variables to apply configuration changes, such\nas test and production environment configurations, without changing your\nLambda function source code.",
13815 "stability": "stable",
13816 "summary": "Key-value pairs that Lambda caches and makes available for your Lambda functions."
13817 },
13818 "immutable": true,
13819 "locationInModule": {
13820 "filename": "lib/function.ts",
13821 "line": 81
13822 },
13823 "name": "environment",
13824 "optional": true,
13825 "type": {
13826 "collection": {
13827 "elementtype": {
13828 "primitive": "string"
13829 },
13830 "kind": "map"
13831 }
13832 }
13833 },
13834 {
13835 "abstract": true,
13836 "docs": {
13837 "default": "- AWS Lambda creates and uses an AWS managed customer master key (CMK).",
13838 "stability": "stable",
13839 "summary": "The AWS KMS key that's used to encrypt your function's environment variables."
13840 },
13841 "immutable": true,
13842 "locationInModule": {
13843 "filename": "lib/function.ts",
13844 "line": 331
13845 },
13846 "name": "environmentEncryption",
13847 "optional": true,
13848 "type": {
13849 "fqn": "@aws-cdk/aws-kms.IKey"
13850 }
13851 },
13852 {
13853 "abstract": true,
13854 "docs": {
13855 "default": "512 MiB",
13856 "stability": "stable",
13857 "summary": "The size of the function’s /tmp directory in MiB."
13858 },
13859 "immutable": true,
13860 "locationInModule": {
13861 "filename": "lib/function.ts",
13862 "line": 106
13863 },
13864 "name": "ephemeralStorageSize",
13865 "optional": true,
13866 "type": {
13867 "fqn": "@aws-cdk/core.Size"
13868 }
13869 },
13870 {
13871 "abstract": true,
13872 "docs": {
13873 "default": "- No event sources.",
13874 "remarks": "You can also add event sources using `addEventSource`.",
13875 "stability": "stable",
13876 "summary": "Event sources for this function."
13877 },
13878 "immutable": true,
13879 "locationInModule": {
13880 "filename": "lib/function.ts",
13881 "line": 276
13882 },
13883 "name": "events",
13884 "optional": true,
13885 "type": {
13886 "collection": {
13887 "elementtype": {
13888 "fqn": "@aws-cdk/aws-lambda.IEventSource"
13889 },
13890 "kind": "array"
13891 }
13892 }
13893 },
13894 {
13895 "abstract": true,
13896 "docs": {
13897 "default": "- will not mount any filesystem",
13898 "stability": "stable",
13899 "summary": "The filesystem configuration for the lambda function."
13900 },
13901 "immutable": true,
13902 "locationInModule": {
13903 "filename": "lib/function.ts",
13904 "line": 315
13905 },
13906 "name": "filesystem",
13907 "optional": true,
13908 "type": {
13909 "fqn": "@aws-cdk/aws-lambda.FileSystem"
13910 }
13911 },
13912 {
13913 "abstract": true,
13914 "docs": {
13915 "default": "- AWS CloudFormation generates a unique physical ID and uses that\nID for the function's name. For more information, see Name Type.",
13916 "stability": "stable",
13917 "summary": "A name for the function."
13918 },
13919 "immutable": true,
13920 "locationInModule": {
13921 "filename": "lib/function.ts",
13922 "line": 89
13923 },
13924 "name": "functionName",
13925 "optional": true,
13926 "type": {
13927 "primitive": "string"
13928 }
13929 },
13930 {
13931 "abstract": true,
13932 "docs": {
13933 "default": "- No policy statements are added to the created Lambda role.",
13934 "remarks": "You can call `addToRolePolicy` to the created lambda to add statements post creation.",
13935 "stability": "stable",
13936 "summary": "Initial policy statements to add to the created Lambda Role."
13937 },
13938 "immutable": true,
13939 "locationInModule": {
13940 "filename": "lib/function.ts",
13941 "line": 115
13942 },
13943 "name": "initialPolicy",
13944 "optional": true,
13945 "type": {
13946 "collection": {
13947 "elementtype": {
13948 "fqn": "@aws-cdk/aws-iam.PolicyStatement"
13949 },
13950 "kind": "array"
13951 }
13952 }
13953 },
13954 {
13955 "abstract": true,
13956 "docs": {
13957 "default": "- No Lambda Insights",
13958 "see": "https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Lambda-Insights-Getting-Started-docker.html",
13959 "stability": "stable",
13960 "summary": "Specify the version of CloudWatch Lambda insights to use for monitoring."
13961 },
13962 "immutable": true,
13963 "locationInModule": {
13964 "filename": "lib/function.ts",
13965 "line": 250
13966 },
13967 "name": "insightsVersion",
13968 "optional": true,
13969 "type": {
13970 "fqn": "@aws-cdk/aws-lambda.LambdaInsightsVersion"
13971 }
13972 },
13973 {
13974 "abstract": true,
13975 "docs": {
13976 "default": "- No layers.",
13977 "remarks": "You can configure your Lambda function to pull in\nadditional code during initialization in the form of layers. Layers are packages of libraries or other dependencies\nthat can be used by multiple functions.",
13978 "stability": "stable",
13979 "summary": "A list of layers to add to the function's execution environment."
13980 },
13981 "immutable": true,
13982 "locationInModule": {
13983 "filename": "lib/function.ts",
13984 "line": 259
13985 },
13986 "name": "layers",
13987 "optional": true,
13988 "type": {
13989 "collection": {
13990 "elementtype": {
13991 "fqn": "@aws-cdk/aws-lambda.ILayerVersion"
13992 },
13993 "kind": "array"
13994 }
13995 }
13996 },
13997 {
13998 "abstract": true,
13999 "docs": {
14000 "default": "logs.RetentionDays.INFINITE",
14001 "remarks": "When updating\nthis property, unsetting it doesn't remove the log retention policy. To\nremove the retention policy, set the value to `INFINITE`.",
14002 "stability": "stable",
14003 "summary": "The number of days log events are kept in CloudWatch Logs."
14004 },
14005 "immutable": true,
14006 "locationInModule": {
14007 "filename": "lib/function.ts",
14008 "line": 285
14009 },
14010 "name": "logRetention",
14011 "optional": true,
14012 "type": {
14013 "fqn": "@aws-cdk/aws-logs.RetentionDays"
14014 }
14015 },
14016 {
14017 "abstract": true,
14018 "docs": {
14019 "default": "- Default AWS SDK retry options.",
14020 "remarks": "These options control the retry policy when interacting with CloudWatch APIs.",
14021 "stability": "stable",
14022 "summary": "When log retention is specified, a custom resource attempts to create the CloudWatch log group."
14023 },
14024 "immutable": true,
14025 "locationInModule": {
14026 "filename": "lib/function.ts",
14027 "line": 301
14028 },
14029 "name": "logRetentionRetryOptions",
14030 "optional": true,
14031 "type": {
14032 "fqn": "@aws-cdk/aws-lambda.LogRetentionRetryOptions"
14033 }
14034 },
14035 {
14036 "abstract": true,
14037 "docs": {
14038 "default": "- A new role is created.",
14039 "stability": "stable",
14040 "summary": "The IAM role for the Lambda function associated with the custom resource that sets the retention policy."
14041 },
14042 "immutable": true,
14043 "locationInModule": {
14044 "filename": "lib/function.ts",
14045 "line": 293
14046 },
14047 "name": "logRetentionRole",
14048 "optional": true,
14049 "type": {
14050 "fqn": "@aws-cdk/aws-iam.IRole"
14051 }
14052 },
14053 {
14054 "abstract": true,
14055 "docs": {
14056 "default": "128",
14057 "remarks": "Lambda uses this value to proportionally allocate the amount of CPU\npower. For more information, see Resource Model in the AWS Lambda\nDeveloper Guide.",
14058 "stability": "stable",
14059 "summary": "The amount of memory, in MB, that is allocated to your Lambda function."
14060 },
14061 "immutable": true,
14062 "locationInModule": {
14063 "filename": "lib/function.ts",
14064 "line": 99
14065 },
14066 "name": "memorySize",
14067 "optional": true,
14068 "type": {
14069 "primitive": "number"
14070 }
14071 },
14072 {
14073 "abstract": true,
14074 "docs": {
14075 "default": "- No profiling.",
14076 "see": "https://docs.aws.amazon.com/codeguru/latest/profiler-ug/setting-up-lambda.html",
14077 "stability": "stable",
14078 "summary": "Enable profiling."
14079 },
14080 "immutable": true,
14081 "locationInModule": {
14082 "filename": "lib/function.ts",
14083 "line": 230
14084 },
14085 "name": "profiling",
14086 "optional": true,
14087 "type": {
14088 "primitive": "boolean"
14089 }
14090 },
14091 {
14092 "abstract": true,
14093 "docs": {
14094 "default": "- A new profiling group will be created if `profiling` is set.",
14095 "see": "https://docs.aws.amazon.com/codeguru/latest/profiler-ug/setting-up-lambda.html",
14096 "stability": "stable",
14097 "summary": "Profiling Group."
14098 },
14099 "immutable": true,
14100 "locationInModule": {
14101 "filename": "lib/function.ts",
14102 "line": 238
14103 },
14104 "name": "profilingGroup",
14105 "optional": true,
14106 "type": {
14107 "fqn": "@aws-cdk/aws-codeguruprofiler.IProfilingGroup"
14108 }
14109 },
14110 {
14111 "abstract": true,
14112 "docs": {
14113 "default": "- No specific limit - account limit.",
14114 "see": "https://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html",
14115 "stability": "stable",
14116 "summary": "The maximum of concurrent executions you want to reserve for the function."
14117 },
14118 "immutable": true,
14119 "locationInModule": {
14120 "filename": "lib/function.ts",
14121 "line": 267
14122 },
14123 "name": "reservedConcurrentExecutions",
14124 "optional": true,
14125 "type": {
14126 "primitive": "number"
14127 }
14128 },
14129 {
14130 "abstract": true,
14131 "docs": {
14132 "default": "- A unique role will be generated for this lambda function.\nBoth supplied and generated roles can always be changed by calling `addToRolePolicy`.",
14133 "remarks": "This is the role that will be assumed by the function upon execution.\nIt controls the permissions that the function will have. The Role must\nbe assumable by the 'lambda.amazonaws.com' service principal.\n\nThe default Role automatically has permissions granted for Lambda execution. If you\nprovide a Role, you must add the relevant AWS managed policies yourself.\n\nThe relevant managed policies are \"service-role/AWSLambdaBasicExecutionRole\" and\n\"service-role/AWSLambdaVPCAccessExecutionRole\".",
14134 "stability": "stable",
14135 "summary": "Lambda execution role."
14136 },
14137 "immutable": true,
14138 "locationInModule": {
14139 "filename": "lib/function.ts",
14140 "line": 133
14141 },
14142 "name": "role",
14143 "optional": true,
14144 "type": {
14145 "fqn": "@aws-cdk/aws-iam.IRole"
14146 }
14147 },
14148 {
14149 "abstract": true,
14150 "docs": {
14151 "default": "- If the function is placed within a VPC and a security group is\nnot specified, either by this or securityGroups prop, a dedicated security\ngroup will be created for this function.",
14152 "deprecated": "- This property is deprecated, use securityGroups instead",
14153 "remarks": "Only used if 'vpc' is supplied.\n\nUse securityGroups property instead.\nFunction constructor will throw an error if both are specified.",
14154 "stability": "deprecated",
14155 "summary": "What security group to associate with the Lambda's network interfaces. This property is being deprecated, consider using securityGroups instead."
14156 },
14157 "immutable": true,
14158 "locationInModule": {
14159 "filename": "lib/function.ts",
14160 "line": 169
14161 },
14162 "name": "securityGroup",
14163 "optional": true,
14164 "type": {
14165 "fqn": "@aws-cdk/aws-ec2.ISecurityGroup"
14166 }
14167 },
14168 {
14169 "abstract": true,
14170 "docs": {
14171 "default": "- If the function is placed within a VPC and a security group is\nnot specified, either by this or securityGroup prop, a dedicated security\ngroup will be created for this function.",
14172 "remarks": "Only used if 'vpc' is supplied.",
14173 "stability": "stable",
14174 "summary": "The list of security groups to associate with the Lambda's network interfaces."
14175 },
14176 "immutable": true,
14177 "locationInModule": {
14178 "filename": "lib/function.ts",
14179 "line": 180
14180 },
14181 "name": "securityGroups",
14182 "optional": true,
14183 "type": {
14184 "collection": {
14185 "elementtype": {
14186 "fqn": "@aws-cdk/aws-ec2.ISecurityGroup"
14187 },
14188 "kind": "array"
14189 }
14190 }
14191 },
14192 {
14193 "abstract": true,
14194 "docs": {
14195 "default": "Duration.seconds(3)",
14196 "remarks": "Because the execution time affects cost, set this value\nbased on the function's expected execution time.",
14197 "stability": "stable",
14198 "summary": "The function execution time (in seconds) after which Lambda terminates the function."
14199 },
14200 "immutable": true,
14201 "locationInModule": {
14202 "filename": "lib/function.ts",
14203 "line": 71
14204 },
14205 "name": "timeout",
14206 "optional": true,
14207 "type": {
14208 "fqn": "@aws-cdk/core.Duration"
14209 }
14210 },
14211 {
14212 "abstract": true,
14213 "docs": {
14214 "default": "Tracing.Disabled",
14215 "stability": "stable",
14216 "summary": "Enable AWS X-Ray Tracing for Lambda Function."
14217 },
14218 "immutable": true,
14219 "locationInModule": {
14220 "filename": "lib/function.ts",
14221 "line": 222
14222 },
14223 "name": "tracing",
14224 "optional": true,
14225 "type": {
14226 "fqn": "@aws-cdk/aws-lambda.Tracing"
14227 }
14228 },
14229 {
14230 "abstract": true,
14231 "docs": {
14232 "default": "- Function is not placed within a VPC.",
14233 "remarks": "Specify this if the Lambda function needs to access resources in a VPC.",
14234 "stability": "stable",
14235 "summary": "VPC network to place Lambda network interfaces."
14236 },
14237 "immutable": true,
14238 "locationInModule": {
14239 "filename": "lib/function.ts",
14240 "line": 142
14241 },
14242 "name": "vpc",
14243 "optional": true,
14244 "type": {
14245 "fqn": "@aws-cdk/aws-ec2.IVpc"
14246 }
14247 },
14248 {
14249 "abstract": true,
14250 "docs": {
14251 "default": "- the Vpc default strategy if not specified",
14252 "remarks": "Only used if 'vpc' is supplied. Note: internet access for Lambdas\nrequires a NAT gateway, so picking Public subnets is not allowed.",
14253 "stability": "stable",
14254 "summary": "Where to place the network interfaces within the VPC."
14255 },
14256 "immutable": true,
14257 "locationInModule": {
14258 "filename": "lib/function.ts",
14259 "line": 152
14260 },
14261 "name": "vpcSubnets",
14262 "optional": true,
14263 "type": {
14264 "fqn": "@aws-cdk/aws-ec2.SubnetSelection"
14265 }
14266 }
14267 ],
14268 "symbolId": "lib/function:FunctionOptions"
14269 },
14270 "@aws-cdk/aws-lambda.FunctionProps": {
14271 "assembly": "@aws-cdk/aws-lambda",
14272 "datatype": true,
14273 "docs": {
14274 "stability": "stable",
14275 "example": "import * as lambda from '@aws-cdk/aws-lambda';\n\nconst fn = new lambda.Function(this, 'MyFunc', {\n runtime: lambda.Runtime.NODEJS_12_X,\n handler: 'index.handler',\n code: lambda.Code.fromInline(`exports.handler = handler.toString()`),\n});\n\nconst rule = new events.Rule(this, 'rule', {\n eventPattern: {\n source: [\"aws.ec2\"],\n },\n});\n\nconst queue = new sqs.Queue(this, 'Queue');\n\nrule.addTarget(new targets.LambdaFunction(fn, {\n deadLetterQueue: queue, // Optional: add a dead letter queue\n maxEventAge: cdk.Duration.hours(2), // Optional: set the maxEventAge retry policy\n retryAttempts: 2, // Optional: set the max number of retry attempts\n}));",
14276 "custom": {
14277 "exampleMetadata": "infused"
14278 }
14279 },
14280 "fqn": "@aws-cdk/aws-lambda.FunctionProps",
14281 "interfaces": [
14282 "@aws-cdk/aws-lambda.FunctionOptions"
14283 ],
14284 "kind": "interface",
14285 "locationInModule": {
14286 "filename": "lib/function.ts",
14287 "line": 354
14288 },
14289 "name": "FunctionProps",
14290 "properties": [
14291 {
14292 "abstract": true,
14293 "docs": {
14294 "remarks": "You can point to a file in an\nAmazon Simple Storage Service (Amazon S3) bucket or specify your source\ncode as inline text.",
14295 "stability": "stable",
14296 "summary": "The source code of your Lambda function."
14297 },
14298 "immutable": true,
14299 "locationInModule": {
14300 "filename": "lib/function.ts",
14301 "line": 369
14302 },
14303 "name": "code",
14304 "type": {
14305 "fqn": "@aws-cdk/aws-lambda.Code"
14306 }
14307 },
14308 {
14309 "abstract": true,
14310 "docs": {
14311 "remarks": "The format includes the file name. It can also include\nnamespaces and other qualifiers, depending on the runtime.\nFor more information, see https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-features.html#gettingstarted-features-programmingmodel.\n\nUse `Handler.FROM_IMAGE` when defining a function from a Docker image.\n\nNOTE: If you specify your source code as inline text by specifying the\nZipFile property within the Code property, specify index.function_name as\nthe handler.",
14312 "stability": "stable",
14313 "summary": "The name of the method within your code that Lambda calls to execute your function."
14314 },
14315 "immutable": true,
14316 "locationInModule": {
14317 "filename": "lib/function.ts",
14318 "line": 383
14319 },
14320 "name": "handler",
14321 "type": {
14322 "primitive": "string"
14323 }
14324 },
14325 {
14326 "abstract": true,
14327 "docs": {
14328 "remarks": "For valid values, see the Runtime property in the AWS Lambda Developer\nGuide.\n\nUse `Runtime.FROM_IMAGE` when when defining a function from a Docker image.",
14329 "stability": "stable",
14330 "summary": "The runtime environment for the Lambda function that you are uploading."
14331 },
14332 "immutable": true,
14333 "locationInModule": {
14334 "filename": "lib/function.ts",
14335 "line": 362
14336 },
14337 "name": "runtime",
14338 "type": {
14339 "fqn": "@aws-cdk/aws-lambda.Runtime"
14340 }
14341 }
14342 ],
14343 "symbolId": "lib/function:FunctionProps"
14344 },
14345 "@aws-cdk/aws-lambda.FunctionUrl": {
14346 "assembly": "@aws-cdk/aws-lambda",
14347 "base": "@aws-cdk/core.Resource",
14348 "docs": {
14349 "custom": {
14350 "resource": "AWS::Lambda::Url",
14351 "exampleMetadata": "infused"
14352 },
14353 "stability": "stable",
14354 "summary": "Defines a Lambda function url.",
14355 "example": "// Can be a Function or an Alias\ndeclare const fn: lambda.Function;\ndeclare const myRole: iam.Role;\n\nconst fnUrl = fn.addFunctionUrl();\nfnUrl.grantInvokeUrl(myRole);\n\nnew CfnOutput(this, 'TheUrl', {\n // The .url attributes will return the unique Function URL\n value: fnUrl.url,\n});"
14356 },
14357 "fqn": "@aws-cdk/aws-lambda.FunctionUrl",
14358 "initializer": {
14359 "docs": {
14360 "stability": "stable"
14361 },
14362 "locationInModule": {
14363 "filename": "lib/function-url.ts",
14364 "line": 181
14365 },
14366 "parameters": [
14367 {
14368 "name": "scope",
14369 "type": {
14370 "fqn": "constructs.Construct"
14371 }
14372 },
14373 {
14374 "name": "id",
14375 "type": {
14376 "primitive": "string"
14377 }
14378 },
14379 {
14380 "name": "props",
14381 "type": {
14382 "fqn": "@aws-cdk/aws-lambda.FunctionUrlProps"
14383 }
14384 }
14385 ]
14386 },
14387 "interfaces": [
14388 "@aws-cdk/aws-lambda.IFunctionUrl"
14389 ],
14390 "kind": "class",
14391 "locationInModule": {
14392 "filename": "lib/function-url.ts",
14393 "line": 168
14394 },
14395 "methods": [
14396 {
14397 "docs": {
14398 "stability": "stable",
14399 "summary": "Grant the given identity permissions to invoke this Lambda Function URL."
14400 },
14401 "locationInModule": {
14402 "filename": "lib/function-url.ts",
14403 "line": 219
14404 },
14405 "name": "grantInvokeUrl",
14406 "overrides": "@aws-cdk/aws-lambda.IFunctionUrl",
14407 "parameters": [
14408 {
14409 "name": "grantee",
14410 "type": {
14411 "fqn": "@aws-cdk/aws-iam.IGrantable"
14412 }
14413 }
14414 ],
14415 "returns": {
14416 "type": {
14417 "fqn": "@aws-cdk/aws-iam.Grant"
14418 }
14419 }
14420 }
14421 ],
14422 "name": "FunctionUrl",
14423 "properties": [
14424 {
14425 "docs": {
14426 "stability": "stable",
14427 "summary": "The ARN of the function this URL refers to."
14428 },
14429 "immutable": true,
14430 "locationInModule": {
14431 "filename": "lib/function-url.ts",
14432 "line": 177
14433 },
14434 "name": "functionArn",
14435 "overrides": "@aws-cdk/aws-lambda.IFunctionUrl",
14436 "type": {
14437 "primitive": "string"
14438 }
14439 },
14440 {
14441 "docs": {
14442 "stability": "stable",
14443 "summary": "The url of the Lambda function."
14444 },
14445 "immutable": true,
14446 "locationInModule": {
14447 "filename": "lib/function-url.ts",
14448 "line": 172
14449 },
14450 "name": "url",
14451 "overrides": "@aws-cdk/aws-lambda.IFunctionUrl",
14452 "type": {
14453 "primitive": "string"
14454 }
14455 }
14456 ],
14457 "symbolId": "lib/function-url:FunctionUrl"
14458 },
14459 "@aws-cdk/aws-lambda.FunctionUrlAuthType": {
14460 "assembly": "@aws-cdk/aws-lambda",
14461 "docs": {
14462 "stability": "stable",
14463 "summary": "The auth types for a function url.",
14464 "example": "// Can be a Function or an Alias\ndeclare const fn: lambda.Function;\n\nconst fnUrl = fn.addFunctionUrl({\n authType: lambda.FunctionUrlAuthType.NONE,\n});\n\nnew CfnOutput(this, 'TheUrl', {\n value: fnUrl.url,\n});",
14465 "custom": {
14466 "exampleMetadata": "infused"
14467 }
14468 },
14469 "fqn": "@aws-cdk/aws-lambda.FunctionUrlAuthType",
14470 "kind": "enum",
14471 "locationInModule": {
14472 "filename": "lib/function-url.ts",
14473 "line": 12
14474 },
14475 "members": [
14476 {
14477 "docs": {
14478 "stability": "stable",
14479 "summary": "Restrict access to authenticated IAM users only."
14480 },
14481 "name": "AWS_IAM"
14482 },
14483 {
14484 "docs": {
14485 "stability": "stable",
14486 "summary": "Bypass IAM authentication to create a public endpoint."
14487 },
14488 "name": "NONE"
14489 }
14490 ],
14491 "name": "FunctionUrlAuthType",
14492 "symbolId": "lib/function-url:FunctionUrlAuthType"
14493 },
14494 "@aws-cdk/aws-lambda.FunctionUrlCorsOptions": {
14495 "assembly": "@aws-cdk/aws-lambda",
14496 "datatype": true,
14497 "docs": {
14498 "stability": "stable",
14499 "summary": "Specifies a cross-origin access property for a function URL.",
14500 "example": "declare const fn: lambda.Function;\n\nfn.addFunctionUrl({\n authType: lambda.FunctionUrlAuthType.NONE,\n cors: {\n // Allow this to be called from websites on https://example.com.\n // Can also be ['*'] to allow all domain.\n allowedOrigins: ['https://example.com'],\n\n // More options are possible here, see the documentation for FunctionUrlCorsOptions\n },\n});",
14501 "custom": {
14502 "exampleMetadata": "infused"
14503 }
14504 },
14505 "fqn": "@aws-cdk/aws-lambda.FunctionUrlCorsOptions",
14506 "kind": "interface",
14507 "locationInModule": {
14508 "filename": "lib/function-url.ts",
14509 "line": 65
14510 },
14511 "name": "FunctionUrlCorsOptions",
14512 "properties": [
14513 {
14514 "abstract": true,
14515 "docs": {
14516 "default": "false",
14517 "stability": "stable",
14518 "summary": "Whether to allow cookies or other credentials in requests to your function URL."
14519 },
14520 "immutable": true,
14521 "locationInModule": {
14522 "filename": "lib/function-url.ts",
14523 "line": 71
14524 },
14525 "name": "allowCredentials",
14526 "optional": true,
14527 "type": {
14528 "primitive": "boolean"
14529 }
14530 },
14531 {
14532 "abstract": true,
14533 "docs": {
14534 "default": "- No headers allowed.",
14535 "stability": "stable",
14536 "summary": "Headers that are specified in the Access-Control-Request-Headers header."
14537 },
14538 "immutable": true,
14539 "locationInModule": {
14540 "filename": "lib/function-url.ts",
14541 "line": 78
14542 },
14543 "name": "allowedHeaders",
14544 "optional": true,
14545 "type": {
14546 "collection": {
14547 "elementtype": {
14548 "primitive": "string"
14549 },
14550 "kind": "array"
14551 }
14552 }
14553 },
14554 {
14555 "abstract": true,
14556 "docs": {
14557 "default": "- [HttpMethod.ALL]",
14558 "stability": "stable",
14559 "summary": "An HTTP method that you allow the origin to execute."
14560 },
14561 "immutable": true,
14562 "locationInModule": {
14563 "filename": "lib/function-url.ts",
14564 "line": 85
14565 },
14566 "name": "allowedMethods",
14567 "optional": true,
14568 "type": {
14569 "collection": {
14570 "elementtype": {
14571 "fqn": "@aws-cdk/aws-lambda.HttpMethod"
14572 },
14573 "kind": "array"
14574 }
14575 }
14576 },
14577 {
14578 "abstract": true,
14579 "docs": {
14580 "default": "- No origins allowed.",
14581 "stability": "stable",
14582 "summary": "One or more origins you want customers to be able to access the bucket from."
14583 },
14584 "immutable": true,
14585 "locationInModule": {
14586 "filename": "lib/function-url.ts",
14587 "line": 92
14588 },
14589 "name": "allowedOrigins",
14590 "optional": true,
14591 "type": {
14592 "collection": {
14593 "elementtype": {
14594 "primitive": "string"
14595 },
14596 "kind": "array"
14597 }
14598 }
14599 },
14600 {
14601 "abstract": true,
14602 "docs": {
14603 "default": "- No headers exposed.",
14604 "stability": "stable",
14605 "summary": "One or more headers in the response that you want customers to be able to access from their applications."
14606 },
14607 "immutable": true,
14608 "locationInModule": {
14609 "filename": "lib/function-url.ts",
14610 "line": 99
14611 },
14612 "name": "exposedHeaders",
14613 "optional": true,
14614 "type": {
14615 "collection": {
14616 "elementtype": {
14617 "primitive": "string"
14618 },
14619 "kind": "array"
14620 }
14621 }
14622 },
14623 {
14624 "abstract": true,
14625 "docs": {
14626 "default": "- Browser default of 5 seconds.",
14627 "stability": "stable",
14628 "summary": "The time in seconds that your browser is to cache the preflight response for the specified resource."
14629 },
14630 "immutable": true,
14631 "locationInModule": {
14632 "filename": "lib/function-url.ts",
14633 "line": 106
14634 },
14635 "name": "maxAge",
14636 "optional": true,
14637 "type": {
14638 "fqn": "@aws-cdk/core.Duration"
14639 }
14640 }
14641 ],
14642 "symbolId": "lib/function-url:FunctionUrlCorsOptions"
14643 },
14644 "@aws-cdk/aws-lambda.FunctionUrlOptions": {
14645 "assembly": "@aws-cdk/aws-lambda",
14646 "datatype": true,
14647 "docs": {
14648 "stability": "stable",
14649 "summary": "Options to add a url to a Lambda function.",
14650 "example": "// Can be a Function or an Alias\ndeclare const fn: lambda.Function;\n\nconst fnUrl = fn.addFunctionUrl({\n authType: lambda.FunctionUrlAuthType.NONE,\n});\n\nnew CfnOutput(this, 'TheUrl', {\n value: fnUrl.url,\n});",
14651 "custom": {
14652 "exampleMetadata": "infused"
14653 }
14654 },
14655 "fqn": "@aws-cdk/aws-lambda.FunctionUrlOptions",
14656 "kind": "interface",
14657 "locationInModule": {
14658 "filename": "lib/function-url.ts",
14659 "line": 136
14660 },
14661 "name": "FunctionUrlOptions",
14662 "properties": [
14663 {
14664 "abstract": true,
14665 "docs": {
14666 "default": "FunctionUrlAuthType.AWS_IAM",
14667 "stability": "stable",
14668 "summary": "The type of authentication that your function URL uses."
14669 },
14670 "immutable": true,
14671 "locationInModule": {
14672 "filename": "lib/function-url.ts",
14673 "line": 142
14674 },
14675 "name": "authType",
14676 "optional": true,
14677 "type": {
14678 "fqn": "@aws-cdk/aws-lambda.FunctionUrlAuthType"
14679 }
14680 },
14681 {
14682 "abstract": true,
14683 "docs": {
14684 "default": "- No CORS configuration.",
14685 "stability": "stable",
14686 "summary": "The cross-origin resource sharing (CORS) settings for your function URL."
14687 },
14688 "immutable": true,
14689 "locationInModule": {
14690 "filename": "lib/function-url.ts",
14691 "line": 149
14692 },
14693 "name": "cors",
14694 "optional": true,
14695 "type": {
14696 "fqn": "@aws-cdk/aws-lambda.FunctionUrlCorsOptions"
14697 }
14698 }
14699 ],
14700 "symbolId": "lib/function-url:FunctionUrlOptions"
14701 },
14702 "@aws-cdk/aws-lambda.FunctionUrlProps": {
14703 "assembly": "@aws-cdk/aws-lambda",
14704 "datatype": true,
14705 "docs": {
14706 "stability": "stable",
14707 "summary": "Properties for a FunctionUrl.",
14708 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const function_: lambda.Function;\nconst functionUrlProps: lambda.FunctionUrlProps = {\n function: function_,\n\n // the properties below are optional\n authType: lambda.FunctionUrlAuthType.AWS_IAM,\n cors: {\n allowCredentials: false,\n allowedHeaders: ['allowedHeaders'],\n allowedMethods: [lambda.HttpMethod.GET],\n allowedOrigins: ['allowedOrigins'],\n exposedHeaders: ['exposedHeaders'],\n maxAge: cdk.Duration.minutes(30),\n },\n};",
14709 "custom": {
14710 "exampleMetadata": "fixture=_generated"
14711 }
14712 },
14713 "fqn": "@aws-cdk/aws-lambda.FunctionUrlProps",
14714 "interfaces": [
14715 "@aws-cdk/aws-lambda.FunctionUrlOptions"
14716 ],
14717 "kind": "interface",
14718 "locationInModule": {
14719 "filename": "lib/function-url.ts",
14720 "line": 155
14721 },
14722 "name": "FunctionUrlProps",
14723 "properties": [
14724 {
14725 "abstract": true,
14726 "docs": {
14727 "remarks": "It can also be an `Alias` but not a `Version`.",
14728 "stability": "stable",
14729 "summary": "The function to which this url refers."
14730 },
14731 "immutable": true,
14732 "locationInModule": {
14733 "filename": "lib/function-url.ts",
14734 "line": 160
14735 },
14736 "name": "function",
14737 "type": {
14738 "fqn": "@aws-cdk/aws-lambda.IFunction"
14739 }
14740 }
14741 ],
14742 "symbolId": "lib/function-url:FunctionUrlProps"
14743 },
14744 "@aws-cdk/aws-lambda.FunctionVersionUpgrade": {
14745 "assembly": "@aws-cdk/aws-lambda",
14746 "docs": {
14747 "remarks": "This can be necessary when the feature flag\nchanges the function hash, as such changes must be associated with a new\nversion. This aspect will change the function description in these cases,\nwhich \"validates\" the new function hash.",
14748 "stability": "stable",
14749 "summary": "Aspect for upgrading function versions when the feature flag provided feature flag present.",
14750 "example": "const stack = new Stack();\nAspects.of(stack).add(new lambda.FunctionVersionUpgrade(LAMBDA_RECOGNIZE_VERSION_PROPS));",
14751 "custom": {
14752 "exampleMetadata": "infused"
14753 }
14754 },
14755 "fqn": "@aws-cdk/aws-lambda.FunctionVersionUpgrade",
14756 "initializer": {
14757 "docs": {
14758 "stability": "stable"
14759 },
14760 "locationInModule": {
14761 "filename": "lib/function.ts",
14762 "line": 1293
14763 },
14764 "parameters": [
14765 {
14766 "name": "featureFlag",
14767 "type": {
14768 "primitive": "string"
14769 }
14770 },
14771 {
14772 "name": "enabled",
14773 "optional": true,
14774 "type": {
14775 "primitive": "boolean"
14776 }
14777 }
14778 ]
14779 },
14780 "interfaces": [
14781 "@aws-cdk/core.IAspect"
14782 ],
14783 "kind": "class",
14784 "locationInModule": {
14785 "filename": "lib/function.ts",
14786 "line": 1292
14787 },
14788 "methods": [
14789 {
14790 "docs": {
14791 "stability": "stable",
14792 "summary": "All aspects can visit an IConstruct."
14793 },
14794 "locationInModule": {
14795 "filename": "lib/function.ts",
14796 "line": 1295
14797 },
14798 "name": "visit",
14799 "overrides": "@aws-cdk/core.IAspect",
14800 "parameters": [
14801 {
14802 "name": "node",
14803 "type": {
14804 "fqn": "@aws-cdk/core.IConstruct"
14805 }
14806 }
14807 ]
14808 }
14809 ],
14810 "name": "FunctionVersionUpgrade",
14811 "symbolId": "lib/function:FunctionVersionUpgrade"
14812 },
14813 "@aws-cdk/aws-lambda.Handler": {
14814 "assembly": "@aws-cdk/aws-lambda",
14815 "docs": {
14816 "stability": "stable",
14817 "summary": "Lambda function handler."
14818 },
14819 "fqn": "@aws-cdk/aws-lambda.Handler",
14820 "kind": "class",
14821 "locationInModule": {
14822 "filename": "lib/handler.ts",
14823 "line": 4
14824 },
14825 "name": "Handler",
14826 "properties": [
14827 {
14828 "const": true,
14829 "docs": {
14830 "stability": "stable",
14831 "summary": "A special handler when the function handler is part of a Docker image."
14832 },
14833 "immutable": true,
14834 "locationInModule": {
14835 "filename": "lib/handler.ts",
14836 "line": 8
14837 },
14838 "name": "FROM_IMAGE",
14839 "static": true,
14840 "type": {
14841 "primitive": "string"
14842 }
14843 }
14844 ],
14845 "symbolId": "lib/handler:Handler"
14846 },
14847 "@aws-cdk/aws-lambda.HttpMethod": {
14848 "assembly": "@aws-cdk/aws-lambda",
14849 "docs": {
14850 "stability": "stable",
14851 "summary": "All http request methods."
14852 },
14853 "fqn": "@aws-cdk/aws-lambda.HttpMethod",
14854 "kind": "enum",
14855 "locationInModule": {
14856 "filename": "lib/function-url.ts",
14857 "line": 27
14858 },
14859 "members": [
14860 {
14861 "docs": {
14862 "stability": "stable",
14863 "summary": "The GET method requests a representation of the specified resource."
14864 },
14865 "name": "GET"
14866 },
14867 {
14868 "docs": {
14869 "stability": "stable",
14870 "summary": "The PUT method replaces all current representations of the target resource with the request payload."
14871 },
14872 "name": "PUT"
14873 },
14874 {
14875 "docs": {
14876 "stability": "stable",
14877 "summary": "The HEAD method asks for a response identical to that of a GET request, but without the response body."
14878 },
14879 "name": "HEAD"
14880 },
14881 {
14882 "docs": {
14883 "stability": "stable",
14884 "summary": "The POST method is used to submit an entity to the specified resource, often causing a change in state or side effects on the server."
14885 },
14886 "name": "POST"
14887 },
14888 {
14889 "docs": {
14890 "stability": "stable",
14891 "summary": "The DELETE method deletes the specified resource."
14892 },
14893 "name": "DELETE"
14894 },
14895 {
14896 "docs": {
14897 "stability": "stable",
14898 "summary": "The PATCH method applies partial modifications to a resource."
14899 },
14900 "name": "PATCH"
14901 },
14902 {
14903 "docs": {
14904 "stability": "stable",
14905 "summary": "The OPTIONS method describes the communication options for the target resource."
14906 },
14907 "name": "OPTIONS"
14908 },
14909 {
14910 "docs": {
14911 "stability": "stable",
14912 "summary": "The wildcard entry to allow all methods."
14913 },
14914 "name": "ALL"
14915 }
14916 ],
14917 "name": "HttpMethod",
14918 "symbolId": "lib/function-url:HttpMethod"
14919 },
14920 "@aws-cdk/aws-lambda.IAlias": {
14921 "assembly": "@aws-cdk/aws-lambda",
14922 "docs": {
14923 "stability": "stable"
14924 },
14925 "fqn": "@aws-cdk/aws-lambda.IAlias",
14926 "interfaces": [
14927 "@aws-cdk/aws-lambda.IFunction"
14928 ],
14929 "kind": "interface",
14930 "locationInModule": {
14931 "filename": "lib/alias.ts",
14932 "line": 14
14933 },
14934 "name": "IAlias",
14935 "properties": [
14936 {
14937 "abstract": true,
14938 "docs": {
14939 "custom": {
14940 "attribute": "true"
14941 },
14942 "stability": "stable",
14943 "summary": "Name of this alias."
14944 },
14945 "immutable": true,
14946 "locationInModule": {
14947 "filename": "lib/alias.ts",
14948 "line": 20
14949 },
14950 "name": "aliasName",
14951 "type": {
14952 "primitive": "string"
14953 }
14954 },
14955 {
14956 "abstract": true,
14957 "docs": {
14958 "stability": "stable",
14959 "summary": "The underlying Lambda function version."
14960 },
14961 "immutable": true,
14962 "locationInModule": {
14963 "filename": "lib/alias.ts",
14964 "line": 25
14965 },
14966 "name": "version",
14967 "type": {
14968 "fqn": "@aws-cdk/aws-lambda.IVersion"
14969 }
14970 }
14971 ],
14972 "symbolId": "lib/alias:IAlias"
14973 },
14974 "@aws-cdk/aws-lambda.ICodeSigningConfig": {
14975 "assembly": "@aws-cdk/aws-lambda",
14976 "docs": {
14977 "stability": "stable",
14978 "summary": "A Code Signing Config."
14979 },
14980 "fqn": "@aws-cdk/aws-lambda.ICodeSigningConfig",
14981 "interfaces": [
14982 "@aws-cdk/core.IResource"
14983 ],
14984 "kind": "interface",
14985 "locationInModule": {
14986 "filename": "lib/code-signing-config.ts",
14987 "line": 25
14988 },
14989 "name": "ICodeSigningConfig",
14990 "properties": [
14991 {
14992 "abstract": true,
14993 "docs": {
14994 "custom": {
14995 "attribute": "true"
14996 },
14997 "stability": "stable",
14998 "summary": "The ARN of Code Signing Config."
14999 },
15000 "immutable": true,
15001 "locationInModule": {
15002 "filename": "lib/code-signing-config.ts",
15003 "line": 30
15004 },
15005 "name": "codeSigningConfigArn",
15006 "type": {
15007 "primitive": "string"
15008 }
15009 },
15010 {
15011 "abstract": true,
15012 "docs": {
15013 "custom": {
15014 "attribute": "true"
15015 },
15016 "stability": "stable",
15017 "summary": "The id of Code Signing Config."
15018 },
15019 "immutable": true,
15020 "locationInModule": {
15021 "filename": "lib/code-signing-config.ts",
15022 "line": 36
15023 },
15024 "name": "codeSigningConfigId",
15025 "type": {
15026 "primitive": "string"
15027 }
15028 }
15029 ],
15030 "symbolId": "lib/code-signing-config:ICodeSigningConfig"
15031 },
15032 "@aws-cdk/aws-lambda.IDestination": {
15033 "assembly": "@aws-cdk/aws-lambda",
15034 "docs": {
15035 "stability": "stable",
15036 "summary": "A Lambda destination."
15037 },
15038 "fqn": "@aws-cdk/aws-lambda.IDestination",
15039 "kind": "interface",
15040 "locationInModule": {
15041 "filename": "lib/destination.ts",
15042 "line": 46
15043 },
15044 "methods": [
15045 {
15046 "abstract": true,
15047 "docs": {
15048 "stability": "stable",
15049 "summary": "Binds this destination to the Lambda function."
15050 },
15051 "locationInModule": {
15052 "filename": "lib/destination.ts",
15053 "line": 50
15054 },
15055 "name": "bind",
15056 "parameters": [
15057 {
15058 "name": "scope",
15059 "type": {
15060 "fqn": "@aws-cdk/core.Construct"
15061 }
15062 },
15063 {
15064 "name": "fn",
15065 "type": {
15066 "fqn": "@aws-cdk/aws-lambda.IFunction"
15067 }
15068 },
15069 {
15070 "name": "options",
15071 "optional": true,
15072 "type": {
15073 "fqn": "@aws-cdk/aws-lambda.DestinationOptions"
15074 }
15075 }
15076 ],
15077 "returns": {
15078 "type": {
15079 "fqn": "@aws-cdk/aws-lambda.DestinationConfig"
15080 }
15081 }
15082 }
15083 ],
15084 "name": "IDestination",
15085 "symbolId": "lib/destination:IDestination"
15086 },
15087 "@aws-cdk/aws-lambda.IEventSource": {
15088 "assembly": "@aws-cdk/aws-lambda",
15089 "docs": {
15090 "stability": "stable",
15091 "summary": "An abstract class which represents an AWS Lambda event source."
15092 },
15093 "fqn": "@aws-cdk/aws-lambda.IEventSource",
15094 "kind": "interface",
15095 "locationInModule": {
15096 "filename": "lib/event-source.ts",
15097 "line": 6
15098 },
15099 "methods": [
15100 {
15101 "abstract": true,
15102 "docs": {
15103 "stability": "stable",
15104 "summary": "Called by `lambda.addEventSource` to allow the event source to bind to this function."
15105 },
15106 "locationInModule": {
15107 "filename": "lib/event-source.ts",
15108 "line": 13
15109 },
15110 "name": "bind",
15111 "parameters": [
15112 {
15113 "docs": {
15114 "summary": "That lambda function to bind to."
15115 },
15116 "name": "target",
15117 "type": {
15118 "fqn": "@aws-cdk/aws-lambda.IFunction"
15119 }
15120 }
15121 ]
15122 }
15123 ],
15124 "name": "IEventSource",
15125 "symbolId": "lib/event-source:IEventSource"
15126 },
15127 "@aws-cdk/aws-lambda.IEventSourceDlq": {
15128 "assembly": "@aws-cdk/aws-lambda",
15129 "docs": {
15130 "stability": "stable",
15131 "summary": "A DLQ for an event source."
15132 },
15133 "fqn": "@aws-cdk/aws-lambda.IEventSourceDlq",
15134 "kind": "interface",
15135 "locationInModule": {
15136 "filename": "lib/dlq.ts",
15137 "line": 17
15138 },
15139 "methods": [
15140 {
15141 "abstract": true,
15142 "docs": {
15143 "stability": "stable",
15144 "summary": "Returns the DLQ destination config of the DLQ."
15145 },
15146 "locationInModule": {
15147 "filename": "lib/dlq.ts",
15148 "line": 21
15149 },
15150 "name": "bind",
15151 "parameters": [
15152 {
15153 "name": "target",
15154 "type": {
15155 "fqn": "@aws-cdk/aws-lambda.IEventSourceMapping"
15156 }
15157 },
15158 {
15159 "name": "targetHandler",
15160 "type": {
15161 "fqn": "@aws-cdk/aws-lambda.IFunction"
15162 }
15163 }
15164 ],
15165 "returns": {
15166 "type": {
15167 "fqn": "@aws-cdk/aws-lambda.DlqDestinationConfig"
15168 }
15169 }
15170 }
15171 ],
15172 "name": "IEventSourceDlq",
15173 "symbolId": "lib/dlq:IEventSourceDlq"
15174 },
15175 "@aws-cdk/aws-lambda.IEventSourceMapping": {
15176 "assembly": "@aws-cdk/aws-lambda",
15177 "docs": {
15178 "see": "https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html",
15179 "stability": "stable",
15180 "summary": "Represents an event source mapping for a lambda function."
15181 },
15182 "fqn": "@aws-cdk/aws-lambda.IEventSourceMapping",
15183 "interfaces": [
15184 "@aws-cdk/core.IResource"
15185 ],
15186 "kind": "interface",
15187 "locationInModule": {
15188 "filename": "lib/event-source-mapping.ts",
15189 "line": 229
15190 },
15191 "name": "IEventSourceMapping",
15192 "properties": [
15193 {
15194 "abstract": true,
15195 "docs": {
15196 "custom": {
15197 "attribute": "true"
15198 },
15199 "stability": "stable",
15200 "summary": "The identifier for this EventSourceMapping."
15201 },
15202 "immutable": true,
15203 "locationInModule": {
15204 "filename": "lib/event-source-mapping.ts",
15205 "line": 234
15206 },
15207 "name": "eventSourceMappingId",
15208 "type": {
15209 "primitive": "string"
15210 }
15211 }
15212 ],
15213 "symbolId": "lib/event-source-mapping:IEventSourceMapping"
15214 },
15215 "@aws-cdk/aws-lambda.IFunction": {
15216 "assembly": "@aws-cdk/aws-lambda",
15217 "docs": {
15218 "stability": "stable"
15219 },
15220 "fqn": "@aws-cdk/aws-lambda.IFunction",
15221 "interfaces": [
15222 "@aws-cdk/core.IResource",
15223 "@aws-cdk/aws-ec2.IConnectable",
15224 "@aws-cdk/aws-iam.IGrantable"
15225 ],
15226 "kind": "interface",
15227 "locationInModule": {
15228 "filename": "lib/function-base.ts",
15229 "line": 21
15230 },
15231 "methods": [
15232 {
15233 "abstract": true,
15234 "docs": {
15235 "remarks": "Event sources are implemented in the @aws-cdk/aws-lambda-event-sources module.\n\nThe following example adds an SQS Queue as an event source:\n```\nimport { SqsEventSource } from '@aws-cdk/aws-lambda-event-sources';\nmyFunction.addEventSource(new SqsEventSource(myQueue));\n```",
15236 "stability": "stable",
15237 "summary": "Adds an event source to this function."
15238 },
15239 "locationInModule": {
15240 "filename": "lib/function-base.ts",
15241 "line": 145
15242 },
15243 "name": "addEventSource",
15244 "parameters": [
15245 {
15246 "name": "source",
15247 "type": {
15248 "fqn": "@aws-cdk/aws-lambda.IEventSource"
15249 }
15250 }
15251 ]
15252 },
15253 {
15254 "abstract": true,
15255 "docs": {
15256 "stability": "stable",
15257 "summary": "Adds an event source that maps to this AWS Lambda function."
15258 },
15259 "locationInModule": {
15260 "filename": "lib/function-base.ts",
15261 "line": 84
15262 },
15263 "name": "addEventSourceMapping",
15264 "parameters": [
15265 {
15266 "docs": {
15267 "summary": "construct ID."
15268 },
15269 "name": "id",
15270 "type": {
15271 "primitive": "string"
15272 }
15273 },
15274 {
15275 "docs": {
15276 "summary": "mapping options."
15277 },
15278 "name": "options",
15279 "type": {
15280 "fqn": "@aws-cdk/aws-lambda.EventSourceMappingOptions"
15281 }
15282 }
15283 ],
15284 "returns": {
15285 "type": {
15286 "fqn": "@aws-cdk/aws-lambda.EventSourceMapping"
15287 }
15288 }
15289 },
15290 {
15291 "abstract": true,
15292 "docs": {
15293 "stability": "stable",
15294 "summary": "Adds a url to this lambda function."
15295 },
15296 "locationInModule": {
15297 "filename": "lib/function-base.ts",
15298 "line": 155
15299 },
15300 "name": "addFunctionUrl",
15301 "parameters": [
15302 {
15303 "name": "options",
15304 "optional": true,
15305 "type": {
15306 "fqn": "@aws-cdk/aws-lambda.FunctionUrlOptions"
15307 }
15308 }
15309 ],
15310 "returns": {
15311 "type": {
15312 "fqn": "@aws-cdk/aws-lambda.FunctionUrl"
15313 }
15314 }
15315 },
15316 {
15317 "abstract": true,
15318 "docs": {
15319 "see": "Permission for details.",
15320 "stability": "stable",
15321 "summary": "Adds a permission to the Lambda resource policy."
15322 },
15323 "locationInModule": {
15324 "filename": "lib/function-base.ts",
15325 "line": 91
15326 },
15327 "name": "addPermission",
15328 "parameters": [
15329 {
15330 "docs": {
15331 "summary": "The id for the permission construct."
15332 },
15333 "name": "id",
15334 "type": {
15335 "primitive": "string"
15336 }
15337 },
15338 {
15339 "docs": {
15340 "summary": "The permission to grant to this Lambda function."
15341 },
15342 "name": "permission",
15343 "type": {
15344 "fqn": "@aws-cdk/aws-lambda.Permission"
15345 }
15346 }
15347 ]
15348 },
15349 {
15350 "abstract": true,
15351 "docs": {
15352 "stability": "stable",
15353 "summary": "Adds a statement to the IAM role assumed by the instance."
15354 },
15355 "locationInModule": {
15356 "filename": "lib/function-base.ts",
15357 "line": 96
15358 },
15359 "name": "addToRolePolicy",
15360 "parameters": [
15361 {
15362 "name": "statement",
15363 "type": {
15364 "fqn": "@aws-cdk/aws-iam.PolicyStatement"
15365 }
15366 }
15367 ]
15368 },
15369 {
15370 "abstract": true,
15371 "docs": {
15372 "stability": "stable",
15373 "summary": "Configures options for asynchronous invocation."
15374 },
15375 "locationInModule": {
15376 "filename": "lib/function-base.ts",
15377 "line": 150
15378 },
15379 "name": "configureAsyncInvoke",
15380 "parameters": [
15381 {
15382 "name": "options",
15383 "type": {
15384 "fqn": "@aws-cdk/aws-lambda.EventInvokeConfigOptions"
15385 }
15386 }
15387 ]
15388 },
15389 {
15390 "abstract": true,
15391 "docs": {
15392 "stability": "stable",
15393 "summary": "Grant the given identity permissions to invoke this Lambda."
15394 },
15395 "locationInModule": {
15396 "filename": "lib/function-base.ts",
15397 "line": 101
15398 },
15399 "name": "grantInvoke",
15400 "parameters": [
15401 {
15402 "name": "identity",
15403 "type": {
15404 "fqn": "@aws-cdk/aws-iam.IGrantable"
15405 }
15406 }
15407 ],
15408 "returns": {
15409 "type": {
15410 "fqn": "@aws-cdk/aws-iam.Grant"
15411 }
15412 }
15413 },
15414 {
15415 "abstract": true,
15416 "docs": {
15417 "stability": "stable",
15418 "summary": "Grant the given identity permissions to invoke this Lambda Function URL."
15419 },
15420 "locationInModule": {
15421 "filename": "lib/function-base.ts",
15422 "line": 106
15423 },
15424 "name": "grantInvokeUrl",
15425 "parameters": [
15426 {
15427 "name": "identity",
15428 "type": {
15429 "fqn": "@aws-cdk/aws-iam.IGrantable"
15430 }
15431 }
15432 ],
15433 "returns": {
15434 "type": {
15435 "fqn": "@aws-cdk/aws-iam.Grant"
15436 }
15437 }
15438 },
15439 {
15440 "abstract": true,
15441 "docs": {
15442 "stability": "stable",
15443 "summary": "Return the given named metric for this Lambda Return the given named metric for this Function."
15444 },
15445 "locationInModule": {
15446 "filename": "lib/function-base.ts",
15447 "line": 111
15448 },
15449 "name": "metric",
15450 "parameters": [
15451 {
15452 "name": "metricName",
15453 "type": {
15454 "primitive": "string"
15455 }
15456 },
15457 {
15458 "name": "props",
15459 "optional": true,
15460 "type": {
15461 "fqn": "@aws-cdk/aws-cloudwatch.MetricOptions"
15462 }
15463 }
15464 ],
15465 "returns": {
15466 "type": {
15467 "fqn": "@aws-cdk/aws-cloudwatch.Metric"
15468 }
15469 }
15470 },
15471 {
15472 "abstract": true,
15473 "docs": {
15474 "default": "average over 5 minutes",
15475 "remarks": "Average over 5 minutes",
15476 "stability": "stable",
15477 "summary": "Metric for the Duration of this Lambda How long execution of this Lambda takes."
15478 },
15479 "locationInModule": {
15480 "filename": "lib/function-base.ts",
15481 "line": 118
15482 },
15483 "name": "metricDuration",
15484 "parameters": [
15485 {
15486 "name": "props",
15487 "optional": true,
15488 "type": {
15489 "fqn": "@aws-cdk/aws-cloudwatch.MetricOptions"
15490 }
15491 }
15492 ],
15493 "returns": {
15494 "type": {
15495 "fqn": "@aws-cdk/aws-cloudwatch.Metric"
15496 }
15497 }
15498 },
15499 {
15500 "abstract": true,
15501 "docs": {
15502 "remarks": "Sum over 5 minutes",
15503 "stability": "stable",
15504 "summary": "How many invocations of this Lambda fail."
15505 },
15506 "locationInModule": {
15507 "filename": "lib/lambda-augmentations.generated.ts",
15508 "line": 29
15509 },
15510 "name": "metricErrors",
15511 "parameters": [
15512 {
15513 "name": "props",
15514 "optional": true,
15515 "type": {
15516 "fqn": "@aws-cdk/aws-cloudwatch.MetricOptions"
15517 }
15518 }
15519 ],
15520 "returns": {
15521 "type": {
15522 "fqn": "@aws-cdk/aws-cloudwatch.Metric"
15523 }
15524 }
15525 },
15526 {
15527 "abstract": true,
15528 "docs": {
15529 "default": "sum over 5 minutes",
15530 "remarks": "Sum over 5 minutes",
15531 "stability": "stable",
15532 "summary": "Metric for the number of invocations of this Lambda How often this Lambda is invoked."
15533 },
15534 "locationInModule": {
15535 "filename": "lib/function-base.ts",
15536 "line": 125
15537 },
15538 "name": "metricInvocations",
15539 "parameters": [
15540 {
15541 "name": "props",
15542 "optional": true,
15543 "type": {
15544 "fqn": "@aws-cdk/aws-cloudwatch.MetricOptions"
15545 }
15546 }
15547 ],
15548 "returns": {
15549 "type": {
15550 "fqn": "@aws-cdk/aws-cloudwatch.Metric"
15551 }
15552 }
15553 },
15554 {
15555 "abstract": true,
15556 "docs": {
15557 "default": "sum over 5 minutes",
15558 "remarks": "Sum over 5 minutes",
15559 "stability": "stable",
15560 "summary": "Metric for the number of throttled invocations of this Lambda How often this Lambda is throttled."
15561 },
15562 "locationInModule": {
15563 "filename": "lib/function-base.ts",
15564 "line": 132
15565 },
15566 "name": "metricThrottles",
15567 "parameters": [
15568 {
15569 "name": "props",
15570 "optional": true,
15571 "type": {
15572 "fqn": "@aws-cdk/aws-cloudwatch.MetricOptions"
15573 }
15574 }
15575 ],
15576 "returns": {
15577 "type": {
15578 "fqn": "@aws-cdk/aws-cloudwatch.Metric"
15579 }
15580 }
15581 }
15582 ],
15583 "name": "IFunction",
15584 "properties": [
15585 {
15586 "abstract": true,
15587 "docs": {
15588 "stability": "stable",
15589 "summary": "The system architectures compatible with this lambda function."
15590 },
15591 "immutable": true,
15592 "locationInModule": {
15593 "filename": "lib/function-base.ts",
15594 "line": 69
15595 },
15596 "name": "architecture",
15597 "type": {
15598 "fqn": "@aws-cdk/aws-lambda.Architecture"
15599 }
15600 },
15601 {
15602 "abstract": true,
15603 "docs": {
15604 "custom": {
15605 "attribute": "true"
15606 },
15607 "stability": "stable",
15608 "summary": "The ARN of the function."
15609 },
15610 "immutable": true,
15611 "locationInModule": {
15612 "filename": "lib/function-base.ts",
15613 "line": 35
15614 },
15615 "name": "functionArn",
15616 "type": {
15617 "primitive": "string"
15618 }
15619 },
15620 {
15621 "abstract": true,
15622 "docs": {
15623 "custom": {
15624 "attribute": "true"
15625 },
15626 "stability": "stable",
15627 "summary": "The name of the function."
15628 },
15629 "immutable": true,
15630 "locationInModule": {
15631 "filename": "lib/function-base.ts",
15632 "line": 28
15633 },
15634 "name": "functionName",
15635 "type": {
15636 "primitive": "string"
15637 }
15638 },
15639 {
15640 "abstract": true,
15641 "docs": {
15642 "remarks": "If this is is `false`, trying to access the `connections` object will fail.",
15643 "stability": "stable",
15644 "summary": "Whether or not this Lambda function was bound to a VPC."
15645 },
15646 "immutable": true,
15647 "locationInModule": {
15648 "filename": "lib/function-base.ts",
15649 "line": 47
15650 },
15651 "name": "isBoundToVpc",
15652 "type": {
15653 "primitive": "boolean"
15654 }
15655 },
15656 {
15657 "abstract": true,
15658 "docs": {
15659 "remarks": "Note that this is reference to a non-specific AWS Lambda version, which\nmeans the function this version refers to can return different results in\ndifferent invocations.\n\nTo obtain a reference to an explicit version which references the current\nfunction configuration, use `lambdaFunction.currentVersion` instead.",
15660 "stability": "stable",
15661 "summary": "The `$LATEST` version of this function."
15662 },
15663 "immutable": true,
15664 "locationInModule": {
15665 "filename": "lib/function-base.ts",
15666 "line": 59
15667 },
15668 "name": "latestVersion",
15669 "type": {
15670 "fqn": "@aws-cdk/aws-lambda.IVersion"
15671 }
15672 },
15673 {
15674 "abstract": true,
15675 "docs": {
15676 "stability": "stable",
15677 "summary": "The construct node where permissions are attached."
15678 },
15679 "immutable": true,
15680 "locationInModule": {
15681 "filename": "lib/function-base.ts",
15682 "line": 64
15683 },
15684 "name": "permissionsNode",
15685 "type": {
15686 "fqn": "@aws-cdk/core.ConstructNode"
15687 }
15688 },
15689 {
15690 "abstract": true,
15691 "docs": {
15692 "remarks": "This property is for cdk modules to consume only. You should not need to use this property.\nInstead, use grantInvoke() directly.",
15693 "stability": "stable",
15694 "summary": "The ARN(s) to put into the resource field of the generated IAM policy for grantInvoke()."
15695 },
15696 "immutable": true,
15697 "locationInModule": {
15698 "filename": "lib/function-base.ts",
15699 "line": 77
15700 },
15701 "name": "resourceArnsForGrantInvoke",
15702 "type": {
15703 "collection": {
15704 "elementtype": {
15705 "primitive": "string"
15706 },
15707 "kind": "array"
15708 }
15709 }
15710 },
15711 {
15712 "abstract": true,
15713 "docs": {
15714 "stability": "stable",
15715 "summary": "The IAM role associated with this function."
15716 },
15717 "immutable": true,
15718 "locationInModule": {
15719 "filename": "lib/function-base.ts",
15720 "line": 40
15721 },
15722 "name": "role",
15723 "optional": true,
15724 "type": {
15725 "fqn": "@aws-cdk/aws-iam.IRole"
15726 }
15727 }
15728 ],
15729 "symbolId": "lib/function-base:IFunction"
15730 },
15731 "@aws-cdk/aws-lambda.IFunctionUrl": {
15732 "assembly": "@aws-cdk/aws-lambda",
15733 "docs": {
15734 "stability": "stable",
15735 "summary": "A Lambda function Url."
15736 },
15737 "fqn": "@aws-cdk/aws-lambda.IFunctionUrl",
15738 "interfaces": [
15739 "@aws-cdk/core.IResource"
15740 ],
15741 "kind": "interface",
15742 "locationInModule": {
15743 "filename": "lib/function-url.ts",
15744 "line": 112
15745 },
15746 "methods": [
15747 {
15748 "abstract": true,
15749 "docs": {
15750 "stability": "stable",
15751 "summary": "Grant the given identity permissions to invoke this Lambda Function URL."
15752 },
15753 "locationInModule": {
15754 "filename": "lib/function-url.ts",
15755 "line": 130
15756 },
15757 "name": "grantInvokeUrl",
15758 "parameters": [
15759 {
15760 "name": "identity",
15761 "type": {
15762 "fqn": "@aws-cdk/aws-iam.IGrantable"
15763 }
15764 }
15765 ],
15766 "returns": {
15767 "type": {
15768 "fqn": "@aws-cdk/aws-iam.Grant"
15769 }
15770 }
15771 }
15772 ],
15773 "name": "IFunctionUrl",
15774 "properties": [
15775 {
15776 "abstract": true,
15777 "docs": {
15778 "custom": {
15779 "attribute": "FunctionArn"
15780 },
15781 "stability": "stable",
15782 "summary": "The ARN of the function this URL refers to."
15783 },
15784 "immutable": true,
15785 "locationInModule": {
15786 "filename": "lib/function-url.ts",
15787 "line": 125
15788 },
15789 "name": "functionArn",
15790 "type": {
15791 "primitive": "string"
15792 }
15793 },
15794 {
15795 "abstract": true,
15796 "docs": {
15797 "custom": {
15798 "attribute": "FunctionUrl"
15799 },
15800 "stability": "stable",
15801 "summary": "The url of the Lambda function."
15802 },
15803 "immutable": true,
15804 "locationInModule": {
15805 "filename": "lib/function-url.ts",
15806 "line": 118
15807 },
15808 "name": "url",
15809 "type": {
15810 "primitive": "string"
15811 }
15812 }
15813 ],
15814 "symbolId": "lib/function-url:IFunctionUrl"
15815 },
15816 "@aws-cdk/aws-lambda.ILayerVersion": {
15817 "assembly": "@aws-cdk/aws-lambda",
15818 "docs": {
15819 "stability": "stable"
15820 },
15821 "fqn": "@aws-cdk/aws-lambda.ILayerVersion",
15822 "interfaces": [
15823 "@aws-cdk/core.IResource"
15824 ],
15825 "kind": "interface",
15826 "locationInModule": {
15827 "filename": "lib/layers.ts",
15828 "line": 64
15829 },
15830 "methods": [
15831 {
15832 "abstract": true,
15833 "docs": {
15834 "remarks": "Usage within\nthe same account where the layer is defined is always allowed and does not\nrequire calling this method. Note that the principal that creates the\nLambda function using the layer (for example, a CloudFormation changeset\nexecution role) also needs to have the ``lambda:GetLayerVersion``\npermission on the layer version.",
15835 "stability": "stable",
15836 "summary": "Add permission for this layer version to specific entities."
15837 },
15838 "locationInModule": {
15839 "filename": "lib/layers.ts",
15840 "line": 89
15841 },
15842 "name": "addPermission",
15843 "parameters": [
15844 {
15845 "docs": {
15846 "summary": "the ID of the grant in the construct tree."
15847 },
15848 "name": "id",
15849 "type": {
15850 "primitive": "string"
15851 }
15852 },
15853 {
15854 "docs": {
15855 "summary": "the identification of the grantee."
15856 },
15857 "name": "permission",
15858 "type": {
15859 "fqn": "@aws-cdk/aws-lambda.LayerVersionPermission"
15860 }
15861 }
15862 ]
15863 }
15864 ],
15865 "name": "ILayerVersion",
15866 "properties": [
15867 {
15868 "abstract": true,
15869 "docs": {
15870 "custom": {
15871 "attribute": "true"
15872 },
15873 "stability": "stable",
15874 "summary": "The ARN of the Lambda Layer version that this Layer defines."
15875 },
15876 "immutable": true,
15877 "locationInModule": {
15878 "filename": "lib/layers.ts",
15879 "line": 69
15880 },
15881 "name": "layerVersionArn",
15882 "type": {
15883 "primitive": "string"
15884 }
15885 },
15886 {
15887 "abstract": true,
15888 "docs": {
15889 "default": "Runtime.All",
15890 "stability": "stable",
15891 "summary": "The runtimes compatible with this Layer."
15892 },
15893 "immutable": true,
15894 "locationInModule": {
15895 "filename": "lib/layers.ts",
15896 "line": 76
15897 },
15898 "name": "compatibleRuntimes",
15899 "optional": true,
15900 "type": {
15901 "collection": {
15902 "elementtype": {
15903 "fqn": "@aws-cdk/aws-lambda.Runtime"
15904 },
15905 "kind": "array"
15906 }
15907 }
15908 }
15909 ],
15910 "symbolId": "lib/layers:ILayerVersion"
15911 },
15912 "@aws-cdk/aws-lambda.IScalableFunctionAttribute": {
15913 "assembly": "@aws-cdk/aws-lambda",
15914 "docs": {
15915 "stability": "stable",
15916 "summary": "Interface for scalable attributes."
15917 },
15918 "fqn": "@aws-cdk/aws-lambda.IScalableFunctionAttribute",
15919 "interfaces": [
15920 "@aws-cdk/core.IConstruct"
15921 ],
15922 "kind": "interface",
15923 "locationInModule": {
15924 "filename": "lib/scalable-attribute-api.ts",
15925 "line": 8
15926 },
15927 "methods": [
15928 {
15929 "abstract": true,
15930 "docs": {
15931 "stability": "stable",
15932 "summary": "Scale out or in based on schedule."
15933 },
15934 "locationInModule": {
15935 "filename": "lib/scalable-attribute-api.ts",
15936 "line": 18
15937 },
15938 "name": "scaleOnSchedule",
15939 "parameters": [
15940 {
15941 "name": "id",
15942 "type": {
15943 "primitive": "string"
15944 }
15945 },
15946 {
15947 "name": "actions",
15948 "type": {
15949 "fqn": "@aws-cdk/aws-applicationautoscaling.ScalingSchedule"
15950 }
15951 }
15952 ]
15953 },
15954 {
15955 "abstract": true,
15956 "docs": {
15957 "remarks": "The utilization is tracked by the\nLambdaProvisionedConcurrencyUtilization metric, emitted by lambda. See:\nhttps://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics.html#monitoring-metrics-concurrency",
15958 "stability": "stable",
15959 "summary": "Scale out or in to keep utilization at a given level."
15960 },
15961 "locationInModule": {
15962 "filename": "lib/scalable-attribute-api.ts",
15963 "line": 14
15964 },
15965 "name": "scaleOnUtilization",
15966 "parameters": [
15967 {
15968 "name": "options",
15969 "type": {
15970 "fqn": "@aws-cdk/aws-lambda.UtilizationScalingOptions"
15971 }
15972 }
15973 ]
15974 }
15975 ],
15976 "name": "IScalableFunctionAttribute",
15977 "symbolId": "lib/scalable-attribute-api:IScalableFunctionAttribute"
15978 },
15979 "@aws-cdk/aws-lambda.IVersion": {
15980 "assembly": "@aws-cdk/aws-lambda",
15981 "docs": {
15982 "stability": "stable"
15983 },
15984 "fqn": "@aws-cdk/aws-lambda.IVersion",
15985 "interfaces": [
15986 "@aws-cdk/aws-lambda.IFunction"
15987 ],
15988 "kind": "interface",
15989 "locationInModule": {
15990 "filename": "lib/lambda-version.ts",
15991 "line": 12
15992 },
15993 "methods": [
15994 {
15995 "abstract": true,
15996 "docs": {
15997 "deprecated": "Calling `addAlias` on a `Version` object will cause the Alias to be replaced on every function update. Call `function.addAlias()` or `new Alias()` instead.",
15998 "stability": "deprecated",
15999 "summary": "Defines an alias for this version."
16000 },
16001 "locationInModule": {
16002 "filename": "lib/lambda-version.ts",
16003 "line": 36
16004 },
16005 "name": "addAlias",
16006 "parameters": [
16007 {
16008 "docs": {
16009 "summary": "The name of the alias."
16010 },
16011 "name": "aliasName",
16012 "type": {
16013 "primitive": "string"
16014 }
16015 },
16016 {
16017 "docs": {
16018 "summary": "Alias options."
16019 },
16020 "name": "options",
16021 "optional": true,
16022 "type": {
16023 "fqn": "@aws-cdk/aws-lambda.AliasOptions"
16024 }
16025 }
16026 ],
16027 "returns": {
16028 "type": {
16029 "fqn": "@aws-cdk/aws-lambda.Alias"
16030 }
16031 }
16032 }
16033 ],
16034 "name": "IVersion",
16035 "properties": [
16036 {
16037 "abstract": true,
16038 "docs": {
16039 "stability": "stable",
16040 "summary": "The ARN of the version for Lambda@Edge."
16041 },
16042 "immutable": true,
16043 "locationInModule": {
16044 "filename": "lib/lambda-version.ts",
16045 "line": 27
16046 },
16047 "name": "edgeArn",
16048 "type": {
16049 "primitive": "string"
16050 }
16051 },
16052 {
16053 "abstract": true,
16054 "docs": {
16055 "stability": "stable",
16056 "summary": "The underlying AWS Lambda function."
16057 },
16058 "immutable": true,
16059 "locationInModule": {
16060 "filename": "lib/lambda-version.ts",
16061 "line": 22
16062 },
16063 "name": "lambda",
16064 "type": {
16065 "fqn": "@aws-cdk/aws-lambda.IFunction"
16066 }
16067 },
16068 {
16069 "abstract": true,
16070 "docs": {
16071 "custom": {
16072 "attribute": "true"
16073 },
16074 "stability": "stable",
16075 "summary": "The most recently deployed version of this function."
16076 },
16077 "immutable": true,
16078 "locationInModule": {
16079 "filename": "lib/lambda-version.ts",
16080 "line": 17
16081 },
16082 "name": "version",
16083 "type": {
16084 "primitive": "string"
16085 }
16086 }
16087 ],
16088 "symbolId": "lib/lambda-version:IVersion"
16089 },
16090 "@aws-cdk/aws-lambda.InlineCode": {
16091 "assembly": "@aws-cdk/aws-lambda",
16092 "base": "@aws-cdk/aws-lambda.Code",
16093 "docs": {
16094 "stability": "stable",
16095 "summary": "Lambda code from an inline string (limited to 4KiB).",
16096 "example": "const layer = new lambda.LayerVersion(stack, 'MyLayer', {\n code: lambda.Code.fromAsset(path.join(__dirname, 'layer-code')),\n compatibleRuntimes: [lambda.Runtime.NODEJS_14_X],\n license: 'Apache-2.0',\n description: 'A layer to test the L2 construct',\n});\n\n// To grant usage by other AWS accounts\nlayer.addPermission('remote-account-grant', { accountId: awsAccountId });\n\n// To grant usage to all accounts in some AWS Ogranization\n// layer.grantUsage({ accountId: '*', organizationId });\n\nnew lambda.Function(stack, 'MyLayeredLambda', {\n code: new lambda.InlineCode('foo'),\n handler: 'index.handler',\n runtime: lambda.Runtime.NODEJS_14_X,\n layers: [layer],\n});",
16097 "custom": {
16098 "exampleMetadata": "lit=test/integ.layer-version.lit.ts infused"
16099 }
16100 },
16101 "fqn": "@aws-cdk/aws-lambda.InlineCode",
16102 "initializer": {
16103 "docs": {
16104 "stability": "stable"
16105 },
16106 "locationInModule": {
16107 "filename": "lib/code.ts",
16108 "line": 249
16109 },
16110 "parameters": [
16111 {
16112 "name": "code",
16113 "type": {
16114 "primitive": "string"
16115 }
16116 }
16117 ]
16118 },
16119 "kind": "class",
16120 "locationInModule": {
16121 "filename": "lib/code.ts",
16122 "line": 246
16123 },
16124 "methods": [
16125 {
16126 "docs": {
16127 "stability": "stable",
16128 "summary": "Called when the lambda or layer is initialized to allow this object to bind to the stack, add resources and have fun."
16129 },
16130 "locationInModule": {
16131 "filename": "lib/code.ts",
16132 "line": 261
16133 },
16134 "name": "bind",
16135 "overrides": "@aws-cdk/aws-lambda.Code",
16136 "parameters": [
16137 {
16138 "name": "_scope",
16139 "type": {
16140 "fqn": "@aws-cdk/core.Construct"
16141 }
16142 }
16143 ],
16144 "returns": {
16145 "type": {
16146 "fqn": "@aws-cdk/aws-lambda.CodeConfig"
16147 }
16148 }
16149 }
16150 ],
16151 "name": "InlineCode",
16152 "properties": [
16153 {
16154 "docs": {
16155 "stability": "stable",
16156 "summary": "Determines whether this Code is inline code or not."
16157 },
16158 "immutable": true,
16159 "locationInModule": {
16160 "filename": "lib/code.ts",
16161 "line": 247
16162 },
16163 "name": "isInline",
16164 "overrides": "@aws-cdk/aws-lambda.Code",
16165 "type": {
16166 "primitive": "boolean"
16167 }
16168 }
16169 ],
16170 "symbolId": "lib/code:InlineCode"
16171 },
16172 "@aws-cdk/aws-lambda.LambdaInsightsVersion": {
16173 "abstract": true,
16174 "assembly": "@aws-cdk/aws-lambda",
16175 "docs": {
16176 "stability": "stable",
16177 "summary": "Version of CloudWatch Lambda Insights.",
16178 "example": "const layerArn = 'arn:aws:lambda:us-east-1:580247275435:layer:LambdaInsightsExtension:14';\nnew lambda.Function(this, 'MyFunction', {\n runtime: lambda.Runtime.NODEJS_16_X,\n handler: 'index.handler',\n code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),\n insightsVersion: lambda.LambdaInsightsVersion.fromInsightVersionArn(layerArn),\n});",
16179 "custom": {
16180 "exampleMetadata": "infused"
16181 }
16182 },
16183 "fqn": "@aws-cdk/aws-lambda.LambdaInsightsVersion",
16184 "initializer": {
16185 "docs": {
16186 "stability": "stable"
16187 }
16188 },
16189 "kind": "class",
16190 "locationInModule": {
16191 "filename": "lib/lambda-insights.ts",
16192 "line": 23
16193 },
16194 "methods": [
16195 {
16196 "docs": {
16197 "remarks": "Make sure the ARN is associated\nwith same region as your function",
16198 "see": "https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Lambda-Insights-extension-versions.html",
16199 "stability": "stable",
16200 "summary": "Use the insights extension associated with the provided ARN."
16201 },
16202 "locationInModule": {
16203 "filename": "lib/lambda-insights.ts",
16204 "line": 61
16205 },
16206 "name": "fromInsightVersionArn",
16207 "parameters": [
16208 {
16209 "name": "arn",
16210 "type": {
16211 "primitive": "string"
16212 }
16213 }
16214 ],
16215 "returns": {
16216 "type": {
16217 "fqn": "@aws-cdk/aws-lambda.LambdaInsightsVersion"
16218 }
16219 },
16220 "static": true
16221 }
16222 ],
16223 "name": "LambdaInsightsVersion",
16224 "properties": [
16225 {
16226 "const": true,
16227 "docs": {
16228 "stability": "stable",
16229 "summary": "Version 1.0.119.0."
16230 },
16231 "immutable": true,
16232 "locationInModule": {
16233 "filename": "lib/lambda-insights.ts",
16234 "line": 48
16235 },
16236 "name": "VERSION_1_0_119_0",
16237 "static": true,
16238 "type": {
16239 "fqn": "@aws-cdk/aws-lambda.LambdaInsightsVersion"
16240 }
16241 },
16242 {
16243 "const": true,
16244 "docs": {
16245 "stability": "stable",
16246 "summary": "Version 1.0.135.0."
16247 },
16248 "immutable": true,
16249 "locationInModule": {
16250 "filename": "lib/lambda-insights.ts",
16251 "line": 53
16252 },
16253 "name": "VERSION_1_0_135_0",
16254 "static": true,
16255 "type": {
16256 "fqn": "@aws-cdk/aws-lambda.LambdaInsightsVersion"
16257 }
16258 },
16259 {
16260 "const": true,
16261 "docs": {
16262 "stability": "stable",
16263 "summary": "Version 1.0.54.0."
16264 },
16265 "immutable": true,
16266 "locationInModule": {
16267 "filename": "lib/lambda-insights.ts",
16268 "line": 28
16269 },
16270 "name": "VERSION_1_0_54_0",
16271 "static": true,
16272 "type": {
16273 "fqn": "@aws-cdk/aws-lambda.LambdaInsightsVersion"
16274 }
16275 },
16276 {
16277 "const": true,
16278 "docs": {
16279 "stability": "stable",
16280 "summary": "Version 1.0.86.0."
16281 },
16282 "immutable": true,
16283 "locationInModule": {
16284 "filename": "lib/lambda-insights.ts",
16285 "line": 33
16286 },
16287 "name": "VERSION_1_0_86_0",
16288 "static": true,
16289 "type": {
16290 "fqn": "@aws-cdk/aws-lambda.LambdaInsightsVersion"
16291 }
16292 },
16293 {
16294 "const": true,
16295 "docs": {
16296 "stability": "stable",
16297 "summary": "Version 1.0.89.0."
16298 },
16299 "immutable": true,
16300 "locationInModule": {
16301 "filename": "lib/lambda-insights.ts",
16302 "line": 38
16303 },
16304 "name": "VERSION_1_0_89_0",
16305 "static": true,
16306 "type": {
16307 "fqn": "@aws-cdk/aws-lambda.LambdaInsightsVersion"
16308 }
16309 },
16310 {
16311 "const": true,
16312 "docs": {
16313 "stability": "stable",
16314 "summary": "Version 1.0.98.0."
16315 },
16316 "immutable": true,
16317 "locationInModule": {
16318 "filename": "lib/lambda-insights.ts",
16319 "line": 43
16320 },
16321 "name": "VERSION_1_0_98_0",
16322 "static": true,
16323 "type": {
16324 "fqn": "@aws-cdk/aws-lambda.LambdaInsightsVersion"
16325 }
16326 },
16327 {
16328 "docs": {
16329 "stability": "stable",
16330 "summary": "The arn of the Lambda Insights extension."
16331 },
16332 "immutable": true,
16333 "locationInModule": {
16334 "filename": "lib/lambda-insights.ts",
16335 "line": 98
16336 },
16337 "name": "layerVersionArn",
16338 "type": {
16339 "primitive": "string"
16340 }
16341 }
16342 ],
16343 "symbolId": "lib/lambda-insights:LambdaInsightsVersion"
16344 },
16345 "@aws-cdk/aws-lambda.LambdaRuntimeProps": {
16346 "assembly": "@aws-cdk/aws-lambda",
16347 "datatype": true,
16348 "docs": {
16349 "stability": "stable",
16350 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst lambdaRuntimeProps: lambda.LambdaRuntimeProps = {\n bundlingDockerImage: 'bundlingDockerImage',\n supportsCodeGuruProfiling: false,\n supportsInlineCode: false,\n};",
16351 "custom": {
16352 "exampleMetadata": "fixture=_generated"
16353 }
16354 },
16355 "fqn": "@aws-cdk/aws-lambda.LambdaRuntimeProps",
16356 "kind": "interface",
16357 "locationInModule": {
16358 "filename": "lib/runtime.ts",
16359 "line": 3
16360 },
16361 "name": "LambdaRuntimeProps",
16362 "properties": [
16363 {
16364 "abstract": true,
16365 "docs": {
16366 "default": "- the latest docker image \"amazon/public.ecr.aws/sam/build-<runtime>\" from https://gallery.ecr.aws",
16367 "stability": "stable",
16368 "summary": "The Docker image name to be used for bundling in this runtime."
16369 },
16370 "immutable": true,
16371 "locationInModule": {
16372 "filename": "lib/runtime.ts",
16373 "line": 14
16374 },
16375 "name": "bundlingDockerImage",
16376 "optional": true,
16377 "type": {
16378 "primitive": "string"
16379 }
16380 },
16381 {
16382 "abstract": true,
16383 "docs": {
16384 "default": "false",
16385 "stability": "stable",
16386 "summary": "Whether this runtime is integrated with and supported for profiling using Amazon CodeGuru Profiler."
16387 },
16388 "immutable": true,
16389 "locationInModule": {
16390 "filename": "lib/runtime.ts",
16391 "line": 20
16392 },
16393 "name": "supportsCodeGuruProfiling",
16394 "optional": true,
16395 "type": {
16396 "primitive": "boolean"
16397 }
16398 },
16399 {
16400 "abstract": true,
16401 "docs": {
16402 "default": "false",
16403 "stability": "stable",
16404 "summary": "Whether the ``ZipFile`` (aka inline code) property can be used with this runtime."
16405 },
16406 "immutable": true,
16407 "locationInModule": {
16408 "filename": "lib/runtime.ts",
16409 "line": 8
16410 },
16411 "name": "supportsInlineCode",
16412 "optional": true,
16413 "type": {
16414 "primitive": "boolean"
16415 }
16416 }
16417 ],
16418 "symbolId": "lib/runtime:LambdaRuntimeProps"
16419 },
16420 "@aws-cdk/aws-lambda.LayerVersion": {
16421 "assembly": "@aws-cdk/aws-lambda",
16422 "base": "@aws-cdk/core.Resource",
16423 "docs": {
16424 "stability": "stable",
16425 "summary": "Defines a new Lambda Layer version.",
16426 "example": "new lambda.LayerVersion(this, 'MyLayer', {\n removalPolicy: RemovalPolicy.RETAIN,\n code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),\n compatibleArchitectures: [lambda.Architecture.X86_64, lambda.Architecture.ARM_64],\n});",
16427 "custom": {
16428 "exampleMetadata": "infused"
16429 }
16430 },
16431 "fqn": "@aws-cdk/aws-lambda.LayerVersion",
16432 "initializer": {
16433 "docs": {
16434 "stability": "stable"
16435 },
16436 "locationInModule": {
16437 "filename": "lib/layers.ts",
16438 "line": 184
16439 },
16440 "parameters": [
16441 {
16442 "name": "scope",
16443 "type": {
16444 "fqn": "constructs.Construct"
16445 }
16446 },
16447 {
16448 "name": "id",
16449 "type": {
16450 "primitive": "string"
16451 }
16452 },
16453 {
16454 "name": "props",
16455 "type": {
16456 "fqn": "@aws-cdk/aws-lambda.LayerVersionProps"
16457 }
16458 }
16459 ]
16460 },
16461 "interfaces": [
16462 "@aws-cdk/aws-lambda.ILayerVersion"
16463 ],
16464 "kind": "class",
16465 "locationInModule": {
16466 "filename": "lib/layers.ts",
16467 "line": 149
16468 },
16469 "methods": [
16470 {
16471 "docs": {
16472 "remarks": "Assumes it is compatible with all Lambda runtimes.",
16473 "stability": "stable",
16474 "summary": "Imports a layer version by ARN."
16475 },
16476 "locationInModule": {
16477 "filename": "lib/layers.ts",
16478 "line": 154
16479 },
16480 "name": "fromLayerVersionArn",
16481 "parameters": [
16482 {
16483 "name": "scope",
16484 "type": {
16485 "fqn": "constructs.Construct"
16486 }
16487 },
16488 {
16489 "name": "id",
16490 "type": {
16491 "primitive": "string"
16492 }
16493 },
16494 {
16495 "name": "layerVersionArn",
16496 "type": {
16497 "primitive": "string"
16498 }
16499 }
16500 ],
16501 "returns": {
16502 "type": {
16503 "fqn": "@aws-cdk/aws-lambda.ILayerVersion"
16504 }
16505 },
16506 "static": true
16507 },
16508 {
16509 "docs": {
16510 "stability": "stable",
16511 "summary": "Imports a Layer that has been defined externally."
16512 },
16513 "locationInModule": {
16514 "filename": "lib/layers.ts",
16515 "line": 168
16516 },
16517 "name": "fromLayerVersionAttributes",
16518 "parameters": [
16519 {
16520 "docs": {
16521 "summary": "the parent Construct that will use the imported layer."
16522 },
16523 "name": "scope",
16524 "type": {
16525 "fqn": "constructs.Construct"
16526 }
16527 },
16528 {
16529 "docs": {
16530 "summary": "the id of the imported layer in the construct tree."
16531 },
16532 "name": "id",
16533 "type": {
16534 "primitive": "string"
16535 }
16536 },
16537 {
16538 "docs": {
16539 "summary": "the properties of the imported layer."
16540 },
16541 "name": "attrs",
16542 "type": {
16543 "fqn": "@aws-cdk/aws-lambda.LayerVersionAttributes"
16544 }
16545 }
16546 ],
16547 "returns": {
16548 "type": {
16549 "fqn": "@aws-cdk/aws-lambda.ILayerVersion"
16550 }
16551 },
16552 "static": true
16553 },
16554 {
16555 "docs": {
16556 "remarks": "Usage within\nthe same account where the layer is defined is always allowed and does not\nrequire calling this method. Note that the principal that creates the\nLambda function using the layer (for example, a CloudFormation changeset\nexecution role) also needs to have the ``lambda:GetLayerVersion``\npermission on the layer version.",
16557 "stability": "stable",
16558 "summary": "Add permission for this layer version to specific entities."
16559 },
16560 "locationInModule": {
16561 "filename": "lib/layers.ts",
16562 "line": 99
16563 },
16564 "name": "addPermission",
16565 "overrides": "@aws-cdk/aws-lambda.ILayerVersion",
16566 "parameters": [
16567 {
16568 "name": "id",
16569 "type": {
16570 "primitive": "string"
16571 }
16572 },
16573 {
16574 "name": "permission",
16575 "type": {
16576 "fqn": "@aws-cdk/aws-lambda.LayerVersionPermission"
16577 }
16578 }
16579 ]
16580 }
16581 ],
16582 "name": "LayerVersion",
16583 "properties": [
16584 {
16585 "docs": {
16586 "stability": "stable",
16587 "summary": "The ARN of the Lambda Layer version that this Layer defines."
16588 },
16589 "immutable": true,
16590 "locationInModule": {
16591 "filename": "lib/layers.ts",
16592 "line": 181
16593 },
16594 "name": "layerVersionArn",
16595 "overrides": "@aws-cdk/aws-lambda.ILayerVersion",
16596 "type": {
16597 "primitive": "string"
16598 }
16599 },
16600 {
16601 "docs": {
16602 "stability": "stable",
16603 "summary": "The runtimes compatible with this Layer."
16604 },
16605 "immutable": true,
16606 "locationInModule": {
16607 "filename": "lib/layers.ts",
16608 "line": 182
16609 },
16610 "name": "compatibleRuntimes",
16611 "optional": true,
16612 "overrides": "@aws-cdk/aws-lambda.ILayerVersion",
16613 "type": {
16614 "collection": {
16615 "elementtype": {
16616 "fqn": "@aws-cdk/aws-lambda.Runtime"
16617 },
16618 "kind": "array"
16619 }
16620 }
16621 }
16622 ],
16623 "symbolId": "lib/layers:LayerVersion"
16624 },
16625 "@aws-cdk/aws-lambda.LayerVersionAttributes": {
16626 "assembly": "@aws-cdk/aws-lambda",
16627 "datatype": true,
16628 "docs": {
16629 "stability": "stable",
16630 "summary": "Properties necessary to import a LayerVersion.",
16631 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\n\ndeclare const runtime: lambda.Runtime;\nconst layerVersionAttributes: lambda.LayerVersionAttributes = {\n layerVersionArn: 'layerVersionArn',\n\n // the properties below are optional\n compatibleRuntimes: [runtime],\n};",
16632 "custom": {
16633 "exampleMetadata": "fixture=_generated"
16634 }
16635 },
16636 "fqn": "@aws-cdk/aws-lambda.LayerVersionAttributes",
16637 "kind": "interface",
16638 "locationInModule": {
16639 "filename": "lib/layers.ts",
16640 "line": 134
16641 },
16642 "name": "LayerVersionAttributes",
16643 "properties": [
16644 {
16645 "abstract": true,
16646 "docs": {
16647 "stability": "stable",
16648 "summary": "The ARN of the LayerVersion."
16649 },
16650 "immutable": true,
16651 "locationInModule": {
16652 "filename": "lib/layers.ts",
16653 "line": 138
16654 },
16655 "name": "layerVersionArn",
16656 "type": {
16657 "primitive": "string"
16658 }
16659 },
16660 {
16661 "abstract": true,
16662 "docs": {
16663 "stability": "stable",
16664 "summary": "The list of compatible runtimes with this Layer."
16665 },
16666 "immutable": true,
16667 "locationInModule": {
16668 "filename": "lib/layers.ts",
16669 "line": 143
16670 },
16671 "name": "compatibleRuntimes",
16672 "optional": true,
16673 "type": {
16674 "collection": {
16675 "elementtype": {
16676 "fqn": "@aws-cdk/aws-lambda.Runtime"
16677 },
16678 "kind": "array"
16679 }
16680 }
16681 }
16682 ],
16683 "symbolId": "lib/layers:LayerVersionAttributes"
16684 },
16685 "@aws-cdk/aws-lambda.LayerVersionOptions": {
16686 "assembly": "@aws-cdk/aws-lambda",
16687 "datatype": true,
16688 "docs": {
16689 "stability": "stable",
16690 "summary": "Non runtime options.",
16691 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nimport * as cdk from '@aws-cdk/core';\nconst layerVersionOptions: lambda.LayerVersionOptions = {\n description: 'description',\n layerVersionName: 'layerVersionName',\n license: 'license',\n removalPolicy: cdk.RemovalPolicy.DESTROY,\n};",
16692 "custom": {
16693 "exampleMetadata": "fixture=_generated"
16694 }
16695 },
16696 "fqn": "@aws-cdk/aws-lambda.LayerVersionOptions",
16697 "kind": "interface",
16698 "locationInModule": {
16699 "filename": "lib/layers.ts",
16700 "line": 11
16701 },
16702 "name": "LayerVersionOptions",
16703 "properties": [
16704 {
16705 "abstract": true,
16706 "docs": {
16707 "default": "- No description.",
16708 "stability": "stable",
16709 "summary": "The description the this Lambda Layer."
16710 },
16711 "immutable": true,
16712 "locationInModule": {
16713 "filename": "lib/layers.ts",
16714 "line": 17
16715 },
16716 "name": "description",
16717 "optional": true,
16718 "type": {
16719 "primitive": "string"
16720 }
16721 },
16722 {
16723 "abstract": true,
16724 "docs": {
16725 "default": "- A name will be generated.",
16726 "stability": "stable",
16727 "summary": "The name of the layer."
16728 },
16729 "immutable": true,
16730 "locationInModule": {
16731 "filename": "lib/layers.ts",
16732 "line": 31
16733 },
16734 "name": "layerVersionName",
16735 "optional": true,
16736 "type": {
16737 "primitive": "string"
16738 }
16739 },
16740 {
16741 "abstract": true,
16742 "docs": {
16743 "default": "- No license information will be recorded.",
16744 "stability": "stable",
16745 "summary": "The SPDX licence identifier or URL to the license file for this layer."
16746 },
16747 "immutable": true,
16748 "locationInModule": {
16749 "filename": "lib/layers.ts",
16750 "line": 24
16751 },
16752 "name": "license",
16753 "optional": true,
16754 "type": {
16755 "primitive": "string"
16756 }
16757 },
16758 {
16759 "abstract": true,
16760 "docs": {
16761 "default": "RemovalPolicy.DESTROY",
16762 "stability": "stable",
16763 "summary": "Whether to retain this version of the layer when a new version is added or when the stack is deleted."
16764 },
16765 "immutable": true,
16766 "locationInModule": {
16767 "filename": "lib/layers.ts",
16768 "line": 39
16769 },
16770 "name": "removalPolicy",
16771 "optional": true,
16772 "type": {
16773 "fqn": "@aws-cdk/core.RemovalPolicy"
16774 }
16775 }
16776 ],
16777 "symbolId": "lib/layers:LayerVersionOptions"
16778 },
16779 "@aws-cdk/aws-lambda.LayerVersionPermission": {
16780 "assembly": "@aws-cdk/aws-lambda",
16781 "datatype": true,
16782 "docs": {
16783 "stability": "stable",
16784 "summary": "Identification of an account (or organization) that is allowed to access a Lambda Layer Version.",
16785 "example": "const layer = new lambda.LayerVersion(stack, 'MyLayer', {\n code: lambda.Code.fromAsset(path.join(__dirname, 'layer-code')),\n compatibleRuntimes: [lambda.Runtime.NODEJS_14_X],\n license: 'Apache-2.0',\n description: 'A layer to test the L2 construct',\n});\n\n// To grant usage by other AWS accounts\nlayer.addPermission('remote-account-grant', { accountId: awsAccountId });\n\n// To grant usage to all accounts in some AWS Ogranization\n// layer.grantUsage({ accountId: '*', organizationId });\n\nnew lambda.Function(stack, 'MyLayeredLambda', {\n code: new lambda.InlineCode('foo'),\n handler: 'index.handler',\n runtime: lambda.Runtime.NODEJS_14_X,\n layers: [layer],\n});",
16786 "custom": {
16787 "exampleMetadata": "lit=test/integ.layer-version.lit.ts infused"
16788 }
16789 },
16790 "fqn": "@aws-cdk/aws-lambda.LayerVersionPermission",
16791 "kind": "interface",
16792 "locationInModule": {
16793 "filename": "lib/layers.ts",
16794 "line": 116
16795 },
16796 "name": "LayerVersionPermission",
16797 "properties": [
16798 {
16799 "abstract": true,
16800 "docs": {
16801 "remarks": "The wild-card ``'*'`` can be\nused to grant access to \"any\" account (or any account in an organization when ``organizationId`` is specified).",
16802 "stability": "stable",
16803 "summary": "The AWS Account id of the account that is authorized to use a Lambda Layer Version."
16804 },
16805 "immutable": true,
16806 "locationInModule": {
16807 "filename": "lib/layers.ts",
16808 "line": 121
16809 },
16810 "name": "accountId",
16811 "type": {
16812 "primitive": "string"
16813 }
16814 },
16815 {
16816 "abstract": true,
16817 "docs": {
16818 "remarks": "Can only be specified if ``accountId`` is ``'*'``",
16819 "stability": "stable",
16820 "summary": "The ID of the AWS Organization to which the grant is restricted."
16821 },
16822 "immutable": true,
16823 "locationInModule": {
16824 "filename": "lib/layers.ts",
16825 "line": 128
16826 },
16827 "name": "organizationId",
16828 "optional": true,
16829 "type": {
16830 "primitive": "string"
16831 }
16832 }
16833 ],
16834 "symbolId": "lib/layers:LayerVersionPermission"
16835 },
16836 "@aws-cdk/aws-lambda.LayerVersionProps": {
16837 "assembly": "@aws-cdk/aws-lambda",
16838 "datatype": true,
16839 "docs": {
16840 "stability": "stable",
16841 "example": "new lambda.LayerVersion(this, 'MyLayer', {\n removalPolicy: RemovalPolicy.RETAIN,\n code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),\n compatibleArchitectures: [lambda.Architecture.X86_64, lambda.Architecture.ARM_64],\n});",
16842 "custom": {
16843 "exampleMetadata": "infused"
16844 }
16845 },
16846 "fqn": "@aws-cdk/aws-lambda.LayerVersionProps",
16847 "interfaces": [
16848 "@aws-cdk/aws-lambda.LayerVersionOptions"
16849 ],
16850 "kind": "interface",
16851 "locationInModule": {
16852 "filename": "lib/layers.ts",
16853 "line": 42
16854 },
16855 "name": "LayerVersionProps",
16856 "properties": [
16857 {
16858 "abstract": true,
16859 "docs": {
16860 "remarks": "Using `Code.fromInline` is not supported.",
16861 "stability": "stable",
16862 "summary": "The content of this Layer."
16863 },
16864 "immutable": true,
16865 "locationInModule": {
16866 "filename": "lib/layers.ts",
16867 "line": 61
16868 },
16869 "name": "code",
16870 "type": {
16871 "fqn": "@aws-cdk/aws-lambda.Code"
16872 }
16873 },
16874 {
16875 "abstract": true,
16876 "docs": {
16877 "default": "[Architecture.X86_64]",
16878 "stability": "stable",
16879 "summary": "The system architectures compatible with this layer."
16880 },
16881 "immutable": true,
16882 "locationInModule": {
16883 "filename": "lib/layers.ts",
16884 "line": 54
16885 },
16886 "name": "compatibleArchitectures",
16887 "optional": true,
16888 "type": {
16889 "collection": {
16890 "elementtype": {
16891 "fqn": "@aws-cdk/aws-lambda.Architecture"
16892 },
16893 "kind": "array"
16894 }
16895 }
16896 },
16897 {
16898 "abstract": true,
16899 "docs": {
16900 "default": "- All runtimes are supported.",
16901 "stability": "stable",
16902 "summary": "The runtimes compatible with this Layer."
16903 },
16904 "immutable": true,
16905 "locationInModule": {
16906 "filename": "lib/layers.ts",
16907 "line": 48
16908 },
16909 "name": "compatibleRuntimes",
16910 "optional": true,
16911 "type": {
16912 "collection": {
16913 "elementtype": {
16914 "fqn": "@aws-cdk/aws-lambda.Runtime"
16915 },
16916 "kind": "array"
16917 }
16918 }
16919 }
16920 ],
16921 "symbolId": "lib/layers:LayerVersionProps"
16922 },
16923 "@aws-cdk/aws-lambda.LogRetention": {
16924 "assembly": "@aws-cdk/aws-lambda",
16925 "base": "@aws-cdk/aws-logs.LogRetention",
16926 "docs": {
16927 "custom": {
16928 "aws-cdk": "/aws-logs' instead",
16929 "exampleMetadata": "fixture=_generated"
16930 },
16931 "deprecated": "use `LogRetention` from '",
16932 "remarks": "The log group is created if it doesn't already exist. The policy\nis removed when `retentionDays` is `undefined` or equal to `Infinity`.",
16933 "stability": "deprecated",
16934 "summary": "Creates a custom resource to control the retention policy of a CloudWatch Logs log group.",
16935 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as lambda from '@aws-cdk/aws-lambda';\nimport * as logs from '@aws-cdk/aws-logs';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const role: iam.Role;\nconst logRetention = new lambda.LogRetention(this, 'MyLogRetention', {\n logGroupName: 'logGroupName',\n retention: logs.RetentionDays.ONE_DAY,\n\n // the properties below are optional\n logGroupRegion: 'logGroupRegion',\n logRetentionRetryOptions: {\n base: cdk.Duration.minutes(30),\n maxRetries: 123,\n },\n role: role,\n});"
16936 },
16937 "fqn": "@aws-cdk/aws-lambda.LogRetention",
16938 "initializer": {
16939 "docs": {
16940 "stability": "deprecated"
16941 },
16942 "locationInModule": {
16943 "filename": "lib/log-retention.ts",
16944 "line": 26
16945 },
16946 "parameters": [
16947 {
16948 "name": "scope",
16949 "type": {
16950 "fqn": "constructs.Construct"
16951 }
16952 },
16953 {
16954 "name": "id",
16955 "type": {
16956 "primitive": "string"
16957 }
16958 },
16959 {
16960 "name": "props",
16961 "type": {
16962 "fqn": "@aws-cdk/aws-lambda.LogRetentionProps"
16963 }
16964 }
16965 ]
16966 },
16967 "kind": "class",
16968 "locationInModule": {
16969 "filename": "lib/log-retention.ts",
16970 "line": 25
16971 },
16972 "name": "LogRetention",
16973 "symbolId": "lib/log-retention:LogRetention"
16974 },
16975 "@aws-cdk/aws-lambda.LogRetentionProps": {
16976 "assembly": "@aws-cdk/aws-lambda",
16977 "datatype": true,
16978 "docs": {
16979 "custom": {
16980 "aws-cdk": "/aws-logs' instead",
16981 "exampleMetadata": "fixture=_generated"
16982 },
16983 "deprecated": "use `LogRetentionProps` from '",
16984 "stability": "deprecated",
16985 "summary": "Construction properties for a LogRetention.",
16986 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as lambda from '@aws-cdk/aws-lambda';\nimport * as logs from '@aws-cdk/aws-logs';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const role: iam.Role;\nconst logRetentionProps: lambda.LogRetentionProps = {\n logGroupName: 'logGroupName',\n retention: logs.RetentionDays.ONE_DAY,\n\n // the properties below are optional\n logGroupRegion: 'logGroupRegion',\n logRetentionRetryOptions: {\n base: cdk.Duration.minutes(30),\n maxRetries: 123,\n },\n role: role,\n};"
16987 },
16988 "fqn": "@aws-cdk/aws-lambda.LogRetentionProps",
16989 "interfaces": [
16990 "@aws-cdk/aws-logs.LogRetentionProps"
16991 ],
16992 "kind": "interface",
16993 "locationInModule": {
16994 "filename": "lib/log-retention.ts",
16995 "line": 15
16996 },
16997 "name": "LogRetentionProps",
16998 "symbolId": "lib/log-retention:LogRetentionProps"
16999 },
17000 "@aws-cdk/aws-lambda.LogRetentionRetryOptions": {
17001 "assembly": "@aws-cdk/aws-lambda",
17002 "datatype": true,
17003 "docs": {
17004 "stability": "stable",
17005 "summary": "Retry options for all AWS API calls.",
17006 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nimport * as cdk from '@aws-cdk/core';\nconst logRetentionRetryOptions: lambda.LogRetentionRetryOptions = {\n base: cdk.Duration.minutes(30),\n maxRetries: 123,\n};",
17007 "custom": {
17008 "exampleMetadata": "fixture=_generated"
17009 }
17010 },
17011 "fqn": "@aws-cdk/aws-lambda.LogRetentionRetryOptions",
17012 "interfaces": [
17013 "@aws-cdk/aws-logs.LogRetentionRetryOptions"
17014 ],
17015 "kind": "interface",
17016 "locationInModule": {
17017 "filename": "lib/log-retention.ts",
17018 "line": 7
17019 },
17020 "name": "LogRetentionRetryOptions",
17021 "symbolId": "lib/log-retention:LogRetentionRetryOptions"
17022 },
17023 "@aws-cdk/aws-lambda.Permission": {
17024 "assembly": "@aws-cdk/aws-lambda",
17025 "datatype": true,
17026 "docs": {
17027 "stability": "stable",
17028 "summary": "Represents a permission statement that can be added to a Lambda function's resource policy via the `addPermission()` method.",
17029 "example": "declare const fn: lambda.Function;\nconst principal = new iam.ServicePrincipal('my-service');\n\nfn.grantInvoke(principal);\n\n// Equivalent to:\nfn.addPermission('my-service Invocation', {\n principal: principal,\n});",
17030 "custom": {
17031 "exampleMetadata": "infused"
17032 }
17033 },
17034 "fqn": "@aws-cdk/aws-lambda.Permission",
17035 "kind": "interface",
17036 "locationInModule": {
17037 "filename": "lib/permission.ts",
17038 "line": 13
17039 },
17040 "name": "Permission",
17041 "properties": [
17042 {
17043 "abstract": true,
17044 "docs": {
17045 "remarks": "This entity can be any valid AWS service principal, such as\ns3.amazonaws.com or sns.amazonaws.com, or, if you are granting\ncross-account permission, an AWS account ID. For example, you might want\nto allow a custom application in another AWS account to push events to\nLambda by invoking your function.\n\nThe principal can be either an AccountPrincipal or a ServicePrincipal.",
17046 "stability": "stable",
17047 "summary": "The entity for which you are granting permission to invoke the Lambda function."
17048 },
17049 "immutable": true,
17050 "locationInModule": {
17051 "filename": "lib/permission.ts",
17052 "line": 43
17053 },
17054 "name": "principal",
17055 "type": {
17056 "fqn": "@aws-cdk/aws-iam.IPrincipal"
17057 }
17058 },
17059 {
17060 "abstract": true,
17061 "docs": {
17062 "default": "'lambda:InvokeFunction'",
17063 "remarks": "For example,\nyou can specify lambda:CreateFunction to specify a certain action, or use\na wildcard (``lambda:*``) to grant permission to all Lambda actions. For a\nlist of actions, see Actions and Condition Context Keys for AWS Lambda in\nthe IAM User Guide.",
17064 "stability": "stable",
17065 "summary": "The Lambda actions that you want to allow in this statement."
17066 },
17067 "immutable": true,
17068 "locationInModule": {
17069 "filename": "lib/permission.ts",
17070 "line": 23
17071 },
17072 "name": "action",
17073 "optional": true,
17074 "type": {
17075 "primitive": "string"
17076 }
17077 },
17078 {
17079 "abstract": true,
17080 "docs": {
17081 "default": "The caller would not need to present a token.",
17082 "stability": "stable",
17083 "summary": "A unique token that must be supplied by the principal invoking the function."
17084 },
17085 "immutable": true,
17086 "locationInModule": {
17087 "filename": "lib/permission.ts",
17088 "line": 31
17089 },
17090 "name": "eventSourceToken",
17091 "optional": true,
17092 "type": {
17093 "primitive": "string"
17094 }
17095 },
17096 {
17097 "abstract": true,
17098 "docs": {
17099 "default": "- No functionUrlAuthType",
17100 "stability": "stable",
17101 "summary": "The authType for the function URL that you are granting permissions for."
17102 },
17103 "immutable": true,
17104 "locationInModule": {
17105 "filename": "lib/permission.ts",
17106 "line": 78
17107 },
17108 "name": "functionUrlAuthType",
17109 "optional": true,
17110 "type": {
17111 "fqn": "@aws-cdk/aws-lambda.FunctionUrlAuthType"
17112 }
17113 },
17114 {
17115 "abstract": true,
17116 "docs": {
17117 "default": "- The instance of lambda.IFunction",
17118 "remarks": "The default is\nthe Lambda function construct itself, but this would need to be different\nin cases such as cross-stack references where the Permissions would need\nto sit closer to the consumer of this permission (i.e., the caller).",
17119 "stability": "stable",
17120 "summary": "The scope to which the permission constructs be attached."
17121 },
17122 "immutable": true,
17123 "locationInModule": {
17124 "filename": "lib/permission.ts",
17125 "line": 53
17126 },
17127 "name": "scope",
17128 "optional": true,
17129 "type": {
17130 "fqn": "@aws-cdk/core.Construct"
17131 }
17132 },
17133 {
17134 "abstract": true,
17135 "docs": {
17136 "remarks": "For example, if\nyou specify an S3 bucket in the SourceArn property, this value is the\nbucket owner's account ID. You can use this property to ensure that all\nsource principals are owned by a specific account.",
17137 "stability": "stable",
17138 "summary": "The AWS account ID (without hyphens) of the source owner."
17139 },
17140 "immutable": true,
17141 "locationInModule": {
17142 "filename": "lib/permission.ts",
17143 "line": 61
17144 },
17145 "name": "sourceAccount",
17146 "optional": true,
17147 "type": {
17148 "primitive": "string"
17149 }
17150 },
17151 {
17152 "abstract": true,
17153 "docs": {
17154 "remarks": "When granting\nAmazon Simple Storage Service (Amazon S3) permission to invoke your\nfunction, specify this property with the bucket ARN as its value. This\nensures that events generated only from the specified bucket, not just\nany bucket from any AWS account that creates a mapping to your function,\ncan invoke the function.",
17155 "stability": "stable",
17156 "summary": "The ARN of a resource that is invoking your function."
17157 },
17158 "immutable": true,
17159 "locationInModule": {
17160 "filename": "lib/permission.ts",
17161 "line": 71
17162 },
17163 "name": "sourceArn",
17164 "optional": true,
17165 "type": {
17166 "primitive": "string"
17167 }
17168 }
17169 ],
17170 "symbolId": "lib/permission:Permission"
17171 },
17172 "@aws-cdk/aws-lambda.QualifiedFunctionBase": {
17173 "abstract": true,
17174 "assembly": "@aws-cdk/aws-lambda",
17175 "base": "@aws-cdk/aws-lambda.FunctionBase",
17176 "docs": {
17177 "stability": "stable"
17178 },
17179 "fqn": "@aws-cdk/aws-lambda.QualifiedFunctionBase",
17180 "initializer": {
17181 "docs": {
17182 "stability": "stable"
17183 },
17184 "locationInModule": {
17185 "filename": "lib/resource.ts",
17186 "line": 150
17187 },
17188 "parameters": [
17189 {
17190 "name": "scope",
17191 "type": {
17192 "fqn": "constructs.Construct"
17193 }
17194 },
17195 {
17196 "name": "id",
17197 "type": {
17198 "primitive": "string"
17199 }
17200 },
17201 {
17202 "name": "props",
17203 "optional": true,
17204 "type": {
17205 "fqn": "@aws-cdk/core.ResourceProps"
17206 }
17207 }
17208 ]
17209 },
17210 "kind": "class",
17211 "locationInModule": {
17212 "filename": "lib/function-base.ts",
17213 "line": 627
17214 },
17215 "methods": [
17216 {
17217 "docs": {
17218 "stability": "stable",
17219 "summary": "Configures options for asynchronous invocation."
17220 },
17221 "locationInModule": {
17222 "filename": "lib/function-base.ts",
17223 "line": 647
17224 },
17225 "name": "configureAsyncInvoke",
17226 "overrides": "@aws-cdk/aws-lambda.FunctionBase",
17227 "parameters": [
17228 {
17229 "name": "options",
17230 "type": {
17231 "fqn": "@aws-cdk/aws-lambda.EventInvokeConfigOptions"
17232 }
17233 }
17234 ]
17235 },
17236 {
17237 "docs": {
17238 "remarks": "- function.currentVersion is invoked before or after the permission is created.\n\nThis applies only to permissions on Lambda functions, not versions or aliases.\nThis function is overridden as a noOp for QualifiedFunctionBase.",
17239 "stability": "stable",
17240 "summary": "A warning will be added to functions under the following conditions: - permissions that include `lambda:InvokeFunction` are added to the unqualified function."
17241 },
17242 "locationInModule": {
17243 "filename": "lib/function-base.ts",
17244 "line": 659
17245 },
17246 "name": "considerWarningOnInvokeFunctionPermissions",
17247 "overrides": "@aws-cdk/aws-lambda.FunctionBase",
17248 "parameters": [
17249 {
17250 "name": "_scope",
17251 "type": {
17252 "fqn": "@aws-cdk/core.Construct"
17253 }
17254 },
17255 {
17256 "name": "_action",
17257 "type": {
17258 "primitive": "string"
17259 }
17260 }
17261 ]
17262 }
17263 ],
17264 "name": "QualifiedFunctionBase",
17265 "properties": [
17266 {
17267 "abstract": true,
17268 "docs": {
17269 "stability": "stable"
17270 },
17271 "immutable": true,
17272 "locationInModule": {
17273 "filename": "lib/function-base.ts",
17274 "line": 628
17275 },
17276 "name": "lambda",
17277 "type": {
17278 "fqn": "@aws-cdk/aws-lambda.IFunction"
17279 }
17280 },
17281 {
17282 "docs": {
17283 "remarks": "Note that this is reference to a non-specific AWS Lambda version, which\nmeans the function this version refers to can return different results in\ndifferent invocations.\n\nTo obtain a reference to an explicit version which references the current\nfunction configuration, use `lambdaFunction.currentVersion` instead.",
17284 "stability": "stable",
17285 "summary": "The `$LATEST` version of this function."
17286 },
17287 "immutable": true,
17288 "locationInModule": {
17289 "filename": "lib/function-base.ts",
17290 "line": 639
17291 },
17292 "name": "latestVersion",
17293 "overrides": "@aws-cdk/aws-lambda.FunctionBase",
17294 "type": {
17295 "fqn": "@aws-cdk/aws-lambda.IVersion"
17296 }
17297 },
17298 {
17299 "docs": {
17300 "stability": "stable",
17301 "summary": "The construct node where permissions are attached."
17302 },
17303 "immutable": true,
17304 "locationInModule": {
17305 "filename": "lib/function-base.ts",
17306 "line": 630
17307 },
17308 "name": "permissionsNode",
17309 "overrides": "@aws-cdk/aws-lambda.FunctionBase",
17310 "type": {
17311 "fqn": "@aws-cdk/core.ConstructNode"
17312 }
17313 },
17314 {
17315 "abstract": true,
17316 "docs": {
17317 "remarks": "A qualifier is the identifier that's appended to a version or alias ARN.",
17318 "see": "https://docs.aws.amazon.com/lambda/latest/dg/API_GetFunctionConfiguration.html#API_GetFunctionConfiguration_RequestParameters",
17319 "stability": "stable",
17320 "summary": "The qualifier of the version or alias of this function."
17321 },
17322 "immutable": true,
17323 "locationInModule": {
17324 "filename": "lib/function-base.ts",
17325 "line": 637
17326 },
17327 "name": "qualifier",
17328 "protected": true,
17329 "type": {
17330 "primitive": "string"
17331 }
17332 },
17333 {
17334 "docs": {
17335 "stability": "stable",
17336 "summary": "The ARN(s) to put into the resource field of the generated IAM policy for grantInvoke()."
17337 },
17338 "immutable": true,
17339 "locationInModule": {
17340 "filename": "lib/function-base.ts",
17341 "line": 643
17342 },
17343 "name": "resourceArnsForGrantInvoke",
17344 "overrides": "@aws-cdk/aws-lambda.FunctionBase",
17345 "type": {
17346 "collection": {
17347 "elementtype": {
17348 "primitive": "string"
17349 },
17350 "kind": "array"
17351 }
17352 }
17353 }
17354 ],
17355 "symbolId": "lib/function-base:QualifiedFunctionBase"
17356 },
17357 "@aws-cdk/aws-lambda.ResourceBindOptions": {
17358 "assembly": "@aws-cdk/aws-lambda",
17359 "datatype": true,
17360 "docs": {
17361 "stability": "stable",
17362 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst resourceBindOptions: lambda.ResourceBindOptions = {\n resourceProperty: 'resourceProperty',\n};",
17363 "custom": {
17364 "exampleMetadata": "fixture=_generated"
17365 }
17366 },
17367 "fqn": "@aws-cdk/aws-lambda.ResourceBindOptions",
17368 "kind": "interface",
17369 "locationInModule": {
17370 "filename": "lib/code.ts",
17371 "line": 318
17372 },
17373 "name": "ResourceBindOptions",
17374 "properties": [
17375 {
17376 "abstract": true,
17377 "docs": {
17378 "default": "Code",
17379 "see": "https://github.com/aws/aws-cdk/issues/1432",
17380 "stability": "stable",
17381 "summary": "The name of the CloudFormation property to annotate with asset metadata."
17382 },
17383 "immutable": true,
17384 "locationInModule": {
17385 "filename": "lib/code.ts",
17386 "line": 324
17387 },
17388 "name": "resourceProperty",
17389 "optional": true,
17390 "type": {
17391 "primitive": "string"
17392 }
17393 }
17394 ],
17395 "symbolId": "lib/code:ResourceBindOptions"
17396 },
17397 "@aws-cdk/aws-lambda.Runtime": {
17398 "assembly": "@aws-cdk/aws-lambda",
17399 "docs": {
17400 "remarks": "If you need to use a runtime name that doesn't exist as a static member, you\ncan instantiate a `Runtime` object, e.g: `new Runtime('nodejs99.99')`.",
17401 "stability": "stable",
17402 "summary": "Lambda function runtime environment.",
17403 "example": "import * as signer from '@aws-cdk/aws-signer';\n\nconst signingProfile = new signer.SigningProfile(this, 'SigningProfile', {\n platform: signer.Platform.AWS_LAMBDA_SHA384_ECDSA,\n});\n\nconst codeSigningConfig = new lambda.CodeSigningConfig(this, 'CodeSigningConfig', {\n signingProfiles: [signingProfile],\n});\n\nnew lambda.Function(this, 'Function', {\n codeSigningConfig,\n runtime: lambda.Runtime.NODEJS_16_X,\n handler: 'index.handler',\n code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),\n});",
17404 "custom": {
17405 "exampleMetadata": "infused"
17406 }
17407 },
17408 "fqn": "@aws-cdk/aws-lambda.Runtime",
17409 "initializer": {
17410 "docs": {
17411 "stability": "stable"
17412 },
17413 "locationInModule": {
17414 "filename": "lib/runtime.ts",
17415 "line": 242
17416 },
17417 "parameters": [
17418 {
17419 "name": "name",
17420 "type": {
17421 "primitive": "string"
17422 }
17423 },
17424 {
17425 "name": "family",
17426 "optional": true,
17427 "type": {
17428 "fqn": "@aws-cdk/aws-lambda.RuntimeFamily"
17429 }
17430 },
17431 {
17432 "name": "props",
17433 "optional": true,
17434 "type": {
17435 "fqn": "@aws-cdk/aws-lambda.LambdaRuntimeProps"
17436 }
17437 }
17438 ]
17439 },
17440 "kind": "class",
17441 "locationInModule": {
17442 "filename": "lib/runtime.ts",
17443 "line": 39
17444 },
17445 "methods": [
17446 {
17447 "docs": {
17448 "stability": "stable"
17449 },
17450 "locationInModule": {
17451 "filename": "lib/runtime.ts",
17452 "line": 259
17453 },
17454 "name": "runtimeEquals",
17455 "parameters": [
17456 {
17457 "name": "other",
17458 "type": {
17459 "fqn": "@aws-cdk/aws-lambda.Runtime"
17460 }
17461 }
17462 ],
17463 "returns": {
17464 "type": {
17465 "primitive": "boolean"
17466 }
17467 }
17468 },
17469 {
17470 "docs": {
17471 "stability": "stable"
17472 },
17473 "locationInModule": {
17474 "filename": "lib/runtime.ts",
17475 "line": 255
17476 },
17477 "name": "toString",
17478 "returns": {
17479 "type": {
17480 "primitive": "string"
17481 }
17482 }
17483 }
17484 ],
17485 "name": "Runtime",
17486 "properties": [
17487 {
17488 "const": true,
17489 "docs": {
17490 "stability": "stable",
17491 "summary": "A list of all known `Runtime`'s."
17492 },
17493 "immutable": true,
17494 "locationInModule": {
17495 "filename": "lib/runtime.ts",
17496 "line": 41
17497 },
17498 "name": "ALL",
17499 "static": true,
17500 "type": {
17501 "collection": {
17502 "elementtype": {
17503 "fqn": "@aws-cdk/aws-lambda.Runtime"
17504 },
17505 "kind": "array"
17506 }
17507 }
17508 },
17509 {
17510 "const": true,
17511 "docs": {
17512 "stability": "stable",
17513 "summary": "The .NET 6 runtime (dotnet6)."
17514 },
17515 "immutable": true,
17516 "locationInModule": {
17517 "filename": "lib/runtime.ts",
17518 "line": 154
17519 },
17520 "name": "DOTNET_6",
17521 "static": true,
17522 "type": {
17523 "fqn": "@aws-cdk/aws-lambda.Runtime"
17524 }
17525 },
17526 {
17527 "const": true,
17528 "docs": {
17529 "stability": "stable",
17530 "summary": "The .NET Core 1.0 runtime (dotnetcore1.0) Legacy runtime no longer supported by AWS Lambda. Migrate to the latest .NET Core runtime."
17531 },
17532 "immutable": true,
17533 "locationInModule": {
17534 "filename": "lib/runtime.ts",
17535 "line": 160
17536 },
17537 "name": "DOTNET_CORE_1",
17538 "static": true,
17539 "type": {
17540 "fqn": "@aws-cdk/aws-lambda.Runtime"
17541 }
17542 },
17543 {
17544 "const": true,
17545 "docs": {
17546 "stability": "stable",
17547 "summary": "The .NET Core 2.0 runtime (dotnetcore2.0) Legacy runtime no longer supported by AWS Lambda. Migrate to the latest .NET Core runtime."
17548 },
17549 "immutable": true,
17550 "locationInModule": {
17551 "filename": "lib/runtime.ts",
17552 "line": 166
17553 },
17554 "name": "DOTNET_CORE_2",
17555 "static": true,
17556 "type": {
17557 "fqn": "@aws-cdk/aws-lambda.Runtime"
17558 }
17559 },
17560 {
17561 "const": true,
17562 "docs": {
17563 "stability": "stable",
17564 "summary": "The .NET Core 2.1 runtime (dotnetcore2.1) Legacy runtime no longer supported by AWS Lambda. Migrate to the latest .NET Core runtime."
17565 },
17566 "immutable": true,
17567 "locationInModule": {
17568 "filename": "lib/runtime.ts",
17569 "line": 172
17570 },
17571 "name": "DOTNET_CORE_2_1",
17572 "static": true,
17573 "type": {
17574 "fqn": "@aws-cdk/aws-lambda.Runtime"
17575 }
17576 },
17577 {
17578 "const": true,
17579 "docs": {
17580 "stability": "stable",
17581 "summary": "The .NET Core 3.1 runtime (dotnetcore3.1)."
17582 },
17583 "immutable": true,
17584 "locationInModule": {
17585 "filename": "lib/runtime.ts",
17586 "line": 177
17587 },
17588 "name": "DOTNET_CORE_3_1",
17589 "static": true,
17590 "type": {
17591 "fqn": "@aws-cdk/aws-lambda.Runtime"
17592 }
17593 },
17594 {
17595 "const": true,
17596 "docs": {
17597 "stability": "stable",
17598 "summary": "A special runtime entry to be used when function is using a docker image."
17599 },
17600 "immutable": true,
17601 "locationInModule": {
17602 "filename": "lib/runtime.ts",
17603 "line": 208
17604 },
17605 "name": "FROM_IMAGE",
17606 "static": true,
17607 "type": {
17608 "fqn": "@aws-cdk/aws-lambda.Runtime"
17609 }
17610 },
17611 {
17612 "const": true,
17613 "docs": {
17614 "stability": "stable",
17615 "summary": "The Go 1.x runtime (go1.x)."
17616 },
17617 "immutable": true,
17618 "locationInModule": {
17619 "filename": "lib/runtime.ts",
17620 "line": 182
17621 },
17622 "name": "GO_1_X",
17623 "static": true,
17624 "type": {
17625 "fqn": "@aws-cdk/aws-lambda.Runtime"
17626 }
17627 },
17628 {
17629 "const": true,
17630 "docs": {
17631 "stability": "stable",
17632 "summary": "The Java 11 runtime (java11)."
17633 },
17634 "immutable": true,
17635 "locationInModule": {
17636 "filename": "lib/runtime.ts",
17637 "line": 147
17638 },
17639 "name": "JAVA_11",
17640 "static": true,
17641 "type": {
17642 "fqn": "@aws-cdk/aws-lambda.Runtime"
17643 }
17644 },
17645 {
17646 "const": true,
17647 "docs": {
17648 "stability": "stable",
17649 "summary": "The Java 8 runtime (java8)."
17650 },
17651 "immutable": true,
17652 "locationInModule": {
17653 "filename": "lib/runtime.ts",
17654 "line": 133
17655 },
17656 "name": "JAVA_8",
17657 "static": true,
17658 "type": {
17659 "fqn": "@aws-cdk/aws-lambda.Runtime"
17660 }
17661 },
17662 {
17663 "const": true,
17664 "docs": {
17665 "stability": "stable",
17666 "summary": "The Java 8 Corretto runtime (java8.al2)."
17667 },
17668 "immutable": true,
17669 "locationInModule": {
17670 "filename": "lib/runtime.ts",
17671 "line": 140
17672 },
17673 "name": "JAVA_8_CORRETTO",
17674 "static": true,
17675 "type": {
17676 "fqn": "@aws-cdk/aws-lambda.Runtime"
17677 }
17678 },
17679 {
17680 "const": true,
17681 "docs": {
17682 "deprecated": "Legacy runtime no longer supported by AWS Lambda. Migrate to the latest NodeJS runtime.",
17683 "stability": "deprecated",
17684 "summary": "The NodeJS runtime (nodejs)."
17685 },
17686 "immutable": true,
17687 "locationInModule": {
17688 "filename": "lib/runtime.ts",
17689 "line": 47
17690 },
17691 "name": "NODEJS",
17692 "static": true,
17693 "type": {
17694 "fqn": "@aws-cdk/aws-lambda.Runtime"
17695 }
17696 },
17697 {
17698 "const": true,
17699 "docs": {
17700 "deprecated": "Legacy runtime no longer supported by AWS Lambda. Migrate to the latest NodeJS runtime.",
17701 "stability": "deprecated",
17702 "summary": "The NodeJS 10.x runtime (nodejs10.x)."
17703 },
17704 "immutable": true,
17705 "locationInModule": {
17706 "filename": "lib/runtime.ts",
17707 "line": 71
17708 },
17709 "name": "NODEJS_10_X",
17710 "static": true,
17711 "type": {
17712 "fqn": "@aws-cdk/aws-lambda.Runtime"
17713 }
17714 },
17715 {
17716 "const": true,
17717 "docs": {
17718 "stability": "stable",
17719 "summary": "The NodeJS 12.x runtime (nodejs12.x)."
17720 },
17721 "immutable": true,
17722 "locationInModule": {
17723 "filename": "lib/runtime.ts",
17724 "line": 76
17725 },
17726 "name": "NODEJS_12_X",
17727 "static": true,
17728 "type": {
17729 "fqn": "@aws-cdk/aws-lambda.Runtime"
17730 }
17731 },
17732 {
17733 "const": true,
17734 "docs": {
17735 "stability": "stable",
17736 "summary": "The NodeJS 14.x runtime (nodejs14.x)."
17737 },
17738 "immutable": true,
17739 "locationInModule": {
17740 "filename": "lib/runtime.ts",
17741 "line": 81
17742 },
17743 "name": "NODEJS_14_X",
17744 "static": true,
17745 "type": {
17746 "fqn": "@aws-cdk/aws-lambda.Runtime"
17747 }
17748 },
17749 {
17750 "const": true,
17751 "docs": {
17752 "stability": "stable",
17753 "summary": "The NodeJS 16.x runtime (nodejs16.x)."
17754 },
17755 "immutable": true,
17756 "locationInModule": {
17757 "filename": "lib/runtime.ts",
17758 "line": 86
17759 },
17760 "name": "NODEJS_16_X",
17761 "static": true,
17762 "type": {
17763 "fqn": "@aws-cdk/aws-lambda.Runtime"
17764 }
17765 },
17766 {
17767 "const": true,
17768 "docs": {
17769 "deprecated": "Legacy runtime no longer supported by AWS Lambda. Migrate to the latest NodeJS runtime.",
17770 "stability": "deprecated",
17771 "summary": "The NodeJS 4.3 runtime (nodejs4.3)."
17772 },
17773 "immutable": true,
17774 "locationInModule": {
17775 "filename": "lib/runtime.ts",
17776 "line": 53
17777 },
17778 "name": "NODEJS_4_3",
17779 "static": true,
17780 "type": {
17781 "fqn": "@aws-cdk/aws-lambda.Runtime"
17782 }
17783 },
17784 {
17785 "const": true,
17786 "docs": {
17787 "deprecated": "Legacy runtime no longer supported by AWS Lambda. Migrate to the latest NodeJS runtime.",
17788 "stability": "deprecated",
17789 "summary": "The NodeJS 6.10 runtime (nodejs6.10)."
17790 },
17791 "immutable": true,
17792 "locationInModule": {
17793 "filename": "lib/runtime.ts",
17794 "line": 59
17795 },
17796 "name": "NODEJS_6_10",
17797 "static": true,
17798 "type": {
17799 "fqn": "@aws-cdk/aws-lambda.Runtime"
17800 }
17801 },
17802 {
17803 "const": true,
17804 "docs": {
17805 "deprecated": "Legacy runtime no longer supported by AWS Lambda. Migrate to the latest NodeJS runtime.",
17806 "stability": "deprecated",
17807 "summary": "The NodeJS 8.10 runtime (nodejs8.10)."
17808 },
17809 "immutable": true,
17810 "locationInModule": {
17811 "filename": "lib/runtime.ts",
17812 "line": 65
17813 },
17814 "name": "NODEJS_8_10",
17815 "static": true,
17816 "type": {
17817 "fqn": "@aws-cdk/aws-lambda.Runtime"
17818 }
17819 },
17820 {
17821 "const": true,
17822 "docs": {
17823 "stability": "stable",
17824 "summary": "The custom provided runtime (provided)."
17825 },
17826 "immutable": true,
17827 "locationInModule": {
17828 "filename": "lib/runtime.ts",
17829 "line": 198
17830 },
17831 "name": "PROVIDED",
17832 "static": true,
17833 "type": {
17834 "fqn": "@aws-cdk/aws-lambda.Runtime"
17835 }
17836 },
17837 {
17838 "const": true,
17839 "docs": {
17840 "stability": "stable",
17841 "summary": "The custom provided runtime (provided)."
17842 },
17843 "immutable": true,
17844 "locationInModule": {
17845 "filename": "lib/runtime.ts",
17846 "line": 203
17847 },
17848 "name": "PROVIDED_AL2",
17849 "static": true,
17850 "type": {
17851 "fqn": "@aws-cdk/aws-lambda.Runtime"
17852 }
17853 },
17854 {
17855 "const": true,
17856 "docs": {
17857 "deprecated": "Legacy runtime no longer supported by AWS Lambda. Migrate to the latest Python runtime.",
17858 "stability": "deprecated",
17859 "summary": "The Python 2.7 runtime (python2.7)."
17860 },
17861 "immutable": true,
17862 "locationInModule": {
17863 "filename": "lib/runtime.ts",
17864 "line": 92
17865 },
17866 "name": "PYTHON_2_7",
17867 "static": true,
17868 "type": {
17869 "fqn": "@aws-cdk/aws-lambda.Runtime"
17870 }
17871 },
17872 {
17873 "const": true,
17874 "docs": {
17875 "deprecated": "Legacy runtime no longer supported by AWS Lambda. Migrate to the latest Python runtime.",
17876 "remarks": "The Python 3.6 runtime is deprecated as of July 2022.",
17877 "stability": "deprecated",
17878 "summary": "The Python 3.6 runtime (python3.6) (not recommended)."
17879 },
17880 "immutable": true,
17881 "locationInModule": {
17882 "filename": "lib/runtime.ts",
17883 "line": 101
17884 },
17885 "name": "PYTHON_3_6",
17886 "static": true,
17887 "type": {
17888 "fqn": "@aws-cdk/aws-lambda.Runtime"
17889 }
17890 },
17891 {
17892 "const": true,
17893 "docs": {
17894 "stability": "stable",
17895 "summary": "The Python 3.7 runtime (python3.7)."
17896 },
17897 "immutable": true,
17898 "locationInModule": {
17899 "filename": "lib/runtime.ts",
17900 "line": 109
17901 },
17902 "name": "PYTHON_3_7",
17903 "static": true,
17904 "type": {
17905 "fqn": "@aws-cdk/aws-lambda.Runtime"
17906 }
17907 },
17908 {
17909 "const": true,
17910 "docs": {
17911 "stability": "stable",
17912 "summary": "The Python 3.8 runtime (python3.8)."
17913 },
17914 "immutable": true,
17915 "locationInModule": {
17916 "filename": "lib/runtime.ts",
17917 "line": 117
17918 },
17919 "name": "PYTHON_3_8",
17920 "static": true,
17921 "type": {
17922 "fqn": "@aws-cdk/aws-lambda.Runtime"
17923 }
17924 },
17925 {
17926 "const": true,
17927 "docs": {
17928 "stability": "stable",
17929 "summary": "The Python 3.9 runtime (python3.9)."
17930 },
17931 "immutable": true,
17932 "locationInModule": {
17933 "filename": "lib/runtime.ts",
17934 "line": 125
17935 },
17936 "name": "PYTHON_3_9",
17937 "static": true,
17938 "type": {
17939 "fqn": "@aws-cdk/aws-lambda.Runtime"
17940 }
17941 },
17942 {
17943 "const": true,
17944 "docs": {
17945 "stability": "stable",
17946 "summary": "The Ruby 2.5 runtime (ruby2.5) Legacy runtime no longer supported by AWS Lambda. Migrate to the latest Ruby runtime."
17947 },
17948 "immutable": true,
17949 "locationInModule": {
17950 "filename": "lib/runtime.ts",
17951 "line": 188
17952 },
17953 "name": "RUBY_2_5",
17954 "static": true,
17955 "type": {
17956 "fqn": "@aws-cdk/aws-lambda.Runtime"
17957 }
17958 },
17959 {
17960 "const": true,
17961 "docs": {
17962 "stability": "stable",
17963 "summary": "The Ruby 2.7 runtime (ruby2.7)."
17964 },
17965 "immutable": true,
17966 "locationInModule": {
17967 "filename": "lib/runtime.ts",
17968 "line": 193
17969 },
17970 "name": "RUBY_2_7",
17971 "static": true,
17972 "type": {
17973 "fqn": "@aws-cdk/aws-lambda.Runtime"
17974 }
17975 },
17976 {
17977 "docs": {
17978 "deprecated": "use `bundlingImage`",
17979 "stability": "deprecated",
17980 "summary": "DEPRECATED."
17981 },
17982 "immutable": true,
17983 "locationInModule": {
17984 "filename": "lib/runtime.ts",
17985 "line": 235
17986 },
17987 "name": "bundlingDockerImage",
17988 "type": {
17989 "fqn": "@aws-cdk/core.BundlingDockerImage"
17990 }
17991 },
17992 {
17993 "docs": {
17994 "stability": "stable",
17995 "summary": "The bundling Docker image for this runtime."
17996 },
17997 "immutable": true,
17998 "locationInModule": {
17999 "filename": "lib/runtime.ts",
18000 "line": 240
18001 },
18002 "name": "bundlingImage",
18003 "type": {
18004 "fqn": "@aws-cdk/core.DockerImage"
18005 }
18006 },
18007 {
18008 "docs": {
18009 "stability": "stable",
18010 "summary": "The name of this runtime, as expected by the Lambda resource."
18011 },
18012 "immutable": true,
18013 "locationInModule": {
18014 "filename": "lib/runtime.ts",
18015 "line": 213
18016 },
18017 "name": "name",
18018 "type": {
18019 "primitive": "string"
18020 }
18021 },
18022 {
18023 "docs": {
18024 "stability": "stable",
18025 "summary": "Whether this runtime is integrated with and supported for profiling using Amazon CodeGuru Profiler."
18026 },
18027 "immutable": true,
18028 "locationInModule": {
18029 "filename": "lib/runtime.ts",
18030 "line": 224
18031 },
18032 "name": "supportsCodeGuruProfiling",
18033 "type": {
18034 "primitive": "boolean"
18035 }
18036 },
18037 {
18038 "docs": {
18039 "stability": "stable",
18040 "summary": "Whether the ``ZipFile`` (aka inline code) property can be used with this runtime."
18041 },
18042 "immutable": true,
18043 "locationInModule": {
18044 "filename": "lib/runtime.ts",
18045 "line": 219
18046 },
18047 "name": "supportsInlineCode",
18048 "type": {
18049 "primitive": "boolean"
18050 }
18051 },
18052 {
18053 "docs": {
18054 "stability": "stable",
18055 "summary": "The runtime family."
18056 },
18057 "immutable": true,
18058 "locationInModule": {
18059 "filename": "lib/runtime.ts",
18060 "line": 229
18061 },
18062 "name": "family",
18063 "optional": true,
18064 "type": {
18065 "fqn": "@aws-cdk/aws-lambda.RuntimeFamily"
18066 }
18067 }
18068 ],
18069 "symbolId": "lib/runtime:Runtime"
18070 },
18071 "@aws-cdk/aws-lambda.RuntimeFamily": {
18072 "assembly": "@aws-cdk/aws-lambda",
18073 "docs": {
18074 "stability": "stable"
18075 },
18076 "fqn": "@aws-cdk/aws-lambda.RuntimeFamily",
18077 "kind": "enum",
18078 "locationInModule": {
18079 "filename": "lib/runtime.ts",
18080 "line": 23
18081 },
18082 "members": [
18083 {
18084 "docs": {
18085 "stability": "stable"
18086 },
18087 "name": "NODEJS"
18088 },
18089 {
18090 "docs": {
18091 "stability": "stable"
18092 },
18093 "name": "JAVA"
18094 },
18095 {
18096 "docs": {
18097 "stability": "stable"
18098 },
18099 "name": "PYTHON"
18100 },
18101 {
18102 "docs": {
18103 "stability": "stable"
18104 },
18105 "name": "DOTNET_CORE"
18106 },
18107 {
18108 "docs": {
18109 "stability": "stable"
18110 },
18111 "name": "GO"
18112 },
18113 {
18114 "docs": {
18115 "stability": "stable"
18116 },
18117 "name": "RUBY"
18118 },
18119 {
18120 "docs": {
18121 "stability": "stable"
18122 },
18123 "name": "OTHER"
18124 }
18125 ],
18126 "name": "RuntimeFamily",
18127 "symbolId": "lib/runtime:RuntimeFamily"
18128 },
18129 "@aws-cdk/aws-lambda.S3Code": {
18130 "assembly": "@aws-cdk/aws-lambda",
18131 "base": "@aws-cdk/aws-lambda.Code",
18132 "docs": {
18133 "stability": "stable",
18134 "summary": "Lambda code from an S3 archive.",
18135 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nimport * as s3 from '@aws-cdk/aws-s3';\n\ndeclare const bucket: s3.Bucket;\nconst s3Code = new lambda.S3Code(bucket, 'key', /* all optional props */ 'objectVersion');",
18136 "custom": {
18137 "exampleMetadata": "fixture=_generated"
18138 }
18139 },
18140 "fqn": "@aws-cdk/aws-lambda.S3Code",
18141 "initializer": {
18142 "docs": {
18143 "stability": "stable"
18144 },
18145 "locationInModule": {
18146 "filename": "lib/code.ts",
18147 "line": 222
18148 },
18149 "parameters": [
18150 {
18151 "name": "bucket",
18152 "type": {
18153 "fqn": "@aws-cdk/aws-s3.IBucket"
18154 }
18155 },
18156 {
18157 "name": "key",
18158 "type": {
18159 "primitive": "string"
18160 }
18161 },
18162 {
18163 "name": "objectVersion",
18164 "optional": true,
18165 "type": {
18166 "primitive": "string"
18167 }
18168 }
18169 ]
18170 },
18171 "kind": "class",
18172 "locationInModule": {
18173 "filename": "lib/code.ts",
18174 "line": 218
18175 },
18176 "methods": [
18177 {
18178 "docs": {
18179 "stability": "stable",
18180 "summary": "Called when the lambda or layer is initialized to allow this object to bind to the stack, add resources and have fun."
18181 },
18182 "locationInModule": {
18183 "filename": "lib/code.ts",
18184 "line": 232
18185 },
18186 "name": "bind",
18187 "overrides": "@aws-cdk/aws-lambda.Code",
18188 "parameters": [
18189 {
18190 "name": "_scope",
18191 "type": {
18192 "fqn": "@aws-cdk/core.Construct"
18193 }
18194 }
18195 ],
18196 "returns": {
18197 "type": {
18198 "fqn": "@aws-cdk/aws-lambda.CodeConfig"
18199 }
18200 }
18201 }
18202 ],
18203 "name": "S3Code",
18204 "properties": [
18205 {
18206 "docs": {
18207 "stability": "stable",
18208 "summary": "Determines whether this Code is inline code or not."
18209 },
18210 "immutable": true,
18211 "locationInModule": {
18212 "filename": "lib/code.ts",
18213 "line": 219
18214 },
18215 "name": "isInline",
18216 "overrides": "@aws-cdk/aws-lambda.Code",
18217 "type": {
18218 "primitive": "boolean"
18219 }
18220 }
18221 ],
18222 "symbolId": "lib/code:S3Code"
18223 },
18224 "@aws-cdk/aws-lambda.SingletonFunction": {
18225 "assembly": "@aws-cdk/aws-lambda",
18226 "base": "@aws-cdk/aws-lambda.FunctionBase",
18227 "docs": {
18228 "custom": {
18229 "resource": "AWS::Lambda::Function",
18230 "exampleMetadata": "fixture=_generated"
18231 },
18232 "remarks": "This construct is a way to guarantee that the lambda function will be guaranteed to be part of the stack,\nonce and only once, irrespective of how many times the construct is declared to be part of the stack.\nThis is guaranteed as long as the `uuid` property and the optional `lambdaPurpose` property stay the same\nwhenever they're declared into the stack.",
18233 "stability": "stable",
18234 "summary": "A Lambda that will only ever be added to a stack once.",
18235 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as codeguruprofiler from '@aws-cdk/aws-codeguruprofiler';\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 lambda from '@aws-cdk/aws-lambda';\nimport * as logs from '@aws-cdk/aws-logs';\nimport * as sns from '@aws-cdk/aws-sns';\nimport * as sqs from '@aws-cdk/aws-sqs';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const architecture: lambda.Architecture;\ndeclare const code: lambda.Code;\ndeclare const codeSigningConfig: lambda.CodeSigningConfig;\ndeclare const destination: lambda.IDestination;\ndeclare const eventSource: lambda.IEventSource;\ndeclare const fileSystem: lambda.FileSystem;\ndeclare const key: kms.Key;\ndeclare const lambdaInsightsVersion: lambda.LambdaInsightsVersion;\ndeclare const layerVersion: lambda.LayerVersion;\ndeclare const policyStatement: iam.PolicyStatement;\ndeclare const profilingGroup: codeguruprofiler.ProfilingGroup;\ndeclare const queue: sqs.Queue;\ndeclare const role: iam.Role;\ndeclare const runtime: lambda.Runtime;\ndeclare const securityGroup: ec2.SecurityGroup;\ndeclare const size: cdk.Size;\ndeclare const subnet: ec2.Subnet;\ndeclare const subnetFilter: ec2.SubnetFilter;\ndeclare const topic: sns.Topic;\ndeclare const vpc: ec2.Vpc;\nconst singletonFunction = new lambda.SingletonFunction(this, 'MySingletonFunction', {\n code: code,\n handler: 'handler',\n runtime: runtime,\n uuid: 'uuid',\n\n // the properties below are optional\n allowAllOutbound: false,\n allowPublicSubnet: false,\n architecture: architecture,\n architectures: [architecture],\n codeSigningConfig: codeSigningConfig,\n currentVersionOptions: {\n codeSha256: 'codeSha256',\n description: 'description',\n maxEventAge: cdk.Duration.minutes(30),\n onFailure: destination,\n onSuccess: destination,\n provisionedConcurrentExecutions: 123,\n removalPolicy: cdk.RemovalPolicy.DESTROY,\n retryAttempts: 123,\n },\n deadLetterQueue: queue,\n deadLetterQueueEnabled: false,\n deadLetterTopic: topic,\n description: 'description',\n environment: {\n environmentKey: 'environment',\n },\n environmentEncryption: key,\n ephemeralStorageSize: size,\n events: [eventSource],\n filesystem: fileSystem,\n functionName: 'functionName',\n initialPolicy: [policyStatement],\n insightsVersion: lambdaInsightsVersion,\n lambdaPurpose: 'lambdaPurpose',\n layers: [layerVersion],\n logRetention: logs.RetentionDays.ONE_DAY,\n logRetentionRetryOptions: {\n base: cdk.Duration.minutes(30),\n maxRetries: 123,\n },\n logRetentionRole: role,\n maxEventAge: cdk.Duration.minutes(30),\n memorySize: 123,\n onFailure: destination,\n onSuccess: destination,\n profiling: false,\n profilingGroup: profilingGroup,\n reservedConcurrentExecutions: 123,\n retryAttempts: 123,\n role: role,\n securityGroup: securityGroup,\n securityGroups: [securityGroup],\n timeout: cdk.Duration.minutes(30),\n tracing: lambda.Tracing.ACTIVE,\n vpc: vpc,\n vpcSubnets: {\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});"
18236 },
18237 "fqn": "@aws-cdk/aws-lambda.SingletonFunction",
18238 "initializer": {
18239 "docs": {
18240 "stability": "stable"
18241 },
18242 "locationInModule": {
18243 "filename": "lib/singleton-lambda.ts",
18244 "line": 64
18245 },
18246 "parameters": [
18247 {
18248 "name": "scope",
18249 "type": {
18250 "fqn": "constructs.Construct"
18251 }
18252 },
18253 {
18254 "name": "id",
18255 "type": {
18256 "primitive": "string"
18257 }
18258 },
18259 {
18260 "name": "props",
18261 "type": {
18262 "fqn": "@aws-cdk/aws-lambda.SingletonFunctionProps"
18263 }
18264 }
18265 ]
18266 },
18267 "kind": "class",
18268 "locationInModule": {
18269 "filename": "lib/singleton-lambda.ts",
18270 "line": 48
18271 },
18272 "methods": [
18273 {
18274 "docs": {
18275 "stability": "stable",
18276 "summary": "Using node.addDependency() does not work on this method as the underlying lambda function is modeled as a singleton across the stack. Use this method instead to declare dependencies."
18277 },
18278 "locationInModule": {
18279 "filename": "lib/singleton-lambda.ts",
18280 "line": 154
18281 },
18282 "name": "addDependency",
18283 "parameters": [
18284 {
18285 "name": "up",
18286 "type": {
18287 "fqn": "@aws-cdk/core.IDependable"
18288 },
18289 "variadic": true
18290 }
18291 ],
18292 "variadic": true
18293 },
18294 {
18295 "docs": {
18296 "remarks": "If this is a ref to a Lambda function, this operation results in a no-op.",
18297 "stability": "stable",
18298 "summary": "Adds an environment variable to this Lambda function."
18299 },
18300 "locationInModule": {
18301 "filename": "lib/singleton-lambda.ts",
18302 "line": 131
18303 },
18304 "name": "addEnvironment",
18305 "parameters": [
18306 {
18307 "docs": {
18308 "summary": "The environment variable key."
18309 },
18310 "name": "key",
18311 "type": {
18312 "primitive": "string"
18313 }
18314 },
18315 {
18316 "docs": {
18317 "summary": "The environment variable's value."
18318 },
18319 "name": "value",
18320 "type": {
18321 "primitive": "string"
18322 }
18323 },
18324 {
18325 "docs": {
18326 "summary": "Environment variable options."
18327 },
18328 "name": "options",
18329 "optional": true,
18330 "type": {
18331 "fqn": "@aws-cdk/aws-lambda.EnvironmentOptions"
18332 }
18333 }
18334 ],
18335 "returns": {
18336 "type": {
18337 "fqn": "@aws-cdk/aws-lambda.Function"
18338 }
18339 }
18340 },
18341 {
18342 "docs": {
18343 "custom": {
18344 "throws": "if there are already 5 layers on this function, or the layer is incompatible with this function's runtime."
18345 },
18346 "stability": "stable",
18347 "summary": "Adds one or more Lambda Layers to this Lambda function."
18348 },
18349 "locationInModule": {
18350 "filename": "lib/singleton-lambda.ts",
18351 "line": 142
18352 },
18353 "name": "addLayers",
18354 "parameters": [
18355 {
18356 "docs": {
18357 "summary": "the layers to be added."
18358 },
18359 "name": "layers",
18360 "type": {
18361 "fqn": "@aws-cdk/aws-lambda.ILayerVersion"
18362 },
18363 "variadic": true
18364 }
18365 ],
18366 "variadic": true
18367 },
18368 {
18369 "docs": {
18370 "stability": "stable",
18371 "summary": "Adds a permission to the Lambda resource policy."
18372 },
18373 "locationInModule": {
18374 "filename": "lib/singleton-lambda.ts",
18375 "line": 146
18376 },
18377 "name": "addPermission",
18378 "overrides": "@aws-cdk/aws-lambda.FunctionBase",
18379 "parameters": [
18380 {
18381 "name": "name",
18382 "type": {
18383 "primitive": "string"
18384 }
18385 },
18386 {
18387 "name": "permission",
18388 "type": {
18389 "fqn": "@aws-cdk/aws-lambda.Permission"
18390 }
18391 }
18392 ]
18393 },
18394 {
18395 "docs": {
18396 "stability": "stable",
18397 "summary": "The SingletonFunction construct cannot be added as a dependency of another construct using node.addDependency(). Use this method instead to declare this as a dependency of another construct."
18398 },
18399 "locationInModule": {
18400 "filename": "lib/singleton-lambda.ts",
18401 "line": 162
18402 },
18403 "name": "dependOn",
18404 "parameters": [
18405 {
18406 "name": "down",
18407 "type": {
18408 "fqn": "@aws-cdk/core.IConstruct"
18409 }
18410 }
18411 ]
18412 }
18413 ],
18414 "name": "SingletonFunction",
18415 "properties": [
18416 {
18417 "docs": {
18418 "stability": "stable",
18419 "summary": "The architecture of this Lambda Function."
18420 },
18421 "immutable": true,
18422 "locationInModule": {
18423 "filename": "lib/singleton-lambda.ts",
18424 "line": 54
18425 },
18426 "name": "architecture",
18427 "overrides": "@aws-cdk/aws-lambda.FunctionBase",
18428 "type": {
18429 "fqn": "@aws-cdk/aws-lambda.Architecture"
18430 }
18431 },
18432 {
18433 "docs": {
18434 "remarks": "True for new Lambdas, false for version $LATEST and imported Lambdas\nfrom different accounts.",
18435 "stability": "stable",
18436 "summary": "Whether the addPermission() call adds any permissions."
18437 },
18438 "immutable": true,
18439 "locationInModule": {
18440 "filename": "lib/singleton-lambda.ts",
18441 "line": 61
18442 },
18443 "name": "canCreatePermissions",
18444 "overrides": "@aws-cdk/aws-lambda.FunctionBase",
18445 "protected": true,
18446 "type": {
18447 "primitive": "boolean"
18448 }
18449 },
18450 {
18451 "docs": {
18452 "custom": {
18453 "inheritdoc": "true"
18454 },
18455 "remarks": "Will fail if not a VPC-enabled Lambda Function",
18456 "stability": "stable",
18457 "summary": "Access the Connections object."
18458 },
18459 "immutable": true,
18460 "locationInModule": {
18461 "filename": "lib/singleton-lambda.ts",
18462 "line": 90
18463 },
18464 "name": "connections",
18465 "overrides": "@aws-cdk/aws-lambda.FunctionBase",
18466 "type": {
18467 "fqn": "@aws-cdk/aws-ec2.Connections"
18468 }
18469 },
18470 {
18471 "docs": {
18472 "remarks": "You can specify options for this version using the `currentVersionOptions`\nprop when initializing the `lambda.SingletonFunction`.",
18473 "stability": "stable",
18474 "summary": "Returns a `lambda.Version` which represents the current version of this singleton Lambda function. A new version will be created every time the function's configuration changes."
18475 },
18476 "immutable": true,
18477 "locationInModule": {
18478 "filename": "lib/singleton-lambda.ts",
18479 "line": 116
18480 },
18481 "name": "currentVersion",
18482 "type": {
18483 "fqn": "@aws-cdk/aws-lambda.Version"
18484 }
18485 },
18486 {
18487 "docs": {
18488 "stability": "stable",
18489 "summary": "The ARN fo the function."
18490 },
18491 "immutable": true,
18492 "locationInModule": {
18493 "filename": "lib/singleton-lambda.ts",
18494 "line": 51
18495 },
18496 "name": "functionArn",
18497 "overrides": "@aws-cdk/aws-lambda.FunctionBase",
18498 "type": {
18499 "primitive": "string"
18500 }
18501 },
18502 {
18503 "docs": {
18504 "stability": "stable",
18505 "summary": "The name of the function."
18506 },
18507 "immutable": true,
18508 "locationInModule": {
18509 "filename": "lib/singleton-lambda.ts",
18510 "line": 50
18511 },
18512 "name": "functionName",
18513 "overrides": "@aws-cdk/aws-lambda.FunctionBase",
18514 "type": {
18515 "primitive": "string"
18516 }
18517 },
18518 {
18519 "docs": {
18520 "stability": "stable",
18521 "summary": "The principal this Lambda Function is running as."
18522 },
18523 "immutable": true,
18524 "locationInModule": {
18525 "filename": "lib/singleton-lambda.ts",
18526 "line": 49
18527 },
18528 "name": "grantPrincipal",
18529 "overrides": "@aws-cdk/aws-lambda.FunctionBase",
18530 "type": {
18531 "fqn": "@aws-cdk/aws-iam.IPrincipal"
18532 }
18533 },
18534 {
18535 "docs": {
18536 "custom": {
18537 "inheritdoc": "true"
18538 },
18539 "remarks": "If this is is `false`, trying to access the `connections` object will fail.",
18540 "stability": "stable",
18541 "summary": "Whether or not this Lambda function was bound to a VPC."
18542 },
18543 "immutable": true,
18544 "locationInModule": {
18545 "filename": "lib/singleton-lambda.ts",
18546 "line": 83
18547 },
18548 "name": "isBoundToVpc",
18549 "overrides": "@aws-cdk/aws-lambda.FunctionBase",
18550 "type": {
18551 "primitive": "boolean"
18552 }
18553 },
18554 {
18555 "docs": {
18556 "remarks": "If either `logRetention` is set or this property is called, a CloudFormation custom resource is added to the stack that\npre-creates the log group as part of the stack deployment, if it already doesn't exist, and sets the correct log retention\nperiod (never expire, by default).\n\nFurther, if the log group already exists and the `logRetention` is not set, the custom resource will reset the log retention\nto never expire even if it was configured with a different value.",
18557 "stability": "stable",
18558 "summary": "The LogGroup where the Lambda function's logs are made available."
18559 },
18560 "immutable": true,
18561 "locationInModule": {
18562 "filename": "lib/singleton-lambda.ts",
18563 "line": 104
18564 },
18565 "name": "logGroup",
18566 "type": {
18567 "fqn": "@aws-cdk/aws-logs.ILogGroup"
18568 }
18569 },
18570 {
18571 "docs": {
18572 "stability": "stable",
18573 "summary": "The construct node where permissions are attached."
18574 },
18575 "immutable": true,
18576 "locationInModule": {
18577 "filename": "lib/singleton-lambda.ts",
18578 "line": 53
18579 },
18580 "name": "permissionsNode",
18581 "overrides": "@aws-cdk/aws-lambda.FunctionBase",
18582 "type": {
18583 "fqn": "@aws-cdk/core.ConstructNode"
18584 }
18585 },
18586 {
18587 "docs": {
18588 "stability": "stable",
18589 "summary": "The ARN(s) to put into the resource field of the generated IAM policy for grantInvoke()."
18590 },
18591 "immutable": true,
18592 "locationInModule": {
18593 "filename": "lib/singleton-lambda.ts",
18594 "line": 120
18595 },
18596 "name": "resourceArnsForGrantInvoke",
18597 "overrides": "@aws-cdk/aws-lambda.FunctionBase",
18598 "type": {
18599 "collection": {
18600 "elementtype": {
18601 "primitive": "string"
18602 },
18603 "kind": "array"
18604 }
18605 }
18606 },
18607 {
18608 "docs": {
18609 "stability": "stable",
18610 "summary": "The runtime environment for the Lambda function."
18611 },
18612 "immutable": true,
18613 "locationInModule": {
18614 "filename": "lib/singleton-lambda.ts",
18615 "line": 59
18616 },
18617 "name": "runtime",
18618 "type": {
18619 "fqn": "@aws-cdk/aws-lambda.Runtime"
18620 }
18621 },
18622 {
18623 "docs": {
18624 "remarks": "Undefined if the function was imported without a role.",
18625 "stability": "stable",
18626 "summary": "The IAM role associated with this function."
18627 },
18628 "immutable": true,
18629 "locationInModule": {
18630 "filename": "lib/singleton-lambda.ts",
18631 "line": 52
18632 },
18633 "name": "role",
18634 "optional": true,
18635 "overrides": "@aws-cdk/aws-lambda.FunctionBase",
18636 "type": {
18637 "fqn": "@aws-cdk/aws-iam.IRole"
18638 }
18639 }
18640 ],
18641 "symbolId": "lib/singleton-lambda:SingletonFunction"
18642 },
18643 "@aws-cdk/aws-lambda.SingletonFunctionProps": {
18644 "assembly": "@aws-cdk/aws-lambda",
18645 "datatype": true,
18646 "docs": {
18647 "stability": "stable",
18648 "summary": "Properties for a newly created singleton Lambda.",
18649 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as codeguruprofiler from '@aws-cdk/aws-codeguruprofiler';\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 lambda from '@aws-cdk/aws-lambda';\nimport * as logs from '@aws-cdk/aws-logs';\nimport * as sns from '@aws-cdk/aws-sns';\nimport * as sqs from '@aws-cdk/aws-sqs';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const architecture: lambda.Architecture;\ndeclare const code: lambda.Code;\ndeclare const codeSigningConfig: lambda.CodeSigningConfig;\ndeclare const destination: lambda.IDestination;\ndeclare const eventSource: lambda.IEventSource;\ndeclare const fileSystem: lambda.FileSystem;\ndeclare const key: kms.Key;\ndeclare const lambdaInsightsVersion: lambda.LambdaInsightsVersion;\ndeclare const layerVersion: lambda.LayerVersion;\ndeclare const policyStatement: iam.PolicyStatement;\ndeclare const profilingGroup: codeguruprofiler.ProfilingGroup;\ndeclare const queue: sqs.Queue;\ndeclare const role: iam.Role;\ndeclare const runtime: lambda.Runtime;\ndeclare const securityGroup: ec2.SecurityGroup;\ndeclare const size: cdk.Size;\ndeclare const subnet: ec2.Subnet;\ndeclare const subnetFilter: ec2.SubnetFilter;\ndeclare const topic: sns.Topic;\ndeclare const vpc: ec2.Vpc;\nconst singletonFunctionProps: lambda.SingletonFunctionProps = {\n code: code,\n handler: 'handler',\n runtime: runtime,\n uuid: 'uuid',\n\n // the properties below are optional\n allowAllOutbound: false,\n allowPublicSubnet: false,\n architecture: architecture,\n architectures: [architecture],\n codeSigningConfig: codeSigningConfig,\n currentVersionOptions: {\n codeSha256: 'codeSha256',\n description: 'description',\n maxEventAge: cdk.Duration.minutes(30),\n onFailure: destination,\n onSuccess: destination,\n provisionedConcurrentExecutions: 123,\n removalPolicy: cdk.RemovalPolicy.DESTROY,\n retryAttempts: 123,\n },\n deadLetterQueue: queue,\n deadLetterQueueEnabled: false,\n deadLetterTopic: topic,\n description: 'description',\n environment: {\n environmentKey: 'environment',\n },\n environmentEncryption: key,\n ephemeralStorageSize: size,\n events: [eventSource],\n filesystem: fileSystem,\n functionName: 'functionName',\n initialPolicy: [policyStatement],\n insightsVersion: lambdaInsightsVersion,\n lambdaPurpose: 'lambdaPurpose',\n layers: [layerVersion],\n logRetention: logs.RetentionDays.ONE_DAY,\n logRetentionRetryOptions: {\n base: cdk.Duration.minutes(30),\n maxRetries: 123,\n },\n logRetentionRole: role,\n maxEventAge: cdk.Duration.minutes(30),\n memorySize: 123,\n onFailure: destination,\n onSuccess: destination,\n profiling: false,\n profilingGroup: profilingGroup,\n reservedConcurrentExecutions: 123,\n retryAttempts: 123,\n role: role,\n securityGroup: securityGroup,\n securityGroups: [securityGroup],\n timeout: cdk.Duration.minutes(30),\n tracing: lambda.Tracing.ACTIVE,\n vpc: vpc,\n vpcSubnets: {\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};",
18650 "custom": {
18651 "exampleMetadata": "fixture=_generated"
18652 }
18653 },
18654 "fqn": "@aws-cdk/aws-lambda.SingletonFunctionProps",
18655 "interfaces": [
18656 "@aws-cdk/aws-lambda.FunctionProps"
18657 ],
18658 "kind": "interface",
18659 "locationInModule": {
18660 "filename": "lib/singleton-lambda.ts",
18661 "line": 17
18662 },
18663 "name": "SingletonFunctionProps",
18664 "properties": [
18665 {
18666 "abstract": true,
18667 "docs": {
18668 "remarks": "The identifier should be unique across all custom resource providers.\nWe recommend generating a UUID per provider.",
18669 "stability": "stable",
18670 "summary": "A unique identifier to identify this lambda."
18671 },
18672 "immutable": true,
18673 "locationInModule": {
18674 "filename": "lib/singleton-lambda.ts",
18675 "line": 24
18676 },
18677 "name": "uuid",
18678 "type": {
18679 "primitive": "string"
18680 }
18681 },
18682 {
18683 "abstract": true,
18684 "docs": {
18685 "default": "SingletonLambda",
18686 "remarks": "If the Lambda does not have a physical name, this string will be\nreflected its generated name. The combination of lambdaPurpose\nand uuid must be unique.",
18687 "stability": "stable",
18688 "summary": "A descriptive name for the purpose of this Lambda."
18689 },
18690 "immutable": true,
18691 "locationInModule": {
18692 "filename": "lib/singleton-lambda.ts",
18693 "line": 35
18694 },
18695 "name": "lambdaPurpose",
18696 "optional": true,
18697 "type": {
18698 "primitive": "string"
18699 }
18700 }
18701 ],
18702 "symbolId": "lib/singleton-lambda:SingletonFunctionProps"
18703 },
18704 "@aws-cdk/aws-lambda.SourceAccessConfiguration": {
18705 "assembly": "@aws-cdk/aws-lambda",
18706 "datatype": true,
18707 "docs": {
18708 "stability": "stable",
18709 "summary": "Specific settings like the authentication protocol or the VPC components to secure access to your event source.",
18710 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\n\ndeclare const sourceAccessConfigurationType: lambda.SourceAccessConfigurationType;\nconst sourceAccessConfiguration: lambda.SourceAccessConfiguration = {\n type: sourceAccessConfigurationType,\n uri: 'uri',\n};",
18711 "custom": {
18712 "exampleMetadata": "fixture=_generated"
18713 }
18714 },
18715 "fqn": "@aws-cdk/aws-lambda.SourceAccessConfiguration",
18716 "kind": "interface",
18717 "locationInModule": {
18718 "filename": "lib/event-source-mapping.ts",
18719 "line": 63
18720 },
18721 "name": "SourceAccessConfiguration",
18722 "properties": [
18723 {
18724 "abstract": true,
18725 "docs": {
18726 "remarks": "For example: \"SASL_SCRAM_512_AUTH\".",
18727 "stability": "stable",
18728 "summary": "The type of authentication protocol or the VPC components for your event source."
18729 },
18730 "immutable": true,
18731 "locationInModule": {
18732 "filename": "lib/event-source-mapping.ts",
18733 "line": 67
18734 },
18735 "name": "type",
18736 "type": {
18737 "fqn": "@aws-cdk/aws-lambda.SourceAccessConfigurationType"
18738 }
18739 },
18740 {
18741 "abstract": true,
18742 "docs": {
18743 "remarks": "For example: \"URI\": \"arn:aws:secretsmanager:us-east-1:01234567890:secret:MyBrokerSecretName\".\nThe exact string depends on the type.",
18744 "see": "SourceAccessConfigurationType",
18745 "stability": "stable",
18746 "summary": "The value for your chosen configuration in type."
18747 },
18748 "immutable": true,
18749 "locationInModule": {
18750 "filename": "lib/event-source-mapping.ts",
18751 "line": 74
18752 },
18753 "name": "uri",
18754 "type": {
18755 "primitive": "string"
18756 }
18757 }
18758 ],
18759 "symbolId": "lib/event-source-mapping:SourceAccessConfiguration"
18760 },
18761 "@aws-cdk/aws-lambda.SourceAccessConfigurationType": {
18762 "assembly": "@aws-cdk/aws-lambda",
18763 "docs": {
18764 "see": "https://docs.aws.amazon.com/lambda/latest/dg/API_SourceAccessConfiguration.html#SSS-Type-SourceAccessConfiguration-Type",
18765 "stability": "stable",
18766 "summary": "The type of authentication protocol or the VPC components for your event source's SourceAccessConfiguration.",
18767 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\nconst sourceAccessConfigurationType = lambda.SourceAccessConfigurationType.BASIC_AUTH;",
18768 "custom": {
18769 "exampleMetadata": "fixture=_generated"
18770 }
18771 },
18772 "fqn": "@aws-cdk/aws-lambda.SourceAccessConfigurationType",
18773 "kind": "class",
18774 "locationInModule": {
18775 "filename": "lib/event-source-mapping.ts",
18776 "line": 11
18777 },
18778 "methods": [
18779 {
18780 "docs": {
18781 "stability": "stable",
18782 "summary": "A custom source access configuration property."
18783 },
18784 "locationInModule": {
18785 "filename": "lib/event-source-mapping.ts",
18786 "line": 45
18787 },
18788 "name": "of",
18789 "parameters": [
18790 {
18791 "name": "name",
18792 "type": {
18793 "primitive": "string"
18794 }
18795 }
18796 ],
18797 "returns": {
18798 "type": {
18799 "fqn": "@aws-cdk/aws-lambda.SourceAccessConfigurationType"
18800 }
18801 },
18802 "static": true
18803 }
18804 ],
18805 "name": "SourceAccessConfigurationType",
18806 "properties": [
18807 {
18808 "const": true,
18809 "docs": {
18810 "stability": "stable",
18811 "summary": "(MQ) The Secrets Manager secret that stores your broker credentials."
18812 },
18813 "immutable": true,
18814 "locationInModule": {
18815 "filename": "lib/event-source-mapping.ts",
18816 "line": 16
18817 },
18818 "name": "BASIC_AUTH",
18819 "static": true,
18820 "type": {
18821 "fqn": "@aws-cdk/aws-lambda.SourceAccessConfigurationType"
18822 }
18823 },
18824 {
18825 "const": true,
18826 "docs": {
18827 "stability": "stable",
18828 "summary": "The Secrets Manager ARN of your secret key containing the certificate chain (X.509 PEM), private key (PKCS#8 PEM), and private key password (optional) used for mutual TLS authentication of your MSK/Apache Kafka brokers."
18829 },
18830 "immutable": true,
18831 "locationInModule": {
18832 "filename": "lib/event-source-mapping.ts",
18833 "line": 42
18834 },
18835 "name": "CLIENT_CERTIFICATE_TLS_AUTH",
18836 "static": true,
18837 "type": {
18838 "fqn": "@aws-cdk/aws-lambda.SourceAccessConfigurationType"
18839 }
18840 },
18841 {
18842 "const": true,
18843 "docs": {
18844 "stability": "stable",
18845 "summary": "The Secrets Manager ARN of your secret key used for SASL SCRAM-256 authentication of your Self-Managed Apache Kafka brokers."
18846 },
18847 "immutable": true,
18848 "locationInModule": {
18849 "filename": "lib/event-source-mapping.ts",
18850 "line": 31
18851 },
18852 "name": "SASL_SCRAM_256_AUTH",
18853 "static": true,
18854 "type": {
18855 "fqn": "@aws-cdk/aws-lambda.SourceAccessConfigurationType"
18856 }
18857 },
18858 {
18859 "const": true,
18860 "docs": {
18861 "stability": "stable",
18862 "summary": "The Secrets Manager ARN of your secret key used for SASL SCRAM-512 authentication of your Self-Managed Apache Kafka brokers."
18863 },
18864 "immutable": true,
18865 "locationInModule": {
18866 "filename": "lib/event-source-mapping.ts",
18867 "line": 36
18868 },
18869 "name": "SASL_SCRAM_512_AUTH",
18870 "static": true,
18871 "type": {
18872 "fqn": "@aws-cdk/aws-lambda.SourceAccessConfigurationType"
18873 }
18874 },
18875 {
18876 "const": true,
18877 "docs": {
18878 "stability": "stable",
18879 "summary": "The VPC security group used to manage access to your Self-Managed Apache Kafka brokers."
18880 },
18881 "immutable": true,
18882 "locationInModule": {
18883 "filename": "lib/event-source-mapping.ts",
18884 "line": 26
18885 },
18886 "name": "VPC_SECURITY_GROUP",
18887 "static": true,
18888 "type": {
18889 "fqn": "@aws-cdk/aws-lambda.SourceAccessConfigurationType"
18890 }
18891 },
18892 {
18893 "const": true,
18894 "docs": {
18895 "remarks": "Lambda connects to these subnets to fetch data from your Self-Managed Apache Kafka cluster.",
18896 "stability": "stable",
18897 "summary": "The subnets associated with your VPC."
18898 },
18899 "immutable": true,
18900 "locationInModule": {
18901 "filename": "lib/event-source-mapping.ts",
18902 "line": 21
18903 },
18904 "name": "VPC_SUBNET",
18905 "static": true,
18906 "type": {
18907 "fqn": "@aws-cdk/aws-lambda.SourceAccessConfigurationType"
18908 }
18909 },
18910 {
18911 "docs": {
18912 "see": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-sourceaccessconfiguration.html#cfn-lambda-eventsourcemapping-sourceaccessconfiguration-type",
18913 "stability": "stable",
18914 "summary": "The key to use in `SourceAccessConfigurationProperty.Type` property in CloudFormation."
18915 },
18916 "immutable": true,
18917 "locationInModule": {
18918 "filename": "lib/event-source-mapping.ts",
18919 "line": 53
18920 },
18921 "name": "type",
18922 "type": {
18923 "primitive": "string"
18924 }
18925 }
18926 ],
18927 "symbolId": "lib/event-source-mapping:SourceAccessConfigurationType"
18928 },
18929 "@aws-cdk/aws-lambda.StartingPosition": {
18930 "assembly": "@aws-cdk/aws-lambda",
18931 "docs": {
18932 "stability": "stable",
18933 "summary": "The position in the DynamoDB, Kinesis or MSK stream where AWS Lambda should start reading.",
18934 "example": "import { Secret } from '@aws-cdk/aws-secretsmanager';\nimport { SelfManagedKafkaEventSource } from '@aws-cdk/aws-lambda-event-sources';\n\n// The list of Kafka brokers\nconst bootstrapServers = ['kafka-broker:9092'];\n\n// The Kafka topic you want to subscribe to\nconst topic = 'some-cool-topic';\n\n// The secret that allows access to your self hosted Kafka cluster\ndeclare const secret: Secret;\n\ndeclare const myFunction: lambda.Function;\nmyFunction.addEventSource(new SelfManagedKafkaEventSource({\n bootstrapServers: bootstrapServers,\n topic: topic,\n secret: secret,\n batchSize: 100, // default\n startingPosition: lambda.StartingPosition.TRIM_HORIZON,\n}));",
18935 "custom": {
18936 "exampleMetadata": "infused"
18937 }
18938 },
18939 "fqn": "@aws-cdk/aws-lambda.StartingPosition",
18940 "kind": "enum",
18941 "locationInModule": {
18942 "filename": "lib/event-source-mapping.ts",
18943 "line": 342
18944 },
18945 "members": [
18946 {
18947 "docs": {
18948 "stability": "stable",
18949 "summary": "Start reading at the last untrimmed record in the shard in the system, which is the oldest data record in the shard."
18950 },
18951 "name": "TRIM_HORIZON"
18952 },
18953 {
18954 "docs": {
18955 "stability": "stable",
18956 "summary": "Start reading just after the most recent record in the shard, so that you always read the most recent data in the shard."
18957 },
18958 "name": "LATEST"
18959 }
18960 ],
18961 "name": "StartingPosition",
18962 "symbolId": "lib/event-source-mapping:StartingPosition"
18963 },
18964 "@aws-cdk/aws-lambda.Tracing": {
18965 "assembly": "@aws-cdk/aws-lambda",
18966 "docs": {
18967 "stability": "stable",
18968 "summary": "X-Ray Tracing Modes (https://docs.aws.amazon.com/lambda/latest/dg/API_TracingConfig.html).",
18969 "example": "const fn = new lambda.Function(this, 'MyFunction', {\n runtime: lambda.Runtime.NODEJS_16_X,\n handler: 'index.handler',\n code: lambda.Code.fromInline('exports.handler = function(event, ctx, cb) { return cb(null, \"hi\"); }'),\n tracing: lambda.Tracing.ACTIVE,\n});",
18970 "custom": {
18971 "exampleMetadata": "infused"
18972 }
18973 },
18974 "fqn": "@aws-cdk/aws-lambda.Tracing",
18975 "kind": "enum",
18976 "locationInModule": {
18977 "filename": "lib/function.ts",
18978 "line": 36
18979 },
18980 "members": [
18981 {
18982 "docs": {
18983 "remarks": "If no tracing header is received, Lambda will call X-Ray for a tracing decision.",
18984 "stability": "stable",
18985 "summary": "Lambda will respect any tracing header it receives from an upstream service."
18986 },
18987 "name": "ACTIVE"
18988 },
18989 {
18990 "docs": {
18991 "stability": "stable",
18992 "summary": "Lambda will only trace the request from an upstream service if it contains a tracing header with \"sampled=1\"."
18993 },
18994 "name": "PASS_THROUGH"
18995 },
18996 {
18997 "docs": {
18998 "stability": "stable",
18999 "summary": "Lambda will not trace any request."
19000 },
19001 "name": "DISABLED"
19002 }
19003 ],
19004 "name": "Tracing",
19005 "symbolId": "lib/function:Tracing"
19006 },
19007 "@aws-cdk/aws-lambda.UntrustedArtifactOnDeployment": {
19008 "assembly": "@aws-cdk/aws-lambda",
19009 "docs": {
19010 "stability": "stable",
19011 "summary": "Code signing configuration policy for deployment validation failure."
19012 },
19013 "fqn": "@aws-cdk/aws-lambda.UntrustedArtifactOnDeployment",
19014 "kind": "enum",
19015 "locationInModule": {
19016 "filename": "lib/code-signing-config.ts",
19017 "line": 9
19018 },
19019 "members": [
19020 {
19021 "docs": {
19022 "stability": "stable",
19023 "summary": "Lambda blocks the deployment request if signature validation checks fail."
19024 },
19025 "name": "ENFORCE"
19026 },
19027 {
19028 "docs": {
19029 "remarks": "Lambda issues a new Amazon CloudWatch metric, called a signature validation error and also stores the warning in CloudTrail.",
19030 "stability": "stable",
19031 "summary": "Lambda allows the deployment of the code package, but issues a warning."
19032 },
19033 "name": "WARN"
19034 }
19035 ],
19036 "name": "UntrustedArtifactOnDeployment",
19037 "symbolId": "lib/code-signing-config:UntrustedArtifactOnDeployment"
19038 },
19039 "@aws-cdk/aws-lambda.UtilizationScalingOptions": {
19040 "assembly": "@aws-cdk/aws-lambda",
19041 "datatype": true,
19042 "docs": {
19043 "stability": "stable",
19044 "summary": "Options for enabling Lambda utilization tracking.",
19045 "example": "import * as autoscaling from '@aws-cdk/aws-autoscaling';\n\ndeclare const fn: lambda.Function;\nconst alias = fn.addAlias('prod');\n\n// Create AutoScaling target\nconst as = alias.addAutoScaling({ maxCapacity: 50 });\n\n// Configure Target Tracking\nas.scaleOnUtilization({\n utilizationTarget: 0.5,\n});\n\n// Configure Scheduled Scaling\nas.scaleOnSchedule('ScaleUpInTheMorning', {\n schedule: autoscaling.Schedule.cron({ hour: '8', minute: '0'}),\n minCapacity: 20,\n});",
19046 "custom": {
19047 "exampleMetadata": "infused"
19048 }
19049 },
19050 "fqn": "@aws-cdk/aws-lambda.UtilizationScalingOptions",
19051 "interfaces": [
19052 "@aws-cdk/aws-applicationautoscaling.BaseTargetTrackingProps"
19053 ],
19054 "kind": "interface",
19055 "locationInModule": {
19056 "filename": "lib/scalable-attribute-api.ts",
19057 "line": 24
19058 },
19059 "name": "UtilizationScalingOptions",
19060 "properties": [
19061 {
19062 "abstract": true,
19063 "docs": {
19064 "remarks": "For example, .5 indicates that 50 percent of allocated provisioned concurrency is in use.",
19065 "stability": "stable",
19066 "summary": "Utilization target for the attribute."
19067 },
19068 "immutable": true,
19069 "locationInModule": {
19070 "filename": "lib/scalable-attribute-api.ts",
19071 "line": 28
19072 },
19073 "name": "utilizationTarget",
19074 "type": {
19075 "primitive": "number"
19076 }
19077 }
19078 ],
19079 "symbolId": "lib/scalable-attribute-api:UtilizationScalingOptions"
19080 },
19081 "@aws-cdk/aws-lambda.Version": {
19082 "assembly": "@aws-cdk/aws-lambda",
19083 "base": "@aws-cdk/aws-lambda.QualifiedFunctionBase",
19084 "docs": {
19085 "remarks": "Avoid using this resource directly. If you need a Version object, use\n`function.currentVersion` instead. That will add a Version object to your\ntemplate, and make sure the Version is invalidated whenever the Function\nobject changes. If you use the `Version` resource directly, you are\nresponsible for making sure it is invalidated (by changing its\nlogical ID) whenever necessary.\n\nVersion resources can then be used in `Alias` resources to refer to a\nparticular deployment of a Lambda.\n\nIf you want to ensure that you're associating the right version with\nthe right deployment, specify the `codeSha256` property while\ncreating the `Version.",
19086 "stability": "stable",
19087 "summary": "Tag the current state of a Function with a Version number.",
19088 "example": "const lambdaCode = lambda.Code.fromCfnParameters();\nconst func = new lambda.Function(this, 'Lambda', {\n code: lambdaCode,\n handler: 'index.handler',\n runtime: lambda.Runtime.NODEJS_12_X,\n});\n// used to make sure each CDK synthesis produces a different Version\nconst version = func.currentVersion;\nconst alias = new lambda.Alias(this, 'LambdaAlias', {\n aliasName: 'Prod',\n version,\n});\n\nnew codedeploy.LambdaDeploymentGroup(this, 'DeploymentGroup', {\n alias,\n deploymentConfig: codedeploy.LambdaDeploymentConfig.LINEAR_10PERCENT_EVERY_1MINUTE,\n});",
19089 "custom": {
19090 "exampleMetadata": "infused"
19091 }
19092 },
19093 "fqn": "@aws-cdk/aws-lambda.Version",
19094 "initializer": {
19095 "docs": {
19096 "stability": "stable"
19097 },
19098 "locationInModule": {
19099 "filename": "lib/lambda-version.ts",
19100 "line": 189
19101 },
19102 "parameters": [
19103 {
19104 "name": "scope",
19105 "type": {
19106 "fqn": "constructs.Construct"
19107 }
19108 },
19109 {
19110 "name": "id",
19111 "type": {
19112 "primitive": "string"
19113 }
19114 },
19115 {
19116 "name": "props",
19117 "type": {
19118 "fqn": "@aws-cdk/aws-lambda.VersionProps"
19119 }
19120 }
19121 ]
19122 },
19123 "interfaces": [
19124 "@aws-cdk/aws-lambda.IVersion"
19125 ],
19126 "kind": "class",
19127 "locationInModule": {
19128 "filename": "lib/lambda-version.ts",
19129 "line": 114
19130 },
19131 "methods": [
19132 {
19133 "docs": {
19134 "stability": "stable",
19135 "summary": "Construct a Version object from a Version ARN."
19136 },
19137 "locationInModule": {
19138 "filename": "lib/lambda-version.ts",
19139 "line": 123
19140 },
19141 "name": "fromVersionArn",
19142 "parameters": [
19143 {
19144 "docs": {
19145 "summary": "The cdk scope creating this resource."
19146 },
19147 "name": "scope",
19148 "type": {
19149 "fqn": "constructs.Construct"
19150 }
19151 },
19152 {
19153 "docs": {
19154 "summary": "The cdk id of this resource."
19155 },
19156 "name": "id",
19157 "type": {
19158 "primitive": "string"
19159 }
19160 },
19161 {
19162 "docs": {
19163 "summary": "The version ARN to create this version from."
19164 },
19165 "name": "versionArn",
19166 "type": {
19167 "primitive": "string"
19168 }
19169 }
19170 ],
19171 "returns": {
19172 "type": {
19173 "fqn": "@aws-cdk/aws-lambda.IVersion"
19174 }
19175 },
19176 "static": true
19177 },
19178 {
19179 "docs": {
19180 "stability": "stable"
19181 },
19182 "locationInModule": {
19183 "filename": "lib/lambda-version.ts",
19184 "line": 153
19185 },
19186 "name": "fromVersionAttributes",
19187 "parameters": [
19188 {
19189 "name": "scope",
19190 "type": {
19191 "fqn": "constructs.Construct"
19192 }
19193 },
19194 {
19195 "name": "id",
19196 "type": {
19197 "primitive": "string"
19198 }
19199 },
19200 {
19201 "name": "attrs",
19202 "type": {
19203 "fqn": "@aws-cdk/aws-lambda.VersionAttributes"
19204 }
19205 }
19206 ],
19207 "returns": {
19208 "type": {
19209 "fqn": "@aws-cdk/aws-lambda.IVersion"
19210 }
19211 },
19212 "static": true
19213 },
19214 {
19215 "docs": {
19216 "deprecated": "Calling `addAlias` on a `Version` object will cause the Alias to be replaced on every function update. Call `function.addAlias()` or `new Alias()` instead.",
19217 "stability": "deprecated",
19218 "summary": "Defines an alias for this version."
19219 },
19220 "locationInModule": {
19221 "filename": "lib/lambda-version.ts",
19222 "line": 251
19223 },
19224 "name": "addAlias",
19225 "overrides": "@aws-cdk/aws-lambda.IVersion",
19226 "parameters": [
19227 {
19228 "docs": {
19229 "summary": "The name of the alias (e.g. \"live\")."
19230 },
19231 "name": "aliasName",
19232 "type": {
19233 "primitive": "string"
19234 }
19235 },
19236 {
19237 "docs": {
19238 "summary": "Alias options."
19239 },
19240 "name": "options",
19241 "optional": true,
19242 "type": {
19243 "fqn": "@aws-cdk/aws-lambda.AliasOptions"
19244 }
19245 }
19246 ],
19247 "returns": {
19248 "type": {
19249 "fqn": "@aws-cdk/aws-lambda.Alias"
19250 }
19251 }
19252 },
19253 {
19254 "docs": {
19255 "stability": "stable",
19256 "summary": "Return the given named metric for this Function."
19257 },
19258 "locationInModule": {
19259 "filename": "lib/lambda-version.ts",
19260 "line": 231
19261 },
19262 "name": "metric",
19263 "overrides": "@aws-cdk/aws-lambda.FunctionBase",
19264 "parameters": [
19265 {
19266 "name": "metricName",
19267 "type": {
19268 "primitive": "string"
19269 }
19270 },
19271 {
19272 "name": "props",
19273 "optional": true,
19274 "type": {
19275 "fqn": "@aws-cdk/aws-cloudwatch.MetricOptions"
19276 }
19277 }
19278 ],
19279 "returns": {
19280 "type": {
19281 "fqn": "@aws-cdk/aws-cloudwatch.Metric"
19282 }
19283 }
19284 }
19285 ],
19286 "name": "Version",
19287 "properties": [
19288 {
19289 "docs": {
19290 "stability": "stable",
19291 "summary": "The architecture of this Lambda Function."
19292 },
19293 "immutable": true,
19294 "locationInModule": {
19295 "filename": "lib/lambda-version.ts",
19296 "line": 184
19297 },
19298 "name": "architecture",
19299 "overrides": "@aws-cdk/aws-lambda.FunctionBase",
19300 "type": {
19301 "fqn": "@aws-cdk/aws-lambda.Architecture"
19302 }
19303 },
19304 {
19305 "docs": {
19306 "remarks": "True for new Lambdas, false for version $LATEST and imported Lambdas\nfrom different accounts.",
19307 "stability": "stable",
19308 "summary": "Whether the addPermission() call adds any permissions."
19309 },
19310 "immutable": true,
19311 "locationInModule": {
19312 "filename": "lib/lambda-version.ts",
19313 "line": 187
19314 },
19315 "name": "canCreatePermissions",
19316 "overrides": "@aws-cdk/aws-lambda.FunctionBase",
19317 "protected": true,
19318 "type": {
19319 "primitive": "boolean"
19320 }
19321 },
19322 {
19323 "docs": {
19324 "stability": "stable",
19325 "summary": "The ARN of the version for Lambda@Edge."
19326 },
19327 "immutable": true,
19328 "locationInModule": {
19329 "filename": "lib/lambda-version.ts",
19330 "line": 255
19331 },
19332 "name": "edgeArn",
19333 "overrides": "@aws-cdk/aws-lambda.IVersion",
19334 "type": {
19335 "primitive": "string"
19336 }
19337 },
19338 {
19339 "docs": {
19340 "stability": "stable",
19341 "summary": "The ARN fo the function."
19342 },
19343 "immutable": true,
19344 "locationInModule": {
19345 "filename": "lib/lambda-version.ts",
19346 "line": 182
19347 },
19348 "name": "functionArn",
19349 "overrides": "@aws-cdk/aws-lambda.FunctionBase",
19350 "type": {
19351 "primitive": "string"
19352 }
19353 },
19354 {
19355 "docs": {
19356 "stability": "stable",
19357 "summary": "The name of the function."
19358 },
19359 "immutable": true,
19360 "locationInModule": {
19361 "filename": "lib/lambda-version.ts",
19362 "line": 183
19363 },
19364 "name": "functionName",
19365 "overrides": "@aws-cdk/aws-lambda.FunctionBase",
19366 "type": {
19367 "primitive": "string"
19368 }
19369 },
19370 {
19371 "docs": {
19372 "stability": "stable",
19373 "summary": "The principal this Lambda Function is running as."
19374 },
19375 "immutable": true,
19376 "locationInModule": {
19377 "filename": "lib/lambda-version.ts",
19378 "line": 223
19379 },
19380 "name": "grantPrincipal",
19381 "overrides": "@aws-cdk/aws-lambda.FunctionBase",
19382 "type": {
19383 "fqn": "@aws-cdk/aws-iam.IPrincipal"
19384 }
19385 },
19386 {
19387 "docs": {
19388 "stability": "stable",
19389 "summary": "The underlying AWS Lambda function."
19390 },
19391 "immutable": true,
19392 "locationInModule": {
19393 "filename": "lib/lambda-version.ts",
19394 "line": 181
19395 },
19396 "name": "lambda",
19397 "overrides": "@aws-cdk/aws-lambda.QualifiedFunctionBase",
19398 "type": {
19399 "fqn": "@aws-cdk/aws-lambda.IFunction"
19400 }
19401 },
19402 {
19403 "docs": {
19404 "remarks": "A qualifier is the identifier that's appended to a version or alias ARN.",
19405 "stability": "stable",
19406 "summary": "The qualifier of the version or alias of this function."
19407 },
19408 "immutable": true,
19409 "locationInModule": {
19410 "filename": "lib/lambda-version.ts",
19411 "line": 186
19412 },
19413 "name": "qualifier",
19414 "overrides": "@aws-cdk/aws-lambda.QualifiedFunctionBase",
19415 "protected": true,
19416 "type": {
19417 "primitive": "string"
19418 }
19419 },
19420 {
19421 "docs": {
19422 "stability": "stable",
19423 "summary": "The most recently deployed version of this function."
19424 },
19425 "immutable": true,
19426 "locationInModule": {
19427 "filename": "lib/lambda-version.ts",
19428 "line": 180
19429 },
19430 "name": "version",
19431 "overrides": "@aws-cdk/aws-lambda.IVersion",
19432 "type": {
19433 "primitive": "string"
19434 }
19435 },
19436 {
19437 "docs": {
19438 "remarks": "Undefined if the function was imported without a role.",
19439 "stability": "stable",
19440 "summary": "The IAM role associated with this function."
19441 },
19442 "immutable": true,
19443 "locationInModule": {
19444 "filename": "lib/lambda-version.ts",
19445 "line": 227
19446 },
19447 "name": "role",
19448 "optional": true,
19449 "overrides": "@aws-cdk/aws-lambda.FunctionBase",
19450 "type": {
19451 "fqn": "@aws-cdk/aws-iam.IRole"
19452 }
19453 }
19454 ],
19455 "symbolId": "lib/lambda-version:Version"
19456 },
19457 "@aws-cdk/aws-lambda.VersionAttributes": {
19458 "assembly": "@aws-cdk/aws-lambda",
19459 "datatype": true,
19460 "docs": {
19461 "stability": "stable",
19462 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\n\ndeclare const function_: lambda.Function;\nconst versionAttributes: lambda.VersionAttributes = {\n lambda: function_,\n version: 'version',\n};",
19463 "custom": {
19464 "exampleMetadata": "fixture=_generated"
19465 }
19466 },
19467 "fqn": "@aws-cdk/aws-lambda.VersionAttributes",
19468 "kind": "interface",
19469 "locationInModule": {
19470 "filename": "lib/lambda-version.ts",
19471 "line": 85
19472 },
19473 "name": "VersionAttributes",
19474 "properties": [
19475 {
19476 "abstract": true,
19477 "docs": {
19478 "stability": "stable",
19479 "summary": "The lambda function."
19480 },
19481 "immutable": true,
19482 "locationInModule": {
19483 "filename": "lib/lambda-version.ts",
19484 "line": 94
19485 },
19486 "name": "lambda",
19487 "type": {
19488 "fqn": "@aws-cdk/aws-lambda.IFunction"
19489 }
19490 },
19491 {
19492 "abstract": true,
19493 "docs": {
19494 "stability": "stable",
19495 "summary": "The version."
19496 },
19497 "immutable": true,
19498 "locationInModule": {
19499 "filename": "lib/lambda-version.ts",
19500 "line": 89
19501 },
19502 "name": "version",
19503 "type": {
19504 "primitive": "string"
19505 }
19506 }
19507 ],
19508 "symbolId": "lib/lambda-version:VersionAttributes"
19509 },
19510 "@aws-cdk/aws-lambda.VersionOptions": {
19511 "assembly": "@aws-cdk/aws-lambda",
19512 "datatype": true,
19513 "docs": {
19514 "stability": "stable",
19515 "summary": "Options for `lambda.Version`.",
19516 "example": "const fn = new lambda.Function(this, 'MyFunction', {\n currentVersionOptions: {\n removalPolicy: RemovalPolicy.RETAIN, // retain old versions\n retryAttempts: 1, // async retry attempts\n },\n runtime: lambda.Runtime.NODEJS_16_X,\n handler: 'index.handler',\n code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),\n});\n\nfn.addAlias('live');",
19517 "custom": {
19518 "exampleMetadata": "infused"
19519 }
19520 },
19521 "fqn": "@aws-cdk/aws-lambda.VersionOptions",
19522 "interfaces": [
19523 "@aws-cdk/aws-lambda.EventInvokeConfigOptions"
19524 ],
19525 "kind": "interface",
19526 "locationInModule": {
19527 "filename": "lib/lambda-version.ts",
19528 "line": 42
19529 },
19530 "name": "VersionOptions",
19531 "properties": [
19532 {
19533 "abstract": true,
19534 "docs": {
19535 "default": "No validation is performed",
19536 "remarks": "Specify to validate that you're deploying the right version.",
19537 "stability": "stable",
19538 "summary": "SHA256 of the version of the Lambda source code."
19539 },
19540 "immutable": true,
19541 "locationInModule": {
19542 "filename": "lib/lambda-version.ts",
19543 "line": 50
19544 },
19545 "name": "codeSha256",
19546 "optional": true,
19547 "type": {
19548 "primitive": "string"
19549 }
19550 },
19551 {
19552 "abstract": true,
19553 "docs": {
19554 "default": "Description of the Lambda",
19555 "stability": "stable",
19556 "summary": "Description of the version."
19557 },
19558 "immutable": true,
19559 "locationInModule": {
19560 "filename": "lib/lambda-version.ts",
19561 "line": 57
19562 },
19563 "name": "description",
19564 "optional": true,
19565 "type": {
19566 "primitive": "string"
19567 }
19568 },
19569 {
19570 "abstract": true,
19571 "docs": {
19572 "default": "No provisioned concurrency",
19573 "stability": "stable",
19574 "summary": "Specifies a provisioned concurrency configuration for a function's version."
19575 },
19576 "immutable": true,
19577 "locationInModule": {
19578 "filename": "lib/lambda-version.ts",
19579 "line": 64
19580 },
19581 "name": "provisionedConcurrentExecutions",
19582 "optional": true,
19583 "type": {
19584 "primitive": "number"
19585 }
19586 },
19587 {
19588 "abstract": true,
19589 "docs": {
19590 "default": "RemovalPolicy.DESTROY",
19591 "stability": "stable",
19592 "summary": "Whether to retain old versions of this function when a new version is created."
19593 },
19594 "immutable": true,
19595 "locationInModule": {
19596 "filename": "lib/lambda-version.ts",
19597 "line": 72
19598 },
19599 "name": "removalPolicy",
19600 "optional": true,
19601 "type": {
19602 "fqn": "@aws-cdk/core.RemovalPolicy"
19603 }
19604 }
19605 ],
19606 "symbolId": "lib/lambda-version:VersionOptions"
19607 },
19608 "@aws-cdk/aws-lambda.VersionProps": {
19609 "assembly": "@aws-cdk/aws-lambda",
19610 "datatype": true,
19611 "docs": {
19612 "stability": "stable",
19613 "summary": "Properties for a new Lambda version.",
19614 "example": "declare const fn: lambda.Function;\nconst version = new lambda.Version(this, 'MyVersion', {\n lambda: fn,\n});",
19615 "custom": {
19616 "exampleMetadata": "infused"
19617 }
19618 },
19619 "fqn": "@aws-cdk/aws-lambda.VersionProps",
19620 "interfaces": [
19621 "@aws-cdk/aws-lambda.VersionOptions"
19622 ],
19623 "kind": "interface",
19624 "locationInModule": {
19625 "filename": "lib/lambda-version.ts",
19626 "line": 78
19627 },
19628 "name": "VersionProps",
19629 "properties": [
19630 {
19631 "abstract": true,
19632 "docs": {
19633 "stability": "stable",
19634 "summary": "Function to get the value of."
19635 },
19636 "immutable": true,
19637 "locationInModule": {
19638 "filename": "lib/lambda-version.ts",
19639 "line": 82
19640 },
19641 "name": "lambda",
19642 "type": {
19643 "fqn": "@aws-cdk/aws-lambda.IFunction"
19644 }
19645 }
19646 ],
19647 "symbolId": "lib/lambda-version:VersionProps"
19648 },
19649 "@aws-cdk/aws-lambda.VersionWeight": {
19650 "assembly": "@aws-cdk/aws-lambda",
19651 "datatype": true,
19652 "docs": {
19653 "stability": "stable",
19654 "summary": "A version/weight pair for routing traffic to Lambda functions.",
19655 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as lambda from '@aws-cdk/aws-lambda';\n\ndeclare const version: lambda.Version;\nconst versionWeight: lambda.VersionWeight = {\n version: version,\n weight: 123,\n};",
19656 "custom": {
19657 "exampleMetadata": "fixture=_generated"
19658 }
19659 },
19660 "fqn": "@aws-cdk/aws-lambda.VersionWeight",
19661 "kind": "interface",
19662 "locationInModule": {
19663 "filename": "lib/alias.ts",
19664 "line": 295
19665 },
19666 "name": "VersionWeight",
19667 "properties": [
19668 {
19669 "abstract": true,
19670 "docs": {
19671 "stability": "stable",
19672 "summary": "The version to route traffic to."
19673 },
19674 "immutable": true,
19675 "locationInModule": {
19676 "filename": "lib/alias.ts",
19677 "line": 299
19678 },
19679 "name": "version",
19680 "type": {
19681 "fqn": "@aws-cdk/aws-lambda.IVersion"
19682 }
19683 },
19684 {
19685 "abstract": true,
19686 "docs": {
19687 "stability": "stable",
19688 "summary": "How much weight to assign to this version (0..1)."
19689 },
19690 "immutable": true,
19691 "locationInModule": {
19692 "filename": "lib/alias.ts",
19693 "line": 304
19694 },
19695 "name": "weight",
19696 "type": {
19697 "primitive": "number"
19698 }
19699 }
19700 ],
19701 "symbolId": "lib/alias:VersionWeight"
19702 }
19703 },
19704 "version": "1.174.0",
19705 "fingerprint": "**********"
19706}
\No newline at end of file