@aws-solutions-constructs/aws-alb-lambda 2.51.0 → 2.52.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 (75) hide show
  1. package/.eslintignore +2 -0
  2. package/.jsii +49 -4
  3. package/integ.config.json +7 -0
  4. package/lib/index.js +1 -1
  5. package/package.json +10 -9
  6. package/test/integ.alblam-privateApiExistingResources.js +7 -3
  7. package/test/integ.alblam-privateApiExistingResources.js.snapshot/alblam-privateApiExistingResources.assets.json +62 -0
  8. package/test/integ.alblam-privateApiExistingResources.js.snapshot/alblam-privateApiExistingResources.template.json +1332 -0
  9. package/test/integ.alblam-privateApiExistingResources.js.snapshot/alblamprivateApiExistingResourcesIntegDefaultTestDeployAssertC865AE59.assets.json +19 -0
  10. package/test/integ.alblam-privateApiExistingResources.js.snapshot/alblamprivateApiExistingResourcesIntegDefaultTestDeployAssertC865AE59.template.json +36 -0
  11. package/test/integ.alblam-privateApiExistingResources.js.snapshot/asset.7caf594b8ad91abecca72f7f10a23a5cf446d05dc00d6194619935e7e3fd5a79/index.js +8 -0
  12. package/test/integ.alblam-privateApiExistingResources.js.snapshot/asset.b7f33614a69548d6bafe224d751a7ef238cde19097415e553fe8b63a4c8fd8a6/index.js +1 -0
  13. package/test/integ.alblam-privateApiExistingResources.js.snapshot/asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e/__entrypoint__.js +1 -0
  14. package/test/integ.alblam-privateApiExistingResources.js.snapshot/asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e/index.js +1 -0
  15. package/test/integ.alblam-privateApiExistingResources.js.snapshot/cdk.out +1 -0
  16. package/test/integ.alblam-privateApiExistingResources.js.snapshot/integ.json +12 -0
  17. package/test/integ.alblam-privateApiExistingResources.js.snapshot/manifest.json +371 -0
  18. package/test/integ.alblam-privateApiExistingResources.js.snapshot/tree.json +1708 -0
  19. package/test/integ.alblam-privateApiNewResources.js +7 -3
  20. package/test/integ.alblam-privateApiNewResources.js.snapshot/alblam-privateApiNewResources.assets.json +62 -0
  21. package/test/integ.alblam-privateApiNewResources.js.snapshot/alblam-privateApiNewResources.template.json +1048 -0
  22. package/test/integ.alblam-privateApiNewResources.js.snapshot/alblamprivateApiNewResourcesIntegDefaultTestDeployAssertB0CCE59F.assets.json +19 -0
  23. package/test/integ.alblam-privateApiNewResources.js.snapshot/alblamprivateApiNewResourcesIntegDefaultTestDeployAssertB0CCE59F.template.json +36 -0
  24. package/test/integ.alblam-privateApiNewResources.js.snapshot/asset.7caf594b8ad91abecca72f7f10a23a5cf446d05dc00d6194619935e7e3fd5a79/index.js +8 -0
  25. package/test/integ.alblam-privateApiNewResources.js.snapshot/asset.b7f33614a69548d6bafe224d751a7ef238cde19097415e553fe8b63a4c8fd8a6/index.js +1 -0
  26. package/test/integ.alblam-privateApiNewResources.js.snapshot/asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e/__entrypoint__.js +1 -0
  27. package/test/integ.alblam-privateApiNewResources.js.snapshot/asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e/index.js +1 -0
  28. package/test/integ.alblam-privateApiNewResources.js.snapshot/cdk.out +1 -0
  29. package/test/integ.alblam-privateApiNewResources.js.snapshot/integ.json +12 -0
  30. package/test/integ.alblam-privateApiNewResources.js.snapshot/manifest.json +275 -0
  31. package/test/integ.alblam-privateApiNewResources.js.snapshot/tree.json +1294 -0
  32. package/test/integ.alblam-publicApiExistingResources.js +7 -3
  33. package/test/integ.alblam-publicApiExistingResources.js.snapshot/alblam-publicApiExistingResources.assets.json +62 -0
  34. package/test/integ.alblam-publicApiExistingResources.js.snapshot/alblam-publicApiExistingResources.template.json +1332 -0
  35. package/test/integ.alblam-publicApiExistingResources.js.snapshot/alblampublicApiExistingResourcesIntegDefaultTestDeployAssert22C8EEFD.assets.json +19 -0
  36. package/test/integ.alblam-publicApiExistingResources.js.snapshot/alblampublicApiExistingResourcesIntegDefaultTestDeployAssert22C8EEFD.template.json +36 -0
  37. package/test/integ.alblam-publicApiExistingResources.js.snapshot/asset.7caf594b8ad91abecca72f7f10a23a5cf446d05dc00d6194619935e7e3fd5a79/index.js +8 -0
  38. package/test/integ.alblam-publicApiExistingResources.js.snapshot/asset.b7f33614a69548d6bafe224d751a7ef238cde19097415e553fe8b63a4c8fd8a6/index.js +1 -0
  39. package/test/integ.alblam-publicApiExistingResources.js.snapshot/asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e/__entrypoint__.js +1 -0
  40. package/test/integ.alblam-publicApiExistingResources.js.snapshot/asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e/index.js +1 -0
  41. package/test/integ.alblam-publicApiExistingResources.js.snapshot/cdk.out +1 -0
  42. package/test/integ.alblam-publicApiExistingResources.js.snapshot/integ.json +12 -0
  43. package/test/integ.alblam-publicApiExistingResources.js.snapshot/manifest.json +371 -0
  44. package/test/integ.alblam-publicApiExistingResources.js.snapshot/tree.json +1708 -0
  45. package/test/integ.alblam-publicApiNewResources.js +7 -3
  46. package/test/integ.alblam-publicApiNewResources.js.snapshot/alblam-publicApiNewResources.assets.json +62 -0
  47. package/test/integ.alblam-publicApiNewResources.js.snapshot/alblam-publicApiNewResources.template.json +1338 -0
  48. package/test/integ.alblam-publicApiNewResources.js.snapshot/alblampublicApiNewResourcesIntegDefaultTestDeployAssert43CC63D2.assets.json +19 -0
  49. package/test/integ.alblam-publicApiNewResources.js.snapshot/alblampublicApiNewResourcesIntegDefaultTestDeployAssert43CC63D2.template.json +36 -0
  50. package/test/integ.alblam-publicApiNewResources.js.snapshot/asset.7caf594b8ad91abecca72f7f10a23a5cf446d05dc00d6194619935e7e3fd5a79/index.js +8 -0
  51. package/test/integ.alblam-publicApiNewResources.js.snapshot/asset.b7f33614a69548d6bafe224d751a7ef238cde19097415e553fe8b63a4c8fd8a6/index.js +1 -0
  52. package/test/integ.alblam-publicApiNewResources.js.snapshot/asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e/__entrypoint__.js +1 -0
  53. package/test/integ.alblam-publicApiNewResources.js.snapshot/asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e/index.js +1 -0
  54. package/test/integ.alblam-publicApiNewResources.js.snapshot/cdk.out +1 -0
  55. package/test/integ.alblam-publicApiNewResources.js.snapshot/integ.json +12 -0
  56. package/test/integ.alblam-publicApiNewResources.js.snapshot/manifest.json +371 -0
  57. package/test/integ.alblam-publicApiNewResources.js.snapshot/tree.json +1706 -0
  58. package/test/integ.alblam-twoTargets.js +7 -3
  59. package/test/integ.alblam-twoTargets.js.snapshot/alblam-twoTargets.assets.json +62 -0
  60. package/test/integ.alblam-twoTargets.js.snapshot/alblam-twoTargets.template.json +1598 -0
  61. package/test/integ.alblam-twoTargets.js.snapshot/alblamtwoTargetsIntegDefaultTestDeployAssert4F811416.assets.json +19 -0
  62. package/test/integ.alblam-twoTargets.js.snapshot/alblamtwoTargetsIntegDefaultTestDeployAssert4F811416.template.json +36 -0
  63. package/test/integ.alblam-twoTargets.js.snapshot/asset.7caf594b8ad91abecca72f7f10a23a5cf446d05dc00d6194619935e7e3fd5a79/index.js +8 -0
  64. package/test/integ.alblam-twoTargets.js.snapshot/asset.b7f33614a69548d6bafe224d751a7ef238cde19097415e553fe8b63a4c8fd8a6/index.js +1 -0
  65. package/test/integ.alblam-twoTargets.js.snapshot/asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e/__entrypoint__.js +1 -0
  66. package/test/integ.alblam-twoTargets.js.snapshot/asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e/index.js +1 -0
  67. package/test/integ.alblam-twoTargets.js.snapshot/cdk.out +1 -0
  68. package/test/integ.alblam-twoTargets.js.snapshot/integ.json +12 -0
  69. package/test/integ.alblam-twoTargets.js.snapshot/manifest.json +413 -0
  70. package/test/integ.alblam-twoTargets.js.snapshot/tree.json +2067 -0
  71. package/test/integ.alblam-privateApiExistingResources.expected.json +0 -1378
  72. package/test/integ.alblam-privateApiNewResources.expected.json +0 -983
  73. package/test/integ.alblam-publicApiExistingResources.expected.json +0 -1378
  74. package/test/integ.alblam-publicApiNewResources.expected.json +0 -1386
  75. package/test/integ.alblam-twoTargets.expected.json +0 -1659
@@ -0,0 +1,2067 @@
1
+ {
2
+ "version": "tree-0.1",
3
+ "tree": {
4
+ "id": "App",
5
+ "path": "",
6
+ "children": {
7
+ "alblam-twoTargets": {
8
+ "id": "alblam-twoTargets",
9
+ "path": "alblam-twoTargets",
10
+ "children": {
11
+ "test-one": {
12
+ "id": "test-one",
13
+ "path": "alblam-twoTargets/test-one",
14
+ "children": {
15
+ "test-one-alb": {
16
+ "id": "test-one-alb",
17
+ "path": "alblam-twoTargets/test-one/test-one-alb",
18
+ "children": {
19
+ "Resource": {
20
+ "id": "Resource",
21
+ "path": "alblam-twoTargets/test-one/test-one-alb/Resource",
22
+ "attributes": {
23
+ "aws:cdk:cloudformation:type": "AWS::ElasticLoadBalancingV2::LoadBalancer",
24
+ "aws:cdk:cloudformation:props": {
25
+ "loadBalancerAttributes": [
26
+ {
27
+ "key": "deletion_protection.enabled",
28
+ "value": "false"
29
+ },
30
+ {
31
+ "key": "access_logs.s3.enabled",
32
+ "value": "true"
33
+ },
34
+ {
35
+ "key": "access_logs.s3.bucket",
36
+ "value": {
37
+ "Ref": "testoneE6ACFBB6"
38
+ }
39
+ },
40
+ {
41
+ "key": "access_logs.s3.prefix",
42
+ "value": ""
43
+ }
44
+ ],
45
+ "scheme": "internet-facing",
46
+ "securityGroups": [
47
+ {
48
+ "Fn::GetAtt": [
49
+ "testonetestonealbSecurityGroup4DED9E2A",
50
+ "GroupId"
51
+ ]
52
+ }
53
+ ],
54
+ "subnets": [
55
+ {
56
+ "Ref": "VpcPublicSubnet1Subnet5C2D37C4"
57
+ },
58
+ {
59
+ "Ref": "VpcPublicSubnet2Subnet691E08A3"
60
+ }
61
+ ],
62
+ "type": "application"
63
+ }
64
+ },
65
+ "constructInfo": {
66
+ "fqn": "aws-cdk-lib.aws_elasticloadbalancingv2.CfnLoadBalancer",
67
+ "version": "2.118.0"
68
+ }
69
+ },
70
+ "SecurityGroup": {
71
+ "id": "SecurityGroup",
72
+ "path": "alblam-twoTargets/test-one/test-one-alb/SecurityGroup",
73
+ "children": {
74
+ "Resource": {
75
+ "id": "Resource",
76
+ "path": "alblam-twoTargets/test-one/test-one-alb/SecurityGroup/Resource",
77
+ "attributes": {
78
+ "aws:cdk:cloudformation:type": "AWS::EC2::SecurityGroup",
79
+ "aws:cdk:cloudformation:props": {
80
+ "groupDescription": "Automatically created Security Group for ELB alblamtwoTargetstestonetestonealbCEEAAF66",
81
+ "securityGroupEgress": [
82
+ {
83
+ "cidrIp": "255.255.255.255/32",
84
+ "description": "Disallow all traffic",
85
+ "ipProtocol": "icmp",
86
+ "fromPort": 252,
87
+ "toPort": 86
88
+ }
89
+ ],
90
+ "securityGroupIngress": [
91
+ {
92
+ "cidrIp": "0.0.0.0/0",
93
+ "ipProtocol": "tcp",
94
+ "fromPort": 80,
95
+ "toPort": 80,
96
+ "description": "Allow from anyone on port 80"
97
+ }
98
+ ],
99
+ "vpcId": {
100
+ "Ref": "Vpc8378EB38"
101
+ }
102
+ }
103
+ },
104
+ "constructInfo": {
105
+ "fqn": "aws-cdk-lib.aws_ec2.CfnSecurityGroup",
106
+ "version": "2.118.0"
107
+ }
108
+ }
109
+ },
110
+ "constructInfo": {
111
+ "fqn": "aws-cdk-lib.aws_ec2.SecurityGroup",
112
+ "version": "2.118.0"
113
+ }
114
+ }
115
+ },
116
+ "constructInfo": {
117
+ "fqn": "aws-cdk-lib.aws_elasticloadbalancingv2.ApplicationLoadBalancer",
118
+ "version": "2.118.0"
119
+ }
120
+ },
121
+ "test-one": {
122
+ "id": "test-one",
123
+ "path": "alblam-twoTargets/test-one/test-one",
124
+ "children": {
125
+ "Resource": {
126
+ "id": "Resource",
127
+ "path": "alblam-twoTargets/test-one/test-one/Resource",
128
+ "attributes": {
129
+ "aws:cdk:cloudformation:type": "AWS::S3::Bucket",
130
+ "aws:cdk:cloudformation:props": {
131
+ "bucketEncryption": {
132
+ "serverSideEncryptionConfiguration": [
133
+ {
134
+ "serverSideEncryptionByDefault": {
135
+ "sseAlgorithm": "AES256"
136
+ }
137
+ }
138
+ ]
139
+ },
140
+ "publicAccessBlockConfiguration": {
141
+ "blockPublicAcls": true,
142
+ "blockPublicPolicy": true,
143
+ "ignorePublicAcls": true,
144
+ "restrictPublicBuckets": true
145
+ },
146
+ "tags": [
147
+ {
148
+ "key": "aws-cdk:auto-delete-objects",
149
+ "value": "true"
150
+ }
151
+ ],
152
+ "versioningConfiguration": {
153
+ "status": "Enabled"
154
+ }
155
+ }
156
+ },
157
+ "constructInfo": {
158
+ "fqn": "aws-cdk-lib.aws_s3.CfnBucket",
159
+ "version": "2.118.0"
160
+ }
161
+ },
162
+ "Policy": {
163
+ "id": "Policy",
164
+ "path": "alblam-twoTargets/test-one/test-one/Policy",
165
+ "children": {
166
+ "Resource": {
167
+ "id": "Resource",
168
+ "path": "alblam-twoTargets/test-one/test-one/Policy/Resource",
169
+ "attributes": {
170
+ "aws:cdk:cloudformation:type": "AWS::S3::BucketPolicy",
171
+ "aws:cdk:cloudformation:props": {
172
+ "bucket": {
173
+ "Ref": "testoneE6ACFBB6"
174
+ },
175
+ "policyDocument": {
176
+ "Statement": [
177
+ {
178
+ "Action": "s3:*",
179
+ "Condition": {
180
+ "Bool": {
181
+ "aws:SecureTransport": "false"
182
+ }
183
+ },
184
+ "Effect": "Deny",
185
+ "Principal": {
186
+ "AWS": "*"
187
+ },
188
+ "Resource": [
189
+ {
190
+ "Fn::GetAtt": [
191
+ "testoneE6ACFBB6",
192
+ "Arn"
193
+ ]
194
+ },
195
+ {
196
+ "Fn::Join": [
197
+ "",
198
+ [
199
+ {
200
+ "Fn::GetAtt": [
201
+ "testoneE6ACFBB6",
202
+ "Arn"
203
+ ]
204
+ },
205
+ "/*"
206
+ ]
207
+ ]
208
+ }
209
+ ]
210
+ },
211
+ {
212
+ "Action": [
213
+ "s3:DeleteObject*",
214
+ "s3:GetBucket*",
215
+ "s3:List*",
216
+ "s3:PutBucketPolicy"
217
+ ],
218
+ "Effect": "Allow",
219
+ "Principal": {
220
+ "AWS": {
221
+ "Fn::GetAtt": [
222
+ "CustomS3AutoDeleteObjectsCustomResourceProviderRole3B1BD092",
223
+ "Arn"
224
+ ]
225
+ }
226
+ },
227
+ "Resource": [
228
+ {
229
+ "Fn::GetAtt": [
230
+ "testoneE6ACFBB6",
231
+ "Arn"
232
+ ]
233
+ },
234
+ {
235
+ "Fn::Join": [
236
+ "",
237
+ [
238
+ {
239
+ "Fn::GetAtt": [
240
+ "testoneE6ACFBB6",
241
+ "Arn"
242
+ ]
243
+ },
244
+ "/*"
245
+ ]
246
+ ]
247
+ }
248
+ ]
249
+ },
250
+ {
251
+ "Action": "s3:PutObject",
252
+ "Effect": "Allow",
253
+ "Principal": {
254
+ "AWS": "arn:aws:iam::127311923021:root"
255
+ },
256
+ "Resource": {
257
+ "Fn::Join": [
258
+ "",
259
+ [
260
+ {
261
+ "Fn::GetAtt": [
262
+ "testoneE6ACFBB6",
263
+ "Arn"
264
+ ]
265
+ },
266
+ "/AWSLogs/",
267
+ {
268
+ "Ref": "AWS::AccountId"
269
+ },
270
+ "/*"
271
+ ]
272
+ ]
273
+ }
274
+ },
275
+ {
276
+ "Action": "s3:PutObject",
277
+ "Condition": {
278
+ "StringEquals": {
279
+ "s3:x-amz-acl": "bucket-owner-full-control"
280
+ }
281
+ },
282
+ "Effect": "Allow",
283
+ "Principal": {
284
+ "Service": "delivery.logs.amazonaws.com"
285
+ },
286
+ "Resource": {
287
+ "Fn::Join": [
288
+ "",
289
+ [
290
+ {
291
+ "Fn::GetAtt": [
292
+ "testoneE6ACFBB6",
293
+ "Arn"
294
+ ]
295
+ },
296
+ "/AWSLogs/",
297
+ {
298
+ "Ref": "AWS::AccountId"
299
+ },
300
+ "/*"
301
+ ]
302
+ ]
303
+ }
304
+ },
305
+ {
306
+ "Action": "s3:GetBucketAcl",
307
+ "Effect": "Allow",
308
+ "Principal": {
309
+ "Service": "delivery.logs.amazonaws.com"
310
+ },
311
+ "Resource": {
312
+ "Fn::GetAtt": [
313
+ "testoneE6ACFBB6",
314
+ "Arn"
315
+ ]
316
+ }
317
+ }
318
+ ],
319
+ "Version": "2012-10-17"
320
+ }
321
+ }
322
+ },
323
+ "constructInfo": {
324
+ "fqn": "aws-cdk-lib.aws_s3.CfnBucketPolicy",
325
+ "version": "2.118.0"
326
+ }
327
+ }
328
+ },
329
+ "constructInfo": {
330
+ "fqn": "aws-cdk-lib.aws_s3.BucketPolicy",
331
+ "version": "2.118.0"
332
+ }
333
+ },
334
+ "AutoDeleteObjectsCustomResource": {
335
+ "id": "AutoDeleteObjectsCustomResource",
336
+ "path": "alblam-twoTargets/test-one/test-one/AutoDeleteObjectsCustomResource",
337
+ "children": {
338
+ "Default": {
339
+ "id": "Default",
340
+ "path": "alblam-twoTargets/test-one/test-one/AutoDeleteObjectsCustomResource/Default",
341
+ "constructInfo": {
342
+ "fqn": "aws-cdk-lib.CfnResource",
343
+ "version": "2.118.0"
344
+ }
345
+ }
346
+ },
347
+ "constructInfo": {
348
+ "fqn": "aws-cdk-lib.CustomResource",
349
+ "version": "2.118.0"
350
+ }
351
+ }
352
+ },
353
+ "constructInfo": {
354
+ "fqn": "aws-cdk-lib.aws_s3.Bucket",
355
+ "version": "2.118.0"
356
+ }
357
+ },
358
+ "LambdaFunctionServiceRole": {
359
+ "id": "LambdaFunctionServiceRole",
360
+ "path": "alblam-twoTargets/test-one/LambdaFunctionServiceRole",
361
+ "children": {
362
+ "ImportLambdaFunctionServiceRole": {
363
+ "id": "ImportLambdaFunctionServiceRole",
364
+ "path": "alblam-twoTargets/test-one/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole",
365
+ "constructInfo": {
366
+ "fqn": "aws-cdk-lib.Resource",
367
+ "version": "2.118.0"
368
+ }
369
+ },
370
+ "Resource": {
371
+ "id": "Resource",
372
+ "path": "alblam-twoTargets/test-one/LambdaFunctionServiceRole/Resource",
373
+ "attributes": {
374
+ "aws:cdk:cloudformation:type": "AWS::IAM::Role",
375
+ "aws:cdk:cloudformation:props": {
376
+ "assumeRolePolicyDocument": {
377
+ "Statement": [
378
+ {
379
+ "Action": "sts:AssumeRole",
380
+ "Effect": "Allow",
381
+ "Principal": {
382
+ "Service": "lambda.amazonaws.com"
383
+ }
384
+ }
385
+ ],
386
+ "Version": "2012-10-17"
387
+ },
388
+ "policies": [
389
+ {
390
+ "policyName": "LambdaFunctionServiceRolePolicy",
391
+ "policyDocument": {
392
+ "Statement": [
393
+ {
394
+ "Action": [
395
+ "logs:CreateLogGroup",
396
+ "logs:CreateLogStream",
397
+ "logs:PutLogEvents"
398
+ ],
399
+ "Effect": "Allow",
400
+ "Resource": {
401
+ "Fn::Join": [
402
+ "",
403
+ [
404
+ "arn:",
405
+ {
406
+ "Ref": "AWS::Partition"
407
+ },
408
+ ":logs:",
409
+ {
410
+ "Ref": "AWS::Region"
411
+ },
412
+ ":",
413
+ {
414
+ "Ref": "AWS::AccountId"
415
+ },
416
+ ":log-group:/aws/lambda/*"
417
+ ]
418
+ ]
419
+ }
420
+ }
421
+ ],
422
+ "Version": "2012-10-17"
423
+ }
424
+ }
425
+ ]
426
+ }
427
+ },
428
+ "constructInfo": {
429
+ "fqn": "aws-cdk-lib.aws_iam.CfnRole",
430
+ "version": "2.118.0"
431
+ }
432
+ },
433
+ "DefaultPolicy": {
434
+ "id": "DefaultPolicy",
435
+ "path": "alblam-twoTargets/test-one/LambdaFunctionServiceRole/DefaultPolicy",
436
+ "children": {
437
+ "Resource": {
438
+ "id": "Resource",
439
+ "path": "alblam-twoTargets/test-one/LambdaFunctionServiceRole/DefaultPolicy/Resource",
440
+ "attributes": {
441
+ "aws:cdk:cloudformation:type": "AWS::IAM::Policy",
442
+ "aws:cdk:cloudformation:props": {
443
+ "policyDocument": {
444
+ "Statement": [
445
+ {
446
+ "Action": [
447
+ "ec2:AssignPrivateIpAddresses",
448
+ "ec2:CreateNetworkInterface",
449
+ "ec2:DeleteNetworkInterface",
450
+ "ec2:DescribeNetworkInterfaces",
451
+ "ec2:UnassignPrivateIpAddresses",
452
+ "xray:PutTelemetryRecords",
453
+ "xray:PutTraceSegments"
454
+ ],
455
+ "Effect": "Allow",
456
+ "Resource": "*"
457
+ }
458
+ ],
459
+ "Version": "2012-10-17"
460
+ },
461
+ "policyName": "testoneLambdaFunctionServiceRoleDefaultPolicy6025A173",
462
+ "roles": [
463
+ {
464
+ "Ref": "testoneLambdaFunctionServiceRoleE92573D3"
465
+ }
466
+ ]
467
+ }
468
+ },
469
+ "constructInfo": {
470
+ "fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
471
+ "version": "2.118.0"
472
+ }
473
+ }
474
+ },
475
+ "constructInfo": {
476
+ "fqn": "aws-cdk-lib.aws_iam.Policy",
477
+ "version": "2.118.0"
478
+ }
479
+ }
480
+ },
481
+ "constructInfo": {
482
+ "fqn": "aws-cdk-lib.aws_iam.Role",
483
+ "version": "2.118.0"
484
+ }
485
+ },
486
+ "ReplaceDefaultSecurityGroup-security-group": {
487
+ "id": "ReplaceDefaultSecurityGroup-security-group",
488
+ "path": "alblam-twoTargets/test-one/ReplaceDefaultSecurityGroup-security-group",
489
+ "children": {
490
+ "Resource": {
491
+ "id": "Resource",
492
+ "path": "alblam-twoTargets/test-one/ReplaceDefaultSecurityGroup-security-group/Resource",
493
+ "attributes": {
494
+ "aws:cdk:cloudformation:type": "AWS::EC2::SecurityGroup",
495
+ "aws:cdk:cloudformation:props": {
496
+ "groupDescription": "alblam-twoTargets/test-one/ReplaceDefaultSecurityGroup-security-group",
497
+ "securityGroupEgress": [
498
+ {
499
+ "cidrIp": "0.0.0.0/0",
500
+ "description": "Allow all outbound traffic by default",
501
+ "ipProtocol": "-1"
502
+ }
503
+ ],
504
+ "vpcId": {
505
+ "Ref": "Vpc8378EB38"
506
+ }
507
+ }
508
+ },
509
+ "constructInfo": {
510
+ "fqn": "aws-cdk-lib.aws_ec2.CfnSecurityGroup",
511
+ "version": "2.118.0"
512
+ }
513
+ }
514
+ },
515
+ "constructInfo": {
516
+ "fqn": "aws-cdk-lib.aws_ec2.SecurityGroup",
517
+ "version": "2.118.0"
518
+ }
519
+ },
520
+ "LambdaFunction": {
521
+ "id": "LambdaFunction",
522
+ "path": "alblam-twoTargets/test-one/LambdaFunction",
523
+ "children": {
524
+ "Code": {
525
+ "id": "Code",
526
+ "path": "alblam-twoTargets/test-one/LambdaFunction/Code",
527
+ "children": {
528
+ "Stage": {
529
+ "id": "Stage",
530
+ "path": "alblam-twoTargets/test-one/LambdaFunction/Code/Stage",
531
+ "constructInfo": {
532
+ "fqn": "aws-cdk-lib.AssetStaging",
533
+ "version": "2.118.0"
534
+ }
535
+ },
536
+ "AssetBucket": {
537
+ "id": "AssetBucket",
538
+ "path": "alblam-twoTargets/test-one/LambdaFunction/Code/AssetBucket",
539
+ "constructInfo": {
540
+ "fqn": "aws-cdk-lib.aws_s3.BucketBase",
541
+ "version": "2.118.0"
542
+ }
543
+ }
544
+ },
545
+ "constructInfo": {
546
+ "fqn": "aws-cdk-lib.aws_s3_assets.Asset",
547
+ "version": "2.118.0"
548
+ }
549
+ },
550
+ "Resource": {
551
+ "id": "Resource",
552
+ "path": "alblam-twoTargets/test-one/LambdaFunction/Resource",
553
+ "attributes": {
554
+ "aws:cdk:cloudformation:type": "AWS::Lambda::Function",
555
+ "aws:cdk:cloudformation:props": {
556
+ "code": {
557
+ "s3Bucket": {
558
+ "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-us-east-1"
559
+ },
560
+ "s3Key": "7caf594b8ad91abecca72f7f10a23a5cf446d05dc00d6194619935e7e3fd5a79.zip"
561
+ },
562
+ "environment": {
563
+ "variables": {
564
+ "AWS_NODEJS_CONNECTION_REUSE_ENABLED": "1"
565
+ }
566
+ },
567
+ "handler": "index.handler",
568
+ "role": {
569
+ "Fn::GetAtt": [
570
+ "testoneLambdaFunctionServiceRoleE92573D3",
571
+ "Arn"
572
+ ]
573
+ },
574
+ "runtime": "nodejs16.x",
575
+ "tracingConfig": {
576
+ "mode": "Active"
577
+ },
578
+ "vpcConfig": {
579
+ "subnetIds": [
580
+ {
581
+ "Ref": "VpcPrivateSubnet1Subnet536B997A"
582
+ },
583
+ {
584
+ "Ref": "VpcPrivateSubnet2Subnet3788AAA1"
585
+ }
586
+ ],
587
+ "securityGroupIds": [
588
+ {
589
+ "Fn::GetAtt": [
590
+ "testoneReplaceDefaultSecurityGroupsecuritygroupE46270FE",
591
+ "GroupId"
592
+ ]
593
+ }
594
+ ]
595
+ }
596
+ }
597
+ },
598
+ "constructInfo": {
599
+ "fqn": "aws-cdk-lib.aws_lambda.CfnFunction",
600
+ "version": "2.118.0"
601
+ }
602
+ },
603
+ "Invoke2UTWxhlfyqbT5FTn--5jvgbLgj+FfJwzswGk55DU1H--Y=": {
604
+ "id": "Invoke2UTWxhlfyqbT5FTn--5jvgbLgj+FfJwzswGk55DU1H--Y=",
605
+ "path": "alblam-twoTargets/test-one/LambdaFunction/Invoke2UTWxhlfyqbT5FTn--5jvgbLgj+FfJwzswGk55DU1H--Y=",
606
+ "attributes": {
607
+ "aws:cdk:cloudformation:type": "AWS::Lambda::Permission",
608
+ "aws:cdk:cloudformation:props": {
609
+ "action": "lambda:InvokeFunction",
610
+ "functionName": {
611
+ "Fn::GetAtt": [
612
+ "testoneLambdaFunctionCC9B03E1",
613
+ "Arn"
614
+ ]
615
+ },
616
+ "principal": "elasticloadbalancing.amazonaws.com"
617
+ }
618
+ },
619
+ "constructInfo": {
620
+ "fqn": "aws-cdk-lib.aws_lambda.CfnPermission",
621
+ "version": "2.118.0"
622
+ }
623
+ }
624
+ },
625
+ "constructInfo": {
626
+ "fqn": "aws-cdk-lib.aws_lambda.Function",
627
+ "version": "2.118.0"
628
+ }
629
+ },
630
+ "test-one-listener": {
631
+ "id": "test-one-listener",
632
+ "path": "alblam-twoTargets/test-one/test-one-listener",
633
+ "children": {
634
+ "Resource": {
635
+ "id": "Resource",
636
+ "path": "alblam-twoTargets/test-one/test-one-listener/Resource",
637
+ "attributes": {
638
+ "aws:cdk:cloudformation:type": "AWS::ElasticLoadBalancingV2::Listener",
639
+ "aws:cdk:cloudformation:props": {
640
+ "defaultActions": [
641
+ {
642
+ "type": "forward",
643
+ "targetGroupArn": {
644
+ "Ref": "testonetg2tg6459EC7C"
645
+ }
646
+ }
647
+ ],
648
+ "loadBalancerArn": {
649
+ "Ref": "testonetestonealb4F263E42"
650
+ },
651
+ "port": 80,
652
+ "protocol": "HTTP"
653
+ }
654
+ },
655
+ "constructInfo": {
656
+ "fqn": "aws-cdk-lib.aws_elasticloadbalancingv2.CfnListener",
657
+ "version": "2.118.0"
658
+ }
659
+ },
660
+ "test-two-targetsRule": {
661
+ "id": "test-two-targetsRule",
662
+ "path": "alblam-twoTargets/test-one/test-one-listener/test-two-targetsRule",
663
+ "children": {
664
+ "Resource": {
665
+ "id": "Resource",
666
+ "path": "alblam-twoTargets/test-one/test-one-listener/test-two-targetsRule/Resource",
667
+ "attributes": {
668
+ "aws:cdk:cloudformation:type": "AWS::ElasticLoadBalancingV2::ListenerRule",
669
+ "aws:cdk:cloudformation:props": {
670
+ "actions": [
671
+ {
672
+ "type": "forward",
673
+ "targetGroupArn": {
674
+ "Ref": "testtwotg2tg35BE6697"
675
+ }
676
+ }
677
+ ],
678
+ "conditions": [
679
+ {
680
+ "field": "path-pattern",
681
+ "pathPatternConfig": {
682
+ "values": [
683
+ "*admin*"
684
+ ]
685
+ }
686
+ }
687
+ ],
688
+ "listenerArn": {
689
+ "Ref": "testonetestonelistener51CF582F"
690
+ },
691
+ "priority": 10
692
+ }
693
+ },
694
+ "constructInfo": {
695
+ "fqn": "aws-cdk-lib.aws_elasticloadbalancingv2.CfnListenerRule",
696
+ "version": "2.118.0"
697
+ }
698
+ }
699
+ },
700
+ "constructInfo": {
701
+ "fqn": "aws-cdk-lib.aws_elasticloadbalancingv2.ApplicationListenerRule",
702
+ "version": "2.118.0"
703
+ }
704
+ }
705
+ },
706
+ "constructInfo": {
707
+ "fqn": "aws-cdk-lib.aws_elasticloadbalancingv2.ApplicationListener",
708
+ "version": "2.118.0"
709
+ }
710
+ },
711
+ "tg2-tg": {
712
+ "id": "tg2-tg",
713
+ "path": "alblam-twoTargets/test-one/tg2-tg",
714
+ "children": {
715
+ "Resource": {
716
+ "id": "Resource",
717
+ "path": "alblam-twoTargets/test-one/tg2-tg/Resource",
718
+ "attributes": {
719
+ "aws:cdk:cloudformation:type": "AWS::ElasticLoadBalancingV2::TargetGroup",
720
+ "aws:cdk:cloudformation:props": {
721
+ "targets": [
722
+ {
723
+ "id": {
724
+ "Fn::GetAtt": [
725
+ "testoneLambdaFunctionCC9B03E1",
726
+ "Arn"
727
+ ]
728
+ }
729
+ }
730
+ ],
731
+ "targetType": "lambda"
732
+ }
733
+ },
734
+ "constructInfo": {
735
+ "fqn": "aws-cdk-lib.aws_elasticloadbalancingv2.CfnTargetGroup",
736
+ "version": "2.118.0"
737
+ }
738
+ }
739
+ },
740
+ "constructInfo": {
741
+ "fqn": "aws-cdk-lib.aws_elasticloadbalancingv2.ApplicationTargetGroup",
742
+ "version": "2.118.0"
743
+ }
744
+ }
745
+ },
746
+ "constructInfo": {
747
+ "fqn": "@aws-solutions-constructs/aws-alb-lambda.AlbToLambda",
748
+ "version": "2.51.0"
749
+ }
750
+ },
751
+ "Vpc": {
752
+ "id": "Vpc",
753
+ "path": "alblam-twoTargets/Vpc",
754
+ "children": {
755
+ "Resource": {
756
+ "id": "Resource",
757
+ "path": "alblam-twoTargets/Vpc/Resource",
758
+ "attributes": {
759
+ "aws:cdk:cloudformation:type": "AWS::EC2::VPC",
760
+ "aws:cdk:cloudformation:props": {
761
+ "cidrBlock": "10.0.0.0/16",
762
+ "enableDnsHostnames": true,
763
+ "enableDnsSupport": true,
764
+ "instanceTenancy": "default",
765
+ "tags": [
766
+ {
767
+ "key": "Name",
768
+ "value": "alblam-twoTargets/Vpc"
769
+ }
770
+ ]
771
+ }
772
+ },
773
+ "constructInfo": {
774
+ "fqn": "aws-cdk-lib.aws_ec2.CfnVPC",
775
+ "version": "2.118.0"
776
+ }
777
+ },
778
+ "PublicSubnet1": {
779
+ "id": "PublicSubnet1",
780
+ "path": "alblam-twoTargets/Vpc/PublicSubnet1",
781
+ "children": {
782
+ "Subnet": {
783
+ "id": "Subnet",
784
+ "path": "alblam-twoTargets/Vpc/PublicSubnet1/Subnet",
785
+ "attributes": {
786
+ "aws:cdk:cloudformation:type": "AWS::EC2::Subnet",
787
+ "aws:cdk:cloudformation:props": {
788
+ "availabilityZone": {
789
+ "Fn::Select": [
790
+ 0,
791
+ {
792
+ "Fn::GetAZs": ""
793
+ }
794
+ ]
795
+ },
796
+ "cidrBlock": "10.0.0.0/18",
797
+ "mapPublicIpOnLaunch": true,
798
+ "tags": [
799
+ {
800
+ "key": "aws-cdk:subnet-name",
801
+ "value": "Public"
802
+ },
803
+ {
804
+ "key": "aws-cdk:subnet-type",
805
+ "value": "Public"
806
+ },
807
+ {
808
+ "key": "Name",
809
+ "value": "alblam-twoTargets/Vpc/PublicSubnet1"
810
+ }
811
+ ],
812
+ "vpcId": {
813
+ "Ref": "Vpc8378EB38"
814
+ }
815
+ }
816
+ },
817
+ "constructInfo": {
818
+ "fqn": "aws-cdk-lib.aws_ec2.CfnSubnet",
819
+ "version": "2.118.0"
820
+ }
821
+ },
822
+ "Acl": {
823
+ "id": "Acl",
824
+ "path": "alblam-twoTargets/Vpc/PublicSubnet1/Acl",
825
+ "constructInfo": {
826
+ "fqn": "aws-cdk-lib.Resource",
827
+ "version": "2.118.0"
828
+ }
829
+ },
830
+ "RouteTable": {
831
+ "id": "RouteTable",
832
+ "path": "alblam-twoTargets/Vpc/PublicSubnet1/RouteTable",
833
+ "attributes": {
834
+ "aws:cdk:cloudformation:type": "AWS::EC2::RouteTable",
835
+ "aws:cdk:cloudformation:props": {
836
+ "tags": [
837
+ {
838
+ "key": "Name",
839
+ "value": "alblam-twoTargets/Vpc/PublicSubnet1"
840
+ }
841
+ ],
842
+ "vpcId": {
843
+ "Ref": "Vpc8378EB38"
844
+ }
845
+ }
846
+ },
847
+ "constructInfo": {
848
+ "fqn": "aws-cdk-lib.aws_ec2.CfnRouteTable",
849
+ "version": "2.118.0"
850
+ }
851
+ },
852
+ "RouteTableAssociation": {
853
+ "id": "RouteTableAssociation",
854
+ "path": "alblam-twoTargets/Vpc/PublicSubnet1/RouteTableAssociation",
855
+ "attributes": {
856
+ "aws:cdk:cloudformation:type": "AWS::EC2::SubnetRouteTableAssociation",
857
+ "aws:cdk:cloudformation:props": {
858
+ "routeTableId": {
859
+ "Ref": "VpcPublicSubnet1RouteTable6C95E38E"
860
+ },
861
+ "subnetId": {
862
+ "Ref": "VpcPublicSubnet1Subnet5C2D37C4"
863
+ }
864
+ }
865
+ },
866
+ "constructInfo": {
867
+ "fqn": "aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation",
868
+ "version": "2.118.0"
869
+ }
870
+ },
871
+ "DefaultRoute": {
872
+ "id": "DefaultRoute",
873
+ "path": "alblam-twoTargets/Vpc/PublicSubnet1/DefaultRoute",
874
+ "attributes": {
875
+ "aws:cdk:cloudformation:type": "AWS::EC2::Route",
876
+ "aws:cdk:cloudformation:props": {
877
+ "destinationCidrBlock": "0.0.0.0/0",
878
+ "gatewayId": {
879
+ "Ref": "VpcIGWD7BA715C"
880
+ },
881
+ "routeTableId": {
882
+ "Ref": "VpcPublicSubnet1RouteTable6C95E38E"
883
+ }
884
+ }
885
+ },
886
+ "constructInfo": {
887
+ "fqn": "aws-cdk-lib.aws_ec2.CfnRoute",
888
+ "version": "2.118.0"
889
+ }
890
+ },
891
+ "EIP": {
892
+ "id": "EIP",
893
+ "path": "alblam-twoTargets/Vpc/PublicSubnet1/EIP",
894
+ "attributes": {
895
+ "aws:cdk:cloudformation:type": "AWS::EC2::EIP",
896
+ "aws:cdk:cloudformation:props": {
897
+ "domain": "vpc",
898
+ "tags": [
899
+ {
900
+ "key": "Name",
901
+ "value": "alblam-twoTargets/Vpc/PublicSubnet1"
902
+ }
903
+ ]
904
+ }
905
+ },
906
+ "constructInfo": {
907
+ "fqn": "aws-cdk-lib.aws_ec2.CfnEIP",
908
+ "version": "2.118.0"
909
+ }
910
+ },
911
+ "NATGateway": {
912
+ "id": "NATGateway",
913
+ "path": "alblam-twoTargets/Vpc/PublicSubnet1/NATGateway",
914
+ "attributes": {
915
+ "aws:cdk:cloudformation:type": "AWS::EC2::NatGateway",
916
+ "aws:cdk:cloudformation:props": {
917
+ "allocationId": {
918
+ "Fn::GetAtt": [
919
+ "VpcPublicSubnet1EIPD7E02669",
920
+ "AllocationId"
921
+ ]
922
+ },
923
+ "subnetId": {
924
+ "Ref": "VpcPublicSubnet1Subnet5C2D37C4"
925
+ },
926
+ "tags": [
927
+ {
928
+ "key": "Name",
929
+ "value": "alblam-twoTargets/Vpc/PublicSubnet1"
930
+ }
931
+ ]
932
+ }
933
+ },
934
+ "constructInfo": {
935
+ "fqn": "aws-cdk-lib.aws_ec2.CfnNatGateway",
936
+ "version": "2.118.0"
937
+ }
938
+ }
939
+ },
940
+ "constructInfo": {
941
+ "fqn": "aws-cdk-lib.aws_ec2.PublicSubnet",
942
+ "version": "2.118.0"
943
+ }
944
+ },
945
+ "PublicSubnet2": {
946
+ "id": "PublicSubnet2",
947
+ "path": "alblam-twoTargets/Vpc/PublicSubnet2",
948
+ "children": {
949
+ "Subnet": {
950
+ "id": "Subnet",
951
+ "path": "alblam-twoTargets/Vpc/PublicSubnet2/Subnet",
952
+ "attributes": {
953
+ "aws:cdk:cloudformation:type": "AWS::EC2::Subnet",
954
+ "aws:cdk:cloudformation:props": {
955
+ "availabilityZone": {
956
+ "Fn::Select": [
957
+ 1,
958
+ {
959
+ "Fn::GetAZs": ""
960
+ }
961
+ ]
962
+ },
963
+ "cidrBlock": "10.0.64.0/18",
964
+ "mapPublicIpOnLaunch": true,
965
+ "tags": [
966
+ {
967
+ "key": "aws-cdk:subnet-name",
968
+ "value": "Public"
969
+ },
970
+ {
971
+ "key": "aws-cdk:subnet-type",
972
+ "value": "Public"
973
+ },
974
+ {
975
+ "key": "Name",
976
+ "value": "alblam-twoTargets/Vpc/PublicSubnet2"
977
+ }
978
+ ],
979
+ "vpcId": {
980
+ "Ref": "Vpc8378EB38"
981
+ }
982
+ }
983
+ },
984
+ "constructInfo": {
985
+ "fqn": "aws-cdk-lib.aws_ec2.CfnSubnet",
986
+ "version": "2.118.0"
987
+ }
988
+ },
989
+ "Acl": {
990
+ "id": "Acl",
991
+ "path": "alblam-twoTargets/Vpc/PublicSubnet2/Acl",
992
+ "constructInfo": {
993
+ "fqn": "aws-cdk-lib.Resource",
994
+ "version": "2.118.0"
995
+ }
996
+ },
997
+ "RouteTable": {
998
+ "id": "RouteTable",
999
+ "path": "alblam-twoTargets/Vpc/PublicSubnet2/RouteTable",
1000
+ "attributes": {
1001
+ "aws:cdk:cloudformation:type": "AWS::EC2::RouteTable",
1002
+ "aws:cdk:cloudformation:props": {
1003
+ "tags": [
1004
+ {
1005
+ "key": "Name",
1006
+ "value": "alblam-twoTargets/Vpc/PublicSubnet2"
1007
+ }
1008
+ ],
1009
+ "vpcId": {
1010
+ "Ref": "Vpc8378EB38"
1011
+ }
1012
+ }
1013
+ },
1014
+ "constructInfo": {
1015
+ "fqn": "aws-cdk-lib.aws_ec2.CfnRouteTable",
1016
+ "version": "2.118.0"
1017
+ }
1018
+ },
1019
+ "RouteTableAssociation": {
1020
+ "id": "RouteTableAssociation",
1021
+ "path": "alblam-twoTargets/Vpc/PublicSubnet2/RouteTableAssociation",
1022
+ "attributes": {
1023
+ "aws:cdk:cloudformation:type": "AWS::EC2::SubnetRouteTableAssociation",
1024
+ "aws:cdk:cloudformation:props": {
1025
+ "routeTableId": {
1026
+ "Ref": "VpcPublicSubnet2RouteTable94F7E489"
1027
+ },
1028
+ "subnetId": {
1029
+ "Ref": "VpcPublicSubnet2Subnet691E08A3"
1030
+ }
1031
+ }
1032
+ },
1033
+ "constructInfo": {
1034
+ "fqn": "aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation",
1035
+ "version": "2.118.0"
1036
+ }
1037
+ },
1038
+ "DefaultRoute": {
1039
+ "id": "DefaultRoute",
1040
+ "path": "alblam-twoTargets/Vpc/PublicSubnet2/DefaultRoute",
1041
+ "attributes": {
1042
+ "aws:cdk:cloudformation:type": "AWS::EC2::Route",
1043
+ "aws:cdk:cloudformation:props": {
1044
+ "destinationCidrBlock": "0.0.0.0/0",
1045
+ "gatewayId": {
1046
+ "Ref": "VpcIGWD7BA715C"
1047
+ },
1048
+ "routeTableId": {
1049
+ "Ref": "VpcPublicSubnet2RouteTable94F7E489"
1050
+ }
1051
+ }
1052
+ },
1053
+ "constructInfo": {
1054
+ "fqn": "aws-cdk-lib.aws_ec2.CfnRoute",
1055
+ "version": "2.118.0"
1056
+ }
1057
+ },
1058
+ "EIP": {
1059
+ "id": "EIP",
1060
+ "path": "alblam-twoTargets/Vpc/PublicSubnet2/EIP",
1061
+ "attributes": {
1062
+ "aws:cdk:cloudformation:type": "AWS::EC2::EIP",
1063
+ "aws:cdk:cloudformation:props": {
1064
+ "domain": "vpc",
1065
+ "tags": [
1066
+ {
1067
+ "key": "Name",
1068
+ "value": "alblam-twoTargets/Vpc/PublicSubnet2"
1069
+ }
1070
+ ]
1071
+ }
1072
+ },
1073
+ "constructInfo": {
1074
+ "fqn": "aws-cdk-lib.aws_ec2.CfnEIP",
1075
+ "version": "2.118.0"
1076
+ }
1077
+ },
1078
+ "NATGateway": {
1079
+ "id": "NATGateway",
1080
+ "path": "alblam-twoTargets/Vpc/PublicSubnet2/NATGateway",
1081
+ "attributes": {
1082
+ "aws:cdk:cloudformation:type": "AWS::EC2::NatGateway",
1083
+ "aws:cdk:cloudformation:props": {
1084
+ "allocationId": {
1085
+ "Fn::GetAtt": [
1086
+ "VpcPublicSubnet2EIP3C605A87",
1087
+ "AllocationId"
1088
+ ]
1089
+ },
1090
+ "subnetId": {
1091
+ "Ref": "VpcPublicSubnet2Subnet691E08A3"
1092
+ },
1093
+ "tags": [
1094
+ {
1095
+ "key": "Name",
1096
+ "value": "alblam-twoTargets/Vpc/PublicSubnet2"
1097
+ }
1098
+ ]
1099
+ }
1100
+ },
1101
+ "constructInfo": {
1102
+ "fqn": "aws-cdk-lib.aws_ec2.CfnNatGateway",
1103
+ "version": "2.118.0"
1104
+ }
1105
+ }
1106
+ },
1107
+ "constructInfo": {
1108
+ "fqn": "aws-cdk-lib.aws_ec2.PublicSubnet",
1109
+ "version": "2.118.0"
1110
+ }
1111
+ },
1112
+ "PrivateSubnet1": {
1113
+ "id": "PrivateSubnet1",
1114
+ "path": "alblam-twoTargets/Vpc/PrivateSubnet1",
1115
+ "children": {
1116
+ "Subnet": {
1117
+ "id": "Subnet",
1118
+ "path": "alblam-twoTargets/Vpc/PrivateSubnet1/Subnet",
1119
+ "attributes": {
1120
+ "aws:cdk:cloudformation:type": "AWS::EC2::Subnet",
1121
+ "aws:cdk:cloudformation:props": {
1122
+ "availabilityZone": {
1123
+ "Fn::Select": [
1124
+ 0,
1125
+ {
1126
+ "Fn::GetAZs": ""
1127
+ }
1128
+ ]
1129
+ },
1130
+ "cidrBlock": "10.0.128.0/18",
1131
+ "mapPublicIpOnLaunch": false,
1132
+ "tags": [
1133
+ {
1134
+ "key": "aws-cdk:subnet-name",
1135
+ "value": "Private"
1136
+ },
1137
+ {
1138
+ "key": "aws-cdk:subnet-type",
1139
+ "value": "Private"
1140
+ },
1141
+ {
1142
+ "key": "Name",
1143
+ "value": "alblam-twoTargets/Vpc/PrivateSubnet1"
1144
+ }
1145
+ ],
1146
+ "vpcId": {
1147
+ "Ref": "Vpc8378EB38"
1148
+ }
1149
+ }
1150
+ },
1151
+ "constructInfo": {
1152
+ "fqn": "aws-cdk-lib.aws_ec2.CfnSubnet",
1153
+ "version": "2.118.0"
1154
+ }
1155
+ },
1156
+ "Acl": {
1157
+ "id": "Acl",
1158
+ "path": "alblam-twoTargets/Vpc/PrivateSubnet1/Acl",
1159
+ "constructInfo": {
1160
+ "fqn": "aws-cdk-lib.Resource",
1161
+ "version": "2.118.0"
1162
+ }
1163
+ },
1164
+ "RouteTable": {
1165
+ "id": "RouteTable",
1166
+ "path": "alblam-twoTargets/Vpc/PrivateSubnet1/RouteTable",
1167
+ "attributes": {
1168
+ "aws:cdk:cloudformation:type": "AWS::EC2::RouteTable",
1169
+ "aws:cdk:cloudformation:props": {
1170
+ "tags": [
1171
+ {
1172
+ "key": "Name",
1173
+ "value": "alblam-twoTargets/Vpc/PrivateSubnet1"
1174
+ }
1175
+ ],
1176
+ "vpcId": {
1177
+ "Ref": "Vpc8378EB38"
1178
+ }
1179
+ }
1180
+ },
1181
+ "constructInfo": {
1182
+ "fqn": "aws-cdk-lib.aws_ec2.CfnRouteTable",
1183
+ "version": "2.118.0"
1184
+ }
1185
+ },
1186
+ "RouteTableAssociation": {
1187
+ "id": "RouteTableAssociation",
1188
+ "path": "alblam-twoTargets/Vpc/PrivateSubnet1/RouteTableAssociation",
1189
+ "attributes": {
1190
+ "aws:cdk:cloudformation:type": "AWS::EC2::SubnetRouteTableAssociation",
1191
+ "aws:cdk:cloudformation:props": {
1192
+ "routeTableId": {
1193
+ "Ref": "VpcPrivateSubnet1RouteTableB2C5B500"
1194
+ },
1195
+ "subnetId": {
1196
+ "Ref": "VpcPrivateSubnet1Subnet536B997A"
1197
+ }
1198
+ }
1199
+ },
1200
+ "constructInfo": {
1201
+ "fqn": "aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation",
1202
+ "version": "2.118.0"
1203
+ }
1204
+ },
1205
+ "DefaultRoute": {
1206
+ "id": "DefaultRoute",
1207
+ "path": "alblam-twoTargets/Vpc/PrivateSubnet1/DefaultRoute",
1208
+ "attributes": {
1209
+ "aws:cdk:cloudformation:type": "AWS::EC2::Route",
1210
+ "aws:cdk:cloudformation:props": {
1211
+ "destinationCidrBlock": "0.0.0.0/0",
1212
+ "natGatewayId": {
1213
+ "Ref": "VpcPublicSubnet1NATGateway4D7517AA"
1214
+ },
1215
+ "routeTableId": {
1216
+ "Ref": "VpcPrivateSubnet1RouteTableB2C5B500"
1217
+ }
1218
+ }
1219
+ },
1220
+ "constructInfo": {
1221
+ "fqn": "aws-cdk-lib.aws_ec2.CfnRoute",
1222
+ "version": "2.118.0"
1223
+ }
1224
+ }
1225
+ },
1226
+ "constructInfo": {
1227
+ "fqn": "aws-cdk-lib.aws_ec2.PrivateSubnet",
1228
+ "version": "2.118.0"
1229
+ }
1230
+ },
1231
+ "PrivateSubnet2": {
1232
+ "id": "PrivateSubnet2",
1233
+ "path": "alblam-twoTargets/Vpc/PrivateSubnet2",
1234
+ "children": {
1235
+ "Subnet": {
1236
+ "id": "Subnet",
1237
+ "path": "alblam-twoTargets/Vpc/PrivateSubnet2/Subnet",
1238
+ "attributes": {
1239
+ "aws:cdk:cloudformation:type": "AWS::EC2::Subnet",
1240
+ "aws:cdk:cloudformation:props": {
1241
+ "availabilityZone": {
1242
+ "Fn::Select": [
1243
+ 1,
1244
+ {
1245
+ "Fn::GetAZs": ""
1246
+ }
1247
+ ]
1248
+ },
1249
+ "cidrBlock": "10.0.192.0/18",
1250
+ "mapPublicIpOnLaunch": false,
1251
+ "tags": [
1252
+ {
1253
+ "key": "aws-cdk:subnet-name",
1254
+ "value": "Private"
1255
+ },
1256
+ {
1257
+ "key": "aws-cdk:subnet-type",
1258
+ "value": "Private"
1259
+ },
1260
+ {
1261
+ "key": "Name",
1262
+ "value": "alblam-twoTargets/Vpc/PrivateSubnet2"
1263
+ }
1264
+ ],
1265
+ "vpcId": {
1266
+ "Ref": "Vpc8378EB38"
1267
+ }
1268
+ }
1269
+ },
1270
+ "constructInfo": {
1271
+ "fqn": "aws-cdk-lib.aws_ec2.CfnSubnet",
1272
+ "version": "2.118.0"
1273
+ }
1274
+ },
1275
+ "Acl": {
1276
+ "id": "Acl",
1277
+ "path": "alblam-twoTargets/Vpc/PrivateSubnet2/Acl",
1278
+ "constructInfo": {
1279
+ "fqn": "aws-cdk-lib.Resource",
1280
+ "version": "2.118.0"
1281
+ }
1282
+ },
1283
+ "RouteTable": {
1284
+ "id": "RouteTable",
1285
+ "path": "alblam-twoTargets/Vpc/PrivateSubnet2/RouteTable",
1286
+ "attributes": {
1287
+ "aws:cdk:cloudformation:type": "AWS::EC2::RouteTable",
1288
+ "aws:cdk:cloudformation:props": {
1289
+ "tags": [
1290
+ {
1291
+ "key": "Name",
1292
+ "value": "alblam-twoTargets/Vpc/PrivateSubnet2"
1293
+ }
1294
+ ],
1295
+ "vpcId": {
1296
+ "Ref": "Vpc8378EB38"
1297
+ }
1298
+ }
1299
+ },
1300
+ "constructInfo": {
1301
+ "fqn": "aws-cdk-lib.aws_ec2.CfnRouteTable",
1302
+ "version": "2.118.0"
1303
+ }
1304
+ },
1305
+ "RouteTableAssociation": {
1306
+ "id": "RouteTableAssociation",
1307
+ "path": "alblam-twoTargets/Vpc/PrivateSubnet2/RouteTableAssociation",
1308
+ "attributes": {
1309
+ "aws:cdk:cloudformation:type": "AWS::EC2::SubnetRouteTableAssociation",
1310
+ "aws:cdk:cloudformation:props": {
1311
+ "routeTableId": {
1312
+ "Ref": "VpcPrivateSubnet2RouteTableA678073B"
1313
+ },
1314
+ "subnetId": {
1315
+ "Ref": "VpcPrivateSubnet2Subnet3788AAA1"
1316
+ }
1317
+ }
1318
+ },
1319
+ "constructInfo": {
1320
+ "fqn": "aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation",
1321
+ "version": "2.118.0"
1322
+ }
1323
+ },
1324
+ "DefaultRoute": {
1325
+ "id": "DefaultRoute",
1326
+ "path": "alblam-twoTargets/Vpc/PrivateSubnet2/DefaultRoute",
1327
+ "attributes": {
1328
+ "aws:cdk:cloudformation:type": "AWS::EC2::Route",
1329
+ "aws:cdk:cloudformation:props": {
1330
+ "destinationCidrBlock": "0.0.0.0/0",
1331
+ "natGatewayId": {
1332
+ "Ref": "VpcPublicSubnet2NATGateway9182C01D"
1333
+ },
1334
+ "routeTableId": {
1335
+ "Ref": "VpcPrivateSubnet2RouteTableA678073B"
1336
+ }
1337
+ }
1338
+ },
1339
+ "constructInfo": {
1340
+ "fqn": "aws-cdk-lib.aws_ec2.CfnRoute",
1341
+ "version": "2.118.0"
1342
+ }
1343
+ }
1344
+ },
1345
+ "constructInfo": {
1346
+ "fqn": "aws-cdk-lib.aws_ec2.PrivateSubnet",
1347
+ "version": "2.118.0"
1348
+ }
1349
+ },
1350
+ "IGW": {
1351
+ "id": "IGW",
1352
+ "path": "alblam-twoTargets/Vpc/IGW",
1353
+ "attributes": {
1354
+ "aws:cdk:cloudformation:type": "AWS::EC2::InternetGateway",
1355
+ "aws:cdk:cloudformation:props": {
1356
+ "tags": [
1357
+ {
1358
+ "key": "Name",
1359
+ "value": "alblam-twoTargets/Vpc"
1360
+ }
1361
+ ]
1362
+ }
1363
+ },
1364
+ "constructInfo": {
1365
+ "fqn": "aws-cdk-lib.aws_ec2.CfnInternetGateway",
1366
+ "version": "2.118.0"
1367
+ }
1368
+ },
1369
+ "VPCGW": {
1370
+ "id": "VPCGW",
1371
+ "path": "alblam-twoTargets/Vpc/VPCGW",
1372
+ "attributes": {
1373
+ "aws:cdk:cloudformation:type": "AWS::EC2::VPCGatewayAttachment",
1374
+ "aws:cdk:cloudformation:props": {
1375
+ "internetGatewayId": {
1376
+ "Ref": "VpcIGWD7BA715C"
1377
+ },
1378
+ "vpcId": {
1379
+ "Ref": "Vpc8378EB38"
1380
+ }
1381
+ }
1382
+ },
1383
+ "constructInfo": {
1384
+ "fqn": "aws-cdk-lib.aws_ec2.CfnVPCGatewayAttachment",
1385
+ "version": "2.118.0"
1386
+ }
1387
+ },
1388
+ "RestrictDefaultSecurityGroupCustomResource": {
1389
+ "id": "RestrictDefaultSecurityGroupCustomResource",
1390
+ "path": "alblam-twoTargets/Vpc/RestrictDefaultSecurityGroupCustomResource",
1391
+ "children": {
1392
+ "Default": {
1393
+ "id": "Default",
1394
+ "path": "alblam-twoTargets/Vpc/RestrictDefaultSecurityGroupCustomResource/Default",
1395
+ "constructInfo": {
1396
+ "fqn": "aws-cdk-lib.CfnResource",
1397
+ "version": "2.118.0"
1398
+ }
1399
+ }
1400
+ },
1401
+ "constructInfo": {
1402
+ "fqn": "aws-cdk-lib.CustomResource",
1403
+ "version": "2.118.0"
1404
+ }
1405
+ },
1406
+ "FlowLog": {
1407
+ "id": "FlowLog",
1408
+ "path": "alblam-twoTargets/Vpc/FlowLog",
1409
+ "children": {
1410
+ "IAMRole": {
1411
+ "id": "IAMRole",
1412
+ "path": "alblam-twoTargets/Vpc/FlowLog/IAMRole",
1413
+ "children": {
1414
+ "ImportIAMRole": {
1415
+ "id": "ImportIAMRole",
1416
+ "path": "alblam-twoTargets/Vpc/FlowLog/IAMRole/ImportIAMRole",
1417
+ "constructInfo": {
1418
+ "fqn": "aws-cdk-lib.Resource",
1419
+ "version": "2.118.0"
1420
+ }
1421
+ },
1422
+ "Resource": {
1423
+ "id": "Resource",
1424
+ "path": "alblam-twoTargets/Vpc/FlowLog/IAMRole/Resource",
1425
+ "attributes": {
1426
+ "aws:cdk:cloudformation:type": "AWS::IAM::Role",
1427
+ "aws:cdk:cloudformation:props": {
1428
+ "assumeRolePolicyDocument": {
1429
+ "Statement": [
1430
+ {
1431
+ "Action": "sts:AssumeRole",
1432
+ "Effect": "Allow",
1433
+ "Principal": {
1434
+ "Service": "vpc-flow-logs.amazonaws.com"
1435
+ }
1436
+ }
1437
+ ],
1438
+ "Version": "2012-10-17"
1439
+ },
1440
+ "tags": [
1441
+ {
1442
+ "key": "Name",
1443
+ "value": "alblam-twoTargets/Vpc/FlowLog"
1444
+ }
1445
+ ]
1446
+ }
1447
+ },
1448
+ "constructInfo": {
1449
+ "fqn": "aws-cdk-lib.aws_iam.CfnRole",
1450
+ "version": "2.118.0"
1451
+ }
1452
+ },
1453
+ "DefaultPolicy": {
1454
+ "id": "DefaultPolicy",
1455
+ "path": "alblam-twoTargets/Vpc/FlowLog/IAMRole/DefaultPolicy",
1456
+ "children": {
1457
+ "Resource": {
1458
+ "id": "Resource",
1459
+ "path": "alblam-twoTargets/Vpc/FlowLog/IAMRole/DefaultPolicy/Resource",
1460
+ "attributes": {
1461
+ "aws:cdk:cloudformation:type": "AWS::IAM::Policy",
1462
+ "aws:cdk:cloudformation:props": {
1463
+ "policyDocument": {
1464
+ "Statement": [
1465
+ {
1466
+ "Action": [
1467
+ "logs:CreateLogStream",
1468
+ "logs:DescribeLogStreams",
1469
+ "logs:PutLogEvents"
1470
+ ],
1471
+ "Effect": "Allow",
1472
+ "Resource": {
1473
+ "Fn::GetAtt": [
1474
+ "VpcFlowLogLogGroup7B5C56B9",
1475
+ "Arn"
1476
+ ]
1477
+ }
1478
+ },
1479
+ {
1480
+ "Action": "iam:PassRole",
1481
+ "Effect": "Allow",
1482
+ "Resource": {
1483
+ "Fn::GetAtt": [
1484
+ "VpcFlowLogIAMRole6A475D41",
1485
+ "Arn"
1486
+ ]
1487
+ }
1488
+ }
1489
+ ],
1490
+ "Version": "2012-10-17"
1491
+ },
1492
+ "policyName": "VpcFlowLogIAMRoleDefaultPolicy406FB995",
1493
+ "roles": [
1494
+ {
1495
+ "Ref": "VpcFlowLogIAMRole6A475D41"
1496
+ }
1497
+ ]
1498
+ }
1499
+ },
1500
+ "constructInfo": {
1501
+ "fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
1502
+ "version": "2.118.0"
1503
+ }
1504
+ }
1505
+ },
1506
+ "constructInfo": {
1507
+ "fqn": "aws-cdk-lib.aws_iam.Policy",
1508
+ "version": "2.118.0"
1509
+ }
1510
+ }
1511
+ },
1512
+ "constructInfo": {
1513
+ "fqn": "aws-cdk-lib.aws_iam.Role",
1514
+ "version": "2.118.0"
1515
+ }
1516
+ },
1517
+ "LogGroup": {
1518
+ "id": "LogGroup",
1519
+ "path": "alblam-twoTargets/Vpc/FlowLog/LogGroup",
1520
+ "children": {
1521
+ "Resource": {
1522
+ "id": "Resource",
1523
+ "path": "alblam-twoTargets/Vpc/FlowLog/LogGroup/Resource",
1524
+ "attributes": {
1525
+ "aws:cdk:cloudformation:type": "AWS::Logs::LogGroup",
1526
+ "aws:cdk:cloudformation:props": {
1527
+ "retentionInDays": 731,
1528
+ "tags": [
1529
+ {
1530
+ "key": "Name",
1531
+ "value": "alblam-twoTargets/Vpc/FlowLog"
1532
+ }
1533
+ ]
1534
+ }
1535
+ },
1536
+ "constructInfo": {
1537
+ "fqn": "aws-cdk-lib.aws_logs.CfnLogGroup",
1538
+ "version": "2.118.0"
1539
+ }
1540
+ }
1541
+ },
1542
+ "constructInfo": {
1543
+ "fqn": "aws-cdk-lib.aws_logs.LogGroup",
1544
+ "version": "2.118.0"
1545
+ }
1546
+ },
1547
+ "FlowLog": {
1548
+ "id": "FlowLog",
1549
+ "path": "alblam-twoTargets/Vpc/FlowLog/FlowLog",
1550
+ "attributes": {
1551
+ "aws:cdk:cloudformation:type": "AWS::EC2::FlowLog",
1552
+ "aws:cdk:cloudformation:props": {
1553
+ "deliverLogsPermissionArn": {
1554
+ "Fn::GetAtt": [
1555
+ "VpcFlowLogIAMRole6A475D41",
1556
+ "Arn"
1557
+ ]
1558
+ },
1559
+ "logDestinationType": "cloud-watch-logs",
1560
+ "logGroupName": {
1561
+ "Ref": "VpcFlowLogLogGroup7B5C56B9"
1562
+ },
1563
+ "resourceId": {
1564
+ "Ref": "Vpc8378EB38"
1565
+ },
1566
+ "resourceType": "VPC",
1567
+ "tags": [
1568
+ {
1569
+ "key": "Name",
1570
+ "value": "alblam-twoTargets/Vpc/FlowLog"
1571
+ }
1572
+ ],
1573
+ "trafficType": "ALL"
1574
+ }
1575
+ },
1576
+ "constructInfo": {
1577
+ "fqn": "aws-cdk-lib.aws_ec2.CfnFlowLog",
1578
+ "version": "2.118.0"
1579
+ }
1580
+ }
1581
+ },
1582
+ "constructInfo": {
1583
+ "fqn": "aws-cdk-lib.aws_ec2.FlowLog",
1584
+ "version": "2.118.0"
1585
+ }
1586
+ }
1587
+ },
1588
+ "constructInfo": {
1589
+ "fqn": "aws-cdk-lib.aws_ec2.Vpc",
1590
+ "version": "2.118.0"
1591
+ }
1592
+ },
1593
+ "Custom::VpcRestrictDefaultSGCustomResourceProvider": {
1594
+ "id": "Custom::VpcRestrictDefaultSGCustomResourceProvider",
1595
+ "path": "alblam-twoTargets/Custom::VpcRestrictDefaultSGCustomResourceProvider",
1596
+ "children": {
1597
+ "Staging": {
1598
+ "id": "Staging",
1599
+ "path": "alblam-twoTargets/Custom::VpcRestrictDefaultSGCustomResourceProvider/Staging",
1600
+ "constructInfo": {
1601
+ "fqn": "aws-cdk-lib.AssetStaging",
1602
+ "version": "2.118.0"
1603
+ }
1604
+ },
1605
+ "Role": {
1606
+ "id": "Role",
1607
+ "path": "alblam-twoTargets/Custom::VpcRestrictDefaultSGCustomResourceProvider/Role",
1608
+ "constructInfo": {
1609
+ "fqn": "aws-cdk-lib.CfnResource",
1610
+ "version": "2.118.0"
1611
+ }
1612
+ },
1613
+ "Handler": {
1614
+ "id": "Handler",
1615
+ "path": "alblam-twoTargets/Custom::VpcRestrictDefaultSGCustomResourceProvider/Handler",
1616
+ "constructInfo": {
1617
+ "fqn": "aws-cdk-lib.CfnResource",
1618
+ "version": "2.118.0"
1619
+ }
1620
+ }
1621
+ },
1622
+ "constructInfo": {
1623
+ "fqn": "aws-cdk-lib.CustomResourceProviderBase",
1624
+ "version": "2.118.0"
1625
+ }
1626
+ },
1627
+ "Custom::S3AutoDeleteObjectsCustomResourceProvider": {
1628
+ "id": "Custom::S3AutoDeleteObjectsCustomResourceProvider",
1629
+ "path": "alblam-twoTargets/Custom::S3AutoDeleteObjectsCustomResourceProvider",
1630
+ "children": {
1631
+ "Staging": {
1632
+ "id": "Staging",
1633
+ "path": "alblam-twoTargets/Custom::S3AutoDeleteObjectsCustomResourceProvider/Staging",
1634
+ "constructInfo": {
1635
+ "fqn": "aws-cdk-lib.AssetStaging",
1636
+ "version": "2.118.0"
1637
+ }
1638
+ },
1639
+ "Role": {
1640
+ "id": "Role",
1641
+ "path": "alblam-twoTargets/Custom::S3AutoDeleteObjectsCustomResourceProvider/Role",
1642
+ "constructInfo": {
1643
+ "fqn": "aws-cdk-lib.CfnResource",
1644
+ "version": "2.118.0"
1645
+ }
1646
+ },
1647
+ "Handler": {
1648
+ "id": "Handler",
1649
+ "path": "alblam-twoTargets/Custom::S3AutoDeleteObjectsCustomResourceProvider/Handler",
1650
+ "constructInfo": {
1651
+ "fqn": "aws-cdk-lib.CfnResource",
1652
+ "version": "2.118.0"
1653
+ }
1654
+ }
1655
+ },
1656
+ "constructInfo": {
1657
+ "fqn": "aws-cdk-lib.CustomResourceProviderBase",
1658
+ "version": "2.118.0"
1659
+ }
1660
+ },
1661
+ "test-two": {
1662
+ "id": "test-two",
1663
+ "path": "alblam-twoTargets/test-two",
1664
+ "children": {
1665
+ "LambdaFunctionServiceRole": {
1666
+ "id": "LambdaFunctionServiceRole",
1667
+ "path": "alblam-twoTargets/test-two/LambdaFunctionServiceRole",
1668
+ "children": {
1669
+ "ImportLambdaFunctionServiceRole": {
1670
+ "id": "ImportLambdaFunctionServiceRole",
1671
+ "path": "alblam-twoTargets/test-two/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole",
1672
+ "constructInfo": {
1673
+ "fqn": "aws-cdk-lib.Resource",
1674
+ "version": "2.118.0"
1675
+ }
1676
+ },
1677
+ "Resource": {
1678
+ "id": "Resource",
1679
+ "path": "alblam-twoTargets/test-two/LambdaFunctionServiceRole/Resource",
1680
+ "attributes": {
1681
+ "aws:cdk:cloudformation:type": "AWS::IAM::Role",
1682
+ "aws:cdk:cloudformation:props": {
1683
+ "assumeRolePolicyDocument": {
1684
+ "Statement": [
1685
+ {
1686
+ "Action": "sts:AssumeRole",
1687
+ "Effect": "Allow",
1688
+ "Principal": {
1689
+ "Service": "lambda.amazonaws.com"
1690
+ }
1691
+ }
1692
+ ],
1693
+ "Version": "2012-10-17"
1694
+ },
1695
+ "policies": [
1696
+ {
1697
+ "policyName": "LambdaFunctionServiceRolePolicy",
1698
+ "policyDocument": {
1699
+ "Statement": [
1700
+ {
1701
+ "Action": [
1702
+ "logs:CreateLogGroup",
1703
+ "logs:CreateLogStream",
1704
+ "logs:PutLogEvents"
1705
+ ],
1706
+ "Effect": "Allow",
1707
+ "Resource": {
1708
+ "Fn::Join": [
1709
+ "",
1710
+ [
1711
+ "arn:",
1712
+ {
1713
+ "Ref": "AWS::Partition"
1714
+ },
1715
+ ":logs:",
1716
+ {
1717
+ "Ref": "AWS::Region"
1718
+ },
1719
+ ":",
1720
+ {
1721
+ "Ref": "AWS::AccountId"
1722
+ },
1723
+ ":log-group:/aws/lambda/*"
1724
+ ]
1725
+ ]
1726
+ }
1727
+ }
1728
+ ],
1729
+ "Version": "2012-10-17"
1730
+ }
1731
+ }
1732
+ ]
1733
+ }
1734
+ },
1735
+ "constructInfo": {
1736
+ "fqn": "aws-cdk-lib.aws_iam.CfnRole",
1737
+ "version": "2.118.0"
1738
+ }
1739
+ },
1740
+ "DefaultPolicy": {
1741
+ "id": "DefaultPolicy",
1742
+ "path": "alblam-twoTargets/test-two/LambdaFunctionServiceRole/DefaultPolicy",
1743
+ "children": {
1744
+ "Resource": {
1745
+ "id": "Resource",
1746
+ "path": "alblam-twoTargets/test-two/LambdaFunctionServiceRole/DefaultPolicy/Resource",
1747
+ "attributes": {
1748
+ "aws:cdk:cloudformation:type": "AWS::IAM::Policy",
1749
+ "aws:cdk:cloudformation:props": {
1750
+ "policyDocument": {
1751
+ "Statement": [
1752
+ {
1753
+ "Action": [
1754
+ "ec2:AssignPrivateIpAddresses",
1755
+ "ec2:CreateNetworkInterface",
1756
+ "ec2:DeleteNetworkInterface",
1757
+ "ec2:DescribeNetworkInterfaces",
1758
+ "ec2:UnassignPrivateIpAddresses",
1759
+ "xray:PutTelemetryRecords",
1760
+ "xray:PutTraceSegments"
1761
+ ],
1762
+ "Effect": "Allow",
1763
+ "Resource": "*"
1764
+ }
1765
+ ],
1766
+ "Version": "2012-10-17"
1767
+ },
1768
+ "policyName": "testtwoLambdaFunctionServiceRoleDefaultPolicy3BCA0DDD",
1769
+ "roles": [
1770
+ {
1771
+ "Ref": "testtwoLambdaFunctionServiceRoleD100E5F8"
1772
+ }
1773
+ ]
1774
+ }
1775
+ },
1776
+ "constructInfo": {
1777
+ "fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
1778
+ "version": "2.118.0"
1779
+ }
1780
+ }
1781
+ },
1782
+ "constructInfo": {
1783
+ "fqn": "aws-cdk-lib.aws_iam.Policy",
1784
+ "version": "2.118.0"
1785
+ }
1786
+ }
1787
+ },
1788
+ "constructInfo": {
1789
+ "fqn": "aws-cdk-lib.aws_iam.Role",
1790
+ "version": "2.118.0"
1791
+ }
1792
+ },
1793
+ "ReplaceDefaultSecurityGroup-security-group": {
1794
+ "id": "ReplaceDefaultSecurityGroup-security-group",
1795
+ "path": "alblam-twoTargets/test-two/ReplaceDefaultSecurityGroup-security-group",
1796
+ "children": {
1797
+ "Resource": {
1798
+ "id": "Resource",
1799
+ "path": "alblam-twoTargets/test-two/ReplaceDefaultSecurityGroup-security-group/Resource",
1800
+ "attributes": {
1801
+ "aws:cdk:cloudformation:type": "AWS::EC2::SecurityGroup",
1802
+ "aws:cdk:cloudformation:props": {
1803
+ "groupDescription": "alblam-twoTargets/test-two/ReplaceDefaultSecurityGroup-security-group",
1804
+ "securityGroupEgress": [
1805
+ {
1806
+ "cidrIp": "0.0.0.0/0",
1807
+ "description": "Allow all outbound traffic by default",
1808
+ "ipProtocol": "-1"
1809
+ }
1810
+ ],
1811
+ "vpcId": {
1812
+ "Ref": "Vpc8378EB38"
1813
+ }
1814
+ }
1815
+ },
1816
+ "constructInfo": {
1817
+ "fqn": "aws-cdk-lib.aws_ec2.CfnSecurityGroup",
1818
+ "version": "2.118.0"
1819
+ }
1820
+ }
1821
+ },
1822
+ "constructInfo": {
1823
+ "fqn": "aws-cdk-lib.aws_ec2.SecurityGroup",
1824
+ "version": "2.118.0"
1825
+ }
1826
+ },
1827
+ "LambdaFunction": {
1828
+ "id": "LambdaFunction",
1829
+ "path": "alblam-twoTargets/test-two/LambdaFunction",
1830
+ "children": {
1831
+ "Code": {
1832
+ "id": "Code",
1833
+ "path": "alblam-twoTargets/test-two/LambdaFunction/Code",
1834
+ "children": {
1835
+ "Stage": {
1836
+ "id": "Stage",
1837
+ "path": "alblam-twoTargets/test-two/LambdaFunction/Code/Stage",
1838
+ "constructInfo": {
1839
+ "fqn": "aws-cdk-lib.AssetStaging",
1840
+ "version": "2.118.0"
1841
+ }
1842
+ },
1843
+ "AssetBucket": {
1844
+ "id": "AssetBucket",
1845
+ "path": "alblam-twoTargets/test-two/LambdaFunction/Code/AssetBucket",
1846
+ "constructInfo": {
1847
+ "fqn": "aws-cdk-lib.aws_s3.BucketBase",
1848
+ "version": "2.118.0"
1849
+ }
1850
+ }
1851
+ },
1852
+ "constructInfo": {
1853
+ "fqn": "aws-cdk-lib.aws_s3_assets.Asset",
1854
+ "version": "2.118.0"
1855
+ }
1856
+ },
1857
+ "Resource": {
1858
+ "id": "Resource",
1859
+ "path": "alblam-twoTargets/test-two/LambdaFunction/Resource",
1860
+ "attributes": {
1861
+ "aws:cdk:cloudformation:type": "AWS::Lambda::Function",
1862
+ "aws:cdk:cloudformation:props": {
1863
+ "code": {
1864
+ "s3Bucket": {
1865
+ "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-us-east-1"
1866
+ },
1867
+ "s3Key": "7caf594b8ad91abecca72f7f10a23a5cf446d05dc00d6194619935e7e3fd5a79.zip"
1868
+ },
1869
+ "environment": {
1870
+ "variables": {
1871
+ "AWS_NODEJS_CONNECTION_REUSE_ENABLED": "1"
1872
+ }
1873
+ },
1874
+ "handler": "index.handler",
1875
+ "role": {
1876
+ "Fn::GetAtt": [
1877
+ "testtwoLambdaFunctionServiceRoleD100E5F8",
1878
+ "Arn"
1879
+ ]
1880
+ },
1881
+ "runtime": "nodejs16.x",
1882
+ "tracingConfig": {
1883
+ "mode": "Active"
1884
+ },
1885
+ "vpcConfig": {
1886
+ "subnetIds": [
1887
+ {
1888
+ "Ref": "VpcPrivateSubnet1Subnet536B997A"
1889
+ },
1890
+ {
1891
+ "Ref": "VpcPrivateSubnet2Subnet3788AAA1"
1892
+ }
1893
+ ],
1894
+ "securityGroupIds": [
1895
+ {
1896
+ "Fn::GetAtt": [
1897
+ "testtwoReplaceDefaultSecurityGroupsecuritygroupE62CC6C1",
1898
+ "GroupId"
1899
+ ]
1900
+ }
1901
+ ]
1902
+ }
1903
+ }
1904
+ },
1905
+ "constructInfo": {
1906
+ "fqn": "aws-cdk-lib.aws_lambda.CfnFunction",
1907
+ "version": "2.118.0"
1908
+ }
1909
+ },
1910
+ "Invoke2UTWxhlfyqbT5FTn--5jvgbLgj+FfJwzswGk55DU1H--Y=": {
1911
+ "id": "Invoke2UTWxhlfyqbT5FTn--5jvgbLgj+FfJwzswGk55DU1H--Y=",
1912
+ "path": "alblam-twoTargets/test-two/LambdaFunction/Invoke2UTWxhlfyqbT5FTn--5jvgbLgj+FfJwzswGk55DU1H--Y=",
1913
+ "attributes": {
1914
+ "aws:cdk:cloudformation:type": "AWS::Lambda::Permission",
1915
+ "aws:cdk:cloudformation:props": {
1916
+ "action": "lambda:InvokeFunction",
1917
+ "functionName": {
1918
+ "Fn::GetAtt": [
1919
+ "testtwoLambdaFunction0418AA26",
1920
+ "Arn"
1921
+ ]
1922
+ },
1923
+ "principal": "elasticloadbalancing.amazonaws.com"
1924
+ }
1925
+ },
1926
+ "constructInfo": {
1927
+ "fqn": "aws-cdk-lib.aws_lambda.CfnPermission",
1928
+ "version": "2.118.0"
1929
+ }
1930
+ }
1931
+ },
1932
+ "constructInfo": {
1933
+ "fqn": "aws-cdk-lib.aws_lambda.Function",
1934
+ "version": "2.118.0"
1935
+ }
1936
+ },
1937
+ "tg2-tg": {
1938
+ "id": "tg2-tg",
1939
+ "path": "alblam-twoTargets/test-two/tg2-tg",
1940
+ "children": {
1941
+ "Resource": {
1942
+ "id": "Resource",
1943
+ "path": "alblam-twoTargets/test-two/tg2-tg/Resource",
1944
+ "attributes": {
1945
+ "aws:cdk:cloudformation:type": "AWS::ElasticLoadBalancingV2::TargetGroup",
1946
+ "aws:cdk:cloudformation:props": {
1947
+ "targets": [
1948
+ {
1949
+ "id": {
1950
+ "Fn::GetAtt": [
1951
+ "testtwoLambdaFunction0418AA26",
1952
+ "Arn"
1953
+ ]
1954
+ }
1955
+ }
1956
+ ],
1957
+ "targetType": "lambda"
1958
+ }
1959
+ },
1960
+ "constructInfo": {
1961
+ "fqn": "aws-cdk-lib.aws_elasticloadbalancingv2.CfnTargetGroup",
1962
+ "version": "2.118.0"
1963
+ }
1964
+ }
1965
+ },
1966
+ "constructInfo": {
1967
+ "fqn": "aws-cdk-lib.aws_elasticloadbalancingv2.ApplicationTargetGroup",
1968
+ "version": "2.118.0"
1969
+ }
1970
+ }
1971
+ },
1972
+ "constructInfo": {
1973
+ "fqn": "@aws-solutions-constructs/aws-alb-lambda.AlbToLambda",
1974
+ "version": "2.51.0"
1975
+ }
1976
+ },
1977
+ "Integ": {
1978
+ "id": "Integ",
1979
+ "path": "alblam-twoTargets/Integ",
1980
+ "children": {
1981
+ "DefaultTest": {
1982
+ "id": "DefaultTest",
1983
+ "path": "alblam-twoTargets/Integ/DefaultTest",
1984
+ "children": {
1985
+ "Default": {
1986
+ "id": "Default",
1987
+ "path": "alblam-twoTargets/Integ/DefaultTest/Default",
1988
+ "constructInfo": {
1989
+ "fqn": "constructs.Construct",
1990
+ "version": "10.3.0"
1991
+ }
1992
+ },
1993
+ "DeployAssert": {
1994
+ "id": "DeployAssert",
1995
+ "path": "alblam-twoTargets/Integ/DefaultTest/DeployAssert",
1996
+ "children": {
1997
+ "BootstrapVersion": {
1998
+ "id": "BootstrapVersion",
1999
+ "path": "alblam-twoTargets/Integ/DefaultTest/DeployAssert/BootstrapVersion",
2000
+ "constructInfo": {
2001
+ "fqn": "aws-cdk-lib.CfnParameter",
2002
+ "version": "2.118.0"
2003
+ }
2004
+ },
2005
+ "CheckBootstrapVersion": {
2006
+ "id": "CheckBootstrapVersion",
2007
+ "path": "alblam-twoTargets/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion",
2008
+ "constructInfo": {
2009
+ "fqn": "aws-cdk-lib.CfnRule",
2010
+ "version": "2.118.0"
2011
+ }
2012
+ }
2013
+ },
2014
+ "constructInfo": {
2015
+ "fqn": "aws-cdk-lib.Stack",
2016
+ "version": "2.118.0"
2017
+ }
2018
+ }
2019
+ },
2020
+ "constructInfo": {
2021
+ "fqn": "@aws-cdk/integ-tests-alpha.IntegTestCase",
2022
+ "version": "2.118.0-alpha.0"
2023
+ }
2024
+ }
2025
+ },
2026
+ "constructInfo": {
2027
+ "fqn": "@aws-cdk/integ-tests-alpha.IntegTest",
2028
+ "version": "2.118.0-alpha.0"
2029
+ }
2030
+ },
2031
+ "BootstrapVersion": {
2032
+ "id": "BootstrapVersion",
2033
+ "path": "alblam-twoTargets/BootstrapVersion",
2034
+ "constructInfo": {
2035
+ "fqn": "aws-cdk-lib.CfnParameter",
2036
+ "version": "2.118.0"
2037
+ }
2038
+ },
2039
+ "CheckBootstrapVersion": {
2040
+ "id": "CheckBootstrapVersion",
2041
+ "path": "alblam-twoTargets/CheckBootstrapVersion",
2042
+ "constructInfo": {
2043
+ "fqn": "aws-cdk-lib.CfnRule",
2044
+ "version": "2.118.0"
2045
+ }
2046
+ }
2047
+ },
2048
+ "constructInfo": {
2049
+ "fqn": "aws-cdk-lib.Stack",
2050
+ "version": "2.118.0"
2051
+ }
2052
+ },
2053
+ "Tree": {
2054
+ "id": "Tree",
2055
+ "path": "Tree",
2056
+ "constructInfo": {
2057
+ "fqn": "constructs.Construct",
2058
+ "version": "10.3.0"
2059
+ }
2060
+ }
2061
+ },
2062
+ "constructInfo": {
2063
+ "fqn": "aws-cdk-lib.App",
2064
+ "version": "2.118.0"
2065
+ }
2066
+ }
2067
+ }