@aws-solutions-constructs/aws-lambda-dynamodb 2.79.1 → 2.81.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/.jsii +43 -43
  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 +35 -7
  16. package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/lamddbdeployFunctionWithExistingVpcIntegDefaultTestDeployAssertEE08E38E.assets.json +1 -1
  17. package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/manifest.json +476 -3
  18. package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/tree.json +1 -1386
  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 +33 -7
  23. package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/lamddbdeployFunctionWithVpcIntegDefaultTestDeployAssert0AB8275C.assets.json +1 -1
  24. package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/manifest.json +404 -3
  25. package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/tree.json +1 -968
  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,968 +1 @@
1
- {
2
- "version": "tree-0.1",
3
- "tree": {
4
- "id": "App",
5
- "path": "",
6
- "children": {
7
- "lamddb-deployFunctionWithVpc": {
8
- "id": "lamddb-deployFunctionWithVpc",
9
- "path": "lamddb-deployFunctionWithVpc",
10
- "children": {
11
- "test-lambda-dynamodb-stack": {
12
- "id": "test-lambda-dynamodb-stack",
13
- "path": "lamddb-deployFunctionWithVpc/test-lambda-dynamodb-stack",
14
- "children": {
15
- "LambdaFunctionServiceRole": {
16
- "id": "LambdaFunctionServiceRole",
17
- "path": "lamddb-deployFunctionWithVpc/test-lambda-dynamodb-stack/LambdaFunctionServiceRole",
18
- "children": {
19
- "ImportLambdaFunctionServiceRole": {
20
- "id": "ImportLambdaFunctionServiceRole",
21
- "path": "lamddb-deployFunctionWithVpc/test-lambda-dynamodb-stack/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole",
22
- "constructInfo": {
23
- "fqn": "aws-cdk-lib.Resource",
24
- "version": "2.174.0"
25
- }
26
- },
27
- "Resource": {
28
- "id": "Resource",
29
- "path": "lamddb-deployFunctionWithVpc/test-lambda-dynamodb-stack/LambdaFunctionServiceRole/Resource",
30
- "attributes": {
31
- "aws:cdk:cloudformation:type": "AWS::IAM::Role",
32
- "aws:cdk:cloudformation:props": {
33
- "assumeRolePolicyDocument": {
34
- "Statement": [
35
- {
36
- "Action": "sts:AssumeRole",
37
- "Effect": "Allow",
38
- "Principal": {
39
- "Service": "lambda.amazonaws.com"
40
- }
41
- }
42
- ],
43
- "Version": "2012-10-17"
44
- },
45
- "policies": [
46
- {
47
- "policyName": "LambdaFunctionServiceRolePolicy",
48
- "policyDocument": {
49
- "Statement": [
50
- {
51
- "Action": [
52
- "logs:CreateLogGroup",
53
- "logs:CreateLogStream",
54
- "logs:PutLogEvents"
55
- ],
56
- "Effect": "Allow",
57
- "Resource": {
58
- "Fn::Join": [
59
- "",
60
- [
61
- "arn:",
62
- {
63
- "Ref": "AWS::Partition"
64
- },
65
- ":logs:",
66
- {
67
- "Ref": "AWS::Region"
68
- },
69
- ":",
70
- {
71
- "Ref": "AWS::AccountId"
72
- },
73
- ":log-group:/aws/lambda/*"
74
- ]
75
- ]
76
- }
77
- }
78
- ],
79
- "Version": "2012-10-17"
80
- }
81
- }
82
- ]
83
- }
84
- },
85
- "constructInfo": {
86
- "fqn": "aws-cdk-lib.aws_iam.CfnRole",
87
- "version": "2.174.0"
88
- }
89
- },
90
- "DefaultPolicy": {
91
- "id": "DefaultPolicy",
92
- "path": "lamddb-deployFunctionWithVpc/test-lambda-dynamodb-stack/LambdaFunctionServiceRole/DefaultPolicy",
93
- "children": {
94
- "Resource": {
95
- "id": "Resource",
96
- "path": "lamddb-deployFunctionWithVpc/test-lambda-dynamodb-stack/LambdaFunctionServiceRole/DefaultPolicy/Resource",
97
- "attributes": {
98
- "aws:cdk:cloudformation:type": "AWS::IAM::Policy",
99
- "aws:cdk:cloudformation:props": {
100
- "policyDocument": {
101
- "Statement": [
102
- {
103
- "Action": [
104
- "ec2:AssignPrivateIpAddresses",
105
- "ec2:CreateNetworkInterface",
106
- "ec2:DeleteNetworkInterface",
107
- "ec2:DescribeNetworkInterfaces",
108
- "ec2:UnassignPrivateIpAddresses",
109
- "xray:PutTelemetryRecords",
110
- "xray:PutTraceSegments"
111
- ],
112
- "Effect": "Allow",
113
- "Resource": "*"
114
- },
115
- {
116
- "Action": [
117
- "dynamodb:BatchGetItem",
118
- "dynamodb:BatchWriteItem",
119
- "dynamodb:ConditionCheckItem",
120
- "dynamodb:DeleteItem",
121
- "dynamodb:DescribeTable",
122
- "dynamodb:GetItem",
123
- "dynamodb:GetRecords",
124
- "dynamodb:GetShardIterator",
125
- "dynamodb:PutItem",
126
- "dynamodb:Query",
127
- "dynamodb:Scan",
128
- "dynamodb:UpdateItem"
129
- ],
130
- "Effect": "Allow",
131
- "Resource": [
132
- {
133
- "Fn::GetAtt": [
134
- "testlambdadynamodbstackDynamoTable8138E93B",
135
- "Arn"
136
- ]
137
- },
138
- {
139
- "Ref": "AWS::NoValue"
140
- }
141
- ]
142
- }
143
- ],
144
- "Version": "2012-10-17"
145
- },
146
- "policyName": "testlambdadynamodbstackLambdaFunctionServiceRoleDefaultPolicy547FB7F4",
147
- "roles": [
148
- {
149
- "Ref": "testlambdadynamodbstackLambdaFunctionServiceRole758347A1"
150
- }
151
- ]
152
- }
153
- },
154
- "constructInfo": {
155
- "fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
156
- "version": "2.174.0"
157
- }
158
- }
159
- },
160
- "constructInfo": {
161
- "fqn": "aws-cdk-lib.aws_iam.Policy",
162
- "version": "2.174.0"
163
- }
164
- }
165
- },
166
- "constructInfo": {
167
- "fqn": "aws-cdk-lib.aws_iam.Role",
168
- "version": "2.174.0"
169
- }
170
- },
171
- "ReplaceDefaultSecurityGroup-security-group": {
172
- "id": "ReplaceDefaultSecurityGroup-security-group",
173
- "path": "lamddb-deployFunctionWithVpc/test-lambda-dynamodb-stack/ReplaceDefaultSecurityGroup-security-group",
174
- "children": {
175
- "Resource": {
176
- "id": "Resource",
177
- "path": "lamddb-deployFunctionWithVpc/test-lambda-dynamodb-stack/ReplaceDefaultSecurityGroup-security-group/Resource",
178
- "attributes": {
179
- "aws:cdk:cloudformation:type": "AWS::EC2::SecurityGroup",
180
- "aws:cdk:cloudformation:props": {
181
- "groupDescription": "lamddb-deployFunctionWithVpc/test-lambda-dynamodb-stack/ReplaceDefaultSecurityGroup-security-group",
182
- "securityGroupEgress": [
183
- {
184
- "cidrIp": "0.0.0.0/0",
185
- "description": "Allow all outbound traffic by default",
186
- "ipProtocol": "-1"
187
- }
188
- ],
189
- "vpcId": {
190
- "Ref": "Vpc8378EB38"
191
- }
192
- }
193
- },
194
- "constructInfo": {
195
- "fqn": "aws-cdk-lib.aws_ec2.CfnSecurityGroup",
196
- "version": "2.174.0"
197
- }
198
- }
199
- },
200
- "constructInfo": {
201
- "fqn": "aws-cdk-lib.aws_ec2.SecurityGroup",
202
- "version": "2.174.0"
203
- }
204
- },
205
- "LambdaFunction": {
206
- "id": "LambdaFunction",
207
- "path": "lamddb-deployFunctionWithVpc/test-lambda-dynamodb-stack/LambdaFunction",
208
- "children": {
209
- "Code": {
210
- "id": "Code",
211
- "path": "lamddb-deployFunctionWithVpc/test-lambda-dynamodb-stack/LambdaFunction/Code",
212
- "children": {
213
- "Stage": {
214
- "id": "Stage",
215
- "path": "lamddb-deployFunctionWithVpc/test-lambda-dynamodb-stack/LambdaFunction/Code/Stage",
216
- "constructInfo": {
217
- "fqn": "aws-cdk-lib.AssetStaging",
218
- "version": "2.174.0"
219
- }
220
- },
221
- "AssetBucket": {
222
- "id": "AssetBucket",
223
- "path": "lamddb-deployFunctionWithVpc/test-lambda-dynamodb-stack/LambdaFunction/Code/AssetBucket",
224
- "constructInfo": {
225
- "fqn": "aws-cdk-lib.aws_s3.BucketBase",
226
- "version": "2.174.0"
227
- }
228
- }
229
- },
230
- "constructInfo": {
231
- "fqn": "aws-cdk-lib.aws_s3_assets.Asset",
232
- "version": "2.174.0"
233
- }
234
- },
235
- "Resource": {
236
- "id": "Resource",
237
- "path": "lamddb-deployFunctionWithVpc/test-lambda-dynamodb-stack/LambdaFunction/Resource",
238
- "attributes": {
239
- "aws:cdk:cloudformation:type": "AWS::Lambda::Function",
240
- "aws:cdk:cloudformation:props": {
241
- "code": {
242
- "s3Bucket": {
243
- "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
244
- },
245
- "s3Key": "a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c.zip"
246
- },
247
- "environment": {
248
- "variables": {
249
- "AWS_NODEJS_CONNECTION_REUSE_ENABLED": "1",
250
- "DDB_TABLE_NAME": {
251
- "Ref": "testlambdadynamodbstackDynamoTable8138E93B"
252
- }
253
- }
254
- },
255
- "handler": "index.handler",
256
- "role": {
257
- "Fn::GetAtt": [
258
- "testlambdadynamodbstackLambdaFunctionServiceRole758347A1",
259
- "Arn"
260
- ]
261
- },
262
- "runtime": "nodejs20.x",
263
- "tracingConfig": {
264
- "mode": "Active"
265
- },
266
- "vpcConfig": {
267
- "subnetIds": [
268
- {
269
- "Ref": "VpcisolatedSubnet1SubnetE62B1B9B"
270
- },
271
- {
272
- "Ref": "VpcisolatedSubnet2Subnet39217055"
273
- }
274
- ],
275
- "securityGroupIds": [
276
- {
277
- "Fn::GetAtt": [
278
- "testlambdadynamodbstackReplaceDefaultSecurityGroupsecuritygroup15025C82",
279
- "GroupId"
280
- ]
281
- }
282
- ]
283
- }
284
- }
285
- },
286
- "constructInfo": {
287
- "fqn": "aws-cdk-lib.aws_lambda.CfnFunction",
288
- "version": "2.174.0"
289
- }
290
- }
291
- },
292
- "constructInfo": {
293
- "fqn": "aws-cdk-lib.aws_lambda.Function",
294
- "version": "2.174.0"
295
- }
296
- },
297
- "DynamoTable": {
298
- "id": "DynamoTable",
299
- "path": "lamddb-deployFunctionWithVpc/test-lambda-dynamodb-stack/DynamoTable",
300
- "children": {
301
- "Resource": {
302
- "id": "Resource",
303
- "path": "lamddb-deployFunctionWithVpc/test-lambda-dynamodb-stack/DynamoTable/Resource",
304
- "attributes": {
305
- "aws:cdk:cloudformation:type": "AWS::DynamoDB::Table",
306
- "aws:cdk:cloudformation:props": {
307
- "attributeDefinitions": [
308
- {
309
- "attributeName": "id",
310
- "attributeType": "S"
311
- }
312
- ],
313
- "billingMode": "PAY_PER_REQUEST",
314
- "keySchema": [
315
- {
316
- "attributeName": "id",
317
- "keyType": "HASH"
318
- }
319
- ],
320
- "pointInTimeRecoverySpecification": {
321
- "pointInTimeRecoveryEnabled": true
322
- },
323
- "sseSpecification": {
324
- "sseEnabled": true
325
- }
326
- }
327
- },
328
- "constructInfo": {
329
- "fqn": "aws-cdk-lib.aws_dynamodb.CfnTable",
330
- "version": "2.174.0"
331
- }
332
- },
333
- "ScalingRole": {
334
- "id": "ScalingRole",
335
- "path": "lamddb-deployFunctionWithVpc/test-lambda-dynamodb-stack/DynamoTable/ScalingRole",
336
- "constructInfo": {
337
- "fqn": "aws-cdk-lib.Resource",
338
- "version": "2.174.0"
339
- }
340
- }
341
- },
342
- "constructInfo": {
343
- "fqn": "aws-cdk-lib.aws_dynamodb.Table",
344
- "version": "2.174.0"
345
- }
346
- }
347
- },
348
- "constructInfo": {
349
- "fqn": "@aws-solutions-constructs/aws-lambda-dynamodb.LambdaToDynamoDB",
350
- "version": "2.76.0"
351
- }
352
- },
353
- "Vpc": {
354
- "id": "Vpc",
355
- "path": "lamddb-deployFunctionWithVpc/Vpc",
356
- "children": {
357
- "Resource": {
358
- "id": "Resource",
359
- "path": "lamddb-deployFunctionWithVpc/Vpc/Resource",
360
- "attributes": {
361
- "aws:cdk:cloudformation:type": "AWS::EC2::VPC",
362
- "aws:cdk:cloudformation:props": {
363
- "cidrBlock": "10.0.0.0/16",
364
- "enableDnsHostnames": true,
365
- "enableDnsSupport": true,
366
- "instanceTenancy": "default",
367
- "tags": [
368
- {
369
- "key": "Name",
370
- "value": "lamddb-deployFunctionWithVpc/Vpc"
371
- }
372
- ]
373
- }
374
- },
375
- "constructInfo": {
376
- "fqn": "aws-cdk-lib.aws_ec2.CfnVPC",
377
- "version": "2.174.0"
378
- }
379
- },
380
- "isolatedSubnet1": {
381
- "id": "isolatedSubnet1",
382
- "path": "lamddb-deployFunctionWithVpc/Vpc/isolatedSubnet1",
383
- "children": {
384
- "Subnet": {
385
- "id": "Subnet",
386
- "path": "lamddb-deployFunctionWithVpc/Vpc/isolatedSubnet1/Subnet",
387
- "attributes": {
388
- "aws:cdk:cloudformation:type": "AWS::EC2::Subnet",
389
- "aws:cdk:cloudformation:props": {
390
- "availabilityZone": {
391
- "Fn::Select": [
392
- 0,
393
- {
394
- "Fn::GetAZs": ""
395
- }
396
- ]
397
- },
398
- "cidrBlock": "10.0.0.0/18",
399
- "mapPublicIpOnLaunch": false,
400
- "tags": [
401
- {
402
- "key": "aws-cdk:subnet-name",
403
- "value": "isolated"
404
- },
405
- {
406
- "key": "aws-cdk:subnet-type",
407
- "value": "Isolated"
408
- },
409
- {
410
- "key": "Name",
411
- "value": "lamddb-deployFunctionWithVpc/Vpc/isolatedSubnet1"
412
- }
413
- ],
414
- "vpcId": {
415
- "Ref": "Vpc8378EB38"
416
- }
417
- }
418
- },
419
- "constructInfo": {
420
- "fqn": "aws-cdk-lib.aws_ec2.CfnSubnet",
421
- "version": "2.174.0"
422
- }
423
- },
424
- "Acl": {
425
- "id": "Acl",
426
- "path": "lamddb-deployFunctionWithVpc/Vpc/isolatedSubnet1/Acl",
427
- "constructInfo": {
428
- "fqn": "aws-cdk-lib.Resource",
429
- "version": "2.174.0"
430
- }
431
- },
432
- "RouteTable": {
433
- "id": "RouteTable",
434
- "path": "lamddb-deployFunctionWithVpc/Vpc/isolatedSubnet1/RouteTable",
435
- "attributes": {
436
- "aws:cdk:cloudformation:type": "AWS::EC2::RouteTable",
437
- "aws:cdk:cloudformation:props": {
438
- "tags": [
439
- {
440
- "key": "Name",
441
- "value": "lamddb-deployFunctionWithVpc/Vpc/isolatedSubnet1"
442
- }
443
- ],
444
- "vpcId": {
445
- "Ref": "Vpc8378EB38"
446
- }
447
- }
448
- },
449
- "constructInfo": {
450
- "fqn": "aws-cdk-lib.aws_ec2.CfnRouteTable",
451
- "version": "2.174.0"
452
- }
453
- },
454
- "RouteTableAssociation": {
455
- "id": "RouteTableAssociation",
456
- "path": "lamddb-deployFunctionWithVpc/Vpc/isolatedSubnet1/RouteTableAssociation",
457
- "attributes": {
458
- "aws:cdk:cloudformation:type": "AWS::EC2::SubnetRouteTableAssociation",
459
- "aws:cdk:cloudformation:props": {
460
- "routeTableId": {
461
- "Ref": "VpcisolatedSubnet1RouteTableE442650B"
462
- },
463
- "subnetId": {
464
- "Ref": "VpcisolatedSubnet1SubnetE62B1B9B"
465
- }
466
- }
467
- },
468
- "constructInfo": {
469
- "fqn": "aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation",
470
- "version": "2.174.0"
471
- }
472
- }
473
- },
474
- "constructInfo": {
475
- "fqn": "aws-cdk-lib.aws_ec2.PrivateSubnet",
476
- "version": "2.174.0"
477
- }
478
- },
479
- "isolatedSubnet2": {
480
- "id": "isolatedSubnet2",
481
- "path": "lamddb-deployFunctionWithVpc/Vpc/isolatedSubnet2",
482
- "children": {
483
- "Subnet": {
484
- "id": "Subnet",
485
- "path": "lamddb-deployFunctionWithVpc/Vpc/isolatedSubnet2/Subnet",
486
- "attributes": {
487
- "aws:cdk:cloudformation:type": "AWS::EC2::Subnet",
488
- "aws:cdk:cloudformation:props": {
489
- "availabilityZone": {
490
- "Fn::Select": [
491
- 1,
492
- {
493
- "Fn::GetAZs": ""
494
- }
495
- ]
496
- },
497
- "cidrBlock": "10.0.64.0/18",
498
- "mapPublicIpOnLaunch": false,
499
- "tags": [
500
- {
501
- "key": "aws-cdk:subnet-name",
502
- "value": "isolated"
503
- },
504
- {
505
- "key": "aws-cdk:subnet-type",
506
- "value": "Isolated"
507
- },
508
- {
509
- "key": "Name",
510
- "value": "lamddb-deployFunctionWithVpc/Vpc/isolatedSubnet2"
511
- }
512
- ],
513
- "vpcId": {
514
- "Ref": "Vpc8378EB38"
515
- }
516
- }
517
- },
518
- "constructInfo": {
519
- "fqn": "aws-cdk-lib.aws_ec2.CfnSubnet",
520
- "version": "2.174.0"
521
- }
522
- },
523
- "Acl": {
524
- "id": "Acl",
525
- "path": "lamddb-deployFunctionWithVpc/Vpc/isolatedSubnet2/Acl",
526
- "constructInfo": {
527
- "fqn": "aws-cdk-lib.Resource",
528
- "version": "2.174.0"
529
- }
530
- },
531
- "RouteTable": {
532
- "id": "RouteTable",
533
- "path": "lamddb-deployFunctionWithVpc/Vpc/isolatedSubnet2/RouteTable",
534
- "attributes": {
535
- "aws:cdk:cloudformation:type": "AWS::EC2::RouteTable",
536
- "aws:cdk:cloudformation:props": {
537
- "tags": [
538
- {
539
- "key": "Name",
540
- "value": "lamddb-deployFunctionWithVpc/Vpc/isolatedSubnet2"
541
- }
542
- ],
543
- "vpcId": {
544
- "Ref": "Vpc8378EB38"
545
- }
546
- }
547
- },
548
- "constructInfo": {
549
- "fqn": "aws-cdk-lib.aws_ec2.CfnRouteTable",
550
- "version": "2.174.0"
551
- }
552
- },
553
- "RouteTableAssociation": {
554
- "id": "RouteTableAssociation",
555
- "path": "lamddb-deployFunctionWithVpc/Vpc/isolatedSubnet2/RouteTableAssociation",
556
- "attributes": {
557
- "aws:cdk:cloudformation:type": "AWS::EC2::SubnetRouteTableAssociation",
558
- "aws:cdk:cloudformation:props": {
559
- "routeTableId": {
560
- "Ref": "VpcisolatedSubnet2RouteTable334F9764"
561
- },
562
- "subnetId": {
563
- "Ref": "VpcisolatedSubnet2Subnet39217055"
564
- }
565
- }
566
- },
567
- "constructInfo": {
568
- "fqn": "aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation",
569
- "version": "2.174.0"
570
- }
571
- }
572
- },
573
- "constructInfo": {
574
- "fqn": "aws-cdk-lib.aws_ec2.PrivateSubnet",
575
- "version": "2.174.0"
576
- }
577
- },
578
- "RestrictDefaultSecurityGroupCustomResource": {
579
- "id": "RestrictDefaultSecurityGroupCustomResource",
580
- "path": "lamddb-deployFunctionWithVpc/Vpc/RestrictDefaultSecurityGroupCustomResource",
581
- "children": {
582
- "Default": {
583
- "id": "Default",
584
- "path": "lamddb-deployFunctionWithVpc/Vpc/RestrictDefaultSecurityGroupCustomResource/Default",
585
- "constructInfo": {
586
- "fqn": "aws-cdk-lib.CfnResource",
587
- "version": "2.174.0"
588
- }
589
- }
590
- },
591
- "constructInfo": {
592
- "fqn": "aws-cdk-lib.CustomResource",
593
- "version": "2.174.0"
594
- }
595
- },
596
- "FlowLog": {
597
- "id": "FlowLog",
598
- "path": "lamddb-deployFunctionWithVpc/Vpc/FlowLog",
599
- "children": {
600
- "IAMRole": {
601
- "id": "IAMRole",
602
- "path": "lamddb-deployFunctionWithVpc/Vpc/FlowLog/IAMRole",
603
- "children": {
604
- "ImportIAMRole": {
605
- "id": "ImportIAMRole",
606
- "path": "lamddb-deployFunctionWithVpc/Vpc/FlowLog/IAMRole/ImportIAMRole",
607
- "constructInfo": {
608
- "fqn": "aws-cdk-lib.Resource",
609
- "version": "2.174.0"
610
- }
611
- },
612
- "Resource": {
613
- "id": "Resource",
614
- "path": "lamddb-deployFunctionWithVpc/Vpc/FlowLog/IAMRole/Resource",
615
- "attributes": {
616
- "aws:cdk:cloudformation:type": "AWS::IAM::Role",
617
- "aws:cdk:cloudformation:props": {
618
- "assumeRolePolicyDocument": {
619
- "Statement": [
620
- {
621
- "Action": "sts:AssumeRole",
622
- "Effect": "Allow",
623
- "Principal": {
624
- "Service": "vpc-flow-logs.amazonaws.com"
625
- }
626
- }
627
- ],
628
- "Version": "2012-10-17"
629
- },
630
- "tags": [
631
- {
632
- "key": "Name",
633
- "value": "lamddb-deployFunctionWithVpc/Vpc/FlowLog"
634
- }
635
- ]
636
- }
637
- },
638
- "constructInfo": {
639
- "fqn": "aws-cdk-lib.aws_iam.CfnRole",
640
- "version": "2.174.0"
641
- }
642
- },
643
- "DefaultPolicy": {
644
- "id": "DefaultPolicy",
645
- "path": "lamddb-deployFunctionWithVpc/Vpc/FlowLog/IAMRole/DefaultPolicy",
646
- "children": {
647
- "Resource": {
648
- "id": "Resource",
649
- "path": "lamddb-deployFunctionWithVpc/Vpc/FlowLog/IAMRole/DefaultPolicy/Resource",
650
- "attributes": {
651
- "aws:cdk:cloudformation:type": "AWS::IAM::Policy",
652
- "aws:cdk:cloudformation:props": {
653
- "policyDocument": {
654
- "Statement": [
655
- {
656
- "Action": [
657
- "logs:CreateLogStream",
658
- "logs:DescribeLogStreams",
659
- "logs:PutLogEvents"
660
- ],
661
- "Effect": "Allow",
662
- "Resource": {
663
- "Fn::GetAtt": [
664
- "VpcFlowLogLogGroup7B5C56B9",
665
- "Arn"
666
- ]
667
- }
668
- },
669
- {
670
- "Action": "iam:PassRole",
671
- "Effect": "Allow",
672
- "Resource": {
673
- "Fn::GetAtt": [
674
- "VpcFlowLogIAMRole6A475D41",
675
- "Arn"
676
- ]
677
- }
678
- }
679
- ],
680
- "Version": "2012-10-17"
681
- },
682
- "policyName": "VpcFlowLogIAMRoleDefaultPolicy406FB995",
683
- "roles": [
684
- {
685
- "Ref": "VpcFlowLogIAMRole6A475D41"
686
- }
687
- ]
688
- }
689
- },
690
- "constructInfo": {
691
- "fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
692
- "version": "2.174.0"
693
- }
694
- }
695
- },
696
- "constructInfo": {
697
- "fqn": "aws-cdk-lib.aws_iam.Policy",
698
- "version": "2.174.0"
699
- }
700
- }
701
- },
702
- "constructInfo": {
703
- "fqn": "aws-cdk-lib.aws_iam.Role",
704
- "version": "2.174.0"
705
- }
706
- },
707
- "LogGroup": {
708
- "id": "LogGroup",
709
- "path": "lamddb-deployFunctionWithVpc/Vpc/FlowLog/LogGroup",
710
- "children": {
711
- "Resource": {
712
- "id": "Resource",
713
- "path": "lamddb-deployFunctionWithVpc/Vpc/FlowLog/LogGroup/Resource",
714
- "attributes": {
715
- "aws:cdk:cloudformation:type": "AWS::Logs::LogGroup",
716
- "aws:cdk:cloudformation:props": {
717
- "retentionInDays": 731,
718
- "tags": [
719
- {
720
- "key": "Name",
721
- "value": "lamddb-deployFunctionWithVpc/Vpc/FlowLog"
722
- }
723
- ]
724
- }
725
- },
726
- "constructInfo": {
727
- "fqn": "aws-cdk-lib.aws_logs.CfnLogGroup",
728
- "version": "2.174.0"
729
- }
730
- }
731
- },
732
- "constructInfo": {
733
- "fqn": "aws-cdk-lib.aws_logs.LogGroup",
734
- "version": "2.174.0"
735
- }
736
- },
737
- "FlowLog": {
738
- "id": "FlowLog",
739
- "path": "lamddb-deployFunctionWithVpc/Vpc/FlowLog/FlowLog",
740
- "attributes": {
741
- "aws:cdk:cloudformation:type": "AWS::EC2::FlowLog",
742
- "aws:cdk:cloudformation:props": {
743
- "deliverLogsPermissionArn": {
744
- "Fn::GetAtt": [
745
- "VpcFlowLogIAMRole6A475D41",
746
- "Arn"
747
- ]
748
- },
749
- "logDestinationType": "cloud-watch-logs",
750
- "logGroupName": {
751
- "Ref": "VpcFlowLogLogGroup7B5C56B9"
752
- },
753
- "resourceId": {
754
- "Ref": "Vpc8378EB38"
755
- },
756
- "resourceType": "VPC",
757
- "tags": [
758
- {
759
- "key": "Name",
760
- "value": "lamddb-deployFunctionWithVpc/Vpc/FlowLog"
761
- }
762
- ],
763
- "trafficType": "ALL"
764
- }
765
- },
766
- "constructInfo": {
767
- "fqn": "aws-cdk-lib.aws_ec2.CfnFlowLog",
768
- "version": "2.174.0"
769
- }
770
- }
771
- },
772
- "constructInfo": {
773
- "fqn": "aws-cdk-lib.aws_ec2.FlowLog",
774
- "version": "2.174.0"
775
- }
776
- },
777
- "DDB": {
778
- "id": "DDB",
779
- "path": "lamddb-deployFunctionWithVpc/Vpc/DDB",
780
- "children": {
781
- "Resource": {
782
- "id": "Resource",
783
- "path": "lamddb-deployFunctionWithVpc/Vpc/DDB/Resource",
784
- "attributes": {
785
- "aws:cdk:cloudformation:type": "AWS::EC2::VPCEndpoint",
786
- "aws:cdk:cloudformation:props": {
787
- "tags": [
788
- {
789
- "key": "Name",
790
- "value": "lamddb-deployFunctionWithVpc/Vpc"
791
- }
792
- ],
793
- "routeTableIds": [
794
- {
795
- "Ref": "VpcisolatedSubnet1RouteTableE442650B"
796
- },
797
- {
798
- "Ref": "VpcisolatedSubnet2RouteTable334F9764"
799
- }
800
- ],
801
- "serviceName": {
802
- "Fn::Join": [
803
- "",
804
- [
805
- "com.amazonaws.",
806
- {
807
- "Ref": "AWS::Region"
808
- },
809
- ".dynamodb"
810
- ]
811
- ]
812
- },
813
- "vpcEndpointType": "Gateway",
814
- "vpcId": {
815
- "Ref": "Vpc8378EB38"
816
- }
817
- }
818
- },
819
- "constructInfo": {
820
- "fqn": "aws-cdk-lib.aws_ec2.CfnVPCEndpoint",
821
- "version": "2.174.0"
822
- }
823
- }
824
- },
825
- "constructInfo": {
826
- "fqn": "aws-cdk-lib.aws_ec2.GatewayVpcEndpoint",
827
- "version": "2.174.0"
828
- }
829
- }
830
- },
831
- "constructInfo": {
832
- "fqn": "aws-cdk-lib.aws_ec2.Vpc",
833
- "version": "2.174.0"
834
- }
835
- },
836
- "LatestNodeRuntimeMap": {
837
- "id": "LatestNodeRuntimeMap",
838
- "path": "lamddb-deployFunctionWithVpc/LatestNodeRuntimeMap",
839
- "constructInfo": {
840
- "fqn": "aws-cdk-lib.CfnMapping",
841
- "version": "2.174.0"
842
- }
843
- },
844
- "Custom::VpcRestrictDefaultSGCustomResourceProvider": {
845
- "id": "Custom::VpcRestrictDefaultSGCustomResourceProvider",
846
- "path": "lamddb-deployFunctionWithVpc/Custom::VpcRestrictDefaultSGCustomResourceProvider",
847
- "children": {
848
- "Staging": {
849
- "id": "Staging",
850
- "path": "lamddb-deployFunctionWithVpc/Custom::VpcRestrictDefaultSGCustomResourceProvider/Staging",
851
- "constructInfo": {
852
- "fqn": "aws-cdk-lib.AssetStaging",
853
- "version": "2.174.0"
854
- }
855
- },
856
- "Role": {
857
- "id": "Role",
858
- "path": "lamddb-deployFunctionWithVpc/Custom::VpcRestrictDefaultSGCustomResourceProvider/Role",
859
- "constructInfo": {
860
- "fqn": "aws-cdk-lib.CfnResource",
861
- "version": "2.174.0"
862
- }
863
- },
864
- "Handler": {
865
- "id": "Handler",
866
- "path": "lamddb-deployFunctionWithVpc/Custom::VpcRestrictDefaultSGCustomResourceProvider/Handler",
867
- "constructInfo": {
868
- "fqn": "aws-cdk-lib.CfnResource",
869
- "version": "2.174.0"
870
- }
871
- }
872
- },
873
- "constructInfo": {
874
- "fqn": "aws-cdk-lib.CustomResourceProviderBase",
875
- "version": "2.174.0"
876
- }
877
- },
878
- "Integ": {
879
- "id": "Integ",
880
- "path": "lamddb-deployFunctionWithVpc/Integ",
881
- "children": {
882
- "DefaultTest": {
883
- "id": "DefaultTest",
884
- "path": "lamddb-deployFunctionWithVpc/Integ/DefaultTest",
885
- "children": {
886
- "Default": {
887
- "id": "Default",
888
- "path": "lamddb-deployFunctionWithVpc/Integ/DefaultTest/Default",
889
- "constructInfo": {
890
- "fqn": "constructs.Construct",
891
- "version": "10.4.2"
892
- }
893
- },
894
- "DeployAssert": {
895
- "id": "DeployAssert",
896
- "path": "lamddb-deployFunctionWithVpc/Integ/DefaultTest/DeployAssert",
897
- "children": {
898
- "BootstrapVersion": {
899
- "id": "BootstrapVersion",
900
- "path": "lamddb-deployFunctionWithVpc/Integ/DefaultTest/DeployAssert/BootstrapVersion",
901
- "constructInfo": {
902
- "fqn": "aws-cdk-lib.CfnParameter",
903
- "version": "2.174.0"
904
- }
905
- },
906
- "CheckBootstrapVersion": {
907
- "id": "CheckBootstrapVersion",
908
- "path": "lamddb-deployFunctionWithVpc/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion",
909
- "constructInfo": {
910
- "fqn": "aws-cdk-lib.CfnRule",
911
- "version": "2.174.0"
912
- }
913
- }
914
- },
915
- "constructInfo": {
916
- "fqn": "aws-cdk-lib.Stack",
917
- "version": "2.174.0"
918
- }
919
- }
920
- },
921
- "constructInfo": {
922
- "fqn": "@aws-cdk/integ-tests-alpha.IntegTestCase",
923
- "version": "2.174.0-alpha.0"
924
- }
925
- }
926
- },
927
- "constructInfo": {
928
- "fqn": "@aws-cdk/integ-tests-alpha.IntegTest",
929
- "version": "2.174.0-alpha.0"
930
- }
931
- },
932
- "BootstrapVersion": {
933
- "id": "BootstrapVersion",
934
- "path": "lamddb-deployFunctionWithVpc/BootstrapVersion",
935
- "constructInfo": {
936
- "fqn": "aws-cdk-lib.CfnParameter",
937
- "version": "2.174.0"
938
- }
939
- },
940
- "CheckBootstrapVersion": {
941
- "id": "CheckBootstrapVersion",
942
- "path": "lamddb-deployFunctionWithVpc/CheckBootstrapVersion",
943
- "constructInfo": {
944
- "fqn": "aws-cdk-lib.CfnRule",
945
- "version": "2.174.0"
946
- }
947
- }
948
- },
949
- "constructInfo": {
950
- "fqn": "aws-cdk-lib.Stack",
951
- "version": "2.174.0"
952
- }
953
- },
954
- "Tree": {
955
- "id": "Tree",
956
- "path": "Tree",
957
- "constructInfo": {
958
- "fqn": "constructs.Construct",
959
- "version": "10.4.2"
960
- }
961
- }
962
- },
963
- "constructInfo": {
964
- "fqn": "aws-cdk-lib.App",
965
- "version": "2.174.0"
966
- }
967
- }
968
- }
1
+ {"version":"tree-0.1","tree":{"id":"App","path":"","children":{"lamddb-deployFunctionWithVpc":{"id":"lamddb-deployFunctionWithVpc","path":"lamddb-deployFunctionWithVpc","children":{"test-lambda-dynamodb-stack":{"id":"test-lambda-dynamodb-stack","path":"lamddb-deployFunctionWithVpc/test-lambda-dynamodb-stack","children":{"LambdaFunctionServiceRole":{"id":"LambdaFunctionServiceRole","path":"lamddb-deployFunctionWithVpc/test-lambda-dynamodb-stack/LambdaFunctionServiceRole","children":{"ImportLambdaFunctionServiceRole":{"id":"ImportLambdaFunctionServiceRole","path":"lamddb-deployFunctionWithVpc/test-lambda-dynamodb-stack/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.186.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"lamddb-deployFunctionWithVpc/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-deployFunctionWithVpc/test-lambda-dynamodb-stack/LambdaFunctionServiceRole/DefaultPolicy","children":{"Resource":{"id":"Resource","path":"lamddb-deployFunctionWithVpc/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-deployFunctionWithVpc/test-lambda-dynamodb-stack/ReplaceDefaultSecurityGroup-security-group","children":{"Resource":{"id":"Resource","path":"lamddb-deployFunctionWithVpc/test-lambda-dynamodb-stack/ReplaceDefaultSecurityGroup-security-group/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SecurityGroup","aws:cdk:cloudformation:props":{"groupDescription":"lamddb-deployFunctionWithVpc/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-deployFunctionWithVpc/test-lambda-dynamodb-stack/LambdaFunction","children":{"Code":{"id":"Code","path":"lamddb-deployFunctionWithVpc/test-lambda-dynamodb-stack/LambdaFunction/Code","children":{"Stage":{"id":"Stage","path":"lamddb-deployFunctionWithVpc/test-lambda-dynamodb-stack/LambdaFunction/Code/Stage","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"2.186.0"}},"AssetBucket":{"id":"AssetBucket","path":"lamddb-deployFunctionWithVpc/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-deployFunctionWithVpc/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":"VpcisolatedSubnet1SubnetE62B1B9B"},{"Ref":"VpcisolatedSubnet2Subnet39217055"}],"securityGroupIds":[{"Fn::GetAtt":["testlambdadynamodbstackReplaceDefaultSecurityGroupsecuritygroup15025C82","GroupId"]}]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.CfnFunction","version":"2.186.0"}},"inlinePolicyAddedToExecutionRole-0":{"id":"inlinePolicyAddedToExecutionRole-0","path":"lamddb-deployFunctionWithVpc/test-lambda-dynamodb-stack/LambdaFunction/inlinePolicyAddedToExecutionRole-0","children":{"Resource":{"id":"Resource","path":"lamddb-deployFunctionWithVpc/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-deployFunctionWithVpc/test-lambda-dynamodb-stack/DynamoTable","children":{"Resource":{"id":"Resource","path":"lamddb-deployFunctionWithVpc/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-deployFunctionWithVpc/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"}},"Vpc":{"id":"Vpc","path":"lamddb-deployFunctionWithVpc/Vpc","children":{"Resource":{"id":"Resource","path":"lamddb-deployFunctionWithVpc/Vpc/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::VPC","aws:cdk:cloudformation:props":{"cidrBlock":"10.0.0.0/16","enableDnsHostnames":true,"enableDnsSupport":true,"instanceTenancy":"default","tags":[{"key":"Name","value":"lamddb-deployFunctionWithVpc/Vpc"}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnVPC","version":"2.186.0"}},"isolatedSubnet1":{"id":"isolatedSubnet1","path":"lamddb-deployFunctionWithVpc/Vpc/isolatedSubnet1","children":{"Subnet":{"id":"Subnet","path":"lamddb-deployFunctionWithVpc/Vpc/isolatedSubnet1/Subnet","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Subnet","aws:cdk:cloudformation:props":{"availabilityZone":{"Fn::Select":[0,{"Fn::GetAZs":""}]},"cidrBlock":"10.0.0.0/18","mapPublicIpOnLaunch":false,"tags":[{"key":"aws-cdk:subnet-name","value":"isolated"},{"key":"aws-cdk:subnet-type","value":"Isolated"},{"key":"Name","value":"lamddb-deployFunctionWithVpc/Vpc/isolatedSubnet1"}],"vpcId":{"Ref":"Vpc8378EB38"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnet","version":"2.186.0"}},"Acl":{"id":"Acl","path":"lamddb-deployFunctionWithVpc/Vpc/isolatedSubnet1/Acl","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.186.0","metadata":[]}},"RouteTable":{"id":"RouteTable","path":"lamddb-deployFunctionWithVpc/Vpc/isolatedSubnet1/RouteTable","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::RouteTable","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"lamddb-deployFunctionWithVpc/Vpc/isolatedSubnet1"}],"vpcId":{"Ref":"Vpc8378EB38"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRouteTable","version":"2.186.0"}},"RouteTableAssociation":{"id":"RouteTableAssociation","path":"lamddb-deployFunctionWithVpc/Vpc/isolatedSubnet1/RouteTableAssociation","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SubnetRouteTableAssociation","aws:cdk:cloudformation:props":{"routeTableId":{"Ref":"VpcisolatedSubnet1RouteTableE442650B"},"subnetId":{"Ref":"VpcisolatedSubnet1SubnetE62B1B9B"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.PrivateSubnet","version":"2.186.0","metadata":[{"availabilityZone":"*","vpcId":"*","cidrBlock":"*","mapPublicIpOnLaunch":false,"ipv6CidrBlock":"*","assignIpv6AddressOnCreation":"*"},{"availabilityZone":"*","vpcId":"*","cidrBlock":"*","mapPublicIpOnLaunch":false,"ipv6CidrBlock":"*","assignIpv6AddressOnCreation":"*"}]}},"isolatedSubnet2":{"id":"isolatedSubnet2","path":"lamddb-deployFunctionWithVpc/Vpc/isolatedSubnet2","children":{"Subnet":{"id":"Subnet","path":"lamddb-deployFunctionWithVpc/Vpc/isolatedSubnet2/Subnet","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Subnet","aws:cdk:cloudformation:props":{"availabilityZone":{"Fn::Select":[1,{"Fn::GetAZs":""}]},"cidrBlock":"10.0.64.0/18","mapPublicIpOnLaunch":false,"tags":[{"key":"aws-cdk:subnet-name","value":"isolated"},{"key":"aws-cdk:subnet-type","value":"Isolated"},{"key":"Name","value":"lamddb-deployFunctionWithVpc/Vpc/isolatedSubnet2"}],"vpcId":{"Ref":"Vpc8378EB38"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnet","version":"2.186.0"}},"Acl":{"id":"Acl","path":"lamddb-deployFunctionWithVpc/Vpc/isolatedSubnet2/Acl","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.186.0","metadata":[]}},"RouteTable":{"id":"RouteTable","path":"lamddb-deployFunctionWithVpc/Vpc/isolatedSubnet2/RouteTable","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::RouteTable","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"lamddb-deployFunctionWithVpc/Vpc/isolatedSubnet2"}],"vpcId":{"Ref":"Vpc8378EB38"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRouteTable","version":"2.186.0"}},"RouteTableAssociation":{"id":"RouteTableAssociation","path":"lamddb-deployFunctionWithVpc/Vpc/isolatedSubnet2/RouteTableAssociation","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SubnetRouteTableAssociation","aws:cdk:cloudformation:props":{"routeTableId":{"Ref":"VpcisolatedSubnet2RouteTable334F9764"},"subnetId":{"Ref":"VpcisolatedSubnet2Subnet39217055"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.PrivateSubnet","version":"2.186.0","metadata":[{"availabilityZone":"*","vpcId":"*","cidrBlock":"*","mapPublicIpOnLaunch":false,"ipv6CidrBlock":"*","assignIpv6AddressOnCreation":"*"},{"availabilityZone":"*","vpcId":"*","cidrBlock":"*","mapPublicIpOnLaunch":false,"ipv6CidrBlock":"*","assignIpv6AddressOnCreation":"*"}]}},"RestrictDefaultSecurityGroupCustomResource":{"id":"RestrictDefaultSecurityGroupCustomResource","path":"lamddb-deployFunctionWithVpc/Vpc/RestrictDefaultSecurityGroupCustomResource","children":{"Default":{"id":"Default","path":"lamddb-deployFunctionWithVpc/Vpc/RestrictDefaultSecurityGroupCustomResource/Default","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.CustomResource","version":"2.186.0","metadata":["*"]}},"FlowLog":{"id":"FlowLog","path":"lamddb-deployFunctionWithVpc/Vpc/FlowLog","children":{"IAMRole":{"id":"IAMRole","path":"lamddb-deployFunctionWithVpc/Vpc/FlowLog/IAMRole","children":{"ImportIAMRole":{"id":"ImportIAMRole","path":"lamddb-deployFunctionWithVpc/Vpc/FlowLog/IAMRole/ImportIAMRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.186.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"lamddb-deployFunctionWithVpc/Vpc/FlowLog/IAMRole/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:props":{"assumeRolePolicyDocument":{"Statement":[{"Action":"sts:AssumeRole","Effect":"Allow","Principal":{"Service":"vpc-flow-logs.amazonaws.com"}}],"Version":"2012-10-17"},"tags":[{"key":"Name","value":"lamddb-deployFunctionWithVpc/Vpc/FlowLog"}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.186.0"}},"DefaultPolicy":{"id":"DefaultPolicy","path":"lamddb-deployFunctionWithVpc/Vpc/FlowLog/IAMRole/DefaultPolicy","children":{"Resource":{"id":"Resource","path":"lamddb-deployFunctionWithVpc/Vpc/FlowLog/IAMRole/DefaultPolicy/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":["logs:CreateLogStream","logs:DescribeLogStreams","logs:PutLogEvents"],"Effect":"Allow","Resource":{"Fn::GetAtt":["VpcFlowLogLogGroup7B5C56B9","Arn"]}},{"Action":"iam:PassRole","Effect":"Allow","Resource":{"Fn::GetAtt":["VpcFlowLogIAMRole6A475D41","Arn"]}}],"Version":"2012-10-17"},"policyName":"VpcFlowLogIAMRoleDefaultPolicy406FB995","roles":[{"Ref":"VpcFlowLogIAMRole6A475D41"}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.186.0","metadata":["*",{"attachToRole":["*"]},{"attachToRole":["*"]},{"addStatements":[{}]},{"addStatements":[{}]}]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.186.0","metadata":[{"roleName":"*","assumedBy":{"principalAccount":"*","assumeRoleAction":"*"}},{"addToPrincipalPolicy":[{}]},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]},{"addToPrincipalPolicy":[{}]}]}},"LogGroup":{"id":"LogGroup","path":"lamddb-deployFunctionWithVpc/Vpc/FlowLog/LogGroup","children":{"Resource":{"id":"Resource","path":"lamddb-deployFunctionWithVpc/Vpc/FlowLog/LogGroup/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::Logs::LogGroup","aws:cdk:cloudformation:props":{"retentionInDays":731,"tags":[{"key":"Name","value":"lamddb-deployFunctionWithVpc/Vpc/FlowLog"}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_logs.CfnLogGroup","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_logs.LogGroup","version":"2.186.0","metadata":["*"]}},"FlowLog":{"id":"FlowLog","path":"lamddb-deployFunctionWithVpc/Vpc/FlowLog/FlowLog","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::FlowLog","aws:cdk:cloudformation:props":{"deliverLogsPermissionArn":{"Fn::GetAtt":["VpcFlowLogIAMRole6A475D41","Arn"]},"logDestinationType":"cloud-watch-logs","logGroupName":{"Ref":"VpcFlowLogLogGroup7B5C56B9"},"resourceId":{"Ref":"Vpc8378EB38"},"resourceType":"VPC","tags":[{"key":"Name","value":"lamddb-deployFunctionWithVpc/Vpc/FlowLog"}],"trafficType":"ALL"}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnFlowLog","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.FlowLog","version":"2.186.0","metadata":[{"resourceType":"*"}]}},"DDB":{"id":"DDB","path":"lamddb-deployFunctionWithVpc/Vpc/DDB","children":{"Resource":{"id":"Resource","path":"lamddb-deployFunctionWithVpc/Vpc/DDB/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::VPCEndpoint","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"lamddb-deployFunctionWithVpc/Vpc"}],"routeTableIds":[{"Ref":"VpcisolatedSubnet1RouteTableE442650B"},{"Ref":"VpcisolatedSubnet2RouteTable334F9764"}],"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":[{"natGateways":"*","subnetConfiguration":[{"cidrMask":"*","name":"*","subnetType":"Isolated"}],"enableDnsHostnames":true,"enableDnsSupport":true}]}},"LatestNodeRuntimeMap":{"id":"LatestNodeRuntimeMap","path":"lamddb-deployFunctionWithVpc/LatestNodeRuntimeMap","constructInfo":{"fqn":"aws-cdk-lib.CfnMapping","version":"2.186.0"}},"Custom::VpcRestrictDefaultSGCustomResourceProvider":{"id":"Custom::VpcRestrictDefaultSGCustomResourceProvider","path":"lamddb-deployFunctionWithVpc/Custom::VpcRestrictDefaultSGCustomResourceProvider","children":{"Staging":{"id":"Staging","path":"lamddb-deployFunctionWithVpc/Custom::VpcRestrictDefaultSGCustomResourceProvider/Staging","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"2.186.0"}},"Role":{"id":"Role","path":"lamddb-deployFunctionWithVpc/Custom::VpcRestrictDefaultSGCustomResourceProvider/Role","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.186.0"}},"Handler":{"id":"Handler","path":"lamddb-deployFunctionWithVpc/Custom::VpcRestrictDefaultSGCustomResourceProvider/Handler","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.CustomResourceProviderBase","version":"2.186.0"}},"Integ":{"id":"Integ","path":"lamddb-deployFunctionWithVpc/Integ","children":{"DefaultTest":{"id":"DefaultTest","path":"lamddb-deployFunctionWithVpc/Integ/DefaultTest","children":{"Default":{"id":"Default","path":"lamddb-deployFunctionWithVpc/Integ/DefaultTest/Default","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}},"DeployAssert":{"id":"DeployAssert","path":"lamddb-deployFunctionWithVpc/Integ/DefaultTest/DeployAssert","children":{"BootstrapVersion":{"id":"BootstrapVersion","path":"lamddb-deployFunctionWithVpc/Integ/DefaultTest/DeployAssert/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.186.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"lamddb-deployFunctionWithVpc/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.186.0"}}},"constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTestCase","version":"2.186.0-alpha.0"}}},"constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTest","version":"2.186.0-alpha.0"}},"BootstrapVersion":{"id":"BootstrapVersion","path":"lamddb-deployFunctionWithVpc/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.186.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"lamddb-deployFunctionWithVpc/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.186.0"}},"Tree":{"id":"Tree","path":"Tree","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}}},"constructInfo":{"fqn":"aws-cdk-lib.App","version":"2.186.0"}}}