@aws-solutions-constructs/aws-lambda-elasticachememcached 2.102.0 → 2.103.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 (39) hide show
  1. package/.jsii +78 -4
  2. package/lib/index.js +1 -1
  3. package/package.json +6 -6
  4. package/test/integ.lammem-existingResources.js.snapshot/asset.02b51ab524e7bcf8f477de3e71e5f9a72e448301b26ba62e9e75a14f9c55a093/__entrypoint__.js +1 -0
  5. package/test/integ.lammem-existingResources.js.snapshot/cdk.out +1 -1
  6. package/test/integ.lammem-existingResources.js.snapshot/integ.json +2 -2
  7. package/test/integ.lammem-existingResources.js.snapshot/lammem-existingResources.assets.json +8 -8
  8. package/test/integ.lammem-existingResources.js.snapshot/lammem-existingResources.metadata.json +372 -0
  9. package/test/integ.lammem-existingResources.js.snapshot/lammem-existingResources.template.json +2 -2
  10. package/test/integ.lammem-existingResources.js.snapshot/lammemexistingResourcesIntegDefaultTestDeployAssertD269DF67.assets.json +1 -1
  11. package/test/integ.lammem-existingResources.js.snapshot/lammemexistingResourcesIntegDefaultTestDeployAssertD269DF67.metadata.json +14 -0
  12. package/test/integ.lammem-existingResources.js.snapshot/manifest.json +37 -389
  13. package/test/integ.lammem-existingResources.js.snapshot/tree.json +1 -1
  14. package/test/integ.lammem-newResources.js.snapshot/asset.02b51ab524e7bcf8f477de3e71e5f9a72e448301b26ba62e9e75a14f9c55a093/__entrypoint__.js +1 -0
  15. package/test/integ.lammem-newResources.js.snapshot/cdk.out +1 -1
  16. package/test/integ.lammem-newResources.js.snapshot/integ.json +2 -2
  17. package/test/integ.lammem-newResources.js.snapshot/lammem-newResources.assets.json +8 -8
  18. package/test/integ.lammem-newResources.js.snapshot/lammem-newResources.metadata.json +485 -0
  19. package/test/integ.lammem-newResources.js.snapshot/lammem-newResources.template.json +2 -2
  20. package/test/integ.lammem-newResources.js.snapshot/lammemnewResourcesIntegDefaultTestDeployAssert30C906BF.assets.json +1 -1
  21. package/test/integ.lammem-newResources.js.snapshot/lammemnewResourcesIntegDefaultTestDeployAssert30C906BF.metadata.json +14 -0
  22. package/test/integ.lammem-newResources.js.snapshot/manifest.json +37 -502
  23. package/test/integ.lammem-newResources.js.snapshot/tree.json +1 -1
  24. package/test/integ.lammem-withClientProps.js.snapshot/asset.02b51ab524e7bcf8f477de3e71e5f9a72e448301b26ba62e9e75a14f9c55a093/__entrypoint__.js +1 -0
  25. package/test/integ.lammem-withClientProps.js.snapshot/cdk.out +1 -1
  26. package/test/integ.lammem-withClientProps.js.snapshot/integ.json +2 -2
  27. package/test/integ.lammem-withClientProps.js.snapshot/lammem-withClientProps.assets.json +8 -8
  28. package/test/integ.lammem-withClientProps.js.snapshot/lammem-withClientProps.metadata.json +486 -0
  29. package/test/integ.lammem-withClientProps.js.snapshot/lammem-withClientProps.template.json +2 -2
  30. package/test/integ.lammem-withClientProps.js.snapshot/lammemwithClientPropsIntegDefaultTestDeployAssertDB086BD1.assets.json +1 -1
  31. package/test/integ.lammem-withClientProps.js.snapshot/lammemwithClientPropsIntegDefaultTestDeployAssertDB086BD1.metadata.json +14 -0
  32. package/test/integ.lammem-withClientProps.js.snapshot/manifest.json +37 -503
  33. package/test/integ.lammem-withClientProps.js.snapshot/tree.json +1 -1
  34. package/test/integ.lammem-existingResources.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +0 -1
  35. package/test/integ.lammem-newResources.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +0 -1
  36. package/test/integ.lammem-withClientProps.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +0 -1
  37. /package/test/integ.lammem-existingResources.js.snapshot/{asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200 → asset.02b51ab524e7bcf8f477de3e71e5f9a72e448301b26ba62e9e75a14f9c55a093}/index.js +0 -0
  38. /package/test/integ.lammem-newResources.js.snapshot/{asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200 → asset.02b51ab524e7bcf8f477de3e71e5f9a72e448301b26ba62e9e75a14f9c55a093}/index.js +0 -0
  39. /package/test/integ.lammem-withClientProps.js.snapshot/{asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200 → asset.02b51ab524e7bcf8f477de3e71e5f9a72e448301b26ba62e9e75a14f9c55a093}/index.js +0 -0
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "52.0.0",
2
+ "version": "54.0.0",
3
3
  "artifacts": {
4
4
  "lammemexistingResourcesIntegDefaultTestDeployAssertD269DF67.assets": {
5
5
  "type": "cdk:asset-manifest",
@@ -33,20 +33,7 @@
33
33
  "dependencies": [
34
34
  "lammemexistingResourcesIntegDefaultTestDeployAssertD269DF67.assets"
35
35
  ],
36
- "metadata": {
37
- "/lammem-existingResources/Integ/DefaultTest/DeployAssert/BootstrapVersion": [
38
- {
39
- "type": "aws:cdk:logicalId",
40
- "data": "BootstrapVersion"
41
- }
42
- ],
43
- "/lammem-existingResources/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion": [
44
- {
45
- "type": "aws:cdk:logicalId",
46
- "data": "CheckBootstrapVersion"
47
- }
48
- ]
49
- },
36
+ "additionalMetadataFile": "lammemexistingResourcesIntegDefaultTestDeployAssertD269DF67.metadata.json",
50
37
  "displayName": "lammem-existingResources/Integ/DefaultTest/DeployAssert"
51
38
  },
52
39
  "lammem-existingResources.assets": {
@@ -66,7 +53,7 @@
66
53
  "validateOnSynth": false,
67
54
  "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
68
55
  "cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}",
69
- "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/381dfd732bdd4ea99d17935402885dd4d64f679290f8b9fd9831be8b90aafec8.json",
56
+ "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/cfc54777a45754465652eeca7686ad863d6053a52c4c6ce13bc1ec7ffc7eac09.json",
70
57
  "requiresBootstrapStackVersion": 6,
71
58
  "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
72
59
  "additionalDependencies": [
@@ -81,378 +68,7 @@
81
68
  "dependencies": [
82
69
  "lammem-existingResources.assets"
83
70
  ],
84
- "metadata": {
85
- "/lammem-existingResources/Vpc": [
86
- {
87
- "type": "aws:cdk:analytics:construct",
88
- "data": {
89
- "natGateways": "*",
90
- "subnetConfiguration": [
91
- {
92
- "cidrMask": "*",
93
- "name": "*",
94
- "subnetType": "Isolated"
95
- }
96
- ],
97
- "enableDnsHostnames": true,
98
- "enableDnsSupport": true,
99
- "ipAddresses": "*"
100
- }
101
- }
102
- ],
103
- "/lammem-existingResources/Vpc/Resource": [
104
- {
105
- "type": "aws:cdk:logicalId",
106
- "data": "Vpc8378EB38"
107
- }
108
- ],
109
- "/lammem-existingResources/Vpc/isolatedSubnet1": [
110
- {
111
- "type": "aws:cdk:analytics:construct",
112
- "data": {
113
- "availabilityZone": "*",
114
- "vpcId": "*",
115
- "cidrBlock": "*",
116
- "mapPublicIpOnLaunch": false,
117
- "ipv6CidrBlock": "*",
118
- "assignIpv6AddressOnCreation": "*"
119
- }
120
- },
121
- {
122
- "type": "aws:cdk:analytics:construct",
123
- "data": {
124
- "availabilityZone": "*",
125
- "vpcId": "*",
126
- "cidrBlock": "*",
127
- "mapPublicIpOnLaunch": false,
128
- "ipv6CidrBlock": "*",
129
- "assignIpv6AddressOnCreation": "*"
130
- }
131
- }
132
- ],
133
- "/lammem-existingResources/Vpc/isolatedSubnet1/Subnet": [
134
- {
135
- "type": "aws:cdk:logicalId",
136
- "data": "VpcisolatedSubnet1SubnetE62B1B9B"
137
- }
138
- ],
139
- "/lammem-existingResources/Vpc/isolatedSubnet1/RouteTable": [
140
- {
141
- "type": "aws:cdk:logicalId",
142
- "data": "VpcisolatedSubnet1RouteTableE442650B"
143
- }
144
- ],
145
- "/lammem-existingResources/Vpc/isolatedSubnet1/RouteTableAssociation": [
146
- {
147
- "type": "aws:cdk:logicalId",
148
- "data": "VpcisolatedSubnet1RouteTableAssociationD259E31A"
149
- }
150
- ],
151
- "/lammem-existingResources/Vpc/isolatedSubnet2": [
152
- {
153
- "type": "aws:cdk:analytics:construct",
154
- "data": {
155
- "availabilityZone": "*",
156
- "vpcId": "*",
157
- "cidrBlock": "*",
158
- "mapPublicIpOnLaunch": false,
159
- "ipv6CidrBlock": "*",
160
- "assignIpv6AddressOnCreation": "*"
161
- }
162
- },
163
- {
164
- "type": "aws:cdk:analytics:construct",
165
- "data": {
166
- "availabilityZone": "*",
167
- "vpcId": "*",
168
- "cidrBlock": "*",
169
- "mapPublicIpOnLaunch": false,
170
- "ipv6CidrBlock": "*",
171
- "assignIpv6AddressOnCreation": "*"
172
- }
173
- }
174
- ],
175
- "/lammem-existingResources/Vpc/isolatedSubnet2/Subnet": [
176
- {
177
- "type": "aws:cdk:logicalId",
178
- "data": "VpcisolatedSubnet2Subnet39217055"
179
- }
180
- ],
181
- "/lammem-existingResources/Vpc/isolatedSubnet2/RouteTable": [
182
- {
183
- "type": "aws:cdk:logicalId",
184
- "data": "VpcisolatedSubnet2RouteTable334F9764"
185
- }
186
- ],
187
- "/lammem-existingResources/Vpc/isolatedSubnet2/RouteTableAssociation": [
188
- {
189
- "type": "aws:cdk:logicalId",
190
- "data": "VpcisolatedSubnet2RouteTableAssociation25A4716F"
191
- }
192
- ],
193
- "/lammem-existingResources/Vpc/RestrictDefaultSecurityGroupCustomResource": [
194
- {
195
- "type": "aws:cdk:analytics:construct",
196
- "data": "*"
197
- }
198
- ],
199
- "/lammem-existingResources/Vpc/RestrictDefaultSecurityGroupCustomResource/Default": [
200
- {
201
- "type": "aws:cdk:logicalId",
202
- "data": "VpcRestrictDefaultSecurityGroupCustomResourceC73DA2BE"
203
- }
204
- ],
205
- "/lammem-existingResources/Vpc/FlowLog": [
206
- {
207
- "type": "aws:cdk:analytics:construct",
208
- "data": {
209
- "resourceType": "*"
210
- }
211
- }
212
- ],
213
- "/lammem-existingResources/Vpc/FlowLog/IAMRole": [
214
- {
215
- "type": "aws:cdk:analytics:construct",
216
- "data": {
217
- "roleName": "*",
218
- "assumedBy": {
219
- "principalAccount": "*",
220
- "assumeRoleAction": "*"
221
- }
222
- }
223
- },
224
- {
225
- "type": "aws:cdk:analytics:method",
226
- "data": {
227
- "addToPrincipalPolicy": [
228
- {}
229
- ]
230
- }
231
- },
232
- {
233
- "type": "aws:cdk:analytics:method",
234
- "data": {
235
- "attachInlinePolicy": [
236
- "*"
237
- ]
238
- }
239
- },
240
- {
241
- "type": "aws:cdk:analytics:method",
242
- "data": {
243
- "attachInlinePolicy": [
244
- "*"
245
- ]
246
- }
247
- }
248
- ],
249
- "/lammem-existingResources/Vpc/FlowLog/IAMRole/Resource": [
250
- {
251
- "type": "aws:cdk:logicalId",
252
- "data": "VpcFlowLogIAMRole6A475D41"
253
- }
254
- ],
255
- "/lammem-existingResources/Vpc/FlowLog/IAMRole/DefaultPolicy": [
256
- {
257
- "type": "aws:cdk:analytics:construct",
258
- "data": "*"
259
- },
260
- {
261
- "type": "aws:cdk:analytics:method",
262
- "data": {
263
- "attachToRole": [
264
- "*"
265
- ]
266
- }
267
- },
268
- {
269
- "type": "aws:cdk:analytics:method",
270
- "data": {
271
- "attachToRole": [
272
- "*"
273
- ]
274
- }
275
- },
276
- {
277
- "type": "aws:cdk:analytics:method",
278
- "data": {
279
- "addStatements": [
280
- {}
281
- ]
282
- }
283
- }
284
- ],
285
- "/lammem-existingResources/Vpc/FlowLog/IAMRole/DefaultPolicy/Resource": [
286
- {
287
- "type": "aws:cdk:logicalId",
288
- "data": "VpcFlowLogIAMRoleDefaultPolicy406FB995"
289
- }
290
- ],
291
- "/lammem-existingResources/Vpc/FlowLog/LogGroup": [
292
- {
293
- "type": "aws:cdk:analytics:construct",
294
- "data": "*"
295
- }
296
- ],
297
- "/lammem-existingResources/Vpc/FlowLog/LogGroup/Resource": [
298
- {
299
- "type": "aws:cdk:logicalId",
300
- "data": "VpcFlowLogLogGroup7B5C56B9"
301
- }
302
- ],
303
- "/lammem-existingResources/Vpc/FlowLog/FlowLog": [
304
- {
305
- "type": "aws:cdk:logicalId",
306
- "data": "VpcFlowLog8FF33A73"
307
- }
308
- ],
309
- "/lammem-existingResources/Custom::VpcRestrictDefaultSGCustomResourceProvider": [
310
- {
311
- "type": "aws:cdk:is-custom-resource-handler-customResourceProvider",
312
- "data": true
313
- }
314
- ],
315
- "/lammem-existingResources/Custom::VpcRestrictDefaultSGCustomResourceProvider/Role": [
316
- {
317
- "type": "aws:cdk:logicalId",
318
- "data": "CustomVpcRestrictDefaultSGCustomResourceProviderRole26592FE0"
319
- }
320
- ],
321
- "/lammem-existingResources/Custom::VpcRestrictDefaultSGCustomResourceProvider/Handler": [
322
- {
323
- "type": "aws:cdk:logicalId",
324
- "data": "CustomVpcRestrictDefaultSGCustomResourceProviderHandlerDC833E5E"
325
- }
326
- ],
327
- "/lammem-existingResources/test-sg-security-group": [
328
- {
329
- "type": "aws:cdk:analytics:construct",
330
- "data": {
331
- "vpc": "*"
332
- }
333
- }
334
- ],
335
- "/lammem-existingResources/test-sg-security-group/Resource": [
336
- {
337
- "type": "aws:cdk:logicalId",
338
- "data": "testsgsecuritygroup89DCF621"
339
- }
340
- ],
341
- "/lammem-existingResources/test-function": [
342
- {
343
- "type": "aws:cdk:analytics:construct",
344
- "data": {
345
- "runtime": "*",
346
- "handler": "*",
347
- "code": "*",
348
- "vpc": "*",
349
- "securityGroups": [
350
- "*"
351
- ]
352
- }
353
- },
354
- {
355
- "type": "aws:cdk:analytics:method",
356
- "data": {
357
- "addEnvironment": [
358
- "*",
359
- "*"
360
- ]
361
- }
362
- }
363
- ],
364
- "/lammem-existingResources/test-function/ServiceRole": [
365
- {
366
- "type": "aws:cdk:analytics:construct",
367
- "data": {
368
- "assumedBy": {
369
- "principalAccount": "*",
370
- "assumeRoleAction": "*"
371
- },
372
- "managedPolicies": [
373
- {
374
- "managedPolicyArn": "*"
375
- },
376
- {
377
- "managedPolicyArn": "*"
378
- }
379
- ]
380
- }
381
- }
382
- ],
383
- "/lammem-existingResources/test-function/ServiceRole/Resource": [
384
- {
385
- "type": "aws:cdk:logicalId",
386
- "data": "testfunctionServiceRoleFB85AD63"
387
- }
388
- ],
389
- "/lammem-existingResources/test-function/Resource": [
390
- {
391
- "type": "aws:cdk:logicalId",
392
- "data": "testfunction5B23D3B0"
393
- }
394
- ],
395
- "/lammem-existingResources/ec-subnetgroup-test-cache": [
396
- {
397
- "type": "aws:cdk:logicalId",
398
- "data": "ecsubnetgrouptestcache"
399
- }
400
- ],
401
- "/lammem-existingResources/test-cache-cachesg": [
402
- {
403
- "type": "aws:cdk:analytics:construct",
404
- "data": {
405
- "vpc": "*",
406
- "allowAllOutbound": true
407
- }
408
- }
409
- ],
410
- "/lammem-existingResources/test-cache-cachesg/Resource": [
411
- {
412
- "type": "aws:cdk:logicalId",
413
- "data": "testcachecachesg7265880E"
414
- }
415
- ],
416
- "/lammem-existingResources/test-cache-cluster": [
417
- {
418
- "type": "aws:cdk:logicalId",
419
- "data": "testcachecluster"
420
- }
421
- ],
422
- "/lammem-existingResources/lammem-existingResources/lammem-existingResources-cachesg": [
423
- {
424
- "type": "aws:cdk:analytics:construct",
425
- "data": {
426
- "vpc": "*",
427
- "allowAllOutbound": true
428
- }
429
- }
430
- ],
431
- "/lammem-existingResources/lammem-existingResources/lammem-existingResources-cachesg/Resource": [
432
- {
433
- "type": "aws:cdk:logicalId",
434
- "data": "lammemexistingResourceslammemexistingResourcescachesg832A8E40"
435
- }
436
- ],
437
- "/lammem-existingResources/lammem-existingResources/lammem-existingResources-ingress": [
438
- {
439
- "type": "aws:cdk:logicalId",
440
- "data": "lammemexistingResourceslammemexistingResourcesingress225EA10E"
441
- }
442
- ],
443
- "/lammem-existingResources/BootstrapVersion": [
444
- {
445
- "type": "aws:cdk:logicalId",
446
- "data": "BootstrapVersion"
447
- }
448
- ],
449
- "/lammem-existingResources/CheckBootstrapVersion": [
450
- {
451
- "type": "aws:cdk:logicalId",
452
- "data": "CheckBootstrapVersion"
453
- }
454
- ]
455
- },
71
+ "additionalMetadataFile": "lammem-existingResources.metadata.json",
456
72
  "displayName": "lammem-existingResources"
457
73
  },
458
74
  "Tree": {
@@ -753,6 +369,7 @@
753
369
  "explanation": "When enabled, nodegroupName attribute of the provisioned EKS NodeGroup will not have the cluster name prefix."
754
370
  },
755
371
  "@aws-cdk/aws-eks:useNativeOidcProvider": {
372
+ "userValue": true,
756
373
  "recommendedValue": true,
757
374
  "explanation": "When enabled, EKS V2 clusters will use the native OIDC provider resource AWS::IAM::OIDCProvider instead of creating the OIDCProvider with a custom resource (iam.OpenIDConnectProvider)."
758
375
  },
@@ -954,16 +571,47 @@
954
571
  "recommendedValue": true,
955
572
  "explanation": "Use the `Distribution` resource instead of `CloudFrontWebDistribution`"
956
573
  },
574
+ "@aws-cdk/aws-cloudfront:defaultFunctionRuntimeV2_0": {
575
+ "userValue": true,
576
+ "recommendedValue": true,
577
+ "explanation": "Use cloudfront-js-2.0 as the default runtime for CloudFront Functions"
578
+ },
579
+ "@aws-cdk/aws-elasticloadbalancingv2:usePostQuantumTlsPolicy": {
580
+ "userValue": true,
581
+ "recommendedValue": true,
582
+ "explanation": "When enabled, HTTPS/TLS listeners use post-quantum TLS policy by default"
583
+ },
957
584
  "@aws-cdk/core:automaticL1Traits": {
958
585
  "recommendedValue": true,
959
586
  "explanation": "Automatically use the default L1 traits for L1 constructs`",
960
587
  "unconfiguredBehavesLike": {
961
588
  "v2": true
962
589
  }
590
+ },
591
+ "@aws-cdk/aws-batch:defaultToAL2023": {
592
+ "userValue": true,
593
+ "recommendedValue": true,
594
+ "explanation": "Use AL2023 as the default imageType for EC2 Batch compute environments instead of the deprecated AL2"
595
+ },
596
+ "@aws-cdk/aws-eks:defaultToAL2023": {
597
+ "recommendedValue": true,
598
+ "explanation": "Use AL2023 as the default AMI type for EKS managed node groups using non-GPU instance types instead of the deprecated AL2"
599
+ },
600
+ "@aws-cdk/core:annotationsInValidationReport": {
601
+ "userValue": true,
602
+ "recommendedValue": true,
603
+ "explanation": "Include construct annotations (warnings and errors) in the policy validation report"
604
+ },
605
+ "@aws-cdk/core:defaultCrossStackReferences": {
606
+ "recommendedValue": "weak",
607
+ "explanation": "Controls whether cross-region stack references are strong, weak, or both",
608
+ "unconfiguredBehavesLike": {
609
+ "v2": "strong"
610
+ }
963
611
  }
964
612
  }
965
613
  }
966
614
  }
967
615
  },
968
- "minimumCliVersion": "2.1106.1"
616
+ "minimumCliVersion": "2.1128.1"
969
617
  }
@@ -1 +1 @@
1
- {"version":"tree-0.1","tree":{"id":"App","path":"","constructInfo":{"fqn":"aws-cdk-lib.App","version":"2.239.0"},"children":{"lammem-existingResources":{"id":"lammem-existingResources","path":"lammem-existingResources","constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.239.0"},"children":{"Vpc":{"id":"Vpc","path":"lammem-existingResources/Vpc","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.Vpc","version":"2.239.0"},"children":{"Resource":{"id":"Resource","path":"lammem-existingResources/Vpc/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnVPC","version":"2.239.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::VPC","aws:cdk:cloudformation:props":{"cidrBlock":"172.168.0.0/16","enableDnsHostnames":true,"enableDnsSupport":true,"instanceTenancy":"default","tags":[{"key":"Name","value":"lammem-existingResources/Vpc"}]}}},"isolatedSubnet1":{"id":"isolatedSubnet1","path":"lammem-existingResources/Vpc/isolatedSubnet1","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.PrivateSubnet","version":"2.239.0"},"children":{"Subnet":{"id":"Subnet","path":"lammem-existingResources/Vpc/isolatedSubnet1/Subnet","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnet","version":"2.239.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Subnet","aws:cdk:cloudformation:props":{"availabilityZone":{"Fn::Select":[0,{"Fn::GetAZs":""}]},"cidrBlock":"172.168.0.0/18","mapPublicIpOnLaunch":false,"tags":[{"key":"aws-cdk:subnet-name","value":"isolated"},{"key":"aws-cdk:subnet-type","value":"Isolated"},{"key":"Name","value":"lammem-existingResources/Vpc/isolatedSubnet1"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"Acl":{"id":"Acl","path":"lammem-existingResources/Vpc/isolatedSubnet1/Acl","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.239.0"}},"RouteTable":{"id":"RouteTable","path":"lammem-existingResources/Vpc/isolatedSubnet1/RouteTable","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRouteTable","version":"2.239.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::RouteTable","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"lammem-existingResources/Vpc/isolatedSubnet1"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"RouteTableAssociation":{"id":"RouteTableAssociation","path":"lammem-existingResources/Vpc/isolatedSubnet1/RouteTableAssociation","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation","version":"2.239.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SubnetRouteTableAssociation","aws:cdk:cloudformation:props":{"routeTableId":{"Ref":"VpcisolatedSubnet1RouteTableE442650B"},"subnetId":{"Ref":"VpcisolatedSubnet1SubnetE62B1B9B"}}}}}},"isolatedSubnet2":{"id":"isolatedSubnet2","path":"lammem-existingResources/Vpc/isolatedSubnet2","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.PrivateSubnet","version":"2.239.0"},"children":{"Subnet":{"id":"Subnet","path":"lammem-existingResources/Vpc/isolatedSubnet2/Subnet","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnet","version":"2.239.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Subnet","aws:cdk:cloudformation:props":{"availabilityZone":{"Fn::Select":[1,{"Fn::GetAZs":""}]},"cidrBlock":"172.168.64.0/18","mapPublicIpOnLaunch":false,"tags":[{"key":"aws-cdk:subnet-name","value":"isolated"},{"key":"aws-cdk:subnet-type","value":"Isolated"},{"key":"Name","value":"lammem-existingResources/Vpc/isolatedSubnet2"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"Acl":{"id":"Acl","path":"lammem-existingResources/Vpc/isolatedSubnet2/Acl","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.239.0"}},"RouteTable":{"id":"RouteTable","path":"lammem-existingResources/Vpc/isolatedSubnet2/RouteTable","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRouteTable","version":"2.239.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::RouteTable","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"lammem-existingResources/Vpc/isolatedSubnet2"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"RouteTableAssociation":{"id":"RouteTableAssociation","path":"lammem-existingResources/Vpc/isolatedSubnet2/RouteTableAssociation","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation","version":"2.239.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SubnetRouteTableAssociation","aws:cdk:cloudformation:props":{"routeTableId":{"Ref":"VpcisolatedSubnet2RouteTable334F9764"},"subnetId":{"Ref":"VpcisolatedSubnet2Subnet39217055"}}}}}},"RestrictDefaultSecurityGroupCustomResource":{"id":"RestrictDefaultSecurityGroupCustomResource","path":"lammem-existingResources/Vpc/RestrictDefaultSecurityGroupCustomResource","constructInfo":{"fqn":"aws-cdk-lib.CustomResource","version":"2.239.0"},"children":{"Default":{"id":"Default","path":"lammem-existingResources/Vpc/RestrictDefaultSecurityGroupCustomResource/Default","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.239.0"}}}},"FlowLog":{"id":"FlowLog","path":"lammem-existingResources/Vpc/FlowLog","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.FlowLog","version":"2.239.0"},"children":{"IAMRole":{"id":"IAMRole","path":"lammem-existingResources/Vpc/FlowLog/IAMRole","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.239.0"},"children":{"Resource":{"id":"Resource","path":"lammem-existingResources/Vpc/FlowLog/IAMRole/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.239.0"},"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":"lammem-existingResources/Vpc/FlowLog"}]}}},"DefaultPolicy":{"id":"DefaultPolicy","path":"lammem-existingResources/Vpc/FlowLog/IAMRole/DefaultPolicy","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.239.0"},"children":{"Resource":{"id":"Resource","path":"lammem-existingResources/Vpc/FlowLog/IAMRole/DefaultPolicy/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.239.0"},"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"]}}],"Version":"2012-10-17"},"policyName":"VpcFlowLogIAMRoleDefaultPolicy406FB995","roles":[{"Ref":"VpcFlowLogIAMRole6A475D41"}]}}}}}}},"LogGroup":{"id":"LogGroup","path":"lammem-existingResources/Vpc/FlowLog/LogGroup","constructInfo":{"fqn":"aws-cdk-lib.aws_logs.LogGroup","version":"2.239.0"},"children":{"Resource":{"id":"Resource","path":"lammem-existingResources/Vpc/FlowLog/LogGroup/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_logs.CfnLogGroup","version":"2.239.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Logs::LogGroup","aws:cdk:cloudformation:props":{"retentionInDays":731,"tags":[{"key":"Name","value":"lammem-existingResources/Vpc/FlowLog"}]}}}}},"FlowLog":{"id":"FlowLog","path":"lammem-existingResources/Vpc/FlowLog/FlowLog","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnFlowLog","version":"2.239.0"},"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":"lammem-existingResources/Vpc/FlowLog"}],"trafficType":"ALL"}}}}}}},"Custom::VpcRestrictDefaultSGCustomResourceProvider":{"id":"Custom::VpcRestrictDefaultSGCustomResourceProvider","path":"lammem-existingResources/Custom::VpcRestrictDefaultSGCustomResourceProvider","constructInfo":{"fqn":"aws-cdk-lib.CustomResourceProviderBase","version":"2.239.0"},"children":{"Staging":{"id":"Staging","path":"lammem-existingResources/Custom::VpcRestrictDefaultSGCustomResourceProvider/Staging","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"2.239.0"}},"Role":{"id":"Role","path":"lammem-existingResources/Custom::VpcRestrictDefaultSGCustomResourceProvider/Role","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.239.0"}},"Handler":{"id":"Handler","path":"lammem-existingResources/Custom::VpcRestrictDefaultSGCustomResourceProvider/Handler","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.239.0"}}}},"test-sg-security-group":{"id":"test-sg-security-group","path":"lammem-existingResources/test-sg-security-group","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.SecurityGroup","version":"2.239.0"},"children":{"Resource":{"id":"Resource","path":"lammem-existingResources/test-sg-security-group/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSecurityGroup","version":"2.239.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SecurityGroup","aws:cdk:cloudformation:props":{"groupDescription":"lammem-existingResources/test-sg-security-group","securityGroupEgress":[{"cidrIp":"0.0.0.0/0","description":"Allow all outbound traffic by default","ipProtocol":"-1"}],"vpcId":{"Ref":"Vpc8378EB38"}}}}}},"test-function":{"id":"test-function","path":"lammem-existingResources/test-function","constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.Function","version":"2.239.0"},"children":{"ServiceRole":{"id":"ServiceRole","path":"lammem-existingResources/test-function/ServiceRole","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.239.0"},"children":{"Resource":{"id":"Resource","path":"lammem-existingResources/test-function/ServiceRole/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.239.0"},"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"},"managedPolicyArns":[{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"]]},{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":iam::aws:policy/service-role/AWSLambdaVPCAccessExecutionRole"]]}]}}}}},"Resource":{"id":"Resource","path":"lammem-existingResources/test-function/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.CfnFunction","version":"2.239.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Lambda::Function","aws:cdk:cloudformation:props":{"code":{"zipFile":"exports.handler = async (event) => { console.log(event); return {statusCode: 200, body: \"\"}; }"},"environment":{"variables":{"CACHE_ENDPOINT":{"Fn::Join":["",[{"Fn::GetAtt":["testcachecluster","ConfigurationEndpoint.Address"]},":",{"Fn::GetAtt":["testcachecluster","ConfigurationEndpoint.Port"]}]]}}},"handler":"index.handler","role":{"Fn::GetAtt":["testfunctionServiceRoleFB85AD63","Arn"]},"runtime":"nodejs22.x","vpcConfig":{"subnetIds":[{"Ref":"VpcisolatedSubnet1SubnetE62B1B9B"},{"Ref":"VpcisolatedSubnet2Subnet39217055"}],"securityGroupIds":[{"Fn::GetAtt":["testsgsecuritygroup89DCF621","GroupId"]}]}}}}}},"ec-subnetgroup-test-cache":{"id":"ec-subnetgroup-test-cache","path":"lammem-existingResources/ec-subnetgroup-test-cache","constructInfo":{"fqn":"aws-cdk-lib.aws_elasticache.CfnSubnetGroup","version":"2.239.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::ElastiCache::SubnetGroup","aws:cdk:cloudformation:props":{"cacheSubnetGroupName":"test-cache-subnet-group","description":"Solutions Constructs generated Cache Subnet Group","subnetIds":[{"Ref":"VpcisolatedSubnet1SubnetE62B1B9B"},{"Ref":"VpcisolatedSubnet2Subnet39217055"}]}}},"test-cache-cachesg":{"id":"test-cache-cachesg","path":"lammem-existingResources/test-cache-cachesg","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.SecurityGroup","version":"2.239.0"},"children":{"Resource":{"id":"Resource","path":"lammem-existingResources/test-cache-cachesg/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSecurityGroup","version":"2.239.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SecurityGroup","aws:cdk:cloudformation:props":{"groupDescription":"lammem-existingResources/test-cache-cachesg","securityGroupEgress":[{"cidrIp":"0.0.0.0/0","description":"Allow all outbound traffic by default","ipProtocol":"-1"}],"vpcId":{"Ref":"Vpc8378EB38"}}}}}},"test-cache-cluster":{"id":"test-cache-cluster","path":"lammem-existingResources/test-cache-cluster","constructInfo":{"fqn":"aws-cdk-lib.aws_elasticache.CfnCacheCluster","version":"2.239.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::ElastiCache::CacheCluster","aws:cdk:cloudformation:props":{"azMode":"cross-az","cacheNodeType":"cache.t3.medium","cacheSubnetGroupName":"test-cache-subnet-group","clusterName":"test-cache-cdk-cluster","engine":"memcached","numCacheNodes":2,"port":11222,"vpcSecurityGroupIds":[{"Fn::GetAtt":["testcachecachesg7265880E","GroupId"]},{"Fn::GetAtt":["lammemexistingResourceslammemexistingResourcescachesg832A8E40","GroupId"]}]}}},"lammem-existingResources":{"id":"lammem-existingResources","path":"lammem-existingResources/lammem-existingResources","constructInfo":{"fqn":"@aws-solutions-constructs/aws-lambda-elasticachememcached.LambdaToElasticachememcached","version":"2.99.0"},"children":{"lammem-existingResources-cachesg":{"id":"lammem-existingResources-cachesg","path":"lammem-existingResources/lammem-existingResources/lammem-existingResources-cachesg","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.SecurityGroup","version":"2.239.0"},"children":{"Resource":{"id":"Resource","path":"lammem-existingResources/lammem-existingResources/lammem-existingResources-cachesg/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSecurityGroup","version":"2.239.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SecurityGroup","aws:cdk:cloudformation:props":{"groupDescription":"lammem-existingResources/lammem-existingResources/lammem-existingResources-cachesg","securityGroupEgress":[{"cidrIp":"0.0.0.0/0","description":"Allow all outbound traffic by default","ipProtocol":"-1"}],"vpcId":{"Ref":"Vpc8378EB38"}}}}}},"lammem-existingResources-ingress":{"id":"lammem-existingResources-ingress","path":"lammem-existingResources/lammem-existingResources/lammem-existingResources-ingress","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSecurityGroupIngress","version":"2.239.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SecurityGroupIngress","aws:cdk:cloudformation:props":{"description":"Self referencing rule to control access to Elasticache memcached cluster","fromPort":{"Fn::GetAtt":["testcachecluster","ConfigurationEndpoint.Port"]},"groupId":{"Fn::GetAtt":["lammemexistingResourceslammemexistingResourcescachesg832A8E40","GroupId"]},"ipProtocol":"TCP","sourceSecurityGroupId":{"Fn::GetAtt":["lammemexistingResourceslammemexistingResourcescachesg832A8E40","GroupId"]},"toPort":{"Fn::GetAtt":["testcachecluster","ConfigurationEndpoint.Port"]}}}}}},"Integ":{"id":"Integ","path":"lammem-existingResources/Integ","constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTest","version":"2.239.0-alpha.0"},"children":{"DefaultTest":{"id":"DefaultTest","path":"lammem-existingResources/Integ/DefaultTest","constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTestCase","version":"2.239.0-alpha.0"},"children":{"Default":{"id":"Default","path":"lammem-existingResources/Integ/DefaultTest/Default","constructInfo":{"fqn":"constructs.Construct","version":"10.5.1"}},"DeployAssert":{"id":"DeployAssert","path":"lammem-existingResources/Integ/DefaultTest/DeployAssert","constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.239.0"},"children":{"BootstrapVersion":{"id":"BootstrapVersion","path":"lammem-existingResources/Integ/DefaultTest/DeployAssert/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.239.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"lammem-existingResources/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.239.0"}}}}}}}},"BootstrapVersion":{"id":"BootstrapVersion","path":"lammem-existingResources/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.239.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"lammem-existingResources/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.239.0"}}}},"Tree":{"id":"Tree","path":"Tree","constructInfo":{"fqn":"constructs.Construct","version":"10.5.1"}}}}}
1
+ {"version":"tree-0.1","tree":{"id":"App","path":"","constructInfo":{"fqn":"aws-cdk-lib.App","version":"2.259.0"},"children":{"lammem-existingResources":{"id":"lammem-existingResources","path":"lammem-existingResources","constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.259.0"},"children":{"Vpc":{"id":"Vpc","path":"lammem-existingResources/Vpc","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.Vpc","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"lammem-existingResources/Vpc/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnVPC","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::VPC","aws:cdk:cloudformation:logicalId":"Vpc8378EB38","aws:cdk:cloudformation:props":{"cidrBlock":"172.168.0.0/16","enableDnsHostnames":true,"enableDnsSupport":true,"instanceTenancy":"default","tags":[{"key":"Name","value":"lammem-existingResources/Vpc"}]}}},"isolatedSubnet1":{"id":"isolatedSubnet1","path":"lammem-existingResources/Vpc/isolatedSubnet1","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.PrivateSubnet","version":"2.259.0"},"children":{"Subnet":{"id":"Subnet","path":"lammem-existingResources/Vpc/isolatedSubnet1/Subnet","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnet","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Subnet","aws:cdk:cloudformation:logicalId":"VpcisolatedSubnet1SubnetE62B1B9B","aws:cdk:cloudformation:props":{"availabilityZone":{"Fn::Select":[0,{"Fn::GetAZs":""}]},"cidrBlock":"172.168.0.0/18","mapPublicIpOnLaunch":false,"tags":[{"key":"aws-cdk:subnet-name","value":"isolated"},{"key":"aws-cdk:subnet-type","value":"Isolated"},{"key":"Name","value":"lammem-existingResources/Vpc/isolatedSubnet1"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"Acl":{"id":"Acl","path":"lammem-existingResources/Vpc/isolatedSubnet1/Acl","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.259.0"}},"RouteTable":{"id":"RouteTable","path":"lammem-existingResources/Vpc/isolatedSubnet1/RouteTable","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRouteTable","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::RouteTable","aws:cdk:cloudformation:logicalId":"VpcisolatedSubnet1RouteTableE442650B","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"lammem-existingResources/Vpc/isolatedSubnet1"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"RouteTableAssociation":{"id":"RouteTableAssociation","path":"lammem-existingResources/Vpc/isolatedSubnet1/RouteTableAssociation","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SubnetRouteTableAssociation","aws:cdk:cloudformation:logicalId":"VpcisolatedSubnet1RouteTableAssociationD259E31A","aws:cdk:cloudformation:props":{"routeTableId":{"Ref":"VpcisolatedSubnet1RouteTableE442650B"},"subnetId":{"Ref":"VpcisolatedSubnet1SubnetE62B1B9B"}}}}}},"isolatedSubnet2":{"id":"isolatedSubnet2","path":"lammem-existingResources/Vpc/isolatedSubnet2","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.PrivateSubnet","version":"2.259.0"},"children":{"Subnet":{"id":"Subnet","path":"lammem-existingResources/Vpc/isolatedSubnet2/Subnet","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnet","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Subnet","aws:cdk:cloudformation:logicalId":"VpcisolatedSubnet2Subnet39217055","aws:cdk:cloudformation:props":{"availabilityZone":{"Fn::Select":[1,{"Fn::GetAZs":""}]},"cidrBlock":"172.168.64.0/18","mapPublicIpOnLaunch":false,"tags":[{"key":"aws-cdk:subnet-name","value":"isolated"},{"key":"aws-cdk:subnet-type","value":"Isolated"},{"key":"Name","value":"lammem-existingResources/Vpc/isolatedSubnet2"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"Acl":{"id":"Acl","path":"lammem-existingResources/Vpc/isolatedSubnet2/Acl","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.259.0"}},"RouteTable":{"id":"RouteTable","path":"lammem-existingResources/Vpc/isolatedSubnet2/RouteTable","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRouteTable","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::RouteTable","aws:cdk:cloudformation:logicalId":"VpcisolatedSubnet2RouteTable334F9764","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"lammem-existingResources/Vpc/isolatedSubnet2"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"RouteTableAssociation":{"id":"RouteTableAssociation","path":"lammem-existingResources/Vpc/isolatedSubnet2/RouteTableAssociation","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SubnetRouteTableAssociation","aws:cdk:cloudformation:logicalId":"VpcisolatedSubnet2RouteTableAssociation25A4716F","aws:cdk:cloudformation:props":{"routeTableId":{"Ref":"VpcisolatedSubnet2RouteTable334F9764"},"subnetId":{"Ref":"VpcisolatedSubnet2Subnet39217055"}}}}}},"RestrictDefaultSecurityGroupCustomResource":{"id":"RestrictDefaultSecurityGroupCustomResource","path":"lammem-existingResources/Vpc/RestrictDefaultSecurityGroupCustomResource","constructInfo":{"fqn":"aws-cdk-lib.CustomResource","version":"2.259.0"},"children":{"Default":{"id":"Default","path":"lammem-existingResources/Vpc/RestrictDefaultSecurityGroupCustomResource/Default","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.259.0"}}}},"FlowLog":{"id":"FlowLog","path":"lammem-existingResources/Vpc/FlowLog","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.FlowLog","version":"2.259.0"},"children":{"IAMRole":{"id":"IAMRole","path":"lammem-existingResources/Vpc/FlowLog/IAMRole","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"lammem-existingResources/Vpc/FlowLog/IAMRole/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:logicalId":"VpcFlowLogIAMRole6A475D41","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":"lammem-existingResources/Vpc/FlowLog"}]}}},"DefaultPolicy":{"id":"DefaultPolicy","path":"lammem-existingResources/Vpc/FlowLog/IAMRole/DefaultPolicy","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"lammem-existingResources/Vpc/FlowLog/IAMRole/DefaultPolicy/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:logicalId":"VpcFlowLogIAMRoleDefaultPolicy406FB995","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":["logs:CreateLogStream","logs:DescribeLogStreams","logs:PutLogEvents"],"Effect":"Allow","Resource":{"Fn::GetAtt":["VpcFlowLogLogGroup7B5C56B9","Arn"]}}],"Version":"2012-10-17"},"policyName":"VpcFlowLogIAMRoleDefaultPolicy406FB995","roles":[{"Ref":"VpcFlowLogIAMRole6A475D41"}]}}}}}}},"LogGroup":{"id":"LogGroup","path":"lammem-existingResources/Vpc/FlowLog/LogGroup","constructInfo":{"fqn":"aws-cdk-lib.aws_logs.LogGroup","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"lammem-existingResources/Vpc/FlowLog/LogGroup/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_logs.CfnLogGroup","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Logs::LogGroup","aws:cdk:cloudformation:logicalId":"VpcFlowLogLogGroup7B5C56B9","aws:cdk:cloudformation:props":{"retentionInDays":731,"tags":[{"key":"Name","value":"lammem-existingResources/Vpc/FlowLog"}]}}}}},"FlowLog":{"id":"FlowLog","path":"lammem-existingResources/Vpc/FlowLog/FlowLog","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnFlowLog","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::FlowLog","aws:cdk:cloudformation:logicalId":"VpcFlowLog8FF33A73","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":"lammem-existingResources/Vpc/FlowLog"}],"trafficType":"ALL"}}}}}}},"Custom::VpcRestrictDefaultSGCustomResourceProvider":{"id":"Custom::VpcRestrictDefaultSGCustomResourceProvider","path":"lammem-existingResources/Custom::VpcRestrictDefaultSGCustomResourceProvider","constructInfo":{"fqn":"aws-cdk-lib.CustomResourceProviderBase","version":"2.259.0"},"children":{"Staging":{"id":"Staging","path":"lammem-existingResources/Custom::VpcRestrictDefaultSGCustomResourceProvider/Staging","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"2.259.0"}},"Role":{"id":"Role","path":"lammem-existingResources/Custom::VpcRestrictDefaultSGCustomResourceProvider/Role","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.259.0"}},"Handler":{"id":"Handler","path":"lammem-existingResources/Custom::VpcRestrictDefaultSGCustomResourceProvider/Handler","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.259.0"}}}},"test-sg-security-group":{"id":"test-sg-security-group","path":"lammem-existingResources/test-sg-security-group","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.SecurityGroup","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"lammem-existingResources/test-sg-security-group/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSecurityGroup","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SecurityGroup","aws:cdk:cloudformation:logicalId":"testsgsecuritygroup89DCF621","aws:cdk:cloudformation:props":{"groupDescription":"lammem-existingResources/test-sg-security-group","securityGroupEgress":[{"cidrIp":"0.0.0.0/0","description":"Allow all outbound traffic by default","ipProtocol":"-1"}],"vpcId":{"Ref":"Vpc8378EB38"}}}}}},"test-function":{"id":"test-function","path":"lammem-existingResources/test-function","constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.Function","version":"2.259.0"},"children":{"ServiceRole":{"id":"ServiceRole","path":"lammem-existingResources/test-function/ServiceRole","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"lammem-existingResources/test-function/ServiceRole/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:logicalId":"testfunctionServiceRoleFB85AD63","aws:cdk:cloudformation:props":{"assumeRolePolicyDocument":{"Statement":[{"Action":"sts:AssumeRole","Effect":"Allow","Principal":{"Service":"lambda.amazonaws.com"}}],"Version":"2012-10-17"},"managedPolicyArns":[{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"]]},{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":iam::aws:policy/service-role/AWSLambdaVPCAccessExecutionRole"]]}]}}}}},"Resource":{"id":"Resource","path":"lammem-existingResources/test-function/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.CfnFunction","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Lambda::Function","aws:cdk:cloudformation:logicalId":"testfunction5B23D3B0","aws:cdk:cloudformation:props":{"code":{"zipFile":"exports.handler = async (event) => { console.log(event); return {statusCode: 200, body: \"\"}; }"},"environment":{"variables":{"CACHE_ENDPOINT":{"Fn::Join":["",[{"Fn::GetAtt":["testcachecluster","ConfigurationEndpoint.Address"]},":",{"Fn::GetAtt":["testcachecluster","ConfigurationEndpoint.Port"]}]]}}},"handler":"index.handler","role":{"Fn::GetAtt":["testfunctionServiceRoleFB85AD63","Arn"]},"runtime":"nodejs22.x","vpcConfig":{"subnetIds":[{"Ref":"VpcisolatedSubnet1SubnetE62B1B9B"},{"Ref":"VpcisolatedSubnet2Subnet39217055"}],"securityGroupIds":[{"Fn::GetAtt":["testsgsecuritygroup89DCF621","GroupId"]}]}}}}}},"ec-subnetgroup-test-cache":{"id":"ec-subnetgroup-test-cache","path":"lammem-existingResources/ec-subnetgroup-test-cache","constructInfo":{"fqn":"aws-cdk-lib.aws_elasticache.CfnSubnetGroup","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::ElastiCache::SubnetGroup","aws:cdk:cloudformation:logicalId":"ecsubnetgrouptestcache","aws:cdk:cloudformation:props":{"cacheSubnetGroupName":"test-cache-subnet-group","description":"Solutions Constructs generated Cache Subnet Group","subnetIds":[{"Ref":"VpcisolatedSubnet1SubnetE62B1B9B"},{"Ref":"VpcisolatedSubnet2Subnet39217055"}]}}},"test-cache-cachesg":{"id":"test-cache-cachesg","path":"lammem-existingResources/test-cache-cachesg","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.SecurityGroup","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"lammem-existingResources/test-cache-cachesg/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSecurityGroup","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SecurityGroup","aws:cdk:cloudformation:logicalId":"testcachecachesg7265880E","aws:cdk:cloudformation:props":{"groupDescription":"lammem-existingResources/test-cache-cachesg","securityGroupEgress":[{"cidrIp":"0.0.0.0/0","description":"Allow all outbound traffic by default","ipProtocol":"-1"}],"vpcId":{"Ref":"Vpc8378EB38"}}}}}},"test-cache-cluster":{"id":"test-cache-cluster","path":"lammem-existingResources/test-cache-cluster","constructInfo":{"fqn":"aws-cdk-lib.aws_elasticache.CfnCacheCluster","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::ElastiCache::CacheCluster","aws:cdk:cloudformation:logicalId":"testcachecluster","aws:cdk:cloudformation:props":{"azMode":"cross-az","cacheNodeType":"cache.t3.medium","cacheSubnetGroupName":"test-cache-subnet-group","clusterName":"test-cache-cdk-cluster","engine":"memcached","numCacheNodes":2,"port":11222,"vpcSecurityGroupIds":[{"Fn::GetAtt":["testcachecachesg7265880E","GroupId"]},{"Fn::GetAtt":["lammemexistingResourceslammemexistingResourcescachesg832A8E40","GroupId"]}]}}},"lammem-existingResources":{"id":"lammem-existingResources","path":"lammem-existingResources/lammem-existingResources","constructInfo":{"fqn":"@aws-solutions-constructs/aws-lambda-elasticachememcached.LambdaToElasticachememcached","version":"2.102.0"},"children":{"lammem-existingResources-cachesg":{"id":"lammem-existingResources-cachesg","path":"lammem-existingResources/lammem-existingResources/lammem-existingResources-cachesg","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.SecurityGroup","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"lammem-existingResources/lammem-existingResources/lammem-existingResources-cachesg/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSecurityGroup","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SecurityGroup","aws:cdk:cloudformation:logicalId":"lammemexistingResourceslammemexistingResourcescachesg832A8E40","aws:cdk:cloudformation:props":{"groupDescription":"lammem-existingResources/lammem-existingResources/lammem-existingResources-cachesg","securityGroupEgress":[{"cidrIp":"0.0.0.0/0","description":"Allow all outbound traffic by default","ipProtocol":"-1"}],"vpcId":{"Ref":"Vpc8378EB38"}}}}}},"lammem-existingResources-ingress":{"id":"lammem-existingResources-ingress","path":"lammem-existingResources/lammem-existingResources/lammem-existingResources-ingress","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSecurityGroupIngress","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SecurityGroupIngress","aws:cdk:cloudformation:logicalId":"lammemexistingResourceslammemexistingResourcesingress225EA10E","aws:cdk:cloudformation:props":{"description":"Self referencing rule to control access to Elasticache memcached cluster","fromPort":{"Fn::GetAtt":["testcachecluster","ConfigurationEndpoint.Port"]},"groupId":{"Fn::GetAtt":["lammemexistingResourceslammemexistingResourcescachesg832A8E40","GroupId"]},"ipProtocol":"TCP","sourceSecurityGroupId":{"Fn::GetAtt":["lammemexistingResourceslammemexistingResourcescachesg832A8E40","GroupId"]},"toPort":{"Fn::GetAtt":["testcachecluster","ConfigurationEndpoint.Port"]}}}}}},"Integ":{"id":"Integ","path":"lammem-existingResources/Integ","constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTest","version":"2.259.0-alpha.0"},"children":{"DefaultTest":{"id":"DefaultTest","path":"lammem-existingResources/Integ/DefaultTest","constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTestCase","version":"2.259.0-alpha.0"},"children":{"Default":{"id":"Default","path":"lammem-existingResources/Integ/DefaultTest/Default","constructInfo":{"fqn":"constructs.Construct","version":"10.5.1"}},"DeployAssert":{"id":"DeployAssert","path":"lammem-existingResources/Integ/DefaultTest/DeployAssert","constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.259.0"},"children":{"BootstrapVersion":{"id":"BootstrapVersion","path":"lammem-existingResources/Integ/DefaultTest/DeployAssert/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.259.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"lammem-existingResources/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.259.0"}}}}}}}},"BootstrapVersion":{"id":"BootstrapVersion","path":"lammem-existingResources/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.259.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"lammem-existingResources/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.259.0"}}}},"Tree":{"id":"Tree","path":"Tree","constructInfo":{"fqn":"constructs.Construct","version":"10.5.1"}}}}}
@@ -0,0 +1 @@
1
+ "use strict";var __createBinding=exports&&exports.__createBinding||(Object.create?(function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}):(function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]})),__setModuleDefault=exports&&exports.__setModuleDefault||(Object.create?(function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}):function(o,v){o.default=v}),__importStar=exports&&exports.__importStar||(function(){var ownKeys=function(o){return ownKeys=Object.getOwnPropertyNames||function(o2){var ar=[];for(var k in o2)Object.prototype.hasOwnProperty.call(o2,k)&&(ar[ar.length]=k);return ar},ownKeys(o)};return function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k=ownKeys(mod),i=0;i<k.length;i++)k[i]!=="default"&&__createBinding(result,mod,k[i]);return __setModuleDefault(result,mod),result}})();Object.defineProperty(exports,"__esModule",{value:!0}),exports.external=void 0,exports.handler=handler,exports.withRetries=withRetries;const https=__importStar(require("https")),url=__importStar(require("url"));exports.external={sendHttpRequest:defaultSendHttpRequest,log:defaultLog,includeStackTraces:!0,userHandlerIndex:"./index"};const CREATE_FAILED_PHYSICAL_ID_MARKER="AWSCDK::CustomResourceProviderFramework::CREATE_FAILED",MISSING_PHYSICAL_ID_MARKER="AWSCDK::CustomResourceProviderFramework::MISSING_PHYSICAL_ID";async function handler(event,context){const sanitizedEvent={...event,ResponseURL:"..."};if(exports.external.log(JSON.stringify(sanitizedEvent,void 0,2)),event.RequestType==="Delete"&&event.PhysicalResourceId===CREATE_FAILED_PHYSICAL_ID_MARKER){exports.external.log("ignoring DELETE event caused by a failed CREATE event"),await submitResponse("SUCCESS",event);return}try{const userHandler=require(exports.external.userHandlerIndex).handler,result=await userHandler(sanitizedEvent,context),responseEvent=renderResponse(event,result);await submitResponse("SUCCESS",responseEvent)}catch(e){const resp={...event,Reason:exports.external.includeStackTraces?e.stack:e.message};resp.PhysicalResourceId||(event.RequestType==="Create"?(exports.external.log("CREATE failed, responding with a marker physical resource id so that the subsequent DELETE will be ignored"),resp.PhysicalResourceId=CREATE_FAILED_PHYSICAL_ID_MARKER):exports.external.log(`ERROR: Malformed event. "PhysicalResourceId" is required: ${JSON.stringify(event)}`)),await submitResponse("FAILED",resp)}}function renderResponse(cfnRequest,handlerResponse={}){const physicalResourceId=handlerResponse.PhysicalResourceId??cfnRequest.PhysicalResourceId??cfnRequest.RequestId;if(cfnRequest.RequestType==="Delete"&&physicalResourceId!==cfnRequest.PhysicalResourceId)throw new Error(`DELETE: cannot change the physical resource ID from "${cfnRequest.PhysicalResourceId}" to "${handlerResponse.PhysicalResourceId}" during deletion`);return{...cfnRequest,...handlerResponse,PhysicalResourceId:physicalResourceId}}async function submitResponse(status,event){const json={Status:status,Reason:event.Reason??status,StackId:event.StackId,RequestId:event.RequestId,PhysicalResourceId:event.PhysicalResourceId||MISSING_PHYSICAL_ID_MARKER,LogicalResourceId:event.LogicalResourceId,NoEcho:event.NoEcho,Data:event.Data},parsedUrl=url.parse(event.ResponseURL),loggingSafeUrl=`${parsedUrl.protocol}//${parsedUrl.hostname}/${parsedUrl.pathname}?***`;exports.external.log("submit response to cloudformation",loggingSafeUrl,json);const responseBody=JSON.stringify(json),req={hostname:parsedUrl.hostname,path:parsedUrl.path,method:"PUT",headers:{"content-type":"","content-length":Buffer.byteLength(responseBody,"utf8")}};await withRetries({attempts:5,sleep:1e3},exports.external.sendHttpRequest)(req,responseBody)}async function defaultSendHttpRequest(options,requestBody){return new Promise((resolve,reject)=>{try{const request=https.request(options,response=>{response.resume(),!response.statusCode||response.statusCode>=400?reject(new Error(`Unsuccessful HTTP response: ${response.statusCode}`)):resolve()});request.on("error",reject),request.write(requestBody),request.end()}catch(e){reject(e)}})}function defaultLog(fmt,...params){console.log(fmt,...params)}function withRetries(options,fn){return async(...xs)=>{let attempts=options.attempts,ms=options.sleep;for(;;)try{return await fn(...xs)}catch(e){if(attempts--<=0)throw e;await sleep(Math.floor(Math.random()*ms)),ms*=2}}}async function sleep(ms){return new Promise(ok=>setTimeout(ok,ms))}
@@ -1 +1 @@
1
- {"version":"50.0.0"}
1
+ {"version":"54.0.0"}
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "50.0.0",
2
+ "version": "54.0.0",
3
3
  "testCases": {
4
4
  "lammem-newResources/Integ/DefaultTest": {
5
5
  "stacks": [
@@ -9,5 +9,5 @@
9
9
  "assertionStackName": "lammemnewResourcesIntegDefaultTestDeployAssert30C906BF"
10
10
  }
11
11
  },
12
- "minimumCliVersion": "2.1105.0"
12
+ "minimumCliVersion": "2.1128.1"
13
13
  }