@aws-solutions-constructs/aws-lambda-sns 2.80.0 → 2.81.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.lamsns-deployFunction.js.snapshot/cdk.out +1 -1
  5. package/test/integ.lamsns-deployFunction.js.snapshot/integ.json +1 -1
  6. package/test/integ.lamsns-deployFunction.js.snapshot/lamsns-deployFunction.assets.json +3 -3
  7. package/test/integ.lamsns-deployFunction.js.snapshot/lamsns-deployFunction.template.json +24 -18
  8. package/test/integ.lamsns-deployFunction.js.snapshot/lamsnsdeployFunctionIntegDefaultTestDeployAssert36FE5D09.assets.json +1 -1
  9. package/test/integ.lamsns-deployFunction.js.snapshot/manifest.json +190 -3
  10. package/test/integ.lamsns-deployFunction.js.snapshot/tree.json +1 -474
  11. package/test/integ.lamsns-deployFunctionWithVpc.js.snapshot/cdk.out +1 -1
  12. package/test/integ.lamsns-deployFunctionWithVpc.js.snapshot/integ.json +1 -1
  13. package/test/integ.lamsns-deployFunctionWithVpc.js.snapshot/lamsns-deployFunctionWithVpc.assets.json +3 -3
  14. package/test/integ.lamsns-deployFunctionWithVpc.js.snapshot/lamsns-deployFunctionWithVpc.template.json +29 -3
  15. package/test/integ.lamsns-deployFunctionWithVpc.js.snapshot/lamsnsdeployFunctionWithVpcIntegDefaultTestDeployAssertEDF33408.assets.json +1 -1
  16. package/test/integ.lamsns-deployFunctionWithVpc.js.snapshot/manifest.json +52 -13
  17. package/test/integ.lamsns-deployFunctionWithVpc.js.snapshot/tree.json +1 -1412
  18. package/test/integ.lamsns-existingFunction.js.snapshot/cdk.out +1 -1
  19. package/test/integ.lamsns-existingFunction.js.snapshot/integ.json +1 -1
  20. package/test/integ.lamsns-existingFunction.js.snapshot/lamsns-existingFunction.assets.json +3 -3
  21. package/test/integ.lamsns-existingFunction.js.snapshot/lamsns-existingFunction.template.json +24 -18
  22. package/test/integ.lamsns-existingFunction.js.snapshot/lamsnsexistingFunctionIntegDefaultTestDeployAssert733AE3CB.assets.json +1 -1
  23. package/test/integ.lamsns-existingFunction.js.snapshot/manifest.json +190 -3
  24. package/test/integ.lamsns-existingFunction.js.snapshot/tree.json +1 -474
@@ -1,1412 +1 @@
1
- {
2
- "version": "tree-0.1",
3
- "tree": {
4
- "id": "App",
5
- "path": "",
6
- "children": {
7
- "lamsns-deployFunctionWithVpc": {
8
- "id": "lamsns-deployFunctionWithVpc",
9
- "path": "lamsns-deployFunctionWithVpc",
10
- "children": {
11
- "test-lambda-sns": {
12
- "id": "test-lambda-sns",
13
- "path": "lamsns-deployFunctionWithVpc/test-lambda-sns",
14
- "children": {
15
- "LambdaFunctionServiceRole": {
16
- "id": "LambdaFunctionServiceRole",
17
- "path": "lamsns-deployFunctionWithVpc/test-lambda-sns/LambdaFunctionServiceRole",
18
- "children": {
19
- "ImportLambdaFunctionServiceRole": {
20
- "id": "ImportLambdaFunctionServiceRole",
21
- "path": "lamsns-deployFunctionWithVpc/test-lambda-sns/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": "lamsns-deployFunctionWithVpc/test-lambda-sns/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": "lamsns-deployFunctionWithVpc/test-lambda-sns/LambdaFunctionServiceRole/DefaultPolicy",
96
- "children": {
97
- "Resource": {
98
- "id": "Resource",
99
- "path": "lamsns-deployFunctionWithVpc/test-lambda-sns/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
- "ec2:AssignPrivateIpAddresses",
108
- "ec2:CreateNetworkInterface",
109
- "ec2:DeleteNetworkInterface",
110
- "ec2:DescribeNetworkInterfaces",
111
- "ec2:UnassignPrivateIpAddresses",
112
- "xray:PutTelemetryRecords",
113
- "xray:PutTraceSegments"
114
- ],
115
- "Effect": "Allow",
116
- "Resource": "*"
117
- },
118
- {
119
- "Action": "sns:Publish",
120
- "Effect": "Allow",
121
- "Resource": {
122
- "Ref": "testlambdasnsSnsTopic57DFED98"
123
- }
124
- }
125
- ],
126
- "Version": "2012-10-17"
127
- },
128
- "policyName": "testlambdasnsLambdaFunctionServiceRoleDefaultPolicyBB1D55CB",
129
- "roles": [
130
- {
131
- "Ref": "testlambdasnsLambdaFunctionServiceRole9C412F74"
132
- }
133
- ]
134
- }
135
- },
136
- "constructInfo": {
137
- "fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
138
- "version": "2.179.0"
139
- }
140
- }
141
- },
142
- "constructInfo": {
143
- "fqn": "aws-cdk-lib.aws_iam.Policy",
144
- "version": "2.179.0",
145
- "metadata": [
146
- "*",
147
- {
148
- "attachToRole": [
149
- "*"
150
- ]
151
- },
152
- {
153
- "attachToRole": [
154
- "*"
155
- ]
156
- },
157
- {
158
- "addStatements": [
159
- {}
160
- ]
161
- },
162
- {
163
- "addStatements": [
164
- {}
165
- ]
166
- },
167
- {
168
- "addStatements": [
169
- {}
170
- ]
171
- }
172
- ]
173
- }
174
- }
175
- },
176
- "constructInfo": {
177
- "fqn": "aws-cdk-lib.aws_iam.Role",
178
- "version": "2.179.0",
179
- "metadata": [
180
- {
181
- "assumedBy": {
182
- "principalAccount": "*",
183
- "assumeRoleAction": "*"
184
- },
185
- "inlinePolicies": "*"
186
- },
187
- {
188
- "addToPolicy": [
189
- {}
190
- ]
191
- },
192
- {
193
- "addToPrincipalPolicy": [
194
- {}
195
- ]
196
- },
197
- {
198
- "attachInlinePolicy": [
199
- "*"
200
- ]
201
- },
202
- {
203
- "attachInlinePolicy": [
204
- "*"
205
- ]
206
- },
207
- {
208
- "addToPrincipalPolicy": [
209
- {}
210
- ]
211
- },
212
- {
213
- "addToPrincipalPolicy": [
214
- {}
215
- ]
216
- }
217
- ]
218
- }
219
- },
220
- "ReplaceDefaultSecurityGroup-security-group": {
221
- "id": "ReplaceDefaultSecurityGroup-security-group",
222
- "path": "lamsns-deployFunctionWithVpc/test-lambda-sns/ReplaceDefaultSecurityGroup-security-group",
223
- "children": {
224
- "Resource": {
225
- "id": "Resource",
226
- "path": "lamsns-deployFunctionWithVpc/test-lambda-sns/ReplaceDefaultSecurityGroup-security-group/Resource",
227
- "attributes": {
228
- "aws:cdk:cloudformation:type": "AWS::EC2::SecurityGroup",
229
- "aws:cdk:cloudformation:props": {
230
- "groupDescription": "lamsns-deployFunctionWithVpc/test-lambda-sns/ReplaceDefaultSecurityGroup-security-group",
231
- "securityGroupEgress": [
232
- {
233
- "cidrIp": "0.0.0.0/0",
234
- "description": "Allow all outbound traffic by default",
235
- "ipProtocol": "-1"
236
- }
237
- ],
238
- "vpcId": {
239
- "Ref": "Vpc8378EB38"
240
- }
241
- }
242
- },
243
- "constructInfo": {
244
- "fqn": "aws-cdk-lib.aws_ec2.CfnSecurityGroup",
245
- "version": "2.179.0"
246
- }
247
- }
248
- },
249
- "constructInfo": {
250
- "fqn": "aws-cdk-lib.aws_ec2.SecurityGroup",
251
- "version": "2.179.0",
252
- "metadata": [
253
- {
254
- "vpc": "*",
255
- "allowAllOutbound": true
256
- }
257
- ]
258
- }
259
- },
260
- "LambdaFunction": {
261
- "id": "LambdaFunction",
262
- "path": "lamsns-deployFunctionWithVpc/test-lambda-sns/LambdaFunction",
263
- "children": {
264
- "Code": {
265
- "id": "Code",
266
- "path": "lamsns-deployFunctionWithVpc/test-lambda-sns/LambdaFunction/Code",
267
- "children": {
268
- "Stage": {
269
- "id": "Stage",
270
- "path": "lamsns-deployFunctionWithVpc/test-lambda-sns/LambdaFunction/Code/Stage",
271
- "constructInfo": {
272
- "fqn": "aws-cdk-lib.AssetStaging",
273
- "version": "2.179.0"
274
- }
275
- },
276
- "AssetBucket": {
277
- "id": "AssetBucket",
278
- "path": "lamsns-deployFunctionWithVpc/test-lambda-sns/LambdaFunction/Code/AssetBucket",
279
- "constructInfo": {
280
- "fqn": "aws-cdk-lib.aws_s3.BucketBase",
281
- "version": "2.179.0",
282
- "metadata": []
283
- }
284
- }
285
- },
286
- "constructInfo": {
287
- "fqn": "aws-cdk-lib.aws_s3_assets.Asset",
288
- "version": "2.179.0"
289
- }
290
- },
291
- "Resource": {
292
- "id": "Resource",
293
- "path": "lamsns-deployFunctionWithVpc/test-lambda-sns/LambdaFunction/Resource",
294
- "attributes": {
295
- "aws:cdk:cloudformation:type": "AWS::Lambda::Function",
296
- "aws:cdk:cloudformation:props": {
297
- "code": {
298
- "s3Bucket": {
299
- "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
300
- },
301
- "s3Key": "0904d3723480fed2daf7885caa427b930881caae6879d1e6b0d395020173ef6f.zip"
302
- },
303
- "environment": {
304
- "variables": {
305
- "AWS_NODEJS_CONNECTION_REUSE_ENABLED": "1",
306
- "SNS_TOPIC_ARN": {
307
- "Ref": "testlambdasnsSnsTopic57DFED98"
308
- },
309
- "SNS_TOPIC_NAME": {
310
- "Fn::GetAtt": [
311
- "testlambdasnsSnsTopic57DFED98",
312
- "TopicName"
313
- ]
314
- }
315
- }
316
- },
317
- "handler": "index.handler",
318
- "role": {
319
- "Fn::GetAtt": [
320
- "testlambdasnsLambdaFunctionServiceRole9C412F74",
321
- "Arn"
322
- ]
323
- },
324
- "runtime": "nodejs20.x",
325
- "tracingConfig": {
326
- "mode": "Active"
327
- },
328
- "vpcConfig": {
329
- "subnetIds": [
330
- {
331
- "Ref": "VpcisolatedSubnet1SubnetE62B1B9B"
332
- },
333
- {
334
- "Ref": "VpcisolatedSubnet2Subnet39217055"
335
- }
336
- ],
337
- "securityGroupIds": [
338
- {
339
- "Fn::GetAtt": [
340
- "testlambdasnsReplaceDefaultSecurityGroupsecuritygroup071D13CB",
341
- "GroupId"
342
- ]
343
- }
344
- ]
345
- }
346
- }
347
- },
348
- "constructInfo": {
349
- "fqn": "aws-cdk-lib.aws_lambda.CfnFunction",
350
- "version": "2.179.0"
351
- }
352
- }
353
- },
354
- "constructInfo": {
355
- "fqn": "aws-cdk-lib.aws_lambda.Function",
356
- "version": "2.179.0",
357
- "metadata": [
358
- {
359
- "role": "*",
360
- "tracing": "Active",
361
- "runtime": "*",
362
- "handler": "*",
363
- "code": "*",
364
- "securityGroups": [
365
- "*"
366
- ],
367
- "vpc": "*"
368
- },
369
- {
370
- "addEnvironment": [
371
- "*",
372
- "*",
373
- {
374
- "removeInEdge": true
375
- }
376
- ]
377
- },
378
- {
379
- "addEnvironment": [
380
- "*",
381
- "*"
382
- ]
383
- },
384
- {
385
- "addEnvironment": [
386
- "*",
387
- "*"
388
- ]
389
- }
390
- ]
391
- }
392
- },
393
- "aws-managed-key": {
394
- "id": "aws-managed-key",
395
- "path": "lamsns-deployFunctionWithVpc/test-lambda-sns/aws-managed-key",
396
- "constructInfo": {
397
- "fqn": "aws-cdk-lib.Resource",
398
- "version": "2.179.0",
399
- "metadata": []
400
- }
401
- },
402
- "SnsTopic": {
403
- "id": "SnsTopic",
404
- "path": "lamsns-deployFunctionWithVpc/test-lambda-sns/SnsTopic",
405
- "children": {
406
- "Resource": {
407
- "id": "Resource",
408
- "path": "lamsns-deployFunctionWithVpc/test-lambda-sns/SnsTopic/Resource",
409
- "attributes": {
410
- "aws:cdk:cloudformation:type": "AWS::SNS::Topic",
411
- "aws:cdk:cloudformation:props": {
412
- "kmsMasterKeyId": {
413
- "Fn::Join": [
414
- "",
415
- [
416
- "arn:",
417
- {
418
- "Ref": "AWS::Partition"
419
- },
420
- ":kms:",
421
- {
422
- "Ref": "AWS::Region"
423
- },
424
- ":",
425
- {
426
- "Ref": "AWS::AccountId"
427
- },
428
- ":alias/aws/sns"
429
- ]
430
- ]
431
- }
432
- }
433
- },
434
- "constructInfo": {
435
- "fqn": "aws-cdk-lib.aws_sns.CfnTopic",
436
- "version": "2.179.0"
437
- }
438
- },
439
- "Policy": {
440
- "id": "Policy",
441
- "path": "lamsns-deployFunctionWithVpc/test-lambda-sns/SnsTopic/Policy",
442
- "children": {
443
- "Resource": {
444
- "id": "Resource",
445
- "path": "lamsns-deployFunctionWithVpc/test-lambda-sns/SnsTopic/Policy/Resource",
446
- "attributes": {
447
- "aws:cdk:cloudformation:type": "AWS::SNS::TopicPolicy",
448
- "aws:cdk:cloudformation:props": {
449
- "policyDocument": {
450
- "Statement": [
451
- {
452
- "Action": [
453
- "SNS:AddPermission",
454
- "SNS:DeleteTopic",
455
- "SNS:GetTopicAttributes",
456
- "SNS:ListSubscriptionsByTopic",
457
- "SNS:Publish",
458
- "SNS:Receive",
459
- "SNS:RemovePermission",
460
- "SNS:SetTopicAttributes",
461
- "SNS:Subscribe"
462
- ],
463
- "Condition": {
464
- "StringEquals": {
465
- "AWS:SourceOwner": {
466
- "Ref": "AWS::AccountId"
467
- }
468
- }
469
- },
470
- "Effect": "Allow",
471
- "Principal": {
472
- "AWS": {
473
- "Fn::Join": [
474
- "",
475
- [
476
- "arn:",
477
- {
478
- "Ref": "AWS::Partition"
479
- },
480
- ":iam::",
481
- {
482
- "Ref": "AWS::AccountId"
483
- },
484
- ":root"
485
- ]
486
- ]
487
- }
488
- },
489
- "Resource": {
490
- "Ref": "testlambdasnsSnsTopic57DFED98"
491
- },
492
- "Sid": "TopicOwnerOnlyAccess"
493
- },
494
- {
495
- "Action": [
496
- "SNS:AddPermission",
497
- "SNS:DeleteTopic",
498
- "SNS:GetTopicAttributes",
499
- "SNS:ListSubscriptionsByTopic",
500
- "SNS:Publish",
501
- "SNS:Receive",
502
- "SNS:RemovePermission",
503
- "SNS:SetTopicAttributes",
504
- "SNS:Subscribe"
505
- ],
506
- "Condition": {
507
- "Bool": {
508
- "aws:SecureTransport": "false"
509
- }
510
- },
511
- "Effect": "Deny",
512
- "Principal": {
513
- "AWS": "*"
514
- },
515
- "Resource": {
516
- "Ref": "testlambdasnsSnsTopic57DFED98"
517
- },
518
- "Sid": "HttpsOnly"
519
- }
520
- ],
521
- "Version": "2012-10-17"
522
- },
523
- "topics": [
524
- {
525
- "Ref": "testlambdasnsSnsTopic57DFED98"
526
- }
527
- ]
528
- }
529
- },
530
- "constructInfo": {
531
- "fqn": "aws-cdk-lib.aws_sns.CfnTopicPolicy",
532
- "version": "2.179.0"
533
- }
534
- }
535
- },
536
- "constructInfo": {
537
- "fqn": "aws-cdk-lib.aws_sns.TopicPolicy",
538
- "version": "2.179.0",
539
- "metadata": [
540
- {
541
- "topics": [
542
- "*"
543
- ]
544
- }
545
- ]
546
- }
547
- }
548
- },
549
- "constructInfo": {
550
- "fqn": "aws-cdk-lib.aws_sns.Topic",
551
- "version": "2.179.0",
552
- "metadata": [
553
- {
554
- "masterKey": "*"
555
- }
556
- ]
557
- }
558
- }
559
- },
560
- "constructInfo": {
561
- "fqn": "@aws-solutions-constructs/aws-lambda-sns.LambdaToSns",
562
- "version": "2.79.1"
563
- }
564
- },
565
- "Vpc": {
566
- "id": "Vpc",
567
- "path": "lamsns-deployFunctionWithVpc/Vpc",
568
- "children": {
569
- "Resource": {
570
- "id": "Resource",
571
- "path": "lamsns-deployFunctionWithVpc/Vpc/Resource",
572
- "attributes": {
573
- "aws:cdk:cloudformation:type": "AWS::EC2::VPC",
574
- "aws:cdk:cloudformation:props": {
575
- "cidrBlock": "10.0.0.0/16",
576
- "enableDnsHostnames": true,
577
- "enableDnsSupport": true,
578
- "instanceTenancy": "default",
579
- "tags": [
580
- {
581
- "key": "Name",
582
- "value": "lamsns-deployFunctionWithVpc/Vpc"
583
- }
584
- ]
585
- }
586
- },
587
- "constructInfo": {
588
- "fqn": "aws-cdk-lib.aws_ec2.CfnVPC",
589
- "version": "2.179.0"
590
- }
591
- },
592
- "isolatedSubnet1": {
593
- "id": "isolatedSubnet1",
594
- "path": "lamsns-deployFunctionWithVpc/Vpc/isolatedSubnet1",
595
- "children": {
596
- "Subnet": {
597
- "id": "Subnet",
598
- "path": "lamsns-deployFunctionWithVpc/Vpc/isolatedSubnet1/Subnet",
599
- "attributes": {
600
- "aws:cdk:cloudformation:type": "AWS::EC2::Subnet",
601
- "aws:cdk:cloudformation:props": {
602
- "availabilityZone": {
603
- "Fn::Select": [
604
- 0,
605
- {
606
- "Fn::GetAZs": ""
607
- }
608
- ]
609
- },
610
- "cidrBlock": "10.0.0.0/18",
611
- "mapPublicIpOnLaunch": false,
612
- "tags": [
613
- {
614
- "key": "aws-cdk:subnet-name",
615
- "value": "isolated"
616
- },
617
- {
618
- "key": "aws-cdk:subnet-type",
619
- "value": "Isolated"
620
- },
621
- {
622
- "key": "Name",
623
- "value": "lamsns-deployFunctionWithVpc/Vpc/isolatedSubnet1"
624
- }
625
- ],
626
- "vpcId": {
627
- "Ref": "Vpc8378EB38"
628
- }
629
- }
630
- },
631
- "constructInfo": {
632
- "fqn": "aws-cdk-lib.aws_ec2.CfnSubnet",
633
- "version": "2.179.0"
634
- }
635
- },
636
- "Acl": {
637
- "id": "Acl",
638
- "path": "lamsns-deployFunctionWithVpc/Vpc/isolatedSubnet1/Acl",
639
- "constructInfo": {
640
- "fqn": "aws-cdk-lib.Resource",
641
- "version": "2.179.0",
642
- "metadata": []
643
- }
644
- },
645
- "RouteTable": {
646
- "id": "RouteTable",
647
- "path": "lamsns-deployFunctionWithVpc/Vpc/isolatedSubnet1/RouteTable",
648
- "attributes": {
649
- "aws:cdk:cloudformation:type": "AWS::EC2::RouteTable",
650
- "aws:cdk:cloudformation:props": {
651
- "tags": [
652
- {
653
- "key": "Name",
654
- "value": "lamsns-deployFunctionWithVpc/Vpc/isolatedSubnet1"
655
- }
656
- ],
657
- "vpcId": {
658
- "Ref": "Vpc8378EB38"
659
- }
660
- }
661
- },
662
- "constructInfo": {
663
- "fqn": "aws-cdk-lib.aws_ec2.CfnRouteTable",
664
- "version": "2.179.0"
665
- }
666
- },
667
- "RouteTableAssociation": {
668
- "id": "RouteTableAssociation",
669
- "path": "lamsns-deployFunctionWithVpc/Vpc/isolatedSubnet1/RouteTableAssociation",
670
- "attributes": {
671
- "aws:cdk:cloudformation:type": "AWS::EC2::SubnetRouteTableAssociation",
672
- "aws:cdk:cloudformation:props": {
673
- "routeTableId": {
674
- "Ref": "VpcisolatedSubnet1RouteTableE442650B"
675
- },
676
- "subnetId": {
677
- "Ref": "VpcisolatedSubnet1SubnetE62B1B9B"
678
- }
679
- }
680
- },
681
- "constructInfo": {
682
- "fqn": "aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation",
683
- "version": "2.179.0"
684
- }
685
- }
686
- },
687
- "constructInfo": {
688
- "fqn": "aws-cdk-lib.aws_ec2.PrivateSubnet",
689
- "version": "2.179.0",
690
- "metadata": [
691
- {
692
- "availabilityZone": "*",
693
- "vpcId": "*",
694
- "cidrBlock": "*",
695
- "mapPublicIpOnLaunch": false,
696
- "ipv6CidrBlock": "*",
697
- "assignIpv6AddressOnCreation": "*"
698
- },
699
- {
700
- "availabilityZone": "*",
701
- "vpcId": "*",
702
- "cidrBlock": "*",
703
- "mapPublicIpOnLaunch": false,
704
- "ipv6CidrBlock": "*",
705
- "assignIpv6AddressOnCreation": "*"
706
- }
707
- ]
708
- }
709
- },
710
- "isolatedSubnet2": {
711
- "id": "isolatedSubnet2",
712
- "path": "lamsns-deployFunctionWithVpc/Vpc/isolatedSubnet2",
713
- "children": {
714
- "Subnet": {
715
- "id": "Subnet",
716
- "path": "lamsns-deployFunctionWithVpc/Vpc/isolatedSubnet2/Subnet",
717
- "attributes": {
718
- "aws:cdk:cloudformation:type": "AWS::EC2::Subnet",
719
- "aws:cdk:cloudformation:props": {
720
- "availabilityZone": {
721
- "Fn::Select": [
722
- 1,
723
- {
724
- "Fn::GetAZs": ""
725
- }
726
- ]
727
- },
728
- "cidrBlock": "10.0.64.0/18",
729
- "mapPublicIpOnLaunch": false,
730
- "tags": [
731
- {
732
- "key": "aws-cdk:subnet-name",
733
- "value": "isolated"
734
- },
735
- {
736
- "key": "aws-cdk:subnet-type",
737
- "value": "Isolated"
738
- },
739
- {
740
- "key": "Name",
741
- "value": "lamsns-deployFunctionWithVpc/Vpc/isolatedSubnet2"
742
- }
743
- ],
744
- "vpcId": {
745
- "Ref": "Vpc8378EB38"
746
- }
747
- }
748
- },
749
- "constructInfo": {
750
- "fqn": "aws-cdk-lib.aws_ec2.CfnSubnet",
751
- "version": "2.179.0"
752
- }
753
- },
754
- "Acl": {
755
- "id": "Acl",
756
- "path": "lamsns-deployFunctionWithVpc/Vpc/isolatedSubnet2/Acl",
757
- "constructInfo": {
758
- "fqn": "aws-cdk-lib.Resource",
759
- "version": "2.179.0",
760
- "metadata": []
761
- }
762
- },
763
- "RouteTable": {
764
- "id": "RouteTable",
765
- "path": "lamsns-deployFunctionWithVpc/Vpc/isolatedSubnet2/RouteTable",
766
- "attributes": {
767
- "aws:cdk:cloudformation:type": "AWS::EC2::RouteTable",
768
- "aws:cdk:cloudformation:props": {
769
- "tags": [
770
- {
771
- "key": "Name",
772
- "value": "lamsns-deployFunctionWithVpc/Vpc/isolatedSubnet2"
773
- }
774
- ],
775
- "vpcId": {
776
- "Ref": "Vpc8378EB38"
777
- }
778
- }
779
- },
780
- "constructInfo": {
781
- "fqn": "aws-cdk-lib.aws_ec2.CfnRouteTable",
782
- "version": "2.179.0"
783
- }
784
- },
785
- "RouteTableAssociation": {
786
- "id": "RouteTableAssociation",
787
- "path": "lamsns-deployFunctionWithVpc/Vpc/isolatedSubnet2/RouteTableAssociation",
788
- "attributes": {
789
- "aws:cdk:cloudformation:type": "AWS::EC2::SubnetRouteTableAssociation",
790
- "aws:cdk:cloudformation:props": {
791
- "routeTableId": {
792
- "Ref": "VpcisolatedSubnet2RouteTable334F9764"
793
- },
794
- "subnetId": {
795
- "Ref": "VpcisolatedSubnet2Subnet39217055"
796
- }
797
- }
798
- },
799
- "constructInfo": {
800
- "fqn": "aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation",
801
- "version": "2.179.0"
802
- }
803
- }
804
- },
805
- "constructInfo": {
806
- "fqn": "aws-cdk-lib.aws_ec2.PrivateSubnet",
807
- "version": "2.179.0",
808
- "metadata": [
809
- {
810
- "availabilityZone": "*",
811
- "vpcId": "*",
812
- "cidrBlock": "*",
813
- "mapPublicIpOnLaunch": false,
814
- "ipv6CidrBlock": "*",
815
- "assignIpv6AddressOnCreation": "*"
816
- },
817
- {
818
- "availabilityZone": "*",
819
- "vpcId": "*",
820
- "cidrBlock": "*",
821
- "mapPublicIpOnLaunch": false,
822
- "ipv6CidrBlock": "*",
823
- "assignIpv6AddressOnCreation": "*"
824
- }
825
- ]
826
- }
827
- },
828
- "RestrictDefaultSecurityGroupCustomResource": {
829
- "id": "RestrictDefaultSecurityGroupCustomResource",
830
- "path": "lamsns-deployFunctionWithVpc/Vpc/RestrictDefaultSecurityGroupCustomResource",
831
- "children": {
832
- "Default": {
833
- "id": "Default",
834
- "path": "lamsns-deployFunctionWithVpc/Vpc/RestrictDefaultSecurityGroupCustomResource/Default",
835
- "constructInfo": {
836
- "fqn": "aws-cdk-lib.CfnResource",
837
- "version": "2.179.0"
838
- }
839
- }
840
- },
841
- "constructInfo": {
842
- "fqn": "aws-cdk-lib.CustomResource",
843
- "version": "2.179.0",
844
- "metadata": [
845
- "*"
846
- ]
847
- }
848
- },
849
- "FlowLog": {
850
- "id": "FlowLog",
851
- "path": "lamsns-deployFunctionWithVpc/Vpc/FlowLog",
852
- "children": {
853
- "IAMRole": {
854
- "id": "IAMRole",
855
- "path": "lamsns-deployFunctionWithVpc/Vpc/FlowLog/IAMRole",
856
- "children": {
857
- "ImportIAMRole": {
858
- "id": "ImportIAMRole",
859
- "path": "lamsns-deployFunctionWithVpc/Vpc/FlowLog/IAMRole/ImportIAMRole",
860
- "constructInfo": {
861
- "fqn": "aws-cdk-lib.Resource",
862
- "version": "2.179.0",
863
- "metadata": [
864
- "*"
865
- ]
866
- }
867
- },
868
- "Resource": {
869
- "id": "Resource",
870
- "path": "lamsns-deployFunctionWithVpc/Vpc/FlowLog/IAMRole/Resource",
871
- "attributes": {
872
- "aws:cdk:cloudformation:type": "AWS::IAM::Role",
873
- "aws:cdk:cloudformation:props": {
874
- "assumeRolePolicyDocument": {
875
- "Statement": [
876
- {
877
- "Action": "sts:AssumeRole",
878
- "Effect": "Allow",
879
- "Principal": {
880
- "Service": "vpc-flow-logs.amazonaws.com"
881
- }
882
- }
883
- ],
884
- "Version": "2012-10-17"
885
- },
886
- "tags": [
887
- {
888
- "key": "Name",
889
- "value": "lamsns-deployFunctionWithVpc/Vpc/FlowLog"
890
- }
891
- ]
892
- }
893
- },
894
- "constructInfo": {
895
- "fqn": "aws-cdk-lib.aws_iam.CfnRole",
896
- "version": "2.179.0"
897
- }
898
- },
899
- "DefaultPolicy": {
900
- "id": "DefaultPolicy",
901
- "path": "lamsns-deployFunctionWithVpc/Vpc/FlowLog/IAMRole/DefaultPolicy",
902
- "children": {
903
- "Resource": {
904
- "id": "Resource",
905
- "path": "lamsns-deployFunctionWithVpc/Vpc/FlowLog/IAMRole/DefaultPolicy/Resource",
906
- "attributes": {
907
- "aws:cdk:cloudformation:type": "AWS::IAM::Policy",
908
- "aws:cdk:cloudformation:props": {
909
- "policyDocument": {
910
- "Statement": [
911
- {
912
- "Action": [
913
- "logs:CreateLogStream",
914
- "logs:DescribeLogStreams",
915
- "logs:PutLogEvents"
916
- ],
917
- "Effect": "Allow",
918
- "Resource": {
919
- "Fn::GetAtt": [
920
- "VpcFlowLogLogGroup7B5C56B9",
921
- "Arn"
922
- ]
923
- }
924
- },
925
- {
926
- "Action": "iam:PassRole",
927
- "Effect": "Allow",
928
- "Resource": {
929
- "Fn::GetAtt": [
930
- "VpcFlowLogIAMRole6A475D41",
931
- "Arn"
932
- ]
933
- }
934
- }
935
- ],
936
- "Version": "2012-10-17"
937
- },
938
- "policyName": "VpcFlowLogIAMRoleDefaultPolicy406FB995",
939
- "roles": [
940
- {
941
- "Ref": "VpcFlowLogIAMRole6A475D41"
942
- }
943
- ]
944
- }
945
- },
946
- "constructInfo": {
947
- "fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
948
- "version": "2.179.0"
949
- }
950
- }
951
- },
952
- "constructInfo": {
953
- "fqn": "aws-cdk-lib.aws_iam.Policy",
954
- "version": "2.179.0",
955
- "metadata": [
956
- "*",
957
- {
958
- "attachToRole": [
959
- "*"
960
- ]
961
- },
962
- {
963
- "attachToRole": [
964
- "*"
965
- ]
966
- },
967
- {
968
- "addStatements": [
969
- {}
970
- ]
971
- },
972
- {
973
- "addStatements": [
974
- {}
975
- ]
976
- }
977
- ]
978
- }
979
- }
980
- },
981
- "constructInfo": {
982
- "fqn": "aws-cdk-lib.aws_iam.Role",
983
- "version": "2.179.0",
984
- "metadata": [
985
- {
986
- "roleName": "*",
987
- "assumedBy": {
988
- "principalAccount": "*",
989
- "assumeRoleAction": "*"
990
- }
991
- },
992
- {
993
- "addToPrincipalPolicy": [
994
- {}
995
- ]
996
- },
997
- {
998
- "attachInlinePolicy": [
999
- "*"
1000
- ]
1001
- },
1002
- {
1003
- "attachInlinePolicy": [
1004
- "*"
1005
- ]
1006
- },
1007
- {
1008
- "addToPrincipalPolicy": [
1009
- {}
1010
- ]
1011
- }
1012
- ]
1013
- }
1014
- },
1015
- "LogGroup": {
1016
- "id": "LogGroup",
1017
- "path": "lamsns-deployFunctionWithVpc/Vpc/FlowLog/LogGroup",
1018
- "children": {
1019
- "Resource": {
1020
- "id": "Resource",
1021
- "path": "lamsns-deployFunctionWithVpc/Vpc/FlowLog/LogGroup/Resource",
1022
- "attributes": {
1023
- "aws:cdk:cloudformation:type": "AWS::Logs::LogGroup",
1024
- "aws:cdk:cloudformation:props": {
1025
- "retentionInDays": 731,
1026
- "tags": [
1027
- {
1028
- "key": "Name",
1029
- "value": "lamsns-deployFunctionWithVpc/Vpc/FlowLog"
1030
- }
1031
- ]
1032
- }
1033
- },
1034
- "constructInfo": {
1035
- "fqn": "aws-cdk-lib.aws_logs.CfnLogGroup",
1036
- "version": "2.179.0"
1037
- }
1038
- }
1039
- },
1040
- "constructInfo": {
1041
- "fqn": "aws-cdk-lib.aws_logs.LogGroup",
1042
- "version": "2.179.0",
1043
- "metadata": [
1044
- "*"
1045
- ]
1046
- }
1047
- },
1048
- "FlowLog": {
1049
- "id": "FlowLog",
1050
- "path": "lamsns-deployFunctionWithVpc/Vpc/FlowLog/FlowLog",
1051
- "attributes": {
1052
- "aws:cdk:cloudformation:type": "AWS::EC2::FlowLog",
1053
- "aws:cdk:cloudformation:props": {
1054
- "deliverLogsPermissionArn": {
1055
- "Fn::GetAtt": [
1056
- "VpcFlowLogIAMRole6A475D41",
1057
- "Arn"
1058
- ]
1059
- },
1060
- "logDestinationType": "cloud-watch-logs",
1061
- "logGroupName": {
1062
- "Ref": "VpcFlowLogLogGroup7B5C56B9"
1063
- },
1064
- "resourceId": {
1065
- "Ref": "Vpc8378EB38"
1066
- },
1067
- "resourceType": "VPC",
1068
- "tags": [
1069
- {
1070
- "key": "Name",
1071
- "value": "lamsns-deployFunctionWithVpc/Vpc/FlowLog"
1072
- }
1073
- ],
1074
- "trafficType": "ALL"
1075
- }
1076
- },
1077
- "constructInfo": {
1078
- "fqn": "aws-cdk-lib.aws_ec2.CfnFlowLog",
1079
- "version": "2.179.0"
1080
- }
1081
- }
1082
- },
1083
- "constructInfo": {
1084
- "fqn": "aws-cdk-lib.aws_ec2.FlowLog",
1085
- "version": "2.179.0",
1086
- "metadata": [
1087
- {
1088
- "resourceType": "*"
1089
- }
1090
- ]
1091
- }
1092
- },
1093
- "SNS": {
1094
- "id": "SNS",
1095
- "path": "lamsns-deployFunctionWithVpc/Vpc/SNS",
1096
- "children": {
1097
- "Resource": {
1098
- "id": "Resource",
1099
- "path": "lamsns-deployFunctionWithVpc/Vpc/SNS/Resource",
1100
- "attributes": {
1101
- "aws:cdk:cloudformation:type": "AWS::EC2::VPCEndpoint",
1102
- "aws:cdk:cloudformation:props": {
1103
- "tags": [
1104
- {
1105
- "key": "Name",
1106
- "value": "lamsns-deployFunctionWithVpc/Vpc"
1107
- }
1108
- ],
1109
- "privateDnsEnabled": true,
1110
- "securityGroupIds": [
1111
- {
1112
- "Fn::GetAtt": [
1113
- "lamsnsdeployFunctionWithVpcSNSsecuritygroup072F337C",
1114
- "GroupId"
1115
- ]
1116
- }
1117
- ],
1118
- "serviceName": {
1119
- "Fn::Join": [
1120
- "",
1121
- [
1122
- "com.amazonaws.",
1123
- {
1124
- "Ref": "AWS::Region"
1125
- },
1126
- ".sns"
1127
- ]
1128
- ]
1129
- },
1130
- "subnetIds": [
1131
- {
1132
- "Ref": "VpcisolatedSubnet1SubnetE62B1B9B"
1133
- },
1134
- {
1135
- "Ref": "VpcisolatedSubnet2Subnet39217055"
1136
- }
1137
- ],
1138
- "vpcEndpointType": "Interface",
1139
- "vpcId": {
1140
- "Ref": "Vpc8378EB38"
1141
- }
1142
- }
1143
- },
1144
- "constructInfo": {
1145
- "fqn": "aws-cdk-lib.aws_ec2.CfnVPCEndpoint",
1146
- "version": "2.179.0"
1147
- }
1148
- }
1149
- },
1150
- "constructInfo": {
1151
- "fqn": "aws-cdk-lib.aws_ec2.InterfaceVpcEndpoint",
1152
- "version": "2.179.0",
1153
- "metadata": [
1154
- {
1155
- "vpc": "*",
1156
- "service": {
1157
- "privateDnsDefault": true,
1158
- "name": "*",
1159
- "port": "*"
1160
- },
1161
- "securityGroups": [
1162
- "*"
1163
- ]
1164
- }
1165
- ]
1166
- }
1167
- }
1168
- },
1169
- "constructInfo": {
1170
- "fqn": "aws-cdk-lib.aws_ec2.Vpc",
1171
- "version": "2.179.0",
1172
- "metadata": [
1173
- {
1174
- "natGateways": "*",
1175
- "subnetConfiguration": [
1176
- {
1177
- "cidrMask": "*",
1178
- "name": "*",
1179
- "subnetType": "Isolated"
1180
- }
1181
- ],
1182
- "enableDnsHostnames": true,
1183
- "enableDnsSupport": true
1184
- }
1185
- ]
1186
- }
1187
- },
1188
- "LatestNodeRuntimeMap": {
1189
- "id": "LatestNodeRuntimeMap",
1190
- "path": "lamsns-deployFunctionWithVpc/LatestNodeRuntimeMap",
1191
- "constructInfo": {
1192
- "fqn": "aws-cdk-lib.CfnMapping",
1193
- "version": "2.179.0"
1194
- }
1195
- },
1196
- "Custom::VpcRestrictDefaultSGCustomResourceProvider": {
1197
- "id": "Custom::VpcRestrictDefaultSGCustomResourceProvider",
1198
- "path": "lamsns-deployFunctionWithVpc/Custom::VpcRestrictDefaultSGCustomResourceProvider",
1199
- "children": {
1200
- "Staging": {
1201
- "id": "Staging",
1202
- "path": "lamsns-deployFunctionWithVpc/Custom::VpcRestrictDefaultSGCustomResourceProvider/Staging",
1203
- "constructInfo": {
1204
- "fqn": "aws-cdk-lib.AssetStaging",
1205
- "version": "2.179.0"
1206
- }
1207
- },
1208
- "Role": {
1209
- "id": "Role",
1210
- "path": "lamsns-deployFunctionWithVpc/Custom::VpcRestrictDefaultSGCustomResourceProvider/Role",
1211
- "constructInfo": {
1212
- "fqn": "aws-cdk-lib.CfnResource",
1213
- "version": "2.179.0"
1214
- }
1215
- },
1216
- "Handler": {
1217
- "id": "Handler",
1218
- "path": "lamsns-deployFunctionWithVpc/Custom::VpcRestrictDefaultSGCustomResourceProvider/Handler",
1219
- "constructInfo": {
1220
- "fqn": "aws-cdk-lib.CfnResource",
1221
- "version": "2.179.0"
1222
- }
1223
- }
1224
- },
1225
- "constructInfo": {
1226
- "fqn": "aws-cdk-lib.CustomResourceProviderBase",
1227
- "version": "2.179.0"
1228
- }
1229
- },
1230
- "lamsns-deployFunctionWithVpc-SNS-security-group": {
1231
- "id": "lamsns-deployFunctionWithVpc-SNS-security-group",
1232
- "path": "lamsns-deployFunctionWithVpc/lamsns-deployFunctionWithVpc-SNS-security-group",
1233
- "children": {
1234
- "Resource": {
1235
- "id": "Resource",
1236
- "path": "lamsns-deployFunctionWithVpc/lamsns-deployFunctionWithVpc-SNS-security-group/Resource",
1237
- "attributes": {
1238
- "aws:cdk:cloudformation:type": "AWS::EC2::SecurityGroup",
1239
- "aws:cdk:cloudformation:props": {
1240
- "groupDescription": "lamsns-deployFunctionWithVpc/lamsns-deployFunctionWithVpc-SNS-security-group",
1241
- "securityGroupEgress": [
1242
- {
1243
- "cidrIp": "0.0.0.0/0",
1244
- "description": "Allow all outbound traffic by default",
1245
- "ipProtocol": "-1"
1246
- }
1247
- ],
1248
- "securityGroupIngress": [
1249
- {
1250
- "cidrIp": {
1251
- "Fn::GetAtt": [
1252
- "Vpc8378EB38",
1253
- "CidrBlock"
1254
- ]
1255
- },
1256
- "ipProtocol": "tcp",
1257
- "fromPort": 443,
1258
- "toPort": 443,
1259
- "description": {
1260
- "Fn::Join": [
1261
- "",
1262
- [
1263
- "from ",
1264
- {
1265
- "Fn::GetAtt": [
1266
- "Vpc8378EB38",
1267
- "CidrBlock"
1268
- ]
1269
- },
1270
- ":443"
1271
- ]
1272
- ]
1273
- }
1274
- }
1275
- ],
1276
- "vpcId": {
1277
- "Ref": "Vpc8378EB38"
1278
- }
1279
- }
1280
- },
1281
- "constructInfo": {
1282
- "fqn": "aws-cdk-lib.aws_ec2.CfnSecurityGroup",
1283
- "version": "2.179.0"
1284
- }
1285
- }
1286
- },
1287
- "constructInfo": {
1288
- "fqn": "aws-cdk-lib.aws_ec2.SecurityGroup",
1289
- "version": "2.179.0",
1290
- "metadata": [
1291
- {
1292
- "vpc": "*",
1293
- "allowAllOutbound": true
1294
- },
1295
- {
1296
- "addIngressRule": [
1297
- {
1298
- "canInlineRule": true,
1299
- "connections": "*",
1300
- "uniqueId": "*"
1301
- },
1302
- {},
1303
- "*",
1304
- "*"
1305
- ]
1306
- },
1307
- {
1308
- "addIngressRule": [
1309
- {
1310
- "canInlineRule": true,
1311
- "connections": "*",
1312
- "uniqueId": "*"
1313
- },
1314
- {},
1315
- "*",
1316
- false
1317
- ]
1318
- }
1319
- ]
1320
- }
1321
- },
1322
- "Integ": {
1323
- "id": "Integ",
1324
- "path": "lamsns-deployFunctionWithVpc/Integ",
1325
- "children": {
1326
- "DefaultTest": {
1327
- "id": "DefaultTest",
1328
- "path": "lamsns-deployFunctionWithVpc/Integ/DefaultTest",
1329
- "children": {
1330
- "Default": {
1331
- "id": "Default",
1332
- "path": "lamsns-deployFunctionWithVpc/Integ/DefaultTest/Default",
1333
- "constructInfo": {
1334
- "fqn": "constructs.Construct",
1335
- "version": "10.4.2"
1336
- }
1337
- },
1338
- "DeployAssert": {
1339
- "id": "DeployAssert",
1340
- "path": "lamsns-deployFunctionWithVpc/Integ/DefaultTest/DeployAssert",
1341
- "children": {
1342
- "BootstrapVersion": {
1343
- "id": "BootstrapVersion",
1344
- "path": "lamsns-deployFunctionWithVpc/Integ/DefaultTest/DeployAssert/BootstrapVersion",
1345
- "constructInfo": {
1346
- "fqn": "aws-cdk-lib.CfnParameter",
1347
- "version": "2.179.0"
1348
- }
1349
- },
1350
- "CheckBootstrapVersion": {
1351
- "id": "CheckBootstrapVersion",
1352
- "path": "lamsns-deployFunctionWithVpc/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion",
1353
- "constructInfo": {
1354
- "fqn": "aws-cdk-lib.CfnRule",
1355
- "version": "2.179.0"
1356
- }
1357
- }
1358
- },
1359
- "constructInfo": {
1360
- "fqn": "aws-cdk-lib.Stack",
1361
- "version": "2.179.0"
1362
- }
1363
- }
1364
- },
1365
- "constructInfo": {
1366
- "fqn": "@aws-cdk/integ-tests-alpha.IntegTestCase",
1367
- "version": "2.179.0-alpha.0"
1368
- }
1369
- }
1370
- },
1371
- "constructInfo": {
1372
- "fqn": "@aws-cdk/integ-tests-alpha.IntegTest",
1373
- "version": "2.179.0-alpha.0"
1374
- }
1375
- },
1376
- "BootstrapVersion": {
1377
- "id": "BootstrapVersion",
1378
- "path": "lamsns-deployFunctionWithVpc/BootstrapVersion",
1379
- "constructInfo": {
1380
- "fqn": "aws-cdk-lib.CfnParameter",
1381
- "version": "2.179.0"
1382
- }
1383
- },
1384
- "CheckBootstrapVersion": {
1385
- "id": "CheckBootstrapVersion",
1386
- "path": "lamsns-deployFunctionWithVpc/CheckBootstrapVersion",
1387
- "constructInfo": {
1388
- "fqn": "aws-cdk-lib.CfnRule",
1389
- "version": "2.179.0"
1390
- }
1391
- }
1392
- },
1393
- "constructInfo": {
1394
- "fqn": "aws-cdk-lib.Stack",
1395
- "version": "2.179.0"
1396
- }
1397
- },
1398
- "Tree": {
1399
- "id": "Tree",
1400
- "path": "Tree",
1401
- "constructInfo": {
1402
- "fqn": "constructs.Construct",
1403
- "version": "10.4.2"
1404
- }
1405
- }
1406
- },
1407
- "constructInfo": {
1408
- "fqn": "aws-cdk-lib.App",
1409
- "version": "2.179.0"
1410
- }
1411
- }
1412
- }
1
+ {"version":"tree-0.1","tree":{"id":"App","path":"","children":{"lamsns-deployFunctionWithVpc":{"id":"lamsns-deployFunctionWithVpc","path":"lamsns-deployFunctionWithVpc","children":{"test-lambda-sns":{"id":"test-lambda-sns","path":"lamsns-deployFunctionWithVpc/test-lambda-sns","children":{"LambdaFunctionServiceRole":{"id":"LambdaFunctionServiceRole","path":"lamsns-deployFunctionWithVpc/test-lambda-sns/LambdaFunctionServiceRole","children":{"ImportLambdaFunctionServiceRole":{"id":"ImportLambdaFunctionServiceRole","path":"lamsns-deployFunctionWithVpc/test-lambda-sns/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.186.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"lamsns-deployFunctionWithVpc/test-lambda-sns/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"}},"DefaultPolicy":{"id":"DefaultPolicy","path":"lamsns-deployFunctionWithVpc/test-lambda-sns/LambdaFunctionServiceRole/DefaultPolicy","children":{"Resource":{"id":"Resource","path":"lamsns-deployFunctionWithVpc/test-lambda-sns/LambdaFunctionServiceRole/DefaultPolicy/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":["ec2:AssignPrivateIpAddresses","ec2:CreateNetworkInterface","ec2:DeleteNetworkInterface","ec2:DescribeNetworkInterfaces","ec2:UnassignPrivateIpAddresses"],"Effect":"Allow","Resource":"*"},{"Action":"sns:Publish","Effect":"Allow","Resource":{"Ref":"testlambdasnsSnsTopic57DFED98"}}],"Version":"2012-10-17"},"policyName":"testlambdasnsLambdaFunctionServiceRoleDefaultPolicyBB1D55CB","roles":[{"Ref":"testlambdasnsLambdaFunctionServiceRole9C412F74"}]}},"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":["*",{"attachToRole":["*"]},{"attachToRole":["*"]},{"addStatements":[{}]},{"addStatements":[{}]}]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.186.0","metadata":[{"assumedBy":{"principalAccount":"*","assumeRoleAction":"*"},"inlinePolicies":"*"},{"addToPolicy":[{}]},{"addToPrincipalPolicy":[{}]},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]},{"addToPrincipalPolicy":[{}]}]}},"ReplaceDefaultSecurityGroup-security-group":{"id":"ReplaceDefaultSecurityGroup-security-group","path":"lamsns-deployFunctionWithVpc/test-lambda-sns/ReplaceDefaultSecurityGroup-security-group","children":{"Resource":{"id":"Resource","path":"lamsns-deployFunctionWithVpc/test-lambda-sns/ReplaceDefaultSecurityGroup-security-group/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SecurityGroup","aws:cdk:cloudformation:props":{"groupDescription":"lamsns-deployFunctionWithVpc/test-lambda-sns/ReplaceDefaultSecurityGroup-security-group","securityGroupEgress":[{"cidrIp":"0.0.0.0/0","description":"Allow all outbound traffic by default","ipProtocol":"-1"}],"vpcId":{"Ref":"Vpc8378EB38"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSecurityGroup","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.SecurityGroup","version":"2.186.0","metadata":[{"vpc":"*","allowAllOutbound":true}]}},"LambdaFunction":{"id":"LambdaFunction","path":"lamsns-deployFunctionWithVpc/test-lambda-sns/LambdaFunction","children":{"Code":{"id":"Code","path":"lamsns-deployFunctionWithVpc/test-lambda-sns/LambdaFunction/Code","children":{"Stage":{"id":"Stage","path":"lamsns-deployFunctionWithVpc/test-lambda-sns/LambdaFunction/Code/Stage","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"2.186.0"}},"AssetBucket":{"id":"AssetBucket","path":"lamsns-deployFunctionWithVpc/test-lambda-sns/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":"lamsns-deployFunctionWithVpc/test-lambda-sns/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","SNS_TOPIC_ARN":{"Ref":"testlambdasnsSnsTopic57DFED98"},"SNS_TOPIC_NAME":{"Fn::GetAtt":["testlambdasnsSnsTopic57DFED98","TopicName"]}}},"handler":"index.handler","role":{"Fn::GetAtt":["testlambdasnsLambdaFunctionServiceRole9C412F74","Arn"]},"runtime":"nodejs20.x","tracingConfig":{"mode":"Active"},"vpcConfig":{"subnetIds":[{"Ref":"VpcisolatedSubnet1SubnetE62B1B9B"},{"Ref":"VpcisolatedSubnet2Subnet39217055"}],"securityGroupIds":[{"Fn::GetAtt":["testlambdasnsReplaceDefaultSecurityGroupsecuritygroup071D13CB","GroupId"]}]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.CfnFunction","version":"2.186.0"}},"inlinePolicyAddedToExecutionRole-0":{"id":"inlinePolicyAddedToExecutionRole-0","path":"lamsns-deployFunctionWithVpc/test-lambda-sns/LambdaFunction/inlinePolicyAddedToExecutionRole-0","children":{"Resource":{"id":"Resource","path":"lamsns-deployFunctionWithVpc/test-lambda-sns/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":"testlambdasnsLambdaFunctioninlinePolicyAddedToExecutionRole05A095F20","roles":[{"Ref":"testlambdasnsLambdaFunctionServiceRole9C412F74"}]}},"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":"*","securityGroups":["*"],"vpc":"*"},{"addEnvironment":["*","*",{"removeInEdge":true}]},{"addEnvironment":["*","*"]},{"addEnvironment":["*","*"]}]}},"aws-managed-key":{"id":"aws-managed-key","path":"lamsns-deployFunctionWithVpc/test-lambda-sns/aws-managed-key","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.186.0","metadata":[]}},"SnsTopic":{"id":"SnsTopic","path":"lamsns-deployFunctionWithVpc/test-lambda-sns/SnsTopic","children":{"Resource":{"id":"Resource","path":"lamsns-deployFunctionWithVpc/test-lambda-sns/SnsTopic/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::SNS::Topic","aws:cdk:cloudformation:props":{"kmsMasterKeyId":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":kms:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":alias/aws/sns"]]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_sns.CfnTopic","version":"2.186.0"}},"Policy":{"id":"Policy","path":"lamsns-deployFunctionWithVpc/test-lambda-sns/SnsTopic/Policy","children":{"Resource":{"id":"Resource","path":"lamsns-deployFunctionWithVpc/test-lambda-sns/SnsTopic/Policy/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::SNS::TopicPolicy","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":["SNS:AddPermission","SNS:DeleteTopic","SNS:GetTopicAttributes","SNS:ListSubscriptionsByTopic","SNS:Publish","SNS:Receive","SNS:RemovePermission","SNS:SetTopicAttributes","SNS:Subscribe"],"Condition":{"StringEquals":{"AWS:SourceOwner":{"Ref":"AWS::AccountId"}}},"Effect":"Allow","Principal":{"AWS":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":iam::",{"Ref":"AWS::AccountId"},":root"]]}},"Resource":{"Ref":"testlambdasnsSnsTopic57DFED98"},"Sid":"TopicOwnerOnlyAccess"},{"Action":["SNS:AddPermission","SNS:DeleteTopic","SNS:GetTopicAttributes","SNS:ListSubscriptionsByTopic","SNS:Publish","SNS:Receive","SNS:RemovePermission","SNS:SetTopicAttributes","SNS:Subscribe"],"Condition":{"Bool":{"aws:SecureTransport":"false"}},"Effect":"Deny","Principal":{"AWS":"*"},"Resource":{"Ref":"testlambdasnsSnsTopic57DFED98"},"Sid":"HttpsOnly"}],"Version":"2012-10-17"},"topics":[{"Ref":"testlambdasnsSnsTopic57DFED98"}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_sns.CfnTopicPolicy","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_sns.TopicPolicy","version":"2.186.0","metadata":[{"topics":["*"]}]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_sns.Topic","version":"2.186.0","metadata":[{"masterKey":"*"}]}}},"constructInfo":{"fqn":"@aws-solutions-constructs/aws-lambda-sns.LambdaToSns","version":"2.80.0"}},"Vpc":{"id":"Vpc","path":"lamsns-deployFunctionWithVpc/Vpc","children":{"Resource":{"id":"Resource","path":"lamsns-deployFunctionWithVpc/Vpc/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::VPC","aws:cdk:cloudformation:props":{"cidrBlock":"10.0.0.0/16","enableDnsHostnames":true,"enableDnsSupport":true,"instanceTenancy":"default","tags":[{"key":"Name","value":"lamsns-deployFunctionWithVpc/Vpc"}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnVPC","version":"2.186.0"}},"isolatedSubnet1":{"id":"isolatedSubnet1","path":"lamsns-deployFunctionWithVpc/Vpc/isolatedSubnet1","children":{"Subnet":{"id":"Subnet","path":"lamsns-deployFunctionWithVpc/Vpc/isolatedSubnet1/Subnet","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Subnet","aws:cdk:cloudformation:props":{"availabilityZone":{"Fn::Select":[0,{"Fn::GetAZs":""}]},"cidrBlock":"10.0.0.0/18","mapPublicIpOnLaunch":false,"tags":[{"key":"aws-cdk:subnet-name","value":"isolated"},{"key":"aws-cdk:subnet-type","value":"Isolated"},{"key":"Name","value":"lamsns-deployFunctionWithVpc/Vpc/isolatedSubnet1"}],"vpcId":{"Ref":"Vpc8378EB38"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnet","version":"2.186.0"}},"Acl":{"id":"Acl","path":"lamsns-deployFunctionWithVpc/Vpc/isolatedSubnet1/Acl","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.186.0","metadata":[]}},"RouteTable":{"id":"RouteTable","path":"lamsns-deployFunctionWithVpc/Vpc/isolatedSubnet1/RouteTable","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::RouteTable","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"lamsns-deployFunctionWithVpc/Vpc/isolatedSubnet1"}],"vpcId":{"Ref":"Vpc8378EB38"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRouteTable","version":"2.186.0"}},"RouteTableAssociation":{"id":"RouteTableAssociation","path":"lamsns-deployFunctionWithVpc/Vpc/isolatedSubnet1/RouteTableAssociation","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SubnetRouteTableAssociation","aws:cdk:cloudformation:props":{"routeTableId":{"Ref":"VpcisolatedSubnet1RouteTableE442650B"},"subnetId":{"Ref":"VpcisolatedSubnet1SubnetE62B1B9B"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.PrivateSubnet","version":"2.186.0","metadata":[{"availabilityZone":"*","vpcId":"*","cidrBlock":"*","mapPublicIpOnLaunch":false,"ipv6CidrBlock":"*","assignIpv6AddressOnCreation":"*"},{"availabilityZone":"*","vpcId":"*","cidrBlock":"*","mapPublicIpOnLaunch":false,"ipv6CidrBlock":"*","assignIpv6AddressOnCreation":"*"}]}},"isolatedSubnet2":{"id":"isolatedSubnet2","path":"lamsns-deployFunctionWithVpc/Vpc/isolatedSubnet2","children":{"Subnet":{"id":"Subnet","path":"lamsns-deployFunctionWithVpc/Vpc/isolatedSubnet2/Subnet","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Subnet","aws:cdk:cloudformation:props":{"availabilityZone":{"Fn::Select":[1,{"Fn::GetAZs":""}]},"cidrBlock":"10.0.64.0/18","mapPublicIpOnLaunch":false,"tags":[{"key":"aws-cdk:subnet-name","value":"isolated"},{"key":"aws-cdk:subnet-type","value":"Isolated"},{"key":"Name","value":"lamsns-deployFunctionWithVpc/Vpc/isolatedSubnet2"}],"vpcId":{"Ref":"Vpc8378EB38"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnet","version":"2.186.0"}},"Acl":{"id":"Acl","path":"lamsns-deployFunctionWithVpc/Vpc/isolatedSubnet2/Acl","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.186.0","metadata":[]}},"RouteTable":{"id":"RouteTable","path":"lamsns-deployFunctionWithVpc/Vpc/isolatedSubnet2/RouteTable","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::RouteTable","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"lamsns-deployFunctionWithVpc/Vpc/isolatedSubnet2"}],"vpcId":{"Ref":"Vpc8378EB38"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRouteTable","version":"2.186.0"}},"RouteTableAssociation":{"id":"RouteTableAssociation","path":"lamsns-deployFunctionWithVpc/Vpc/isolatedSubnet2/RouteTableAssociation","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SubnetRouteTableAssociation","aws:cdk:cloudformation:props":{"routeTableId":{"Ref":"VpcisolatedSubnet2RouteTable334F9764"},"subnetId":{"Ref":"VpcisolatedSubnet2Subnet39217055"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.PrivateSubnet","version":"2.186.0","metadata":[{"availabilityZone":"*","vpcId":"*","cidrBlock":"*","mapPublicIpOnLaunch":false,"ipv6CidrBlock":"*","assignIpv6AddressOnCreation":"*"},{"availabilityZone":"*","vpcId":"*","cidrBlock":"*","mapPublicIpOnLaunch":false,"ipv6CidrBlock":"*","assignIpv6AddressOnCreation":"*"}]}},"RestrictDefaultSecurityGroupCustomResource":{"id":"RestrictDefaultSecurityGroupCustomResource","path":"lamsns-deployFunctionWithVpc/Vpc/RestrictDefaultSecurityGroupCustomResource","children":{"Default":{"id":"Default","path":"lamsns-deployFunctionWithVpc/Vpc/RestrictDefaultSecurityGroupCustomResource/Default","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.CustomResource","version":"2.186.0","metadata":["*"]}},"FlowLog":{"id":"FlowLog","path":"lamsns-deployFunctionWithVpc/Vpc/FlowLog","children":{"IAMRole":{"id":"IAMRole","path":"lamsns-deployFunctionWithVpc/Vpc/FlowLog/IAMRole","children":{"ImportIAMRole":{"id":"ImportIAMRole","path":"lamsns-deployFunctionWithVpc/Vpc/FlowLog/IAMRole/ImportIAMRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.186.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"lamsns-deployFunctionWithVpc/Vpc/FlowLog/IAMRole/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:props":{"assumeRolePolicyDocument":{"Statement":[{"Action":"sts:AssumeRole","Effect":"Allow","Principal":{"Service":"vpc-flow-logs.amazonaws.com"}}],"Version":"2012-10-17"},"tags":[{"key":"Name","value":"lamsns-deployFunctionWithVpc/Vpc/FlowLog"}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.186.0"}},"DefaultPolicy":{"id":"DefaultPolicy","path":"lamsns-deployFunctionWithVpc/Vpc/FlowLog/IAMRole/DefaultPolicy","children":{"Resource":{"id":"Resource","path":"lamsns-deployFunctionWithVpc/Vpc/FlowLog/IAMRole/DefaultPolicy/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":["logs:CreateLogStream","logs:DescribeLogStreams","logs:PutLogEvents"],"Effect":"Allow","Resource":{"Fn::GetAtt":["VpcFlowLogLogGroup7B5C56B9","Arn"]}},{"Action":"iam:PassRole","Effect":"Allow","Resource":{"Fn::GetAtt":["VpcFlowLogIAMRole6A475D41","Arn"]}}],"Version":"2012-10-17"},"policyName":"VpcFlowLogIAMRoleDefaultPolicy406FB995","roles":[{"Ref":"VpcFlowLogIAMRole6A475D41"}]}},"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":["*",{"attachToRole":["*"]},{"attachToRole":["*"]},{"addStatements":[{}]},{"addStatements":[{}]}]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.186.0","metadata":[{"roleName":"*","assumedBy":{"principalAccount":"*","assumeRoleAction":"*"}},{"addToPrincipalPolicy":[{}]},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]},{"addToPrincipalPolicy":[{}]}]}},"LogGroup":{"id":"LogGroup","path":"lamsns-deployFunctionWithVpc/Vpc/FlowLog/LogGroup","children":{"Resource":{"id":"Resource","path":"lamsns-deployFunctionWithVpc/Vpc/FlowLog/LogGroup/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::Logs::LogGroup","aws:cdk:cloudformation:props":{"retentionInDays":731,"tags":[{"key":"Name","value":"lamsns-deployFunctionWithVpc/Vpc/FlowLog"}]}},"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":["*"]}},"FlowLog":{"id":"FlowLog","path":"lamsns-deployFunctionWithVpc/Vpc/FlowLog/FlowLog","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::FlowLog","aws:cdk:cloudformation:props":{"deliverLogsPermissionArn":{"Fn::GetAtt":["VpcFlowLogIAMRole6A475D41","Arn"]},"logDestinationType":"cloud-watch-logs","logGroupName":{"Ref":"VpcFlowLogLogGroup7B5C56B9"},"resourceId":{"Ref":"Vpc8378EB38"},"resourceType":"VPC","tags":[{"key":"Name","value":"lamsns-deployFunctionWithVpc/Vpc/FlowLog"}],"trafficType":"ALL"}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnFlowLog","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.FlowLog","version":"2.186.0","metadata":[{"resourceType":"*"}]}},"SNS":{"id":"SNS","path":"lamsns-deployFunctionWithVpc/Vpc/SNS","children":{"Resource":{"id":"Resource","path":"lamsns-deployFunctionWithVpc/Vpc/SNS/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::VPCEndpoint","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"lamsns-deployFunctionWithVpc/Vpc"}],"privateDnsEnabled":true,"securityGroupIds":[{"Fn::GetAtt":["lamsnsdeployFunctionWithVpcSNSsecuritygroup072F337C","GroupId"]}],"serviceName":{"Fn::Join":["",["com.amazonaws.",{"Ref":"AWS::Region"},".sns"]]},"subnetIds":[{"Ref":"VpcisolatedSubnet1SubnetE62B1B9B"},{"Ref":"VpcisolatedSubnet2Subnet39217055"}],"vpcEndpointType":"Interface","vpcId":{"Ref":"Vpc8378EB38"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnVPCEndpoint","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.InterfaceVpcEndpoint","version":"2.186.0","metadata":[{"vpc":"*","service":{"privateDnsDefault":true,"name":"*","port":"*"},"securityGroups":["*"]}]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.Vpc","version":"2.186.0","metadata":[{"natGateways":"*","subnetConfiguration":[{"cidrMask":"*","name":"*","subnetType":"Isolated"}],"enableDnsHostnames":true,"enableDnsSupport":true}]}},"LatestNodeRuntimeMap":{"id":"LatestNodeRuntimeMap","path":"lamsns-deployFunctionWithVpc/LatestNodeRuntimeMap","constructInfo":{"fqn":"aws-cdk-lib.CfnMapping","version":"2.186.0"}},"Custom::VpcRestrictDefaultSGCustomResourceProvider":{"id":"Custom::VpcRestrictDefaultSGCustomResourceProvider","path":"lamsns-deployFunctionWithVpc/Custom::VpcRestrictDefaultSGCustomResourceProvider","children":{"Staging":{"id":"Staging","path":"lamsns-deployFunctionWithVpc/Custom::VpcRestrictDefaultSGCustomResourceProvider/Staging","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"2.186.0"}},"Role":{"id":"Role","path":"lamsns-deployFunctionWithVpc/Custom::VpcRestrictDefaultSGCustomResourceProvider/Role","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.186.0"}},"Handler":{"id":"Handler","path":"lamsns-deployFunctionWithVpc/Custom::VpcRestrictDefaultSGCustomResourceProvider/Handler","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.CustomResourceProviderBase","version":"2.186.0"}},"lamsns-deployFunctionWithVpc-SNS-security-group":{"id":"lamsns-deployFunctionWithVpc-SNS-security-group","path":"lamsns-deployFunctionWithVpc/lamsns-deployFunctionWithVpc-SNS-security-group","children":{"Resource":{"id":"Resource","path":"lamsns-deployFunctionWithVpc/lamsns-deployFunctionWithVpc-SNS-security-group/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SecurityGroup","aws:cdk:cloudformation:props":{"groupDescription":"lamsns-deployFunctionWithVpc/lamsns-deployFunctionWithVpc-SNS-security-group","securityGroupEgress":[{"cidrIp":"0.0.0.0/0","description":"Allow all outbound traffic by default","ipProtocol":"-1"}],"securityGroupIngress":[{"cidrIp":{"Fn::GetAtt":["Vpc8378EB38","CidrBlock"]},"ipProtocol":"tcp","fromPort":443,"toPort":443,"description":{"Fn::Join":["",["from ",{"Fn::GetAtt":["Vpc8378EB38","CidrBlock"]},":443"]]}}],"vpcId":{"Ref":"Vpc8378EB38"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSecurityGroup","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.SecurityGroup","version":"2.186.0","metadata":[{"vpc":"*","allowAllOutbound":true},{"addIngressRule":[{"canInlineRule":true,"connections":"*","uniqueId":"*"},{},"*","*"]},{"addIngressRule":[{"canInlineRule":true,"connections":"*","uniqueId":"*"},{},"*",false]}]}},"Integ":{"id":"Integ","path":"lamsns-deployFunctionWithVpc/Integ","children":{"DefaultTest":{"id":"DefaultTest","path":"lamsns-deployFunctionWithVpc/Integ/DefaultTest","children":{"Default":{"id":"Default","path":"lamsns-deployFunctionWithVpc/Integ/DefaultTest/Default","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}},"DeployAssert":{"id":"DeployAssert","path":"lamsns-deployFunctionWithVpc/Integ/DefaultTest/DeployAssert","children":{"BootstrapVersion":{"id":"BootstrapVersion","path":"lamsns-deployFunctionWithVpc/Integ/DefaultTest/DeployAssert/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.186.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"lamsns-deployFunctionWithVpc/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":"lamsns-deployFunctionWithVpc/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.186.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"lamsns-deployFunctionWithVpc/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"}}}