@aws-solutions-constructs/aws-apigateway-lambda 2.80.0 → 2.82.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. package/.jsii +43 -4
  2. package/lib/index.js +1 -1
  3. package/package.json +6 -6
  4. package/test/integ.apilam-deployFunction.js.snapshot/apilam-deployFunction.assets.json +3 -3
  5. package/test/integ.apilam-deployFunction.js.snapshot/apilam-deployFunction.template.json +24 -35
  6. package/test/integ.apilam-deployFunction.js.snapshot/apilamdeployFunctionIntegDefaultTestDeployAssert281C111D.assets.json +1 -1
  7. package/test/integ.apilam-deployFunction.js.snapshot/cdk.out +1 -1
  8. package/test/integ.apilam-deployFunction.js.snapshot/integ.json +1 -1
  9. package/test/integ.apilam-deployFunction.js.snapshot/manifest.json +290 -6
  10. package/test/integ.apilam-deployFunction.js.snapshot/tree.json +1 -927
  11. package/test/integ.apilam-existingFunction.js.snapshot/apilam-existingFunction.assets.json +3 -3
  12. package/test/integ.apilam-existingFunction.js.snapshot/apilam-existingFunction.template.json +24 -35
  13. package/test/integ.apilam-existingFunction.js.snapshot/apilamexistingFunctionIntegDefaultTestDeployAssert4238FD03.assets.json +1 -1
  14. package/test/integ.apilam-existingFunction.js.snapshot/cdk.out +1 -1
  15. package/test/integ.apilam-existingFunction.js.snapshot/integ.json +1 -1
  16. package/test/integ.apilam-existingFunction.js.snapshot/manifest.json +290 -6
  17. package/test/integ.apilam-existingFunction.js.snapshot/tree.json +1 -927
  18. package/test/integ.apilam-no-usage-plan.js.snapshot/apilam-no-usage-plan.assets.json +3 -3
  19. package/test/integ.apilam-no-usage-plan.js.snapshot/apilam-no-usage-plan.template.json +24 -35
  20. package/test/integ.apilam-no-usage-plan.js.snapshot/apilamnousageplanIntegDefaultTestDeployAssertFA088EA5.assets.json +1 -1
  21. package/test/integ.apilam-no-usage-plan.js.snapshot/cdk.out +1 -1
  22. package/test/integ.apilam-no-usage-plan.js.snapshot/integ.json +1 -1
  23. package/test/integ.apilam-no-usage-plan.js.snapshot/manifest.json +44 -41
  24. package/test/integ.apilam-no-usage-plan.js.snapshot/tree.json +1 -1078
@@ -1,1078 +1 @@
1
- {
2
- "version": "tree-0.1",
3
- "tree": {
4
- "id": "App",
5
- "path": "",
6
- "children": {
7
- "apilam-no-usage-plan": {
8
- "id": "apilam-no-usage-plan",
9
- "path": "apilam-no-usage-plan",
10
- "children": {
11
- "test-apigateway-lambda": {
12
- "id": "test-apigateway-lambda",
13
- "path": "apilam-no-usage-plan/test-apigateway-lambda",
14
- "children": {
15
- "LambdaFunctionServiceRole": {
16
- "id": "LambdaFunctionServiceRole",
17
- "path": "apilam-no-usage-plan/test-apigateway-lambda/LambdaFunctionServiceRole",
18
- "children": {
19
- "ImportLambdaFunctionServiceRole": {
20
- "id": "ImportLambdaFunctionServiceRole",
21
- "path": "apilam-no-usage-plan/test-apigateway-lambda/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole",
22
- "constructInfo": {
23
- "fqn": "aws-cdk-lib.Resource",
24
- "version": "2.179.0",
25
- "metadata": [
26
- "*"
27
- ]
28
- }
29
- },
30
- "Resource": {
31
- "id": "Resource",
32
- "path": "apilam-no-usage-plan/test-apigateway-lambda/LambdaFunctionServiceRole/Resource",
33
- "attributes": {
34
- "aws:cdk:cloudformation:type": "AWS::IAM::Role",
35
- "aws:cdk:cloudformation:props": {
36
- "assumeRolePolicyDocument": {
37
- "Statement": [
38
- {
39
- "Action": "sts:AssumeRole",
40
- "Effect": "Allow",
41
- "Principal": {
42
- "Service": "lambda.amazonaws.com"
43
- }
44
- }
45
- ],
46
- "Version": "2012-10-17"
47
- },
48
- "policies": [
49
- {
50
- "policyName": "LambdaFunctionServiceRolePolicy",
51
- "policyDocument": {
52
- "Statement": [
53
- {
54
- "Action": [
55
- "logs:CreateLogGroup",
56
- "logs:CreateLogStream",
57
- "logs:PutLogEvents"
58
- ],
59
- "Effect": "Allow",
60
- "Resource": {
61
- "Fn::Join": [
62
- "",
63
- [
64
- "arn:",
65
- {
66
- "Ref": "AWS::Partition"
67
- },
68
- ":logs:",
69
- {
70
- "Ref": "AWS::Region"
71
- },
72
- ":",
73
- {
74
- "Ref": "AWS::AccountId"
75
- },
76
- ":log-group:/aws/lambda/*"
77
- ]
78
- ]
79
- }
80
- }
81
- ],
82
- "Version": "2012-10-17"
83
- }
84
- }
85
- ]
86
- }
87
- },
88
- "constructInfo": {
89
- "fqn": "aws-cdk-lib.aws_iam.CfnRole",
90
- "version": "2.179.0"
91
- }
92
- },
93
- "DefaultPolicy": {
94
- "id": "DefaultPolicy",
95
- "path": "apilam-no-usage-plan/test-apigateway-lambda/LambdaFunctionServiceRole/DefaultPolicy",
96
- "children": {
97
- "Resource": {
98
- "id": "Resource",
99
- "path": "apilam-no-usage-plan/test-apigateway-lambda/LambdaFunctionServiceRole/DefaultPolicy/Resource",
100
- "attributes": {
101
- "aws:cdk:cloudformation:type": "AWS::IAM::Policy",
102
- "aws:cdk:cloudformation:props": {
103
- "policyDocument": {
104
- "Statement": [
105
- {
106
- "Action": [
107
- "xray:PutTelemetryRecords",
108
- "xray:PutTraceSegments"
109
- ],
110
- "Effect": "Allow",
111
- "Resource": "*"
112
- }
113
- ],
114
- "Version": "2012-10-17"
115
- },
116
- "policyName": "testapigatewaylambdaLambdaFunctionServiceRoleDefaultPolicyA5D0BE32",
117
- "roles": [
118
- {
119
- "Ref": "testapigatewaylambdaLambdaFunctionServiceRole5CD2E9F7"
120
- }
121
- ]
122
- }
123
- },
124
- "constructInfo": {
125
- "fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
126
- "version": "2.179.0"
127
- }
128
- }
129
- },
130
- "constructInfo": {
131
- "fqn": "aws-cdk-lib.aws_iam.Policy",
132
- "version": "2.179.0",
133
- "metadata": [
134
- "*",
135
- {
136
- "attachToRole": [
137
- "*"
138
- ]
139
- },
140
- {
141
- "attachToRole": [
142
- "*"
143
- ]
144
- },
145
- {
146
- "addStatements": [
147
- {}
148
- ]
149
- }
150
- ]
151
- }
152
- }
153
- },
154
- "constructInfo": {
155
- "fqn": "aws-cdk-lib.aws_iam.Role",
156
- "version": "2.179.0",
157
- "metadata": [
158
- {
159
- "assumedBy": {
160
- "principalAccount": "*",
161
- "assumeRoleAction": "*"
162
- },
163
- "inlinePolicies": "*"
164
- },
165
- {
166
- "addToPrincipalPolicy": [
167
- {}
168
- ]
169
- },
170
- {
171
- "attachInlinePolicy": [
172
- "*"
173
- ]
174
- },
175
- {
176
- "attachInlinePolicy": [
177
- "*"
178
- ]
179
- }
180
- ]
181
- }
182
- },
183
- "LambdaFunction": {
184
- "id": "LambdaFunction",
185
- "path": "apilam-no-usage-plan/test-apigateway-lambda/LambdaFunction",
186
- "children": {
187
- "Code": {
188
- "id": "Code",
189
- "path": "apilam-no-usage-plan/test-apigateway-lambda/LambdaFunction/Code",
190
- "children": {
191
- "Stage": {
192
- "id": "Stage",
193
- "path": "apilam-no-usage-plan/test-apigateway-lambda/LambdaFunction/Code/Stage",
194
- "constructInfo": {
195
- "fqn": "aws-cdk-lib.AssetStaging",
196
- "version": "2.179.0"
197
- }
198
- },
199
- "AssetBucket": {
200
- "id": "AssetBucket",
201
- "path": "apilam-no-usage-plan/test-apigateway-lambda/LambdaFunction/Code/AssetBucket",
202
- "constructInfo": {
203
- "fqn": "aws-cdk-lib.aws_s3.BucketBase",
204
- "version": "2.179.0",
205
- "metadata": []
206
- }
207
- }
208
- },
209
- "constructInfo": {
210
- "fqn": "aws-cdk-lib.aws_s3_assets.Asset",
211
- "version": "2.179.0"
212
- }
213
- },
214
- "Resource": {
215
- "id": "Resource",
216
- "path": "apilam-no-usage-plan/test-apigateway-lambda/LambdaFunction/Resource",
217
- "attributes": {
218
- "aws:cdk:cloudformation:type": "AWS::Lambda::Function",
219
- "aws:cdk:cloudformation:props": {
220
- "code": {
221
- "s3Bucket": {
222
- "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
223
- },
224
- "s3Key": "0904d3723480fed2daf7885caa427b930881caae6879d1e6b0d395020173ef6f.zip"
225
- },
226
- "environment": {
227
- "variables": {
228
- "AWS_NODEJS_CONNECTION_REUSE_ENABLED": "1"
229
- }
230
- },
231
- "handler": "index.handler",
232
- "role": {
233
- "Fn::GetAtt": [
234
- "testapigatewaylambdaLambdaFunctionServiceRole5CD2E9F7",
235
- "Arn"
236
- ]
237
- },
238
- "runtime": "nodejs20.x",
239
- "tracingConfig": {
240
- "mode": "Active"
241
- }
242
- }
243
- },
244
- "constructInfo": {
245
- "fqn": "aws-cdk-lib.aws_lambda.CfnFunction",
246
- "version": "2.179.0"
247
- }
248
- }
249
- },
250
- "constructInfo": {
251
- "fqn": "aws-cdk-lib.aws_lambda.Function",
252
- "version": "2.179.0",
253
- "metadata": [
254
- {
255
- "role": "*",
256
- "tracing": "Active",
257
- "runtime": "*",
258
- "handler": "*",
259
- "code": "*"
260
- },
261
- {
262
- "addEnvironment": [
263
- "*",
264
- "*",
265
- {
266
- "removeInEdge": true
267
- }
268
- ]
269
- }
270
- ]
271
- }
272
- },
273
- "ApiAccessLogGroup": {
274
- "id": "ApiAccessLogGroup",
275
- "path": "apilam-no-usage-plan/test-apigateway-lambda/ApiAccessLogGroup",
276
- "children": {
277
- "Resource": {
278
- "id": "Resource",
279
- "path": "apilam-no-usage-plan/test-apigateway-lambda/ApiAccessLogGroup/Resource",
280
- "attributes": {
281
- "aws:cdk:cloudformation:type": "AWS::Logs::LogGroup",
282
- "aws:cdk:cloudformation:props": {}
283
- },
284
- "constructInfo": {
285
- "fqn": "aws-cdk-lib.aws_logs.CfnLogGroup",
286
- "version": "2.179.0"
287
- }
288
- }
289
- },
290
- "constructInfo": {
291
- "fqn": "aws-cdk-lib.aws_logs.LogGroup",
292
- "version": "2.179.0",
293
- "metadata": [
294
- {
295
- "retention": 9999
296
- }
297
- ]
298
- }
299
- },
300
- "LambdaRestApi": {
301
- "id": "LambdaRestApi",
302
- "path": "apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApi",
303
- "children": {
304
- "Resource": {
305
- "id": "Resource",
306
- "path": "apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApi/Resource",
307
- "attributes": {
308
- "aws:cdk:cloudformation:type": "AWS::ApiGateway::RestApi",
309
- "aws:cdk:cloudformation:props": {
310
- "endpointConfiguration": {
311
- "types": [
312
- "EDGE"
313
- ]
314
- },
315
- "name": "LambdaRestApi"
316
- }
317
- },
318
- "constructInfo": {
319
- "fqn": "aws-cdk-lib.aws_apigateway.CfnRestApi",
320
- "version": "2.179.0"
321
- }
322
- },
323
- "Deployment": {
324
- "id": "Deployment",
325
- "path": "apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApi/Deployment",
326
- "children": {
327
- "Resource": {
328
- "id": "Resource",
329
- "path": "apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApi/Deployment/Resource",
330
- "attributes": {
331
- "aws:cdk:cloudformation:type": "AWS::ApiGateway::Deployment",
332
- "aws:cdk:cloudformation:props": {
333
- "description": "Automatically created by the RestApi construct",
334
- "restApiId": {
335
- "Ref": "testapigatewaylambdaLambdaRestApiE957E944"
336
- }
337
- }
338
- },
339
- "constructInfo": {
340
- "fqn": "aws-cdk-lib.aws_apigateway.CfnDeployment",
341
- "version": "2.179.0"
342
- }
343
- }
344
- },
345
- "constructInfo": {
346
- "fqn": "aws-cdk-lib.aws_apigateway.Deployment",
347
- "version": "2.179.0",
348
- "metadata": [
349
- {
350
- "description": "*",
351
- "api": "*",
352
- "retainDeployments": "*"
353
- },
354
- {
355
- "addToLogicalId": [
356
- {}
357
- ]
358
- },
359
- {
360
- "addToLogicalId": [
361
- {}
362
- ]
363
- },
364
- {
365
- "addToLogicalId": [
366
- {}
367
- ]
368
- }
369
- ]
370
- }
371
- },
372
- "DeploymentStage.prod": {
373
- "id": "DeploymentStage.prod",
374
- "path": "apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApi/DeploymentStage.prod",
375
- "children": {
376
- "Resource": {
377
- "id": "Resource",
378
- "path": "apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApi/DeploymentStage.prod/Resource",
379
- "attributes": {
380
- "aws:cdk:cloudformation:type": "AWS::ApiGateway::Stage",
381
- "aws:cdk:cloudformation:props": {
382
- "accessLogSetting": {
383
- "destinationArn": {
384
- "Fn::GetAtt": [
385
- "testapigatewaylambdaApiAccessLogGroupEB3253A2",
386
- "Arn"
387
- ]
388
- },
389
- "format": "{\"requestId\":\"$context.requestId\",\"ip\":\"$context.identity.sourceIp\",\"user\":\"$context.identity.user\",\"caller\":\"$context.identity.caller\",\"requestTime\":\"$context.requestTime\",\"httpMethod\":\"$context.httpMethod\",\"resourcePath\":\"$context.resourcePath\",\"status\":\"$context.status\",\"protocol\":\"$context.protocol\",\"responseLength\":\"$context.responseLength\"}"
390
- },
391
- "deploymentId": {
392
- "Ref": "testapigatewaylambdaLambdaRestApiDeployment85334BB3a1765c45928980e423727978265730d1"
393
- },
394
- "methodSettings": [
395
- {
396
- "httpMethod": "*",
397
- "resourcePath": "/*",
398
- "dataTraceEnabled": false,
399
- "loggingLevel": "INFO"
400
- }
401
- ],
402
- "restApiId": {
403
- "Ref": "testapigatewaylambdaLambdaRestApiE957E944"
404
- },
405
- "stageName": "prod",
406
- "tracingEnabled": true
407
- }
408
- },
409
- "constructInfo": {
410
- "fqn": "aws-cdk-lib.aws_apigateway.CfnStage",
411
- "version": "2.179.0"
412
- }
413
- }
414
- },
415
- "constructInfo": {
416
- "fqn": "aws-cdk-lib.aws_apigateway.Stage",
417
- "version": "2.179.0",
418
- "metadata": [
419
- {
420
- "deployment": "*",
421
- "accessLogDestination": "*",
422
- "accessLogFormat": "*",
423
- "loggingLevel": "INFO",
424
- "dataTraceEnabled": false,
425
- "tracingEnabled": true
426
- }
427
- ]
428
- }
429
- },
430
- "Endpoint": {
431
- "id": "Endpoint",
432
- "path": "apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApi/Endpoint",
433
- "constructInfo": {
434
- "fqn": "aws-cdk-lib.CfnOutput",
435
- "version": "2.179.0"
436
- }
437
- },
438
- "Default": {
439
- "id": "Default",
440
- "path": "apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApi/Default",
441
- "children": {
442
- "{proxy+}": {
443
- "id": "{proxy+}",
444
- "path": "apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApi/Default/{proxy+}",
445
- "children": {
446
- "Resource": {
447
- "id": "Resource",
448
- "path": "apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApi/Default/{proxy+}/Resource",
449
- "attributes": {
450
- "aws:cdk:cloudformation:type": "AWS::ApiGateway::Resource",
451
- "aws:cdk:cloudformation:props": {
452
- "parentId": {
453
- "Fn::GetAtt": [
454
- "testapigatewaylambdaLambdaRestApiE957E944",
455
- "RootResourceId"
456
- ]
457
- },
458
- "pathPart": "{proxy+}",
459
- "restApiId": {
460
- "Ref": "testapigatewaylambdaLambdaRestApiE957E944"
461
- }
462
- }
463
- },
464
- "constructInfo": {
465
- "fqn": "aws-cdk-lib.aws_apigateway.CfnResource",
466
- "version": "2.179.0"
467
- }
468
- },
469
- "ANY": {
470
- "id": "ANY",
471
- "path": "apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApi/Default/{proxy+}/ANY",
472
- "children": {
473
- "ApiPermission.apilamnousageplantestapigatewaylambdaLambdaRestApi37AE5E45.ANY..{proxy+}": {
474
- "id": "ApiPermission.apilamnousageplantestapigatewaylambdaLambdaRestApi37AE5E45.ANY..{proxy+}",
475
- "path": "apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApi/Default/{proxy+}/ANY/ApiPermission.apilamnousageplantestapigatewaylambdaLambdaRestApi37AE5E45.ANY..{proxy+}",
476
- "attributes": {
477
- "aws:cdk:cloudformation:type": "AWS::Lambda::Permission",
478
- "aws:cdk:cloudformation:props": {
479
- "action": "lambda:InvokeFunction",
480
- "functionName": {
481
- "Fn::GetAtt": [
482
- "testapigatewaylambdaLambdaFunction18FF222F",
483
- "Arn"
484
- ]
485
- },
486
- "principal": "apigateway.amazonaws.com",
487
- "sourceArn": {
488
- "Fn::Join": [
489
- "",
490
- [
491
- "arn:",
492
- {
493
- "Ref": "AWS::Partition"
494
- },
495
- ":execute-api:",
496
- {
497
- "Ref": "AWS::Region"
498
- },
499
- ":",
500
- {
501
- "Ref": "AWS::AccountId"
502
- },
503
- ":",
504
- {
505
- "Ref": "testapigatewaylambdaLambdaRestApiE957E944"
506
- },
507
- "/",
508
- {
509
- "Ref": "testapigatewaylambdaLambdaRestApiDeploymentStageprod4EBF7247"
510
- },
511
- "/*/*"
512
- ]
513
- ]
514
- }
515
- }
516
- },
517
- "constructInfo": {
518
- "fqn": "aws-cdk-lib.aws_lambda.CfnPermission",
519
- "version": "2.179.0"
520
- }
521
- },
522
- "ApiPermission.Test.apilamnousageplantestapigatewaylambdaLambdaRestApi37AE5E45.ANY..{proxy+}": {
523
- "id": "ApiPermission.Test.apilamnousageplantestapigatewaylambdaLambdaRestApi37AE5E45.ANY..{proxy+}",
524
- "path": "apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApi/Default/{proxy+}/ANY/ApiPermission.Test.apilamnousageplantestapigatewaylambdaLambdaRestApi37AE5E45.ANY..{proxy+}",
525
- "attributes": {
526
- "aws:cdk:cloudformation:type": "AWS::Lambda::Permission",
527
- "aws:cdk:cloudformation:props": {
528
- "action": "lambda:InvokeFunction",
529
- "functionName": {
530
- "Fn::GetAtt": [
531
- "testapigatewaylambdaLambdaFunction18FF222F",
532
- "Arn"
533
- ]
534
- },
535
- "principal": "apigateway.amazonaws.com",
536
- "sourceArn": {
537
- "Fn::Join": [
538
- "",
539
- [
540
- "arn:",
541
- {
542
- "Ref": "AWS::Partition"
543
- },
544
- ":execute-api:",
545
- {
546
- "Ref": "AWS::Region"
547
- },
548
- ":",
549
- {
550
- "Ref": "AWS::AccountId"
551
- },
552
- ":",
553
- {
554
- "Ref": "testapigatewaylambdaLambdaRestApiE957E944"
555
- },
556
- "/test-invoke-stage/*/*"
557
- ]
558
- ]
559
- }
560
- }
561
- },
562
- "constructInfo": {
563
- "fqn": "aws-cdk-lib.aws_lambda.CfnPermission",
564
- "version": "2.179.0"
565
- }
566
- },
567
- "Resource": {
568
- "id": "Resource",
569
- "path": "apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApi/Default/{proxy+}/ANY/Resource",
570
- "attributes": {
571
- "aws:cdk:cloudformation:type": "AWS::ApiGateway::Method",
572
- "aws:cdk:cloudformation:props": {
573
- "authorizationType": "AWS_IAM",
574
- "httpMethod": "ANY",
575
- "integration": {
576
- "type": "AWS_PROXY",
577
- "uri": {
578
- "Fn::Join": [
579
- "",
580
- [
581
- "arn:",
582
- {
583
- "Ref": "AWS::Partition"
584
- },
585
- ":apigateway:",
586
- {
587
- "Ref": "AWS::Region"
588
- },
589
- ":lambda:path/2015-03-31/functions/",
590
- {
591
- "Fn::GetAtt": [
592
- "testapigatewaylambdaLambdaFunction18FF222F",
593
- "Arn"
594
- ]
595
- },
596
- "/invocations"
597
- ]
598
- ]
599
- },
600
- "integrationHttpMethod": "POST"
601
- },
602
- "resourceId": {
603
- "Ref": "testapigatewaylambdaLambdaRestApiproxy2C2C544E"
604
- },
605
- "restApiId": {
606
- "Ref": "testapigatewaylambdaLambdaRestApiE957E944"
607
- }
608
- }
609
- },
610
- "constructInfo": {
611
- "fqn": "aws-cdk-lib.aws_apigateway.CfnMethod",
612
- "version": "2.179.0"
613
- }
614
- }
615
- },
616
- "constructInfo": {
617
- "fqn": "aws-cdk-lib.aws_apigateway.Method",
618
- "version": "2.179.0",
619
- "metadata": [
620
- {
621
- "resource": "*",
622
- "httpMethod": "*",
623
- "integration": "*",
624
- "options": "*"
625
- }
626
- ]
627
- }
628
- }
629
- },
630
- "constructInfo": {
631
- "fqn": "aws-cdk-lib.aws_apigateway.ProxyResource",
632
- "version": "2.179.0",
633
- "metadata": [
634
- {
635
- "defaultIntegration": "*",
636
- "defaultMethodOptions": "*"
637
- },
638
- {},
639
- {
640
- "addMethod": [
641
- "*"
642
- ]
643
- }
644
- ]
645
- }
646
- },
647
- "ANY": {
648
- "id": "ANY",
649
- "path": "apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApi/Default/ANY",
650
- "children": {
651
- "ApiPermission.apilamnousageplantestapigatewaylambdaLambdaRestApi37AE5E45.ANY..": {
652
- "id": "ApiPermission.apilamnousageplantestapigatewaylambdaLambdaRestApi37AE5E45.ANY..",
653
- "path": "apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApi/Default/ANY/ApiPermission.apilamnousageplantestapigatewaylambdaLambdaRestApi37AE5E45.ANY..",
654
- "attributes": {
655
- "aws:cdk:cloudformation:type": "AWS::Lambda::Permission",
656
- "aws:cdk:cloudformation:props": {
657
- "action": "lambda:InvokeFunction",
658
- "functionName": {
659
- "Fn::GetAtt": [
660
- "testapigatewaylambdaLambdaFunction18FF222F",
661
- "Arn"
662
- ]
663
- },
664
- "principal": "apigateway.amazonaws.com",
665
- "sourceArn": {
666
- "Fn::Join": [
667
- "",
668
- [
669
- "arn:",
670
- {
671
- "Ref": "AWS::Partition"
672
- },
673
- ":execute-api:",
674
- {
675
- "Ref": "AWS::Region"
676
- },
677
- ":",
678
- {
679
- "Ref": "AWS::AccountId"
680
- },
681
- ":",
682
- {
683
- "Ref": "testapigatewaylambdaLambdaRestApiE957E944"
684
- },
685
- "/",
686
- {
687
- "Ref": "testapigatewaylambdaLambdaRestApiDeploymentStageprod4EBF7247"
688
- },
689
- "/*/"
690
- ]
691
- ]
692
- }
693
- }
694
- },
695
- "constructInfo": {
696
- "fqn": "aws-cdk-lib.aws_lambda.CfnPermission",
697
- "version": "2.179.0"
698
- }
699
- },
700
- "ApiPermission.Test.apilamnousageplantestapigatewaylambdaLambdaRestApi37AE5E45.ANY..": {
701
- "id": "ApiPermission.Test.apilamnousageplantestapigatewaylambdaLambdaRestApi37AE5E45.ANY..",
702
- "path": "apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApi/Default/ANY/ApiPermission.Test.apilamnousageplantestapigatewaylambdaLambdaRestApi37AE5E45.ANY..",
703
- "attributes": {
704
- "aws:cdk:cloudformation:type": "AWS::Lambda::Permission",
705
- "aws:cdk:cloudformation:props": {
706
- "action": "lambda:InvokeFunction",
707
- "functionName": {
708
- "Fn::GetAtt": [
709
- "testapigatewaylambdaLambdaFunction18FF222F",
710
- "Arn"
711
- ]
712
- },
713
- "principal": "apigateway.amazonaws.com",
714
- "sourceArn": {
715
- "Fn::Join": [
716
- "",
717
- [
718
- "arn:",
719
- {
720
- "Ref": "AWS::Partition"
721
- },
722
- ":execute-api:",
723
- {
724
- "Ref": "AWS::Region"
725
- },
726
- ":",
727
- {
728
- "Ref": "AWS::AccountId"
729
- },
730
- ":",
731
- {
732
- "Ref": "testapigatewaylambdaLambdaRestApiE957E944"
733
- },
734
- "/test-invoke-stage/*/"
735
- ]
736
- ]
737
- }
738
- }
739
- },
740
- "constructInfo": {
741
- "fqn": "aws-cdk-lib.aws_lambda.CfnPermission",
742
- "version": "2.179.0"
743
- }
744
- },
745
- "Resource": {
746
- "id": "Resource",
747
- "path": "apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApi/Default/ANY/Resource",
748
- "attributes": {
749
- "aws:cdk:cloudformation:type": "AWS::ApiGateway::Method",
750
- "aws:cdk:cloudformation:props": {
751
- "authorizationType": "AWS_IAM",
752
- "httpMethod": "ANY",
753
- "integration": {
754
- "type": "AWS_PROXY",
755
- "uri": {
756
- "Fn::Join": [
757
- "",
758
- [
759
- "arn:",
760
- {
761
- "Ref": "AWS::Partition"
762
- },
763
- ":apigateway:",
764
- {
765
- "Ref": "AWS::Region"
766
- },
767
- ":lambda:path/2015-03-31/functions/",
768
- {
769
- "Fn::GetAtt": [
770
- "testapigatewaylambdaLambdaFunction18FF222F",
771
- "Arn"
772
- ]
773
- },
774
- "/invocations"
775
- ]
776
- ]
777
- },
778
- "integrationHttpMethod": "POST"
779
- },
780
- "resourceId": {
781
- "Fn::GetAtt": [
782
- "testapigatewaylambdaLambdaRestApiE957E944",
783
- "RootResourceId"
784
- ]
785
- },
786
- "restApiId": {
787
- "Ref": "testapigatewaylambdaLambdaRestApiE957E944"
788
- }
789
- }
790
- },
791
- "constructInfo": {
792
- "fqn": "aws-cdk-lib.aws_apigateway.CfnMethod",
793
- "version": "2.179.0"
794
- }
795
- }
796
- },
797
- "constructInfo": {
798
- "fqn": "aws-cdk-lib.aws_apigateway.Method",
799
- "version": "2.179.0",
800
- "metadata": [
801
- {
802
- "resource": "*",
803
- "httpMethod": "*",
804
- "integration": "*",
805
- "options": "*"
806
- }
807
- ]
808
- }
809
- }
810
- },
811
- "constructInfo": {
812
- "fqn": "aws-cdk-lib.aws_apigateway.ResourceBase",
813
- "version": "2.179.0",
814
- "metadata": [
815
- "*"
816
- ]
817
- }
818
- }
819
- },
820
- "constructInfo": {
821
- "fqn": "aws-cdk-lib.aws_apigateway.LambdaRestApi",
822
- "version": "2.179.0",
823
- "metadata": [
824
- {
825
- "defaultIntegration": "*",
826
- "endpointConfiguration": {
827
- "types": [
828
- "EDGE"
829
- ]
830
- },
831
- "cloudWatchRole": false,
832
- "deployOptions": {
833
- "accessLogDestination": "*",
834
- "accessLogFormat": "*",
835
- "loggingLevel": "INFO",
836
- "dataTraceEnabled": false,
837
- "tracingEnabled": true
838
- },
839
- "defaultMethodOptions": {
840
- "authorizationType": "*"
841
- },
842
- "handler": "*"
843
- },
844
- {
845
- "endpointConfiguration": {
846
- "types": [
847
- "EDGE"
848
- ]
849
- },
850
- "cloudWatchRole": false,
851
- "deployOptions": {
852
- "accessLogDestination": "*",
853
- "accessLogFormat": "*",
854
- "loggingLevel": "INFO",
855
- "dataTraceEnabled": false,
856
- "tracingEnabled": true
857
- },
858
- "defaultMethodOptions": {
859
- "authorizationType": "*"
860
- },
861
- "handler": "*"
862
- }
863
- ]
864
- }
865
- },
866
- "LambdaRestApiCloudWatchRole": {
867
- "id": "LambdaRestApiCloudWatchRole",
868
- "path": "apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApiCloudWatchRole",
869
- "children": {
870
- "ImportLambdaRestApiCloudWatchRole": {
871
- "id": "ImportLambdaRestApiCloudWatchRole",
872
- "path": "apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApiCloudWatchRole/ImportLambdaRestApiCloudWatchRole",
873
- "constructInfo": {
874
- "fqn": "aws-cdk-lib.Resource",
875
- "version": "2.179.0",
876
- "metadata": [
877
- "*"
878
- ]
879
- }
880
- },
881
- "Resource": {
882
- "id": "Resource",
883
- "path": "apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApiCloudWatchRole/Resource",
884
- "attributes": {
885
- "aws:cdk:cloudformation:type": "AWS::IAM::Role",
886
- "aws:cdk:cloudformation:props": {
887
- "assumeRolePolicyDocument": {
888
- "Statement": [
889
- {
890
- "Action": "sts:AssumeRole",
891
- "Effect": "Allow",
892
- "Principal": {
893
- "Service": "apigateway.amazonaws.com"
894
- }
895
- }
896
- ],
897
- "Version": "2012-10-17"
898
- },
899
- "policies": [
900
- {
901
- "policyName": "LambdaRestApiCloudWatchRolePolicy",
902
- "policyDocument": {
903
- "Statement": [
904
- {
905
- "Action": [
906
- "logs:CreateLogGroup",
907
- "logs:CreateLogStream",
908
- "logs:DescribeLogGroups",
909
- "logs:DescribeLogStreams",
910
- "logs:FilterLogEvents",
911
- "logs:GetLogEvents",
912
- "logs:PutLogEvents"
913
- ],
914
- "Effect": "Allow",
915
- "Resource": {
916
- "Fn::Join": [
917
- "",
918
- [
919
- "arn:",
920
- {
921
- "Ref": "AWS::Partition"
922
- },
923
- ":logs:",
924
- {
925
- "Ref": "AWS::Region"
926
- },
927
- ":",
928
- {
929
- "Ref": "AWS::AccountId"
930
- },
931
- ":*"
932
- ]
933
- ]
934
- }
935
- }
936
- ],
937
- "Version": "2012-10-17"
938
- }
939
- }
940
- ]
941
- }
942
- },
943
- "constructInfo": {
944
- "fqn": "aws-cdk-lib.aws_iam.CfnRole",
945
- "version": "2.179.0"
946
- }
947
- }
948
- },
949
- "constructInfo": {
950
- "fqn": "aws-cdk-lib.aws_iam.Role",
951
- "version": "2.179.0",
952
- "metadata": [
953
- {
954
- "assumedBy": {
955
- "principalAccount": "*",
956
- "assumeRoleAction": "*"
957
- },
958
- "inlinePolicies": "*"
959
- }
960
- ]
961
- }
962
- },
963
- "LambdaRestApiAccount": {
964
- "id": "LambdaRestApiAccount",
965
- "path": "apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApiAccount",
966
- "attributes": {
967
- "aws:cdk:cloudformation:type": "AWS::ApiGateway::Account",
968
- "aws:cdk:cloudformation:props": {
969
- "cloudWatchRoleArn": {
970
- "Fn::GetAtt": [
971
- "testapigatewaylambdaLambdaRestApiCloudWatchRole6D45E039",
972
- "Arn"
973
- ]
974
- }
975
- }
976
- },
977
- "constructInfo": {
978
- "fqn": "aws-cdk-lib.aws_apigateway.CfnAccount",
979
- "version": "2.179.0"
980
- }
981
- }
982
- },
983
- "constructInfo": {
984
- "fqn": "@aws-solutions-constructs/aws-apigateway-lambda.ApiGatewayToLambda",
985
- "version": "2.79.1"
986
- }
987
- },
988
- "Integ": {
989
- "id": "Integ",
990
- "path": "apilam-no-usage-plan/Integ",
991
- "children": {
992
- "DefaultTest": {
993
- "id": "DefaultTest",
994
- "path": "apilam-no-usage-plan/Integ/DefaultTest",
995
- "children": {
996
- "Default": {
997
- "id": "Default",
998
- "path": "apilam-no-usage-plan/Integ/DefaultTest/Default",
999
- "constructInfo": {
1000
- "fqn": "constructs.Construct",
1001
- "version": "10.4.2"
1002
- }
1003
- },
1004
- "DeployAssert": {
1005
- "id": "DeployAssert",
1006
- "path": "apilam-no-usage-plan/Integ/DefaultTest/DeployAssert",
1007
- "children": {
1008
- "BootstrapVersion": {
1009
- "id": "BootstrapVersion",
1010
- "path": "apilam-no-usage-plan/Integ/DefaultTest/DeployAssert/BootstrapVersion",
1011
- "constructInfo": {
1012
- "fqn": "aws-cdk-lib.CfnParameter",
1013
- "version": "2.179.0"
1014
- }
1015
- },
1016
- "CheckBootstrapVersion": {
1017
- "id": "CheckBootstrapVersion",
1018
- "path": "apilam-no-usage-plan/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion",
1019
- "constructInfo": {
1020
- "fqn": "aws-cdk-lib.CfnRule",
1021
- "version": "2.179.0"
1022
- }
1023
- }
1024
- },
1025
- "constructInfo": {
1026
- "fqn": "aws-cdk-lib.Stack",
1027
- "version": "2.179.0"
1028
- }
1029
- }
1030
- },
1031
- "constructInfo": {
1032
- "fqn": "@aws-cdk/integ-tests-alpha.IntegTestCase",
1033
- "version": "2.179.0-alpha.0"
1034
- }
1035
- }
1036
- },
1037
- "constructInfo": {
1038
- "fqn": "@aws-cdk/integ-tests-alpha.IntegTest",
1039
- "version": "2.179.0-alpha.0"
1040
- }
1041
- },
1042
- "BootstrapVersion": {
1043
- "id": "BootstrapVersion",
1044
- "path": "apilam-no-usage-plan/BootstrapVersion",
1045
- "constructInfo": {
1046
- "fqn": "aws-cdk-lib.CfnParameter",
1047
- "version": "2.179.0"
1048
- }
1049
- },
1050
- "CheckBootstrapVersion": {
1051
- "id": "CheckBootstrapVersion",
1052
- "path": "apilam-no-usage-plan/CheckBootstrapVersion",
1053
- "constructInfo": {
1054
- "fqn": "aws-cdk-lib.CfnRule",
1055
- "version": "2.179.0"
1056
- }
1057
- }
1058
- },
1059
- "constructInfo": {
1060
- "fqn": "aws-cdk-lib.Stack",
1061
- "version": "2.179.0"
1062
- }
1063
- },
1064
- "Tree": {
1065
- "id": "Tree",
1066
- "path": "Tree",
1067
- "constructInfo": {
1068
- "fqn": "constructs.Construct",
1069
- "version": "10.4.2"
1070
- }
1071
- }
1072
- },
1073
- "constructInfo": {
1074
- "fqn": "aws-cdk-lib.App",
1075
- "version": "2.179.0"
1076
- }
1077
- }
1078
- }
1
+ {"version":"tree-0.1","tree":{"id":"App","path":"","children":{"apilam-no-usage-plan":{"id":"apilam-no-usage-plan","path":"apilam-no-usage-plan","children":{"test-apigateway-lambda":{"id":"test-apigateway-lambda","path":"apilam-no-usage-plan/test-apigateway-lambda","children":{"LambdaFunctionServiceRole":{"id":"LambdaFunctionServiceRole","path":"apilam-no-usage-plan/test-apigateway-lambda/LambdaFunctionServiceRole","children":{"ImportLambdaFunctionServiceRole":{"id":"ImportLambdaFunctionServiceRole","path":"apilam-no-usage-plan/test-apigateway-lambda/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.186.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"apilam-no-usage-plan/test-apigateway-lambda/LambdaFunctionServiceRole/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:props":{"assumeRolePolicyDocument":{"Statement":[{"Action":"sts:AssumeRole","Effect":"Allow","Principal":{"Service":"lambda.amazonaws.com"}}],"Version":"2012-10-17"},"policies":[{"policyName":"LambdaFunctionServiceRolePolicy","policyDocument":{"Statement":[{"Action":["logs:CreateLogGroup","logs:CreateLogStream","logs:PutLogEvents"],"Effect":"Allow","Resource":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":logs:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":log-group:/aws/lambda/*"]]}}],"Version":"2012-10-17"}}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.186.0","metadata":[{"assumedBy":{"principalAccount":"*","assumeRoleAction":"*"},"inlinePolicies":"*"},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]}]}},"LambdaFunction":{"id":"LambdaFunction","path":"apilam-no-usage-plan/test-apigateway-lambda/LambdaFunction","children":{"Code":{"id":"Code","path":"apilam-no-usage-plan/test-apigateway-lambda/LambdaFunction/Code","children":{"Stage":{"id":"Stage","path":"apilam-no-usage-plan/test-apigateway-lambda/LambdaFunction/Code/Stage","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"2.186.0"}},"AssetBucket":{"id":"AssetBucket","path":"apilam-no-usage-plan/test-apigateway-lambda/LambdaFunction/Code/AssetBucket","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.BucketBase","version":"2.186.0","metadata":[]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_s3_assets.Asset","version":"2.186.0"}},"Resource":{"id":"Resource","path":"apilam-no-usage-plan/test-apigateway-lambda/LambdaFunction/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::Lambda::Function","aws:cdk:cloudformation:props":{"code":{"s3Bucket":{"Fn::Sub":"cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"},"s3Key":"0904d3723480fed2daf7885caa427b930881caae6879d1e6b0d395020173ef6f.zip"},"environment":{"variables":{"AWS_NODEJS_CONNECTION_REUSE_ENABLED":"1"}},"handler":"index.handler","role":{"Fn::GetAtt":["testapigatewaylambdaLambdaFunctionServiceRole5CD2E9F7","Arn"]},"runtime":"nodejs20.x","tracingConfig":{"mode":"Active"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.CfnFunction","version":"2.186.0"}},"inlinePolicyAddedToExecutionRole-0":{"id":"inlinePolicyAddedToExecutionRole-0","path":"apilam-no-usage-plan/test-apigateway-lambda/LambdaFunction/inlinePolicyAddedToExecutionRole-0","children":{"Resource":{"id":"Resource","path":"apilam-no-usage-plan/test-apigateway-lambda/LambdaFunction/inlinePolicyAddedToExecutionRole-0/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":["xray:PutTelemetryRecords","xray:PutTraceSegments"],"Effect":"Allow","Resource":"*"}],"Version":"2012-10-17"},"policyName":"testapigatewaylambdaLambdaFunctioninlinePolicyAddedToExecutionRole00FEF72FF","roles":[{"Ref":"testapigatewaylambdaLambdaFunctionServiceRole5CD2E9F7"}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.186.0","metadata":[{"statements":"*"},{"addStatements":[{}]},{"attachToRole":["*"]},{"attachToRole":["*"]}]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.Function","version":"2.186.0","metadata":[{"role":"*","tracing":"Active","runtime":"*","handler":"*","code":"*"},{"addEnvironment":["*","*",{"removeInEdge":true}]}]}},"ApiAccessLogGroup":{"id":"ApiAccessLogGroup","path":"apilam-no-usage-plan/test-apigateway-lambda/ApiAccessLogGroup","children":{"Resource":{"id":"Resource","path":"apilam-no-usage-plan/test-apigateway-lambda/ApiAccessLogGroup/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::Logs::LogGroup","aws:cdk:cloudformation:props":{}},"constructInfo":{"fqn":"aws-cdk-lib.aws_logs.CfnLogGroup","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_logs.LogGroup","version":"2.186.0","metadata":[{"retention":9999}]}},"LambdaRestApi":{"id":"LambdaRestApi","path":"apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApi","children":{"Resource":{"id":"Resource","path":"apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApi/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::ApiGateway::RestApi","aws:cdk:cloudformation:props":{"endpointConfiguration":{"types":["EDGE"]},"name":"LambdaRestApi"}},"constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.CfnRestApi","version":"2.186.0"}},"Deployment":{"id":"Deployment","path":"apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApi/Deployment","children":{"Resource":{"id":"Resource","path":"apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApi/Deployment/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::ApiGateway::Deployment","aws:cdk:cloudformation:props":{"description":"Automatically created by the RestApi construct","restApiId":{"Ref":"testapigatewaylambdaLambdaRestApiE957E944"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.CfnDeployment","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.Deployment","version":"2.186.0","metadata":[{"description":"*","api":"*","retainDeployments":"*"},{"addToLogicalId":[{}]},{"addToLogicalId":[{}]},{"addToLogicalId":[{}]}]}},"DeploymentStage.prod":{"id":"DeploymentStage.prod","path":"apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApi/DeploymentStage.prod","children":{"Resource":{"id":"Resource","path":"apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApi/DeploymentStage.prod/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::ApiGateway::Stage","aws:cdk:cloudformation:props":{"accessLogSetting":{"destinationArn":{"Fn::GetAtt":["testapigatewaylambdaApiAccessLogGroupEB3253A2","Arn"]},"format":"{\"requestId\":\"$context.requestId\",\"ip\":\"$context.identity.sourceIp\",\"user\":\"$context.identity.user\",\"caller\":\"$context.identity.caller\",\"requestTime\":\"$context.requestTime\",\"httpMethod\":\"$context.httpMethod\",\"resourcePath\":\"$context.resourcePath\",\"status\":\"$context.status\",\"protocol\":\"$context.protocol\",\"responseLength\":\"$context.responseLength\"}"},"deploymentId":{"Ref":"testapigatewaylambdaLambdaRestApiDeployment85334BB3a1765c45928980e423727978265730d1"},"methodSettings":[{"httpMethod":"*","resourcePath":"/*","dataTraceEnabled":false,"loggingLevel":"INFO"}],"restApiId":{"Ref":"testapigatewaylambdaLambdaRestApiE957E944"},"stageName":"prod","tracingEnabled":true}},"constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.CfnStage","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.Stage","version":"2.186.0","metadata":[{"deployment":"*","accessLogDestination":"*","accessLogFormat":"*","loggingLevel":"INFO","dataTraceEnabled":false,"tracingEnabled":true}]}},"Endpoint":{"id":"Endpoint","path":"apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApi/Endpoint","constructInfo":{"fqn":"aws-cdk-lib.CfnOutput","version":"2.186.0"}},"Default":{"id":"Default","path":"apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApi/Default","children":{"{proxy+}":{"id":"{proxy+}","path":"apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApi/Default/{proxy+}","children":{"Resource":{"id":"Resource","path":"apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApi/Default/{proxy+}/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::ApiGateway::Resource","aws:cdk:cloudformation:props":{"parentId":{"Fn::GetAtt":["testapigatewaylambdaLambdaRestApiE957E944","RootResourceId"]},"pathPart":"{proxy+}","restApiId":{"Ref":"testapigatewaylambdaLambdaRestApiE957E944"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.CfnResource","version":"2.186.0"}},"ANY":{"id":"ANY","path":"apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApi/Default/{proxy+}/ANY","children":{"ApiPermission.apilamnousageplantestapigatewaylambdaLambdaRestApi37AE5E45.ANY..{proxy+}":{"id":"ApiPermission.apilamnousageplantestapigatewaylambdaLambdaRestApi37AE5E45.ANY..{proxy+}","path":"apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApi/Default/{proxy+}/ANY/ApiPermission.apilamnousageplantestapigatewaylambdaLambdaRestApi37AE5E45.ANY..{proxy+}","attributes":{"aws:cdk:cloudformation:type":"AWS::Lambda::Permission","aws:cdk:cloudformation:props":{"action":"lambda:InvokeFunction","functionName":{"Fn::GetAtt":["testapigatewaylambdaLambdaFunction18FF222F","Arn"]},"principal":"apigateway.amazonaws.com","sourceArn":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":execute-api:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":",{"Ref":"testapigatewaylambdaLambdaRestApiE957E944"},"/",{"Ref":"testapigatewaylambdaLambdaRestApiDeploymentStageprod4EBF7247"},"/*/*"]]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.CfnPermission","version":"2.186.0"}},"ApiPermission.Test.apilamnousageplantestapigatewaylambdaLambdaRestApi37AE5E45.ANY..{proxy+}":{"id":"ApiPermission.Test.apilamnousageplantestapigatewaylambdaLambdaRestApi37AE5E45.ANY..{proxy+}","path":"apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApi/Default/{proxy+}/ANY/ApiPermission.Test.apilamnousageplantestapigatewaylambdaLambdaRestApi37AE5E45.ANY..{proxy+}","attributes":{"aws:cdk:cloudformation:type":"AWS::Lambda::Permission","aws:cdk:cloudformation:props":{"action":"lambda:InvokeFunction","functionName":{"Fn::GetAtt":["testapigatewaylambdaLambdaFunction18FF222F","Arn"]},"principal":"apigateway.amazonaws.com","sourceArn":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":execute-api:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":",{"Ref":"testapigatewaylambdaLambdaRestApiE957E944"},"/test-invoke-stage/*/*"]]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.CfnPermission","version":"2.186.0"}},"Resource":{"id":"Resource","path":"apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApi/Default/{proxy+}/ANY/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::ApiGateway::Method","aws:cdk:cloudformation:props":{"authorizationType":"AWS_IAM","httpMethod":"ANY","integration":{"type":"AWS_PROXY","uri":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":apigateway:",{"Ref":"AWS::Region"},":lambda:path/2015-03-31/functions/",{"Fn::GetAtt":["testapigatewaylambdaLambdaFunction18FF222F","Arn"]},"/invocations"]]},"integrationHttpMethod":"POST"},"resourceId":{"Ref":"testapigatewaylambdaLambdaRestApiproxy2C2C544E"},"restApiId":{"Ref":"testapigatewaylambdaLambdaRestApiE957E944"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.CfnMethod","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.Method","version":"2.186.0","metadata":[{"resource":"*","httpMethod":"*","integration":"*","options":"*"}]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.ProxyResource","version":"2.186.0","metadata":[{"defaultIntegration":"*","defaultMethodOptions":"*"},{},{"addMethod":["*"]}]}},"ANY":{"id":"ANY","path":"apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApi/Default/ANY","children":{"ApiPermission.apilamnousageplantestapigatewaylambdaLambdaRestApi37AE5E45.ANY..":{"id":"ApiPermission.apilamnousageplantestapigatewaylambdaLambdaRestApi37AE5E45.ANY..","path":"apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApi/Default/ANY/ApiPermission.apilamnousageplantestapigatewaylambdaLambdaRestApi37AE5E45.ANY..","attributes":{"aws:cdk:cloudformation:type":"AWS::Lambda::Permission","aws:cdk:cloudformation:props":{"action":"lambda:InvokeFunction","functionName":{"Fn::GetAtt":["testapigatewaylambdaLambdaFunction18FF222F","Arn"]},"principal":"apigateway.amazonaws.com","sourceArn":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":execute-api:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":",{"Ref":"testapigatewaylambdaLambdaRestApiE957E944"},"/",{"Ref":"testapigatewaylambdaLambdaRestApiDeploymentStageprod4EBF7247"},"/*/"]]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.CfnPermission","version":"2.186.0"}},"ApiPermission.Test.apilamnousageplantestapigatewaylambdaLambdaRestApi37AE5E45.ANY..":{"id":"ApiPermission.Test.apilamnousageplantestapigatewaylambdaLambdaRestApi37AE5E45.ANY..","path":"apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApi/Default/ANY/ApiPermission.Test.apilamnousageplantestapigatewaylambdaLambdaRestApi37AE5E45.ANY..","attributes":{"aws:cdk:cloudformation:type":"AWS::Lambda::Permission","aws:cdk:cloudformation:props":{"action":"lambda:InvokeFunction","functionName":{"Fn::GetAtt":["testapigatewaylambdaLambdaFunction18FF222F","Arn"]},"principal":"apigateway.amazonaws.com","sourceArn":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":execute-api:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":",{"Ref":"testapigatewaylambdaLambdaRestApiE957E944"},"/test-invoke-stage/*/"]]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.CfnPermission","version":"2.186.0"}},"Resource":{"id":"Resource","path":"apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApi/Default/ANY/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::ApiGateway::Method","aws:cdk:cloudformation:props":{"authorizationType":"AWS_IAM","httpMethod":"ANY","integration":{"type":"AWS_PROXY","uri":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":apigateway:",{"Ref":"AWS::Region"},":lambda:path/2015-03-31/functions/",{"Fn::GetAtt":["testapigatewaylambdaLambdaFunction18FF222F","Arn"]},"/invocations"]]},"integrationHttpMethod":"POST"},"resourceId":{"Fn::GetAtt":["testapigatewaylambdaLambdaRestApiE957E944","RootResourceId"]},"restApiId":{"Ref":"testapigatewaylambdaLambdaRestApiE957E944"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.CfnMethod","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.Method","version":"2.186.0","metadata":[{"resource":"*","httpMethod":"*","integration":"*","options":"*"}]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.ResourceBase","version":"2.186.0","metadata":["*"]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.LambdaRestApi","version":"2.186.0","metadata":[{"defaultIntegration":"*","endpointConfiguration":{"types":["EDGE"]},"cloudWatchRole":false,"deployOptions":{"accessLogDestination":"*","accessLogFormat":"*","loggingLevel":"INFO","dataTraceEnabled":false,"tracingEnabled":true},"defaultMethodOptions":{"authorizationType":"*"},"handler":"*"},{"endpointConfiguration":{"types":["EDGE"]},"cloudWatchRole":false,"deployOptions":{"accessLogDestination":"*","accessLogFormat":"*","loggingLevel":"INFO","dataTraceEnabled":false,"tracingEnabled":true},"defaultMethodOptions":{"authorizationType":"*"},"handler":"*"}]}},"LambdaRestApiCloudWatchRole":{"id":"LambdaRestApiCloudWatchRole","path":"apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApiCloudWatchRole","children":{"ImportLambdaRestApiCloudWatchRole":{"id":"ImportLambdaRestApiCloudWatchRole","path":"apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApiCloudWatchRole/ImportLambdaRestApiCloudWatchRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.186.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApiCloudWatchRole/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:props":{"assumeRolePolicyDocument":{"Statement":[{"Action":"sts:AssumeRole","Effect":"Allow","Principal":{"Service":"apigateway.amazonaws.com"}}],"Version":"2012-10-17"},"policies":[{"policyName":"LambdaRestApiCloudWatchRolePolicy","policyDocument":{"Statement":[{"Action":["logs:CreateLogGroup","logs:CreateLogStream","logs:DescribeLogGroups","logs:DescribeLogStreams","logs:FilterLogEvents","logs:GetLogEvents","logs:PutLogEvents"],"Effect":"Allow","Resource":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":logs:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":*"]]}}],"Version":"2012-10-17"}}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.186.0","metadata":[{"assumedBy":{"principalAccount":"*","assumeRoleAction":"*"},"inlinePolicies":"*"}]}},"LambdaRestApiAccount":{"id":"LambdaRestApiAccount","path":"apilam-no-usage-plan/test-apigateway-lambda/LambdaRestApiAccount","attributes":{"aws:cdk:cloudformation:type":"AWS::ApiGateway::Account","aws:cdk:cloudformation:props":{"cloudWatchRoleArn":{"Fn::GetAtt":["testapigatewaylambdaLambdaRestApiCloudWatchRole6D45E039","Arn"]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.CfnAccount","version":"2.186.0"}}},"constructInfo":{"fqn":"@aws-solutions-constructs/aws-apigateway-lambda.ApiGatewayToLambda","version":"2.80.0"}},"Integ":{"id":"Integ","path":"apilam-no-usage-plan/Integ","children":{"DefaultTest":{"id":"DefaultTest","path":"apilam-no-usage-plan/Integ/DefaultTest","children":{"Default":{"id":"Default","path":"apilam-no-usage-plan/Integ/DefaultTest/Default","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}},"DeployAssert":{"id":"DeployAssert","path":"apilam-no-usage-plan/Integ/DefaultTest/DeployAssert","children":{"BootstrapVersion":{"id":"BootstrapVersion","path":"apilam-no-usage-plan/Integ/DefaultTest/DeployAssert/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.186.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"apilam-no-usage-plan/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.186.0"}}},"constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTestCase","version":"2.186.0-alpha.0"}}},"constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTest","version":"2.186.0-alpha.0"}},"BootstrapVersion":{"id":"BootstrapVersion","path":"apilam-no-usage-plan/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.186.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"apilam-no-usage-plan/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.186.0"}},"Tree":{"id":"Tree","path":"Tree","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}}},"constructInfo":{"fqn":"aws-cdk-lib.App","version":"2.186.0"}}}