@aws-solutions-constructs/aws-lambda-elasticachememcached 2.51.0 → 2.52.1

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