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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/.jsii +43 -4
  2. package/lib/index.js +1 -1
  3. package/package.json +6 -6
  4. package/test/integ.lamddb-add-secondary-index.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +21 -0
  5. package/test/integ.lamddb-add-secondary-index.js.snapshot/cdk.out +1 -1
  6. package/test/integ.lamddb-add-secondary-index.js.snapshot/integ.json +1 -1
  7. package/test/integ.lamddb-add-secondary-index.js.snapshot/lamddb-add-secondary-index.assets.json +6 -6
  8. package/test/integ.lamddb-add-secondary-index.js.snapshot/lamddb-add-secondary-index.template.json +25 -19
  9. package/test/integ.lamddb-add-secondary-index.js.snapshot/lamddbaddsecondaryindexIntegDefaultTestDeployAssert3193B4D9.assets.json +1 -1
  10. package/test/integ.lamddb-add-secondary-index.js.snapshot/manifest.json +197 -3
  11. package/test/integ.lamddb-add-secondary-index.js.snapshot/tree.json +1 -415
  12. package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/cdk.out +1 -1
  13. package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/integ.json +1 -1
  14. package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/lamddb-deployFunctionWithExistingVpc.assets.json +3 -3
  15. package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/lamddb-deployFunctionWithExistingVpc.template.json +31 -3
  16. package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/lamddbdeployFunctionWithExistingVpcIntegDefaultTestDeployAssertEE08E38E.assets.json +1 -1
  17. package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/manifest.json +52 -13
  18. package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/tree.json +1 -1675
  19. package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/cdk.out +1 -1
  20. package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/integ.json +1 -1
  21. package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/lamddb-deployFunctionWithVpc.assets.json +3 -3
  22. package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/lamddb-deployFunctionWithVpc.template.json +29 -3
  23. package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/lamddbdeployFunctionWithVpcIntegDefaultTestDeployAssert0AB8275C.assets.json +1 -1
  24. package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/manifest.json +52 -13
  25. package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/tree.json +1 -1213
  26. package/test/integ.lamddb-no-arguments.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +21 -0
  27. package/test/integ.lamddb-no-arguments.js.snapshot/cdk.out +1 -1
  28. package/test/integ.lamddb-no-arguments.js.snapshot/integ.json +1 -1
  29. package/test/integ.lamddb-no-arguments.js.snapshot/lamddb-no-arguments.assets.json +6 -6
  30. package/test/integ.lamddb-no-arguments.js.snapshot/lamddb-no-arguments.template.json +25 -19
  31. package/test/integ.lamddb-no-arguments.js.snapshot/lamddbnoargumentsIntegDefaultTestDeployAssert248B75D0.assets.json +1 -1
  32. package/test/integ.lamddb-no-arguments.js.snapshot/manifest.json +183 -3
  33. package/test/integ.lamddb-no-arguments.js.snapshot/tree.json +1 -386
  34. package/test/integ.lamddb-set-billing-mode.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +21 -0
  35. package/test/integ.lamddb-set-billing-mode.js.snapshot/cdk.out +1 -1
  36. package/test/integ.lamddb-set-billing-mode.js.snapshot/integ.json +1 -1
  37. package/test/integ.lamddb-set-billing-mode.js.snapshot/lamddb-set-billing-mode.assets.json +6 -6
  38. package/test/integ.lamddb-set-billing-mode.js.snapshot/lamddb-set-billing-mode.template.json +25 -19
  39. package/test/integ.lamddb-set-billing-mode.js.snapshot/lamddbsetbillingmodeIntegDefaultTestDeployAssertDAE32272.assets.json +1 -1
  40. package/test/integ.lamddb-set-billing-mode.js.snapshot/manifest.json +185 -3
  41. package/test/integ.lamddb-set-billing-mode.js.snapshot/tree.json +1 -389
  42. package/test/integ.lamddb-use-existing-func.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +21 -0
  43. package/test/integ.lamddb-use-existing-func.js.snapshot/cdk.out +1 -1
  44. package/test/integ.lamddb-use-existing-func.js.snapshot/integ.json +1 -1
  45. package/test/integ.lamddb-use-existing-func.js.snapshot/lamddb-use-existing-func.assets.json +6 -6
  46. package/test/integ.lamddb-use-existing-func.js.snapshot/lamddb-use-existing-func.template.json +25 -19
  47. package/test/integ.lamddb-use-existing-func.js.snapshot/lamddbuseexistingfuncIntegDefaultTestDeployAssert48D284DD.assets.json +1 -1
  48. package/test/integ.lamddb-use-existing-func.js.snapshot/manifest.json +183 -3
  49. package/test/integ.lamddb-use-existing-func.js.snapshot/tree.json +1 -386
  50. package/test/integ.lamddb-add-secondary-index.js.snapshot/asset.0c3255e93ffe7a906c7422e9f0e9cc4c7fd86ee996ee3bb302e2f134b38463c8/index.js +0 -8
  51. package/test/integ.lamddb-no-arguments.js.snapshot/asset.0c3255e93ffe7a906c7422e9f0e9cc4c7fd86ee996ee3bb302e2f134b38463c8/index.js +0 -8
  52. package/test/integ.lamddb-set-billing-mode.js.snapshot/asset.0c3255e93ffe7a906c7422e9f0e9cc4c7fd86ee996ee3bb302e2f134b38463c8/index.js +0 -8
  53. package/test/integ.lamddb-use-existing-func.js.snapshot/asset.0c3255e93ffe7a906c7422e9f0e9cc4c7fd86ee996ee3bb302e2f134b38463c8/index.js +0 -8
@@ -1,1675 +1 @@
1
- {
2
- "version": "tree-0.1",
3
- "tree": {
4
- "id": "App",
5
- "path": "",
6
- "children": {
7
- "lamddb-deployFunctionWithExistingVpc": {
8
- "id": "lamddb-deployFunctionWithExistingVpc",
9
- "path": "lamddb-deployFunctionWithExistingVpc",
10
- "children": {
11
- "Vpc": {
12
- "id": "Vpc",
13
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc",
14
- "children": {
15
- "Resource": {
16
- "id": "Resource",
17
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/Resource",
18
- "attributes": {
19
- "aws:cdk:cloudformation:type": "AWS::EC2::VPC",
20
- "aws:cdk:cloudformation:props": {
21
- "cidrBlock": "10.0.0.0/16",
22
- "enableDnsHostnames": true,
23
- "enableDnsSupport": true,
24
- "instanceTenancy": "default",
25
- "tags": [
26
- {
27
- "key": "Name",
28
- "value": "lamddb-deployFunctionWithExistingVpc/Vpc"
29
- }
30
- ]
31
- }
32
- },
33
- "constructInfo": {
34
- "fqn": "aws-cdk-lib.aws_ec2.CfnVPC",
35
- "version": "2.179.0"
36
- }
37
- },
38
- "PublicSubnet1": {
39
- "id": "PublicSubnet1",
40
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet1",
41
- "children": {
42
- "Subnet": {
43
- "id": "Subnet",
44
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet1/Subnet",
45
- "attributes": {
46
- "aws:cdk:cloudformation:type": "AWS::EC2::Subnet",
47
- "aws:cdk:cloudformation:props": {
48
- "availabilityZone": {
49
- "Fn::Select": [
50
- 0,
51
- {
52
- "Fn::GetAZs": ""
53
- }
54
- ]
55
- },
56
- "cidrBlock": "10.0.0.0/18",
57
- "mapPublicIpOnLaunch": true,
58
- "tags": [
59
- {
60
- "key": "aws-cdk:subnet-name",
61
- "value": "Public"
62
- },
63
- {
64
- "key": "aws-cdk:subnet-type",
65
- "value": "Public"
66
- },
67
- {
68
- "key": "Name",
69
- "value": "lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet1"
70
- }
71
- ],
72
- "vpcId": {
73
- "Ref": "Vpc8378EB38"
74
- }
75
- }
76
- },
77
- "constructInfo": {
78
- "fqn": "aws-cdk-lib.aws_ec2.CfnSubnet",
79
- "version": "2.179.0"
80
- }
81
- },
82
- "Acl": {
83
- "id": "Acl",
84
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet1/Acl",
85
- "constructInfo": {
86
- "fqn": "aws-cdk-lib.Resource",
87
- "version": "2.179.0",
88
- "metadata": []
89
- }
90
- },
91
- "RouteTable": {
92
- "id": "RouteTable",
93
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet1/RouteTable",
94
- "attributes": {
95
- "aws:cdk:cloudformation:type": "AWS::EC2::RouteTable",
96
- "aws:cdk:cloudformation:props": {
97
- "tags": [
98
- {
99
- "key": "Name",
100
- "value": "lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet1"
101
- }
102
- ],
103
- "vpcId": {
104
- "Ref": "Vpc8378EB38"
105
- }
106
- }
107
- },
108
- "constructInfo": {
109
- "fqn": "aws-cdk-lib.aws_ec2.CfnRouteTable",
110
- "version": "2.179.0"
111
- }
112
- },
113
- "RouteTableAssociation": {
114
- "id": "RouteTableAssociation",
115
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet1/RouteTableAssociation",
116
- "attributes": {
117
- "aws:cdk:cloudformation:type": "AWS::EC2::SubnetRouteTableAssociation",
118
- "aws:cdk:cloudformation:props": {
119
- "routeTableId": {
120
- "Ref": "VpcPublicSubnet1RouteTable6C95E38E"
121
- },
122
- "subnetId": {
123
- "Ref": "VpcPublicSubnet1Subnet5C2D37C4"
124
- }
125
- }
126
- },
127
- "constructInfo": {
128
- "fqn": "aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation",
129
- "version": "2.179.0"
130
- }
131
- },
132
- "DefaultRoute": {
133
- "id": "DefaultRoute",
134
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet1/DefaultRoute",
135
- "attributes": {
136
- "aws:cdk:cloudformation:type": "AWS::EC2::Route",
137
- "aws:cdk:cloudformation:props": {
138
- "destinationCidrBlock": "0.0.0.0/0",
139
- "gatewayId": {
140
- "Ref": "VpcIGWD7BA715C"
141
- },
142
- "routeTableId": {
143
- "Ref": "VpcPublicSubnet1RouteTable6C95E38E"
144
- }
145
- }
146
- },
147
- "constructInfo": {
148
- "fqn": "aws-cdk-lib.aws_ec2.CfnRoute",
149
- "version": "2.179.0"
150
- }
151
- },
152
- "EIP": {
153
- "id": "EIP",
154
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet1/EIP",
155
- "attributes": {
156
- "aws:cdk:cloudformation:type": "AWS::EC2::EIP",
157
- "aws:cdk:cloudformation:props": {
158
- "domain": "vpc",
159
- "tags": [
160
- {
161
- "key": "Name",
162
- "value": "lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet1"
163
- }
164
- ]
165
- }
166
- },
167
- "constructInfo": {
168
- "fqn": "aws-cdk-lib.aws_ec2.CfnEIP",
169
- "version": "2.179.0"
170
- }
171
- },
172
- "NATGateway": {
173
- "id": "NATGateway",
174
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet1/NATGateway",
175
- "attributes": {
176
- "aws:cdk:cloudformation:type": "AWS::EC2::NatGateway",
177
- "aws:cdk:cloudformation:props": {
178
- "allocationId": {
179
- "Fn::GetAtt": [
180
- "VpcPublicSubnet1EIPD7E02669",
181
- "AllocationId"
182
- ]
183
- },
184
- "subnetId": {
185
- "Ref": "VpcPublicSubnet1Subnet5C2D37C4"
186
- },
187
- "tags": [
188
- {
189
- "key": "Name",
190
- "value": "lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet1"
191
- }
192
- ]
193
- }
194
- },
195
- "constructInfo": {
196
- "fqn": "aws-cdk-lib.aws_ec2.CfnNatGateway",
197
- "version": "2.179.0"
198
- }
199
- }
200
- },
201
- "constructInfo": {
202
- "fqn": "aws-cdk-lib.aws_ec2.PublicSubnet",
203
- "version": "2.179.0",
204
- "metadata": [
205
- {
206
- "availabilityZone": "*",
207
- "vpcId": "*",
208
- "cidrBlock": "*",
209
- "mapPublicIpOnLaunch": true,
210
- "ipv6CidrBlock": "*",
211
- "assignIpv6AddressOnCreation": "*"
212
- },
213
- {
214
- "availabilityZone": "*",
215
- "vpcId": "*",
216
- "cidrBlock": "*",
217
- "mapPublicIpOnLaunch": true,
218
- "ipv6CidrBlock": "*",
219
- "assignIpv6AddressOnCreation": "*"
220
- },
221
- {},
222
- {
223
- "addNatGateway": [
224
- "*"
225
- ]
226
- }
227
- ]
228
- }
229
- },
230
- "PublicSubnet2": {
231
- "id": "PublicSubnet2",
232
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet2",
233
- "children": {
234
- "Subnet": {
235
- "id": "Subnet",
236
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet2/Subnet",
237
- "attributes": {
238
- "aws:cdk:cloudformation:type": "AWS::EC2::Subnet",
239
- "aws:cdk:cloudformation:props": {
240
- "availabilityZone": {
241
- "Fn::Select": [
242
- 1,
243
- {
244
- "Fn::GetAZs": ""
245
- }
246
- ]
247
- },
248
- "cidrBlock": "10.0.64.0/18",
249
- "mapPublicIpOnLaunch": true,
250
- "tags": [
251
- {
252
- "key": "aws-cdk:subnet-name",
253
- "value": "Public"
254
- },
255
- {
256
- "key": "aws-cdk:subnet-type",
257
- "value": "Public"
258
- },
259
- {
260
- "key": "Name",
261
- "value": "lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet2"
262
- }
263
- ],
264
- "vpcId": {
265
- "Ref": "Vpc8378EB38"
266
- }
267
- }
268
- },
269
- "constructInfo": {
270
- "fqn": "aws-cdk-lib.aws_ec2.CfnSubnet",
271
- "version": "2.179.0"
272
- }
273
- },
274
- "Acl": {
275
- "id": "Acl",
276
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet2/Acl",
277
- "constructInfo": {
278
- "fqn": "aws-cdk-lib.Resource",
279
- "version": "2.179.0",
280
- "metadata": []
281
- }
282
- },
283
- "RouteTable": {
284
- "id": "RouteTable",
285
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet2/RouteTable",
286
- "attributes": {
287
- "aws:cdk:cloudformation:type": "AWS::EC2::RouteTable",
288
- "aws:cdk:cloudformation:props": {
289
- "tags": [
290
- {
291
- "key": "Name",
292
- "value": "lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet2"
293
- }
294
- ],
295
- "vpcId": {
296
- "Ref": "Vpc8378EB38"
297
- }
298
- }
299
- },
300
- "constructInfo": {
301
- "fqn": "aws-cdk-lib.aws_ec2.CfnRouteTable",
302
- "version": "2.179.0"
303
- }
304
- },
305
- "RouteTableAssociation": {
306
- "id": "RouteTableAssociation",
307
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet2/RouteTableAssociation",
308
- "attributes": {
309
- "aws:cdk:cloudformation:type": "AWS::EC2::SubnetRouteTableAssociation",
310
- "aws:cdk:cloudformation:props": {
311
- "routeTableId": {
312
- "Ref": "VpcPublicSubnet2RouteTable94F7E489"
313
- },
314
- "subnetId": {
315
- "Ref": "VpcPublicSubnet2Subnet691E08A3"
316
- }
317
- }
318
- },
319
- "constructInfo": {
320
- "fqn": "aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation",
321
- "version": "2.179.0"
322
- }
323
- },
324
- "DefaultRoute": {
325
- "id": "DefaultRoute",
326
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet2/DefaultRoute",
327
- "attributes": {
328
- "aws:cdk:cloudformation:type": "AWS::EC2::Route",
329
- "aws:cdk:cloudformation:props": {
330
- "destinationCidrBlock": "0.0.0.0/0",
331
- "gatewayId": {
332
- "Ref": "VpcIGWD7BA715C"
333
- },
334
- "routeTableId": {
335
- "Ref": "VpcPublicSubnet2RouteTable94F7E489"
336
- }
337
- }
338
- },
339
- "constructInfo": {
340
- "fqn": "aws-cdk-lib.aws_ec2.CfnRoute",
341
- "version": "2.179.0"
342
- }
343
- },
344
- "EIP": {
345
- "id": "EIP",
346
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet2/EIP",
347
- "attributes": {
348
- "aws:cdk:cloudformation:type": "AWS::EC2::EIP",
349
- "aws:cdk:cloudformation:props": {
350
- "domain": "vpc",
351
- "tags": [
352
- {
353
- "key": "Name",
354
- "value": "lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet2"
355
- }
356
- ]
357
- }
358
- },
359
- "constructInfo": {
360
- "fqn": "aws-cdk-lib.aws_ec2.CfnEIP",
361
- "version": "2.179.0"
362
- }
363
- },
364
- "NATGateway": {
365
- "id": "NATGateway",
366
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet2/NATGateway",
367
- "attributes": {
368
- "aws:cdk:cloudformation:type": "AWS::EC2::NatGateway",
369
- "aws:cdk:cloudformation:props": {
370
- "allocationId": {
371
- "Fn::GetAtt": [
372
- "VpcPublicSubnet2EIP3C605A87",
373
- "AllocationId"
374
- ]
375
- },
376
- "subnetId": {
377
- "Ref": "VpcPublicSubnet2Subnet691E08A3"
378
- },
379
- "tags": [
380
- {
381
- "key": "Name",
382
- "value": "lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet2"
383
- }
384
- ]
385
- }
386
- },
387
- "constructInfo": {
388
- "fqn": "aws-cdk-lib.aws_ec2.CfnNatGateway",
389
- "version": "2.179.0"
390
- }
391
- }
392
- },
393
- "constructInfo": {
394
- "fqn": "aws-cdk-lib.aws_ec2.PublicSubnet",
395
- "version": "2.179.0",
396
- "metadata": [
397
- {
398
- "availabilityZone": "*",
399
- "vpcId": "*",
400
- "cidrBlock": "*",
401
- "mapPublicIpOnLaunch": true,
402
- "ipv6CidrBlock": "*",
403
- "assignIpv6AddressOnCreation": "*"
404
- },
405
- {
406
- "availabilityZone": "*",
407
- "vpcId": "*",
408
- "cidrBlock": "*",
409
- "mapPublicIpOnLaunch": true,
410
- "ipv6CidrBlock": "*",
411
- "assignIpv6AddressOnCreation": "*"
412
- },
413
- {},
414
- {
415
- "addNatGateway": [
416
- "*"
417
- ]
418
- }
419
- ]
420
- }
421
- },
422
- "PrivateSubnet1": {
423
- "id": "PrivateSubnet1",
424
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/PrivateSubnet1",
425
- "children": {
426
- "Subnet": {
427
- "id": "Subnet",
428
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/PrivateSubnet1/Subnet",
429
- "attributes": {
430
- "aws:cdk:cloudformation:type": "AWS::EC2::Subnet",
431
- "aws:cdk:cloudformation:props": {
432
- "availabilityZone": {
433
- "Fn::Select": [
434
- 0,
435
- {
436
- "Fn::GetAZs": ""
437
- }
438
- ]
439
- },
440
- "cidrBlock": "10.0.128.0/18",
441
- "mapPublicIpOnLaunch": false,
442
- "tags": [
443
- {
444
- "key": "aws-cdk:subnet-name",
445
- "value": "Private"
446
- },
447
- {
448
- "key": "aws-cdk:subnet-type",
449
- "value": "Private"
450
- },
451
- {
452
- "key": "Name",
453
- "value": "lamddb-deployFunctionWithExistingVpc/Vpc/PrivateSubnet1"
454
- }
455
- ],
456
- "vpcId": {
457
- "Ref": "Vpc8378EB38"
458
- }
459
- }
460
- },
461
- "constructInfo": {
462
- "fqn": "aws-cdk-lib.aws_ec2.CfnSubnet",
463
- "version": "2.179.0"
464
- }
465
- },
466
- "Acl": {
467
- "id": "Acl",
468
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/PrivateSubnet1/Acl",
469
- "constructInfo": {
470
- "fqn": "aws-cdk-lib.Resource",
471
- "version": "2.179.0",
472
- "metadata": []
473
- }
474
- },
475
- "RouteTable": {
476
- "id": "RouteTable",
477
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/PrivateSubnet1/RouteTable",
478
- "attributes": {
479
- "aws:cdk:cloudformation:type": "AWS::EC2::RouteTable",
480
- "aws:cdk:cloudformation:props": {
481
- "tags": [
482
- {
483
- "key": "Name",
484
- "value": "lamddb-deployFunctionWithExistingVpc/Vpc/PrivateSubnet1"
485
- }
486
- ],
487
- "vpcId": {
488
- "Ref": "Vpc8378EB38"
489
- }
490
- }
491
- },
492
- "constructInfo": {
493
- "fqn": "aws-cdk-lib.aws_ec2.CfnRouteTable",
494
- "version": "2.179.0"
495
- }
496
- },
497
- "RouteTableAssociation": {
498
- "id": "RouteTableAssociation",
499
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/PrivateSubnet1/RouteTableAssociation",
500
- "attributes": {
501
- "aws:cdk:cloudformation:type": "AWS::EC2::SubnetRouteTableAssociation",
502
- "aws:cdk:cloudformation:props": {
503
- "routeTableId": {
504
- "Ref": "VpcPrivateSubnet1RouteTableB2C5B500"
505
- },
506
- "subnetId": {
507
- "Ref": "VpcPrivateSubnet1Subnet536B997A"
508
- }
509
- }
510
- },
511
- "constructInfo": {
512
- "fqn": "aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation",
513
- "version": "2.179.0"
514
- }
515
- },
516
- "DefaultRoute": {
517
- "id": "DefaultRoute",
518
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/PrivateSubnet1/DefaultRoute",
519
- "attributes": {
520
- "aws:cdk:cloudformation:type": "AWS::EC2::Route",
521
- "aws:cdk:cloudformation:props": {
522
- "destinationCidrBlock": "0.0.0.0/0",
523
- "natGatewayId": {
524
- "Ref": "VpcPublicSubnet1NATGateway4D7517AA"
525
- },
526
- "routeTableId": {
527
- "Ref": "VpcPrivateSubnet1RouteTableB2C5B500"
528
- }
529
- }
530
- },
531
- "constructInfo": {
532
- "fqn": "aws-cdk-lib.aws_ec2.CfnRoute",
533
- "version": "2.179.0"
534
- }
535
- }
536
- },
537
- "constructInfo": {
538
- "fqn": "aws-cdk-lib.aws_ec2.PrivateSubnet",
539
- "version": "2.179.0",
540
- "metadata": [
541
- {
542
- "availabilityZone": "*",
543
- "vpcId": "*",
544
- "cidrBlock": "*",
545
- "mapPublicIpOnLaunch": false,
546
- "ipv6CidrBlock": "*",
547
- "assignIpv6AddressOnCreation": "*"
548
- },
549
- {
550
- "availabilityZone": "*",
551
- "vpcId": "*",
552
- "cidrBlock": "*",
553
- "mapPublicIpOnLaunch": false,
554
- "ipv6CidrBlock": "*",
555
- "assignIpv6AddressOnCreation": "*"
556
- },
557
- {}
558
- ]
559
- }
560
- },
561
- "PrivateSubnet2": {
562
- "id": "PrivateSubnet2",
563
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/PrivateSubnet2",
564
- "children": {
565
- "Subnet": {
566
- "id": "Subnet",
567
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/PrivateSubnet2/Subnet",
568
- "attributes": {
569
- "aws:cdk:cloudformation:type": "AWS::EC2::Subnet",
570
- "aws:cdk:cloudformation:props": {
571
- "availabilityZone": {
572
- "Fn::Select": [
573
- 1,
574
- {
575
- "Fn::GetAZs": ""
576
- }
577
- ]
578
- },
579
- "cidrBlock": "10.0.192.0/18",
580
- "mapPublicIpOnLaunch": false,
581
- "tags": [
582
- {
583
- "key": "aws-cdk:subnet-name",
584
- "value": "Private"
585
- },
586
- {
587
- "key": "aws-cdk:subnet-type",
588
- "value": "Private"
589
- },
590
- {
591
- "key": "Name",
592
- "value": "lamddb-deployFunctionWithExistingVpc/Vpc/PrivateSubnet2"
593
- }
594
- ],
595
- "vpcId": {
596
- "Ref": "Vpc8378EB38"
597
- }
598
- }
599
- },
600
- "constructInfo": {
601
- "fqn": "aws-cdk-lib.aws_ec2.CfnSubnet",
602
- "version": "2.179.0"
603
- }
604
- },
605
- "Acl": {
606
- "id": "Acl",
607
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/PrivateSubnet2/Acl",
608
- "constructInfo": {
609
- "fqn": "aws-cdk-lib.Resource",
610
- "version": "2.179.0",
611
- "metadata": []
612
- }
613
- },
614
- "RouteTable": {
615
- "id": "RouteTable",
616
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/PrivateSubnet2/RouteTable",
617
- "attributes": {
618
- "aws:cdk:cloudformation:type": "AWS::EC2::RouteTable",
619
- "aws:cdk:cloudformation:props": {
620
- "tags": [
621
- {
622
- "key": "Name",
623
- "value": "lamddb-deployFunctionWithExistingVpc/Vpc/PrivateSubnet2"
624
- }
625
- ],
626
- "vpcId": {
627
- "Ref": "Vpc8378EB38"
628
- }
629
- }
630
- },
631
- "constructInfo": {
632
- "fqn": "aws-cdk-lib.aws_ec2.CfnRouteTable",
633
- "version": "2.179.0"
634
- }
635
- },
636
- "RouteTableAssociation": {
637
- "id": "RouteTableAssociation",
638
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/PrivateSubnet2/RouteTableAssociation",
639
- "attributes": {
640
- "aws:cdk:cloudformation:type": "AWS::EC2::SubnetRouteTableAssociation",
641
- "aws:cdk:cloudformation:props": {
642
- "routeTableId": {
643
- "Ref": "VpcPrivateSubnet2RouteTableA678073B"
644
- },
645
- "subnetId": {
646
- "Ref": "VpcPrivateSubnet2Subnet3788AAA1"
647
- }
648
- }
649
- },
650
- "constructInfo": {
651
- "fqn": "aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation",
652
- "version": "2.179.0"
653
- }
654
- },
655
- "DefaultRoute": {
656
- "id": "DefaultRoute",
657
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/PrivateSubnet2/DefaultRoute",
658
- "attributes": {
659
- "aws:cdk:cloudformation:type": "AWS::EC2::Route",
660
- "aws:cdk:cloudformation:props": {
661
- "destinationCidrBlock": "0.0.0.0/0",
662
- "natGatewayId": {
663
- "Ref": "VpcPublicSubnet2NATGateway9182C01D"
664
- },
665
- "routeTableId": {
666
- "Ref": "VpcPrivateSubnet2RouteTableA678073B"
667
- }
668
- }
669
- },
670
- "constructInfo": {
671
- "fqn": "aws-cdk-lib.aws_ec2.CfnRoute",
672
- "version": "2.179.0"
673
- }
674
- }
675
- },
676
- "constructInfo": {
677
- "fqn": "aws-cdk-lib.aws_ec2.PrivateSubnet",
678
- "version": "2.179.0",
679
- "metadata": [
680
- {
681
- "availabilityZone": "*",
682
- "vpcId": "*",
683
- "cidrBlock": "*",
684
- "mapPublicIpOnLaunch": false,
685
- "ipv6CidrBlock": "*",
686
- "assignIpv6AddressOnCreation": "*"
687
- },
688
- {
689
- "availabilityZone": "*",
690
- "vpcId": "*",
691
- "cidrBlock": "*",
692
- "mapPublicIpOnLaunch": false,
693
- "ipv6CidrBlock": "*",
694
- "assignIpv6AddressOnCreation": "*"
695
- },
696
- {}
697
- ]
698
- }
699
- },
700
- "IGW": {
701
- "id": "IGW",
702
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/IGW",
703
- "attributes": {
704
- "aws:cdk:cloudformation:type": "AWS::EC2::InternetGateway",
705
- "aws:cdk:cloudformation:props": {
706
- "tags": [
707
- {
708
- "key": "Name",
709
- "value": "lamddb-deployFunctionWithExistingVpc/Vpc"
710
- }
711
- ]
712
- }
713
- },
714
- "constructInfo": {
715
- "fqn": "aws-cdk-lib.aws_ec2.CfnInternetGateway",
716
- "version": "2.179.0"
717
- }
718
- },
719
- "VPCGW": {
720
- "id": "VPCGW",
721
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/VPCGW",
722
- "attributes": {
723
- "aws:cdk:cloudformation:type": "AWS::EC2::VPCGatewayAttachment",
724
- "aws:cdk:cloudformation:props": {
725
- "internetGatewayId": {
726
- "Ref": "VpcIGWD7BA715C"
727
- },
728
- "vpcId": {
729
- "Ref": "Vpc8378EB38"
730
- }
731
- }
732
- },
733
- "constructInfo": {
734
- "fqn": "aws-cdk-lib.aws_ec2.CfnVPCGatewayAttachment",
735
- "version": "2.179.0"
736
- }
737
- },
738
- "RestrictDefaultSecurityGroupCustomResource": {
739
- "id": "RestrictDefaultSecurityGroupCustomResource",
740
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/RestrictDefaultSecurityGroupCustomResource",
741
- "children": {
742
- "Default": {
743
- "id": "Default",
744
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/RestrictDefaultSecurityGroupCustomResource/Default",
745
- "constructInfo": {
746
- "fqn": "aws-cdk-lib.CfnResource",
747
- "version": "2.179.0"
748
- }
749
- }
750
- },
751
- "constructInfo": {
752
- "fqn": "aws-cdk-lib.CustomResource",
753
- "version": "2.179.0",
754
- "metadata": [
755
- "*"
756
- ]
757
- }
758
- },
759
- "FlowLog": {
760
- "id": "FlowLog",
761
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/FlowLog",
762
- "children": {
763
- "IAMRole": {
764
- "id": "IAMRole",
765
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/FlowLog/IAMRole",
766
- "children": {
767
- "ImportIAMRole": {
768
- "id": "ImportIAMRole",
769
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/FlowLog/IAMRole/ImportIAMRole",
770
- "constructInfo": {
771
- "fqn": "aws-cdk-lib.Resource",
772
- "version": "2.179.0",
773
- "metadata": [
774
- "*"
775
- ]
776
- }
777
- },
778
- "Resource": {
779
- "id": "Resource",
780
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/FlowLog/IAMRole/Resource",
781
- "attributes": {
782
- "aws:cdk:cloudformation:type": "AWS::IAM::Role",
783
- "aws:cdk:cloudformation:props": {
784
- "assumeRolePolicyDocument": {
785
- "Statement": [
786
- {
787
- "Action": "sts:AssumeRole",
788
- "Effect": "Allow",
789
- "Principal": {
790
- "Service": "vpc-flow-logs.amazonaws.com"
791
- }
792
- }
793
- ],
794
- "Version": "2012-10-17"
795
- },
796
- "tags": [
797
- {
798
- "key": "Name",
799
- "value": "lamddb-deployFunctionWithExistingVpc/Vpc/FlowLog"
800
- }
801
- ]
802
- }
803
- },
804
- "constructInfo": {
805
- "fqn": "aws-cdk-lib.aws_iam.CfnRole",
806
- "version": "2.179.0"
807
- }
808
- },
809
- "DefaultPolicy": {
810
- "id": "DefaultPolicy",
811
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/FlowLog/IAMRole/DefaultPolicy",
812
- "children": {
813
- "Resource": {
814
- "id": "Resource",
815
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/FlowLog/IAMRole/DefaultPolicy/Resource",
816
- "attributes": {
817
- "aws:cdk:cloudformation:type": "AWS::IAM::Policy",
818
- "aws:cdk:cloudformation:props": {
819
- "policyDocument": {
820
- "Statement": [
821
- {
822
- "Action": [
823
- "logs:CreateLogStream",
824
- "logs:DescribeLogStreams",
825
- "logs:PutLogEvents"
826
- ],
827
- "Effect": "Allow",
828
- "Resource": {
829
- "Fn::GetAtt": [
830
- "VpcFlowLogLogGroup7B5C56B9",
831
- "Arn"
832
- ]
833
- }
834
- },
835
- {
836
- "Action": "iam:PassRole",
837
- "Effect": "Allow",
838
- "Resource": {
839
- "Fn::GetAtt": [
840
- "VpcFlowLogIAMRole6A475D41",
841
- "Arn"
842
- ]
843
- }
844
- }
845
- ],
846
- "Version": "2012-10-17"
847
- },
848
- "policyName": "VpcFlowLogIAMRoleDefaultPolicy406FB995",
849
- "roles": [
850
- {
851
- "Ref": "VpcFlowLogIAMRole6A475D41"
852
- }
853
- ]
854
- }
855
- },
856
- "constructInfo": {
857
- "fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
858
- "version": "2.179.0"
859
- }
860
- }
861
- },
862
- "constructInfo": {
863
- "fqn": "aws-cdk-lib.aws_iam.Policy",
864
- "version": "2.179.0",
865
- "metadata": [
866
- "*",
867
- {
868
- "attachToRole": [
869
- "*"
870
- ]
871
- },
872
- {
873
- "attachToRole": [
874
- "*"
875
- ]
876
- },
877
- {
878
- "addStatements": [
879
- {}
880
- ]
881
- },
882
- {
883
- "addStatements": [
884
- {}
885
- ]
886
- }
887
- ]
888
- }
889
- }
890
- },
891
- "constructInfo": {
892
- "fqn": "aws-cdk-lib.aws_iam.Role",
893
- "version": "2.179.0",
894
- "metadata": [
895
- {
896
- "roleName": "*",
897
- "assumedBy": {
898
- "principalAccount": "*",
899
- "assumeRoleAction": "*"
900
- }
901
- },
902
- {
903
- "addToPrincipalPolicy": [
904
- {}
905
- ]
906
- },
907
- {
908
- "attachInlinePolicy": [
909
- "*"
910
- ]
911
- },
912
- {
913
- "attachInlinePolicy": [
914
- "*"
915
- ]
916
- },
917
- {
918
- "addToPrincipalPolicy": [
919
- {}
920
- ]
921
- }
922
- ]
923
- }
924
- },
925
- "LogGroup": {
926
- "id": "LogGroup",
927
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/FlowLog/LogGroup",
928
- "children": {
929
- "Resource": {
930
- "id": "Resource",
931
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/FlowLog/LogGroup/Resource",
932
- "attributes": {
933
- "aws:cdk:cloudformation:type": "AWS::Logs::LogGroup",
934
- "aws:cdk:cloudformation:props": {
935
- "retentionInDays": 731,
936
- "tags": [
937
- {
938
- "key": "Name",
939
- "value": "lamddb-deployFunctionWithExistingVpc/Vpc/FlowLog"
940
- }
941
- ]
942
- }
943
- },
944
- "constructInfo": {
945
- "fqn": "aws-cdk-lib.aws_logs.CfnLogGroup",
946
- "version": "2.179.0"
947
- }
948
- }
949
- },
950
- "constructInfo": {
951
- "fqn": "aws-cdk-lib.aws_logs.LogGroup",
952
- "version": "2.179.0",
953
- "metadata": [
954
- "*"
955
- ]
956
- }
957
- },
958
- "FlowLog": {
959
- "id": "FlowLog",
960
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/FlowLog/FlowLog",
961
- "attributes": {
962
- "aws:cdk:cloudformation:type": "AWS::EC2::FlowLog",
963
- "aws:cdk:cloudformation:props": {
964
- "deliverLogsPermissionArn": {
965
- "Fn::GetAtt": [
966
- "VpcFlowLogIAMRole6A475D41",
967
- "Arn"
968
- ]
969
- },
970
- "logDestinationType": "cloud-watch-logs",
971
- "logGroupName": {
972
- "Ref": "VpcFlowLogLogGroup7B5C56B9"
973
- },
974
- "resourceId": {
975
- "Ref": "Vpc8378EB38"
976
- },
977
- "resourceType": "VPC",
978
- "tags": [
979
- {
980
- "key": "Name",
981
- "value": "lamddb-deployFunctionWithExistingVpc/Vpc/FlowLog"
982
- }
983
- ],
984
- "trafficType": "ALL"
985
- }
986
- },
987
- "constructInfo": {
988
- "fqn": "aws-cdk-lib.aws_ec2.CfnFlowLog",
989
- "version": "2.179.0"
990
- }
991
- }
992
- },
993
- "constructInfo": {
994
- "fqn": "aws-cdk-lib.aws_ec2.FlowLog",
995
- "version": "2.179.0",
996
- "metadata": [
997
- {
998
- "resourceType": "*"
999
- }
1000
- ]
1001
- }
1002
- },
1003
- "DDB": {
1004
- "id": "DDB",
1005
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/DDB",
1006
- "children": {
1007
- "Resource": {
1008
- "id": "Resource",
1009
- "path": "lamddb-deployFunctionWithExistingVpc/Vpc/DDB/Resource",
1010
- "attributes": {
1011
- "aws:cdk:cloudformation:type": "AWS::EC2::VPCEndpoint",
1012
- "aws:cdk:cloudformation:props": {
1013
- "tags": [
1014
- {
1015
- "key": "Name",
1016
- "value": "lamddb-deployFunctionWithExistingVpc/Vpc"
1017
- }
1018
- ],
1019
- "routeTableIds": [
1020
- {
1021
- "Ref": "VpcPrivateSubnet1RouteTableB2C5B500"
1022
- },
1023
- {
1024
- "Ref": "VpcPrivateSubnet2RouteTableA678073B"
1025
- },
1026
- {
1027
- "Ref": "VpcPublicSubnet1RouteTable6C95E38E"
1028
- },
1029
- {
1030
- "Ref": "VpcPublicSubnet2RouteTable94F7E489"
1031
- }
1032
- ],
1033
- "serviceName": {
1034
- "Fn::Join": [
1035
- "",
1036
- [
1037
- "com.amazonaws.",
1038
- {
1039
- "Ref": "AWS::Region"
1040
- },
1041
- ".dynamodb"
1042
- ]
1043
- ]
1044
- },
1045
- "vpcEndpointType": "Gateway",
1046
- "vpcId": {
1047
- "Ref": "Vpc8378EB38"
1048
- }
1049
- }
1050
- },
1051
- "constructInfo": {
1052
- "fqn": "aws-cdk-lib.aws_ec2.CfnVPCEndpoint",
1053
- "version": "2.179.0"
1054
- }
1055
- }
1056
- },
1057
- "constructInfo": {
1058
- "fqn": "aws-cdk-lib.aws_ec2.GatewayVpcEndpoint",
1059
- "version": "2.179.0",
1060
- "metadata": [
1061
- {
1062
- "vpc": "*",
1063
- "service": {
1064
- "name": "*"
1065
- }
1066
- }
1067
- ]
1068
- }
1069
- }
1070
- },
1071
- "constructInfo": {
1072
- "fqn": "aws-cdk-lib.aws_ec2.Vpc",
1073
- "version": "2.179.0",
1074
- "metadata": [
1075
- {
1076
- "enableDnsHostnames": true,
1077
- "enableDnsSupport": true
1078
- }
1079
- ]
1080
- }
1081
- },
1082
- "LatestNodeRuntimeMap": {
1083
- "id": "LatestNodeRuntimeMap",
1084
- "path": "lamddb-deployFunctionWithExistingVpc/LatestNodeRuntimeMap",
1085
- "constructInfo": {
1086
- "fqn": "aws-cdk-lib.CfnMapping",
1087
- "version": "2.179.0"
1088
- }
1089
- },
1090
- "Custom::VpcRestrictDefaultSGCustomResourceProvider": {
1091
- "id": "Custom::VpcRestrictDefaultSGCustomResourceProvider",
1092
- "path": "lamddb-deployFunctionWithExistingVpc/Custom::VpcRestrictDefaultSGCustomResourceProvider",
1093
- "children": {
1094
- "Staging": {
1095
- "id": "Staging",
1096
- "path": "lamddb-deployFunctionWithExistingVpc/Custom::VpcRestrictDefaultSGCustomResourceProvider/Staging",
1097
- "constructInfo": {
1098
- "fqn": "aws-cdk-lib.AssetStaging",
1099
- "version": "2.179.0"
1100
- }
1101
- },
1102
- "Role": {
1103
- "id": "Role",
1104
- "path": "lamddb-deployFunctionWithExistingVpc/Custom::VpcRestrictDefaultSGCustomResourceProvider/Role",
1105
- "constructInfo": {
1106
- "fqn": "aws-cdk-lib.CfnResource",
1107
- "version": "2.179.0"
1108
- }
1109
- },
1110
- "Handler": {
1111
- "id": "Handler",
1112
- "path": "lamddb-deployFunctionWithExistingVpc/Custom::VpcRestrictDefaultSGCustomResourceProvider/Handler",
1113
- "constructInfo": {
1114
- "fqn": "aws-cdk-lib.CfnResource",
1115
- "version": "2.179.0"
1116
- }
1117
- }
1118
- },
1119
- "constructInfo": {
1120
- "fqn": "aws-cdk-lib.CustomResourceProviderBase",
1121
- "version": "2.179.0"
1122
- }
1123
- },
1124
- "test-lambda-dynamodb-stack": {
1125
- "id": "test-lambda-dynamodb-stack",
1126
- "path": "lamddb-deployFunctionWithExistingVpc/test-lambda-dynamodb-stack",
1127
- "children": {
1128
- "LambdaFunctionServiceRole": {
1129
- "id": "LambdaFunctionServiceRole",
1130
- "path": "lamddb-deployFunctionWithExistingVpc/test-lambda-dynamodb-stack/LambdaFunctionServiceRole",
1131
- "children": {
1132
- "ImportLambdaFunctionServiceRole": {
1133
- "id": "ImportLambdaFunctionServiceRole",
1134
- "path": "lamddb-deployFunctionWithExistingVpc/test-lambda-dynamodb-stack/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole",
1135
- "constructInfo": {
1136
- "fqn": "aws-cdk-lib.Resource",
1137
- "version": "2.179.0",
1138
- "metadata": [
1139
- "*"
1140
- ]
1141
- }
1142
- },
1143
- "Resource": {
1144
- "id": "Resource",
1145
- "path": "lamddb-deployFunctionWithExistingVpc/test-lambda-dynamodb-stack/LambdaFunctionServiceRole/Resource",
1146
- "attributes": {
1147
- "aws:cdk:cloudformation:type": "AWS::IAM::Role",
1148
- "aws:cdk:cloudformation:props": {
1149
- "assumeRolePolicyDocument": {
1150
- "Statement": [
1151
- {
1152
- "Action": "sts:AssumeRole",
1153
- "Effect": "Allow",
1154
- "Principal": {
1155
- "Service": "lambda.amazonaws.com"
1156
- }
1157
- }
1158
- ],
1159
- "Version": "2012-10-17"
1160
- },
1161
- "policies": [
1162
- {
1163
- "policyName": "LambdaFunctionServiceRolePolicy",
1164
- "policyDocument": {
1165
- "Statement": [
1166
- {
1167
- "Action": [
1168
- "logs:CreateLogGroup",
1169
- "logs:CreateLogStream",
1170
- "logs:PutLogEvents"
1171
- ],
1172
- "Effect": "Allow",
1173
- "Resource": {
1174
- "Fn::Join": [
1175
- "",
1176
- [
1177
- "arn:",
1178
- {
1179
- "Ref": "AWS::Partition"
1180
- },
1181
- ":logs:",
1182
- {
1183
- "Ref": "AWS::Region"
1184
- },
1185
- ":",
1186
- {
1187
- "Ref": "AWS::AccountId"
1188
- },
1189
- ":log-group:/aws/lambda/*"
1190
- ]
1191
- ]
1192
- }
1193
- }
1194
- ],
1195
- "Version": "2012-10-17"
1196
- }
1197
- }
1198
- ]
1199
- }
1200
- },
1201
- "constructInfo": {
1202
- "fqn": "aws-cdk-lib.aws_iam.CfnRole",
1203
- "version": "2.179.0"
1204
- }
1205
- },
1206
- "DefaultPolicy": {
1207
- "id": "DefaultPolicy",
1208
- "path": "lamddb-deployFunctionWithExistingVpc/test-lambda-dynamodb-stack/LambdaFunctionServiceRole/DefaultPolicy",
1209
- "children": {
1210
- "Resource": {
1211
- "id": "Resource",
1212
- "path": "lamddb-deployFunctionWithExistingVpc/test-lambda-dynamodb-stack/LambdaFunctionServiceRole/DefaultPolicy/Resource",
1213
- "attributes": {
1214
- "aws:cdk:cloudformation:type": "AWS::IAM::Policy",
1215
- "aws:cdk:cloudformation:props": {
1216
- "policyDocument": {
1217
- "Statement": [
1218
- {
1219
- "Action": [
1220
- "ec2:AssignPrivateIpAddresses",
1221
- "ec2:CreateNetworkInterface",
1222
- "ec2:DeleteNetworkInterface",
1223
- "ec2:DescribeNetworkInterfaces",
1224
- "ec2:UnassignPrivateIpAddresses",
1225
- "xray:PutTelemetryRecords",
1226
- "xray:PutTraceSegments"
1227
- ],
1228
- "Effect": "Allow",
1229
- "Resource": "*"
1230
- },
1231
- {
1232
- "Action": [
1233
- "dynamodb:BatchGetItem",
1234
- "dynamodb:BatchWriteItem",
1235
- "dynamodb:ConditionCheckItem",
1236
- "dynamodb:DeleteItem",
1237
- "dynamodb:DescribeTable",
1238
- "dynamodb:GetItem",
1239
- "dynamodb:GetRecords",
1240
- "dynamodb:GetShardIterator",
1241
- "dynamodb:PutItem",
1242
- "dynamodb:Query",
1243
- "dynamodb:Scan",
1244
- "dynamodb:UpdateItem"
1245
- ],
1246
- "Effect": "Allow",
1247
- "Resource": [
1248
- {
1249
- "Fn::GetAtt": [
1250
- "testlambdadynamodbstackDynamoTable8138E93B",
1251
- "Arn"
1252
- ]
1253
- },
1254
- {
1255
- "Ref": "AWS::NoValue"
1256
- }
1257
- ]
1258
- }
1259
- ],
1260
- "Version": "2012-10-17"
1261
- },
1262
- "policyName": "testlambdadynamodbstackLambdaFunctionServiceRoleDefaultPolicy547FB7F4",
1263
- "roles": [
1264
- {
1265
- "Ref": "testlambdadynamodbstackLambdaFunctionServiceRole758347A1"
1266
- }
1267
- ]
1268
- }
1269
- },
1270
- "constructInfo": {
1271
- "fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
1272
- "version": "2.179.0"
1273
- }
1274
- }
1275
- },
1276
- "constructInfo": {
1277
- "fqn": "aws-cdk-lib.aws_iam.Policy",
1278
- "version": "2.179.0",
1279
- "metadata": [
1280
- "*",
1281
- {
1282
- "attachToRole": [
1283
- "*"
1284
- ]
1285
- },
1286
- {
1287
- "attachToRole": [
1288
- "*"
1289
- ]
1290
- },
1291
- {
1292
- "addStatements": [
1293
- {}
1294
- ]
1295
- },
1296
- {
1297
- "addStatements": [
1298
- {}
1299
- ]
1300
- },
1301
- {
1302
- "addStatements": [
1303
- {}
1304
- ]
1305
- }
1306
- ]
1307
- }
1308
- }
1309
- },
1310
- "constructInfo": {
1311
- "fqn": "aws-cdk-lib.aws_iam.Role",
1312
- "version": "2.179.0",
1313
- "metadata": [
1314
- {
1315
- "assumedBy": {
1316
- "principalAccount": "*",
1317
- "assumeRoleAction": "*"
1318
- },
1319
- "inlinePolicies": "*"
1320
- },
1321
- {
1322
- "addToPolicy": [
1323
- {}
1324
- ]
1325
- },
1326
- {
1327
- "addToPrincipalPolicy": [
1328
- {}
1329
- ]
1330
- },
1331
- {
1332
- "attachInlinePolicy": [
1333
- "*"
1334
- ]
1335
- },
1336
- {
1337
- "attachInlinePolicy": [
1338
- "*"
1339
- ]
1340
- },
1341
- {
1342
- "addToPrincipalPolicy": [
1343
- {}
1344
- ]
1345
- },
1346
- {
1347
- "addToPrincipalPolicy": [
1348
- {}
1349
- ]
1350
- }
1351
- ]
1352
- }
1353
- },
1354
- "ReplaceDefaultSecurityGroup-security-group": {
1355
- "id": "ReplaceDefaultSecurityGroup-security-group",
1356
- "path": "lamddb-deployFunctionWithExistingVpc/test-lambda-dynamodb-stack/ReplaceDefaultSecurityGroup-security-group",
1357
- "children": {
1358
- "Resource": {
1359
- "id": "Resource",
1360
- "path": "lamddb-deployFunctionWithExistingVpc/test-lambda-dynamodb-stack/ReplaceDefaultSecurityGroup-security-group/Resource",
1361
- "attributes": {
1362
- "aws:cdk:cloudformation:type": "AWS::EC2::SecurityGroup",
1363
- "aws:cdk:cloudformation:props": {
1364
- "groupDescription": "lamddb-deployFunctionWithExistingVpc/test-lambda-dynamodb-stack/ReplaceDefaultSecurityGroup-security-group",
1365
- "securityGroupEgress": [
1366
- {
1367
- "cidrIp": "0.0.0.0/0",
1368
- "description": "Allow all outbound traffic by default",
1369
- "ipProtocol": "-1"
1370
- }
1371
- ],
1372
- "vpcId": {
1373
- "Ref": "Vpc8378EB38"
1374
- }
1375
- }
1376
- },
1377
- "constructInfo": {
1378
- "fqn": "aws-cdk-lib.aws_ec2.CfnSecurityGroup",
1379
- "version": "2.179.0"
1380
- }
1381
- }
1382
- },
1383
- "constructInfo": {
1384
- "fqn": "aws-cdk-lib.aws_ec2.SecurityGroup",
1385
- "version": "2.179.0",
1386
- "metadata": [
1387
- {
1388
- "vpc": "*",
1389
- "allowAllOutbound": true
1390
- }
1391
- ]
1392
- }
1393
- },
1394
- "LambdaFunction": {
1395
- "id": "LambdaFunction",
1396
- "path": "lamddb-deployFunctionWithExistingVpc/test-lambda-dynamodb-stack/LambdaFunction",
1397
- "children": {
1398
- "Code": {
1399
- "id": "Code",
1400
- "path": "lamddb-deployFunctionWithExistingVpc/test-lambda-dynamodb-stack/LambdaFunction/Code",
1401
- "children": {
1402
- "Stage": {
1403
- "id": "Stage",
1404
- "path": "lamddb-deployFunctionWithExistingVpc/test-lambda-dynamodb-stack/LambdaFunction/Code/Stage",
1405
- "constructInfo": {
1406
- "fqn": "aws-cdk-lib.AssetStaging",
1407
- "version": "2.179.0"
1408
- }
1409
- },
1410
- "AssetBucket": {
1411
- "id": "AssetBucket",
1412
- "path": "lamddb-deployFunctionWithExistingVpc/test-lambda-dynamodb-stack/LambdaFunction/Code/AssetBucket",
1413
- "constructInfo": {
1414
- "fqn": "aws-cdk-lib.aws_s3.BucketBase",
1415
- "version": "2.179.0",
1416
- "metadata": []
1417
- }
1418
- }
1419
- },
1420
- "constructInfo": {
1421
- "fqn": "aws-cdk-lib.aws_s3_assets.Asset",
1422
- "version": "2.179.0"
1423
- }
1424
- },
1425
- "Resource": {
1426
- "id": "Resource",
1427
- "path": "lamddb-deployFunctionWithExistingVpc/test-lambda-dynamodb-stack/LambdaFunction/Resource",
1428
- "attributes": {
1429
- "aws:cdk:cloudformation:type": "AWS::Lambda::Function",
1430
- "aws:cdk:cloudformation:props": {
1431
- "code": {
1432
- "s3Bucket": {
1433
- "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
1434
- },
1435
- "s3Key": "a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c.zip"
1436
- },
1437
- "environment": {
1438
- "variables": {
1439
- "AWS_NODEJS_CONNECTION_REUSE_ENABLED": "1",
1440
- "DDB_TABLE_NAME": {
1441
- "Ref": "testlambdadynamodbstackDynamoTable8138E93B"
1442
- }
1443
- }
1444
- },
1445
- "handler": "index.handler",
1446
- "role": {
1447
- "Fn::GetAtt": [
1448
- "testlambdadynamodbstackLambdaFunctionServiceRole758347A1",
1449
- "Arn"
1450
- ]
1451
- },
1452
- "runtime": "nodejs20.x",
1453
- "tracingConfig": {
1454
- "mode": "Active"
1455
- },
1456
- "vpcConfig": {
1457
- "subnetIds": [
1458
- {
1459
- "Ref": "VpcPrivateSubnet1Subnet536B997A"
1460
- },
1461
- {
1462
- "Ref": "VpcPrivateSubnet2Subnet3788AAA1"
1463
- }
1464
- ],
1465
- "securityGroupIds": [
1466
- {
1467
- "Fn::GetAtt": [
1468
- "testlambdadynamodbstackReplaceDefaultSecurityGroupsecuritygroup15025C82",
1469
- "GroupId"
1470
- ]
1471
- }
1472
- ]
1473
- }
1474
- }
1475
- },
1476
- "constructInfo": {
1477
- "fqn": "aws-cdk-lib.aws_lambda.CfnFunction",
1478
- "version": "2.179.0"
1479
- }
1480
- }
1481
- },
1482
- "constructInfo": {
1483
- "fqn": "aws-cdk-lib.aws_lambda.Function",
1484
- "version": "2.179.0",
1485
- "metadata": [
1486
- {
1487
- "role": "*",
1488
- "tracing": "Active",
1489
- "runtime": "*",
1490
- "handler": "*",
1491
- "code": "*",
1492
- "securityGroups": [
1493
- "*"
1494
- ],
1495
- "vpc": "*"
1496
- },
1497
- {
1498
- "addEnvironment": [
1499
- "*",
1500
- "*",
1501
- {
1502
- "removeInEdge": true
1503
- }
1504
- ]
1505
- },
1506
- {
1507
- "addEnvironment": [
1508
- "*",
1509
- "*"
1510
- ]
1511
- }
1512
- ]
1513
- }
1514
- },
1515
- "DynamoTable": {
1516
- "id": "DynamoTable",
1517
- "path": "lamddb-deployFunctionWithExistingVpc/test-lambda-dynamodb-stack/DynamoTable",
1518
- "children": {
1519
- "Resource": {
1520
- "id": "Resource",
1521
- "path": "lamddb-deployFunctionWithExistingVpc/test-lambda-dynamodb-stack/DynamoTable/Resource",
1522
- "attributes": {
1523
- "aws:cdk:cloudformation:type": "AWS::DynamoDB::Table",
1524
- "aws:cdk:cloudformation:props": {
1525
- "attributeDefinitions": [
1526
- {
1527
- "attributeName": "id",
1528
- "attributeType": "S"
1529
- }
1530
- ],
1531
- "billingMode": "PAY_PER_REQUEST",
1532
- "keySchema": [
1533
- {
1534
- "attributeName": "id",
1535
- "keyType": "HASH"
1536
- }
1537
- ],
1538
- "pointInTimeRecoverySpecification": {
1539
- "pointInTimeRecoveryEnabled": true
1540
- },
1541
- "sseSpecification": {
1542
- "sseEnabled": true
1543
- }
1544
- }
1545
- },
1546
- "constructInfo": {
1547
- "fqn": "aws-cdk-lib.aws_dynamodb.CfnTable",
1548
- "version": "2.179.0"
1549
- }
1550
- },
1551
- "ScalingRole": {
1552
- "id": "ScalingRole",
1553
- "path": "lamddb-deployFunctionWithExistingVpc/test-lambda-dynamodb-stack/DynamoTable/ScalingRole",
1554
- "constructInfo": {
1555
- "fqn": "aws-cdk-lib.Resource",
1556
- "version": "2.179.0",
1557
- "metadata": [
1558
- "*"
1559
- ]
1560
- }
1561
- }
1562
- },
1563
- "constructInfo": {
1564
- "fqn": "aws-cdk-lib.aws_dynamodb.Table",
1565
- "version": "2.179.0",
1566
- "metadata": [
1567
- {
1568
- "billingMode": "PAY_PER_REQUEST",
1569
- "encryption": "AWS_MANAGED",
1570
- "pointInTimeRecovery": true,
1571
- "partitionKey": {
1572
- "name": "*",
1573
- "type": "S"
1574
- }
1575
- }
1576
- ]
1577
- }
1578
- }
1579
- },
1580
- "constructInfo": {
1581
- "fqn": "@aws-solutions-constructs/aws-lambda-dynamodb.LambdaToDynamoDB",
1582
- "version": "2.79.1"
1583
- }
1584
- },
1585
- "Integ": {
1586
- "id": "Integ",
1587
- "path": "lamddb-deployFunctionWithExistingVpc/Integ",
1588
- "children": {
1589
- "DefaultTest": {
1590
- "id": "DefaultTest",
1591
- "path": "lamddb-deployFunctionWithExistingVpc/Integ/DefaultTest",
1592
- "children": {
1593
- "Default": {
1594
- "id": "Default",
1595
- "path": "lamddb-deployFunctionWithExistingVpc/Integ/DefaultTest/Default",
1596
- "constructInfo": {
1597
- "fqn": "constructs.Construct",
1598
- "version": "10.4.2"
1599
- }
1600
- },
1601
- "DeployAssert": {
1602
- "id": "DeployAssert",
1603
- "path": "lamddb-deployFunctionWithExistingVpc/Integ/DefaultTest/DeployAssert",
1604
- "children": {
1605
- "BootstrapVersion": {
1606
- "id": "BootstrapVersion",
1607
- "path": "lamddb-deployFunctionWithExistingVpc/Integ/DefaultTest/DeployAssert/BootstrapVersion",
1608
- "constructInfo": {
1609
- "fqn": "aws-cdk-lib.CfnParameter",
1610
- "version": "2.179.0"
1611
- }
1612
- },
1613
- "CheckBootstrapVersion": {
1614
- "id": "CheckBootstrapVersion",
1615
- "path": "lamddb-deployFunctionWithExistingVpc/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion",
1616
- "constructInfo": {
1617
- "fqn": "aws-cdk-lib.CfnRule",
1618
- "version": "2.179.0"
1619
- }
1620
- }
1621
- },
1622
- "constructInfo": {
1623
- "fqn": "aws-cdk-lib.Stack",
1624
- "version": "2.179.0"
1625
- }
1626
- }
1627
- },
1628
- "constructInfo": {
1629
- "fqn": "@aws-cdk/integ-tests-alpha.IntegTestCase",
1630
- "version": "2.179.0-alpha.0"
1631
- }
1632
- }
1633
- },
1634
- "constructInfo": {
1635
- "fqn": "@aws-cdk/integ-tests-alpha.IntegTest",
1636
- "version": "2.179.0-alpha.0"
1637
- }
1638
- },
1639
- "BootstrapVersion": {
1640
- "id": "BootstrapVersion",
1641
- "path": "lamddb-deployFunctionWithExistingVpc/BootstrapVersion",
1642
- "constructInfo": {
1643
- "fqn": "aws-cdk-lib.CfnParameter",
1644
- "version": "2.179.0"
1645
- }
1646
- },
1647
- "CheckBootstrapVersion": {
1648
- "id": "CheckBootstrapVersion",
1649
- "path": "lamddb-deployFunctionWithExistingVpc/CheckBootstrapVersion",
1650
- "constructInfo": {
1651
- "fqn": "aws-cdk-lib.CfnRule",
1652
- "version": "2.179.0"
1653
- }
1654
- }
1655
- },
1656
- "constructInfo": {
1657
- "fqn": "aws-cdk-lib.Stack",
1658
- "version": "2.179.0"
1659
- }
1660
- },
1661
- "Tree": {
1662
- "id": "Tree",
1663
- "path": "Tree",
1664
- "constructInfo": {
1665
- "fqn": "constructs.Construct",
1666
- "version": "10.4.2"
1667
- }
1668
- }
1669
- },
1670
- "constructInfo": {
1671
- "fqn": "aws-cdk-lib.App",
1672
- "version": "2.179.0"
1673
- }
1674
- }
1675
- }
1
+ {"version":"tree-0.1","tree":{"id":"App","path":"","children":{"lamddb-deployFunctionWithExistingVpc":{"id":"lamddb-deployFunctionWithExistingVpc","path":"lamddb-deployFunctionWithExistingVpc","children":{"Vpc":{"id":"Vpc","path":"lamddb-deployFunctionWithExistingVpc/Vpc","children":{"Resource":{"id":"Resource","path":"lamddb-deployFunctionWithExistingVpc/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":"lamddb-deployFunctionWithExistingVpc/Vpc"}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnVPC","version":"2.186.0"}},"PublicSubnet1":{"id":"PublicSubnet1","path":"lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet1","children":{"Subnet":{"id":"Subnet","path":"lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet1/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":true,"tags":[{"key":"aws-cdk:subnet-name","value":"Public"},{"key":"aws-cdk:subnet-type","value":"Public"},{"key":"Name","value":"lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet1"}],"vpcId":{"Ref":"Vpc8378EB38"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnet","version":"2.186.0"}},"Acl":{"id":"Acl","path":"lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet1/Acl","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.186.0","metadata":[]}},"RouteTable":{"id":"RouteTable","path":"lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet1/RouteTable","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::RouteTable","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet1"}],"vpcId":{"Ref":"Vpc8378EB38"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRouteTable","version":"2.186.0"}},"RouteTableAssociation":{"id":"RouteTableAssociation","path":"lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet1/RouteTableAssociation","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SubnetRouteTableAssociation","aws:cdk:cloudformation:props":{"routeTableId":{"Ref":"VpcPublicSubnet1RouteTable6C95E38E"},"subnetId":{"Ref":"VpcPublicSubnet1Subnet5C2D37C4"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation","version":"2.186.0"}},"DefaultRoute":{"id":"DefaultRoute","path":"lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet1/DefaultRoute","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Route","aws:cdk:cloudformation:props":{"destinationCidrBlock":"0.0.0.0/0","gatewayId":{"Ref":"VpcIGWD7BA715C"},"routeTableId":{"Ref":"VpcPublicSubnet1RouteTable6C95E38E"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRoute","version":"2.186.0"}},"EIP":{"id":"EIP","path":"lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet1/EIP","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::EIP","aws:cdk:cloudformation:props":{"domain":"vpc","tags":[{"key":"Name","value":"lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet1"}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnEIP","version":"2.186.0"}},"NATGateway":{"id":"NATGateway","path":"lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet1/NATGateway","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::NatGateway","aws:cdk:cloudformation:props":{"allocationId":{"Fn::GetAtt":["VpcPublicSubnet1EIPD7E02669","AllocationId"]},"subnetId":{"Ref":"VpcPublicSubnet1Subnet5C2D37C4"},"tags":[{"key":"Name","value":"lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet1"}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnNatGateway","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.PublicSubnet","version":"2.186.0","metadata":[{"availabilityZone":"*","vpcId":"*","cidrBlock":"*","mapPublicIpOnLaunch":true,"ipv6CidrBlock":"*","assignIpv6AddressOnCreation":"*"},{"availabilityZone":"*","vpcId":"*","cidrBlock":"*","mapPublicIpOnLaunch":true,"ipv6CidrBlock":"*","assignIpv6AddressOnCreation":"*"},{},{"addNatGateway":["*"]}]}},"PublicSubnet2":{"id":"PublicSubnet2","path":"lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet2","children":{"Subnet":{"id":"Subnet","path":"lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet2/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":true,"tags":[{"key":"aws-cdk:subnet-name","value":"Public"},{"key":"aws-cdk:subnet-type","value":"Public"},{"key":"Name","value":"lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet2"}],"vpcId":{"Ref":"Vpc8378EB38"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnet","version":"2.186.0"}},"Acl":{"id":"Acl","path":"lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet2/Acl","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.186.0","metadata":[]}},"RouteTable":{"id":"RouteTable","path":"lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet2/RouteTable","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::RouteTable","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet2"}],"vpcId":{"Ref":"Vpc8378EB38"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRouteTable","version":"2.186.0"}},"RouteTableAssociation":{"id":"RouteTableAssociation","path":"lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet2/RouteTableAssociation","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SubnetRouteTableAssociation","aws:cdk:cloudformation:props":{"routeTableId":{"Ref":"VpcPublicSubnet2RouteTable94F7E489"},"subnetId":{"Ref":"VpcPublicSubnet2Subnet691E08A3"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation","version":"2.186.0"}},"DefaultRoute":{"id":"DefaultRoute","path":"lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet2/DefaultRoute","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Route","aws:cdk:cloudformation:props":{"destinationCidrBlock":"0.0.0.0/0","gatewayId":{"Ref":"VpcIGWD7BA715C"},"routeTableId":{"Ref":"VpcPublicSubnet2RouteTable94F7E489"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRoute","version":"2.186.0"}},"EIP":{"id":"EIP","path":"lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet2/EIP","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::EIP","aws:cdk:cloudformation:props":{"domain":"vpc","tags":[{"key":"Name","value":"lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet2"}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnEIP","version":"2.186.0"}},"NATGateway":{"id":"NATGateway","path":"lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet2/NATGateway","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::NatGateway","aws:cdk:cloudformation:props":{"allocationId":{"Fn::GetAtt":["VpcPublicSubnet2EIP3C605A87","AllocationId"]},"subnetId":{"Ref":"VpcPublicSubnet2Subnet691E08A3"},"tags":[{"key":"Name","value":"lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet2"}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnNatGateway","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.PublicSubnet","version":"2.186.0","metadata":[{"availabilityZone":"*","vpcId":"*","cidrBlock":"*","mapPublicIpOnLaunch":true,"ipv6CidrBlock":"*","assignIpv6AddressOnCreation":"*"},{"availabilityZone":"*","vpcId":"*","cidrBlock":"*","mapPublicIpOnLaunch":true,"ipv6CidrBlock":"*","assignIpv6AddressOnCreation":"*"},{},{"addNatGateway":["*"]}]}},"PrivateSubnet1":{"id":"PrivateSubnet1","path":"lamddb-deployFunctionWithExistingVpc/Vpc/PrivateSubnet1","children":{"Subnet":{"id":"Subnet","path":"lamddb-deployFunctionWithExistingVpc/Vpc/PrivateSubnet1/Subnet","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Subnet","aws:cdk:cloudformation:props":{"availabilityZone":{"Fn::Select":[0,{"Fn::GetAZs":""}]},"cidrBlock":"10.0.128.0/18","mapPublicIpOnLaunch":false,"tags":[{"key":"aws-cdk:subnet-name","value":"Private"},{"key":"aws-cdk:subnet-type","value":"Private"},{"key":"Name","value":"lamddb-deployFunctionWithExistingVpc/Vpc/PrivateSubnet1"}],"vpcId":{"Ref":"Vpc8378EB38"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnet","version":"2.186.0"}},"Acl":{"id":"Acl","path":"lamddb-deployFunctionWithExistingVpc/Vpc/PrivateSubnet1/Acl","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.186.0","metadata":[]}},"RouteTable":{"id":"RouteTable","path":"lamddb-deployFunctionWithExistingVpc/Vpc/PrivateSubnet1/RouteTable","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::RouteTable","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"lamddb-deployFunctionWithExistingVpc/Vpc/PrivateSubnet1"}],"vpcId":{"Ref":"Vpc8378EB38"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRouteTable","version":"2.186.0"}},"RouteTableAssociation":{"id":"RouteTableAssociation","path":"lamddb-deployFunctionWithExistingVpc/Vpc/PrivateSubnet1/RouteTableAssociation","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SubnetRouteTableAssociation","aws:cdk:cloudformation:props":{"routeTableId":{"Ref":"VpcPrivateSubnet1RouteTableB2C5B500"},"subnetId":{"Ref":"VpcPrivateSubnet1Subnet536B997A"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation","version":"2.186.0"}},"DefaultRoute":{"id":"DefaultRoute","path":"lamddb-deployFunctionWithExistingVpc/Vpc/PrivateSubnet1/DefaultRoute","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Route","aws:cdk:cloudformation:props":{"destinationCidrBlock":"0.0.0.0/0","natGatewayId":{"Ref":"VpcPublicSubnet1NATGateway4D7517AA"},"routeTableId":{"Ref":"VpcPrivateSubnet1RouteTableB2C5B500"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRoute","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":"*"},{}]}},"PrivateSubnet2":{"id":"PrivateSubnet2","path":"lamddb-deployFunctionWithExistingVpc/Vpc/PrivateSubnet2","children":{"Subnet":{"id":"Subnet","path":"lamddb-deployFunctionWithExistingVpc/Vpc/PrivateSubnet2/Subnet","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Subnet","aws:cdk:cloudformation:props":{"availabilityZone":{"Fn::Select":[1,{"Fn::GetAZs":""}]},"cidrBlock":"10.0.192.0/18","mapPublicIpOnLaunch":false,"tags":[{"key":"aws-cdk:subnet-name","value":"Private"},{"key":"aws-cdk:subnet-type","value":"Private"},{"key":"Name","value":"lamddb-deployFunctionWithExistingVpc/Vpc/PrivateSubnet2"}],"vpcId":{"Ref":"Vpc8378EB38"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnet","version":"2.186.0"}},"Acl":{"id":"Acl","path":"lamddb-deployFunctionWithExistingVpc/Vpc/PrivateSubnet2/Acl","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.186.0","metadata":[]}},"RouteTable":{"id":"RouteTable","path":"lamddb-deployFunctionWithExistingVpc/Vpc/PrivateSubnet2/RouteTable","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::RouteTable","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"lamddb-deployFunctionWithExistingVpc/Vpc/PrivateSubnet2"}],"vpcId":{"Ref":"Vpc8378EB38"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRouteTable","version":"2.186.0"}},"RouteTableAssociation":{"id":"RouteTableAssociation","path":"lamddb-deployFunctionWithExistingVpc/Vpc/PrivateSubnet2/RouteTableAssociation","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SubnetRouteTableAssociation","aws:cdk:cloudformation:props":{"routeTableId":{"Ref":"VpcPrivateSubnet2RouteTableA678073B"},"subnetId":{"Ref":"VpcPrivateSubnet2Subnet3788AAA1"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation","version":"2.186.0"}},"DefaultRoute":{"id":"DefaultRoute","path":"lamddb-deployFunctionWithExistingVpc/Vpc/PrivateSubnet2/DefaultRoute","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Route","aws:cdk:cloudformation:props":{"destinationCidrBlock":"0.0.0.0/0","natGatewayId":{"Ref":"VpcPublicSubnet2NATGateway9182C01D"},"routeTableId":{"Ref":"VpcPrivateSubnet2RouteTableA678073B"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRoute","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":"*"},{}]}},"IGW":{"id":"IGW","path":"lamddb-deployFunctionWithExistingVpc/Vpc/IGW","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::InternetGateway","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"lamddb-deployFunctionWithExistingVpc/Vpc"}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnInternetGateway","version":"2.186.0"}},"VPCGW":{"id":"VPCGW","path":"lamddb-deployFunctionWithExistingVpc/Vpc/VPCGW","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::VPCGatewayAttachment","aws:cdk:cloudformation:props":{"internetGatewayId":{"Ref":"VpcIGWD7BA715C"},"vpcId":{"Ref":"Vpc8378EB38"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnVPCGatewayAttachment","version":"2.186.0"}},"RestrictDefaultSecurityGroupCustomResource":{"id":"RestrictDefaultSecurityGroupCustomResource","path":"lamddb-deployFunctionWithExistingVpc/Vpc/RestrictDefaultSecurityGroupCustomResource","children":{"Default":{"id":"Default","path":"lamddb-deployFunctionWithExistingVpc/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":"lamddb-deployFunctionWithExistingVpc/Vpc/FlowLog","children":{"IAMRole":{"id":"IAMRole","path":"lamddb-deployFunctionWithExistingVpc/Vpc/FlowLog/IAMRole","children":{"ImportIAMRole":{"id":"ImportIAMRole","path":"lamddb-deployFunctionWithExistingVpc/Vpc/FlowLog/IAMRole/ImportIAMRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.186.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"lamddb-deployFunctionWithExistingVpc/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":"lamddb-deployFunctionWithExistingVpc/Vpc/FlowLog"}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.186.0"}},"DefaultPolicy":{"id":"DefaultPolicy","path":"lamddb-deployFunctionWithExistingVpc/Vpc/FlowLog/IAMRole/DefaultPolicy","children":{"Resource":{"id":"Resource","path":"lamddb-deployFunctionWithExistingVpc/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":"lamddb-deployFunctionWithExistingVpc/Vpc/FlowLog/LogGroup","children":{"Resource":{"id":"Resource","path":"lamddb-deployFunctionWithExistingVpc/Vpc/FlowLog/LogGroup/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::Logs::LogGroup","aws:cdk:cloudformation:props":{"retentionInDays":731,"tags":[{"key":"Name","value":"lamddb-deployFunctionWithExistingVpc/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":"lamddb-deployFunctionWithExistingVpc/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":"lamddb-deployFunctionWithExistingVpc/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":"*"}]}},"DDB":{"id":"DDB","path":"lamddb-deployFunctionWithExistingVpc/Vpc/DDB","children":{"Resource":{"id":"Resource","path":"lamddb-deployFunctionWithExistingVpc/Vpc/DDB/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::VPCEndpoint","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"lamddb-deployFunctionWithExistingVpc/Vpc"}],"routeTableIds":[{"Ref":"VpcPrivateSubnet1RouteTableB2C5B500"},{"Ref":"VpcPrivateSubnet2RouteTableA678073B"},{"Ref":"VpcPublicSubnet1RouteTable6C95E38E"},{"Ref":"VpcPublicSubnet2RouteTable94F7E489"}],"serviceName":{"Fn::Join":["",["com.amazonaws.",{"Ref":"AWS::Region"},".dynamodb"]]},"vpcEndpointType":"Gateway","vpcId":{"Ref":"Vpc8378EB38"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnVPCEndpoint","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.GatewayVpcEndpoint","version":"2.186.0","metadata":[{"vpc":"*","service":{"name":"*"}}]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.Vpc","version":"2.186.0","metadata":[{"enableDnsHostnames":true,"enableDnsSupport":true}]}},"LatestNodeRuntimeMap":{"id":"LatestNodeRuntimeMap","path":"lamddb-deployFunctionWithExistingVpc/LatestNodeRuntimeMap","constructInfo":{"fqn":"aws-cdk-lib.CfnMapping","version":"2.186.0"}},"Custom::VpcRestrictDefaultSGCustomResourceProvider":{"id":"Custom::VpcRestrictDefaultSGCustomResourceProvider","path":"lamddb-deployFunctionWithExistingVpc/Custom::VpcRestrictDefaultSGCustomResourceProvider","children":{"Staging":{"id":"Staging","path":"lamddb-deployFunctionWithExistingVpc/Custom::VpcRestrictDefaultSGCustomResourceProvider/Staging","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"2.186.0"}},"Role":{"id":"Role","path":"lamddb-deployFunctionWithExistingVpc/Custom::VpcRestrictDefaultSGCustomResourceProvider/Role","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.186.0"}},"Handler":{"id":"Handler","path":"lamddb-deployFunctionWithExistingVpc/Custom::VpcRestrictDefaultSGCustomResourceProvider/Handler","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.CustomResourceProviderBase","version":"2.186.0"}},"test-lambda-dynamodb-stack":{"id":"test-lambda-dynamodb-stack","path":"lamddb-deployFunctionWithExistingVpc/test-lambda-dynamodb-stack","children":{"LambdaFunctionServiceRole":{"id":"LambdaFunctionServiceRole","path":"lamddb-deployFunctionWithExistingVpc/test-lambda-dynamodb-stack/LambdaFunctionServiceRole","children":{"ImportLambdaFunctionServiceRole":{"id":"ImportLambdaFunctionServiceRole","path":"lamddb-deployFunctionWithExistingVpc/test-lambda-dynamodb-stack/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.186.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"lamddb-deployFunctionWithExistingVpc/test-lambda-dynamodb-stack/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":"lamddb-deployFunctionWithExistingVpc/test-lambda-dynamodb-stack/LambdaFunctionServiceRole/DefaultPolicy","children":{"Resource":{"id":"Resource","path":"lamddb-deployFunctionWithExistingVpc/test-lambda-dynamodb-stack/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":["dynamodb:BatchGetItem","dynamodb:BatchWriteItem","dynamodb:ConditionCheckItem","dynamodb:DeleteItem","dynamodb:DescribeTable","dynamodb:GetItem","dynamodb:GetRecords","dynamodb:GetShardIterator","dynamodb:PutItem","dynamodb:Query","dynamodb:Scan","dynamodb:UpdateItem"],"Effect":"Allow","Resource":[{"Fn::GetAtt":["testlambdadynamodbstackDynamoTable8138E93B","Arn"]},{"Ref":"AWS::NoValue"}]}],"Version":"2012-10-17"},"policyName":"testlambdadynamodbstackLambdaFunctionServiceRoleDefaultPolicy547FB7F4","roles":[{"Ref":"testlambdadynamodbstackLambdaFunctionServiceRole758347A1"}]}},"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":"lamddb-deployFunctionWithExistingVpc/test-lambda-dynamodb-stack/ReplaceDefaultSecurityGroup-security-group","children":{"Resource":{"id":"Resource","path":"lamddb-deployFunctionWithExistingVpc/test-lambda-dynamodb-stack/ReplaceDefaultSecurityGroup-security-group/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SecurityGroup","aws:cdk:cloudformation:props":{"groupDescription":"lamddb-deployFunctionWithExistingVpc/test-lambda-dynamodb-stack/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":"lamddb-deployFunctionWithExistingVpc/test-lambda-dynamodb-stack/LambdaFunction","children":{"Code":{"id":"Code","path":"lamddb-deployFunctionWithExistingVpc/test-lambda-dynamodb-stack/LambdaFunction/Code","children":{"Stage":{"id":"Stage","path":"lamddb-deployFunctionWithExistingVpc/test-lambda-dynamodb-stack/LambdaFunction/Code/Stage","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"2.186.0"}},"AssetBucket":{"id":"AssetBucket","path":"lamddb-deployFunctionWithExistingVpc/test-lambda-dynamodb-stack/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":"lamddb-deployFunctionWithExistingVpc/test-lambda-dynamodb-stack/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":"a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c.zip"},"environment":{"variables":{"AWS_NODEJS_CONNECTION_REUSE_ENABLED":"1","DDB_TABLE_NAME":{"Ref":"testlambdadynamodbstackDynamoTable8138E93B"}}},"handler":"index.handler","role":{"Fn::GetAtt":["testlambdadynamodbstackLambdaFunctionServiceRole758347A1","Arn"]},"runtime":"nodejs20.x","tracingConfig":{"mode":"Active"},"vpcConfig":{"subnetIds":[{"Ref":"VpcPrivateSubnet1Subnet536B997A"},{"Ref":"VpcPrivateSubnet2Subnet3788AAA1"}],"securityGroupIds":[{"Fn::GetAtt":["testlambdadynamodbstackReplaceDefaultSecurityGroupsecuritygroup15025C82","GroupId"]}]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.CfnFunction","version":"2.186.0"}},"inlinePolicyAddedToExecutionRole-0":{"id":"inlinePolicyAddedToExecutionRole-0","path":"lamddb-deployFunctionWithExistingVpc/test-lambda-dynamodb-stack/LambdaFunction/inlinePolicyAddedToExecutionRole-0","children":{"Resource":{"id":"Resource","path":"lamddb-deployFunctionWithExistingVpc/test-lambda-dynamodb-stack/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":"testlambdadynamodbstackLambdaFunctioninlinePolicyAddedToExecutionRole019E2DE85","roles":[{"Ref":"testlambdadynamodbstackLambdaFunctionServiceRole758347A1"}]}},"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":["*","*"]}]}},"DynamoTable":{"id":"DynamoTable","path":"lamddb-deployFunctionWithExistingVpc/test-lambda-dynamodb-stack/DynamoTable","children":{"Resource":{"id":"Resource","path":"lamddb-deployFunctionWithExistingVpc/test-lambda-dynamodb-stack/DynamoTable/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::DynamoDB::Table","aws:cdk:cloudformation:props":{"attributeDefinitions":[{"attributeName":"id","attributeType":"S"}],"billingMode":"PAY_PER_REQUEST","keySchema":[{"attributeName":"id","keyType":"HASH"}],"pointInTimeRecoverySpecification":{"pointInTimeRecoveryEnabled":true},"sseSpecification":{"sseEnabled":true}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_dynamodb.CfnTable","version":"2.186.0"}},"ScalingRole":{"id":"ScalingRole","path":"lamddb-deployFunctionWithExistingVpc/test-lambda-dynamodb-stack/DynamoTable/ScalingRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.186.0","metadata":["*"]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_dynamodb.Table","version":"2.186.0","metadata":[{"billingMode":"PAY_PER_REQUEST","encryption":"AWS_MANAGED","pointInTimeRecovery":true,"partitionKey":{"name":"*","type":"S"}}]}}},"constructInfo":{"fqn":"@aws-solutions-constructs/aws-lambda-dynamodb.LambdaToDynamoDB","version":"2.80.0"}},"Integ":{"id":"Integ","path":"lamddb-deployFunctionWithExistingVpc/Integ","children":{"DefaultTest":{"id":"DefaultTest","path":"lamddb-deployFunctionWithExistingVpc/Integ/DefaultTest","children":{"Default":{"id":"Default","path":"lamddb-deployFunctionWithExistingVpc/Integ/DefaultTest/Default","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}},"DeployAssert":{"id":"DeployAssert","path":"lamddb-deployFunctionWithExistingVpc/Integ/DefaultTest/DeployAssert","children":{"BootstrapVersion":{"id":"BootstrapVersion","path":"lamddb-deployFunctionWithExistingVpc/Integ/DefaultTest/DeployAssert/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.186.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"lamddb-deployFunctionWithExistingVpc/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":"lamddb-deployFunctionWithExistingVpc/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.186.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"lamddb-deployFunctionWithExistingVpc/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"}}}