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