@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
package/.jsii CHANGED
@@ -8,8 +8,8 @@
8
8
  "url": "https://aws.amazon.com"
9
9
  },
10
10
  "dependencies": {
11
- "@aws-solutions-constructs/core": "2.102.0",
12
- "aws-cdk-lib": "^2.254.0",
11
+ "@aws-solutions-constructs/core": "2.103.0",
12
+ "aws-cdk-lib": "^2.260.0",
13
13
  "constructs": "^10.0.0"
14
14
  },
15
15
  "dependencyClosure": {
@@ -549,6 +549,19 @@
549
549
  }
550
550
  }
551
551
  },
552
+ "aws-cdk-lib.aws_awsexternalanthropic": {
553
+ "targets": {
554
+ "dotnet": {
555
+ "namespace": "Amazon.CDK.AWS.AWSExternalAnthropic"
556
+ },
557
+ "java": {
558
+ "package": "software.amazon.awscdk.services.awsexternalanthropic"
559
+ },
560
+ "python": {
561
+ "module": "aws_cdk.aws_awsexternalanthropic"
562
+ }
563
+ }
564
+ },
552
565
  "aws-cdk-lib.aws_b2bi": {
553
566
  "targets": {
554
567
  "dotnet": {
@@ -3299,6 +3312,19 @@
3299
3312
  }
3300
3313
  }
3301
3314
  },
3315
+ "aws-cdk-lib.aws_resiliencehubv2": {
3316
+ "targets": {
3317
+ "dotnet": {
3318
+ "namespace": "Amazon.CDK.AWS.ResilienceHubV2"
3319
+ },
3320
+ "java": {
3321
+ "package": "software.amazon.awscdk.services.resiliencehubv2"
3322
+ },
3323
+ "python": {
3324
+ "module": "aws_cdk.aws_resiliencehubv2"
3325
+ }
3326
+ }
3327
+ },
3302
3328
  "aws-cdk-lib.aws_resourceexplorer2": {
3303
3329
  "targets": {
3304
3330
  "dotnet": {
@@ -4726,6 +4752,22 @@
4726
4752
  }
4727
4753
  }
4728
4754
  },
4755
+ "aws-cdk-lib.interfaces.aws_awsexternalanthropic": {
4756
+ "targets": {
4757
+ "dotnet": {
4758
+ "namespace": "Amazon.CDK.Interfaces.AWSExternalAnthropic"
4759
+ },
4760
+ "go": {
4761
+ "packageName": "interfacesawsawsexternalanthropic"
4762
+ },
4763
+ "java": {
4764
+ "package": "software.amazon.awscdk.interfaces.awsexternalanthropic"
4765
+ },
4766
+ "python": {
4767
+ "module": "aws_cdk.interfaces.aws_awsexternalanthropic"
4768
+ }
4769
+ }
4770
+ },
4729
4771
  "aws-cdk-lib.interfaces.aws_b2bi": {
4730
4772
  "targets": {
4731
4773
  "dotnet": {
@@ -4790,6 +4832,22 @@
4790
4832
  }
4791
4833
  }
4792
4834
  },
4835
+ "aws-cdk-lib.interfaces.aws_bcm": {
4836
+ "targets": {
4837
+ "dotnet": {
4838
+ "namespace": "Amazon.CDK.Interfaces.BCM"
4839
+ },
4840
+ "go": {
4841
+ "packageName": "interfacesawsbcm"
4842
+ },
4843
+ "java": {
4844
+ "package": "software.amazon.awscdk.interfaces.bcm"
4845
+ },
4846
+ "python": {
4847
+ "module": "aws_cdk.interfaces.aws_bcm"
4848
+ }
4849
+ }
4850
+ },
4793
4851
  "aws-cdk-lib.interfaces.aws_bcmdataexports": {
4794
4852
  "targets": {
4795
4853
  "dotnet": {
@@ -7846,6 +7904,22 @@
7846
7904
  }
7847
7905
  }
7848
7906
  },
7907
+ "aws-cdk-lib.interfaces.aws_resiliencehubv2": {
7908
+ "targets": {
7909
+ "dotnet": {
7910
+ "namespace": "Amazon.CDK.Interfaces.ResilienceHubV2"
7911
+ },
7912
+ "go": {
7913
+ "packageName": "interfacesawsresiliencehubv2"
7914
+ },
7915
+ "java": {
7916
+ "package": "software.amazon.awscdk.interfaces.resiliencehubv2"
7917
+ },
7918
+ "python": {
7919
+ "module": "aws_cdk.interfaces.aws_resiliencehubv2"
7920
+ }
7921
+ }
7922
+ },
7849
7923
  "aws-cdk-lib.interfaces.aws_resourceexplorer2": {
7850
7924
  "targets": {
7851
7925
  "dotnet": {
@@ -9241,6 +9315,6 @@
9241
9315
  "symbolId": "lib/index:LambdaToElasticachememcachedProps"
9242
9316
  }
9243
9317
  },
9244
- "version": "2.102.0",
9245
- "fingerprint": "G+IqHcf7spy7j8T7zgR/FF1t16OE+iHWz9ue4V/oPoI="
9318
+ "version": "2.103.0",
9319
+ "fingerprint": "9ZUEoyOwtWlOw51/FoGFE7XUZh8XMaqNfraqEE2YXYI="
9246
9320
  }
package/lib/index.js CHANGED
@@ -61,7 +61,7 @@ class LambdaToElasticachememcached extends constructs_1.Construct {
61
61
  }
62
62
  exports.LambdaToElasticachememcached = LambdaToElasticachememcached;
63
63
  _a = JSII_RTTI_SYMBOL_1;
64
- LambdaToElasticachememcached[_a] = { fqn: "@aws-solutions-constructs/aws-lambda-elasticachememcached.LambdaToElasticachememcached", version: "2.102.0" };
64
+ LambdaToElasticachememcached[_a] = { fqn: "@aws-solutions-constructs/aws-lambda-elasticachememcached.LambdaToElasticachememcached", version: "2.103.0" };
65
65
  function AddLambdaEnvironmentVariable(targetFunction, value, defaultName, clientName) {
66
66
  const variableName = clientName || defaultName;
67
67
  targetFunction.addEnvironment(variableName, value);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-solutions-constructs/aws-lambda-elasticachememcached",
3
- "version": "2.102.0",
3
+ "version": "2.103.0",
4
4
  "description": "CDK constructs for defining an interaction between an AWS Lambda function and an Amazon Elasticache memcached cache.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -54,14 +54,14 @@
54
54
  }
55
55
  },
56
56
  "dependencies": {
57
- "@aws-solutions-constructs/core": "2.102.0",
57
+ "@aws-solutions-constructs/core": "2.103.0",
58
58
  "constructs": "^10.0.0"
59
59
  },
60
60
  "devDependencies": {
61
- "@aws-cdk/integ-tests-alpha": "2.254.0-alpha.0",
61
+ "@aws-cdk/integ-tests-alpha": "2.260.0-alpha.0",
62
62
  "@types/node": "^20.0.0",
63
63
  "constructs": "^10.0.0",
64
- "aws-cdk-lib": "2.254.0"
64
+ "aws-cdk-lib": "2.260.0"
65
65
  },
66
66
  "jest": {
67
67
  "moduleFileExtensions": [
@@ -78,9 +78,9 @@
78
78
  ]
79
79
  },
80
80
  "peerDependencies": {
81
- "@aws-solutions-constructs/core": "2.102.0",
81
+ "@aws-solutions-constructs/core": "2.103.0",
82
82
  "constructs": "^10.0.0",
83
- "aws-cdk-lib": "^2.254.0"
83
+ "aws-cdk-lib": "^2.260.0"
84
84
  },
85
85
  "keywords": [
86
86
  "aws",
@@ -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-existingResources/Integ/DefaultTest": {
5
5
  "stacks": [
@@ -9,5 +9,5 @@
9
9
  "assertionStackName": "lammemexistingResourcesIntegDefaultTestDeployAssertD269DF67"
10
10
  }
11
11
  },
12
- "minimumCliVersion": "2.1105.0"
12
+ "minimumCliVersion": "2.1128.1"
13
13
  }
@@ -1,30 +1,30 @@
1
1
  {
2
- "version": "50.0.0",
2
+ "version": "54.0.0",
3
3
  "files": {
4
- "7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200": {
4
+ "02b51ab524e7bcf8f477de3e71e5f9a72e448301b26ba62e9e75a14f9c55a093": {
5
5
  "displayName": "lammem-existingResources/Custom::VpcRestrictDefaultSGCustomResourceProvider Code",
6
6
  "source": {
7
- "path": "asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200",
7
+ "path": "asset.02b51ab524e7bcf8f477de3e71e5f9a72e448301b26ba62e9e75a14f9c55a093",
8
8
  "packaging": "zip"
9
9
  },
10
10
  "destinations": {
11
- "current_account-current_region-2561d6a5": {
11
+ "current_account-current_region-21e1d885": {
12
12
  "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
13
- "objectKey": "7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200.zip",
13
+ "objectKey": "02b51ab524e7bcf8f477de3e71e5f9a72e448301b26ba62e9e75a14f9c55a093.zip",
14
14
  "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
15
15
  }
16
16
  }
17
17
  },
18
- "381dfd732bdd4ea99d17935402885dd4d64f679290f8b9fd9831be8b90aafec8": {
18
+ "cfc54777a45754465652eeca7686ad863d6053a52c4c6ce13bc1ec7ffc7eac09": {
19
19
  "displayName": "lammem-existingResources Template",
20
20
  "source": {
21
21
  "path": "lammem-existingResources.template.json",
22
22
  "packaging": "file"
23
23
  },
24
24
  "destinations": {
25
- "current_account-current_region-c26e75a2": {
25
+ "current_account-current_region-9f687ffa": {
26
26
  "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
27
- "objectKey": "381dfd732bdd4ea99d17935402885dd4d64f679290f8b9fd9831be8b90aafec8.json",
27
+ "objectKey": "cfc54777a45754465652eeca7686ad863d6053a52c4c6ce13bc1ec7ffc7eac09.json",
28
28
  "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
29
29
  }
30
30
  }
@@ -0,0 +1,372 @@
1
+ {
2
+ "/lammem-existingResources/Vpc": [
3
+ {
4
+ "type": "aws:cdk:analytics:construct",
5
+ "data": {
6
+ "natGateways": "*",
7
+ "subnetConfiguration": [
8
+ {
9
+ "cidrMask": "*",
10
+ "name": "*",
11
+ "subnetType": "Isolated"
12
+ }
13
+ ],
14
+ "enableDnsHostnames": true,
15
+ "enableDnsSupport": true,
16
+ "ipAddresses": "*"
17
+ }
18
+ }
19
+ ],
20
+ "/lammem-existingResources/Custom::VpcRestrictDefaultSGCustomResourceProvider": [
21
+ {
22
+ "type": "aws:cdk:is-custom-resource-handler-customResourceProvider",
23
+ "data": true
24
+ }
25
+ ],
26
+ "/lammem-existingResources/test-sg-security-group": [
27
+ {
28
+ "type": "aws:cdk:analytics:construct",
29
+ "data": {
30
+ "vpc": "*"
31
+ }
32
+ }
33
+ ],
34
+ "/lammem-existingResources/test-function": [
35
+ {
36
+ "type": "aws:cdk:analytics:construct",
37
+ "data": {
38
+ "runtime": "*",
39
+ "handler": "*",
40
+ "code": "*",
41
+ "vpc": "*",
42
+ "securityGroups": [
43
+ "*"
44
+ ]
45
+ }
46
+ },
47
+ {
48
+ "type": "aws:cdk:analytics:method",
49
+ "data": {
50
+ "addEnvironment": [
51
+ "*",
52
+ "*"
53
+ ]
54
+ }
55
+ }
56
+ ],
57
+ "/lammem-existingResources/ec-subnetgroup-test-cache": [
58
+ {
59
+ "type": "aws:cdk:logicalId",
60
+ "data": "ecsubnetgrouptestcache"
61
+ }
62
+ ],
63
+ "/lammem-existingResources/test-cache-cachesg": [
64
+ {
65
+ "type": "aws:cdk:analytics:construct",
66
+ "data": {
67
+ "vpc": "*",
68
+ "allowAllOutbound": true
69
+ }
70
+ }
71
+ ],
72
+ "/lammem-existingResources/test-cache-cluster": [
73
+ {
74
+ "type": "aws:cdk:logicalId",
75
+ "data": "testcachecluster"
76
+ }
77
+ ],
78
+ "/lammem-existingResources/BootstrapVersion": [
79
+ {
80
+ "type": "aws:cdk:logicalId",
81
+ "data": "BootstrapVersion"
82
+ }
83
+ ],
84
+ "/lammem-existingResources/CheckBootstrapVersion": [
85
+ {
86
+ "type": "aws:cdk:logicalId",
87
+ "data": "CheckBootstrapVersion"
88
+ }
89
+ ],
90
+ "/lammem-existingResources/Vpc/Resource": [
91
+ {
92
+ "type": "aws:cdk:logicalId",
93
+ "data": "Vpc8378EB38"
94
+ }
95
+ ],
96
+ "/lammem-existingResources/Vpc/isolatedSubnet1": [
97
+ {
98
+ "type": "aws:cdk:analytics:construct",
99
+ "data": {
100
+ "availabilityZone": "*",
101
+ "vpcId": "*",
102
+ "cidrBlock": "*",
103
+ "mapPublicIpOnLaunch": false,
104
+ "ipv6CidrBlock": "*",
105
+ "assignIpv6AddressOnCreation": "*"
106
+ }
107
+ },
108
+ {
109
+ "type": "aws:cdk:analytics:construct",
110
+ "data": {
111
+ "availabilityZone": "*",
112
+ "vpcId": "*",
113
+ "cidrBlock": "*",
114
+ "mapPublicIpOnLaunch": false,
115
+ "ipv6CidrBlock": "*",
116
+ "assignIpv6AddressOnCreation": "*"
117
+ }
118
+ }
119
+ ],
120
+ "/lammem-existingResources/Vpc/isolatedSubnet2": [
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
+ "type": "aws:cdk:analytics:construct",
134
+ "data": {
135
+ "availabilityZone": "*",
136
+ "vpcId": "*",
137
+ "cidrBlock": "*",
138
+ "mapPublicIpOnLaunch": false,
139
+ "ipv6CidrBlock": "*",
140
+ "assignIpv6AddressOnCreation": "*"
141
+ }
142
+ }
143
+ ],
144
+ "/lammem-existingResources/Vpc/RestrictDefaultSecurityGroupCustomResource": [
145
+ {
146
+ "type": "aws:cdk:analytics:construct",
147
+ "data": "*"
148
+ }
149
+ ],
150
+ "/lammem-existingResources/Vpc/FlowLog": [
151
+ {
152
+ "type": "aws:cdk:analytics:construct",
153
+ "data": {
154
+ "resourceType": "*"
155
+ }
156
+ }
157
+ ],
158
+ "/lammem-existingResources/Custom::VpcRestrictDefaultSGCustomResourceProvider/Role": [
159
+ {
160
+ "type": "aws:cdk:logicalId",
161
+ "data": "CustomVpcRestrictDefaultSGCustomResourceProviderRole26592FE0"
162
+ }
163
+ ],
164
+ "/lammem-existingResources/Custom::VpcRestrictDefaultSGCustomResourceProvider/Handler": [
165
+ {
166
+ "type": "aws:cdk:logicalId",
167
+ "data": "CustomVpcRestrictDefaultSGCustomResourceProviderHandlerDC833E5E"
168
+ }
169
+ ],
170
+ "/lammem-existingResources/test-sg-security-group/Resource": [
171
+ {
172
+ "type": "aws:cdk:logicalId",
173
+ "data": "testsgsecuritygroup89DCF621"
174
+ }
175
+ ],
176
+ "/lammem-existingResources/test-function/ServiceRole": [
177
+ {
178
+ "type": "aws:cdk:analytics:construct",
179
+ "data": {
180
+ "assumedBy": {
181
+ "principalAccount": "*",
182
+ "assumeRoleAction": "*"
183
+ },
184
+ "managedPolicies": [
185
+ {
186
+ "managedPolicyArn": "*"
187
+ },
188
+ {
189
+ "managedPolicyArn": "*"
190
+ }
191
+ ]
192
+ }
193
+ }
194
+ ],
195
+ "/lammem-existingResources/test-function/Resource": [
196
+ {
197
+ "type": "aws:cdk:logicalId",
198
+ "data": "testfunction5B23D3B0"
199
+ }
200
+ ],
201
+ "/lammem-existingResources/test-cache-cachesg/Resource": [
202
+ {
203
+ "type": "aws:cdk:logicalId",
204
+ "data": "testcachecachesg7265880E"
205
+ }
206
+ ],
207
+ "/lammem-existingResources/lammem-existingResources/lammem-existingResources-cachesg": [
208
+ {
209
+ "type": "aws:cdk:analytics:construct",
210
+ "data": {
211
+ "vpc": "*",
212
+ "allowAllOutbound": true
213
+ }
214
+ }
215
+ ],
216
+ "/lammem-existingResources/lammem-existingResources/lammem-existingResources-ingress": [
217
+ {
218
+ "type": "aws:cdk:logicalId",
219
+ "data": "lammemexistingResourceslammemexistingResourcesingress225EA10E"
220
+ }
221
+ ],
222
+ "/lammem-existingResources/Vpc/isolatedSubnet1/Subnet": [
223
+ {
224
+ "type": "aws:cdk:logicalId",
225
+ "data": "VpcisolatedSubnet1SubnetE62B1B9B"
226
+ }
227
+ ],
228
+ "/lammem-existingResources/Vpc/isolatedSubnet1/RouteTable": [
229
+ {
230
+ "type": "aws:cdk:logicalId",
231
+ "data": "VpcisolatedSubnet1RouteTableE442650B"
232
+ }
233
+ ],
234
+ "/lammem-existingResources/Vpc/isolatedSubnet1/RouteTableAssociation": [
235
+ {
236
+ "type": "aws:cdk:logicalId",
237
+ "data": "VpcisolatedSubnet1RouteTableAssociationD259E31A"
238
+ }
239
+ ],
240
+ "/lammem-existingResources/Vpc/isolatedSubnet2/Subnet": [
241
+ {
242
+ "type": "aws:cdk:logicalId",
243
+ "data": "VpcisolatedSubnet2Subnet39217055"
244
+ }
245
+ ],
246
+ "/lammem-existingResources/Vpc/isolatedSubnet2/RouteTable": [
247
+ {
248
+ "type": "aws:cdk:logicalId",
249
+ "data": "VpcisolatedSubnet2RouteTable334F9764"
250
+ }
251
+ ],
252
+ "/lammem-existingResources/Vpc/isolatedSubnet2/RouteTableAssociation": [
253
+ {
254
+ "type": "aws:cdk:logicalId",
255
+ "data": "VpcisolatedSubnet2RouteTableAssociation25A4716F"
256
+ }
257
+ ],
258
+ "/lammem-existingResources/Vpc/RestrictDefaultSecurityGroupCustomResource/Default": [
259
+ {
260
+ "type": "aws:cdk:logicalId",
261
+ "data": "VpcRestrictDefaultSecurityGroupCustomResourceC73DA2BE"
262
+ }
263
+ ],
264
+ "/lammem-existingResources/Vpc/FlowLog/IAMRole": [
265
+ {
266
+ "type": "aws:cdk:analytics:construct",
267
+ "data": {
268
+ "roleName": "*",
269
+ "assumedBy": {
270
+ "principalAccount": "*",
271
+ "assumeRoleAction": "*"
272
+ }
273
+ }
274
+ },
275
+ {
276
+ "type": "aws:cdk:analytics:method",
277
+ "data": {
278
+ "addToPrincipalPolicy": [
279
+ {}
280
+ ]
281
+ }
282
+ },
283
+ {
284
+ "type": "aws:cdk:analytics:method",
285
+ "data": {
286
+ "attachInlinePolicy": [
287
+ "*"
288
+ ]
289
+ }
290
+ },
291
+ {
292
+ "type": "aws:cdk:analytics:method",
293
+ "data": {
294
+ "attachInlinePolicy": [
295
+ "*"
296
+ ]
297
+ }
298
+ }
299
+ ],
300
+ "/lammem-existingResources/Vpc/FlowLog/LogGroup": [
301
+ {
302
+ "type": "aws:cdk:analytics:construct",
303
+ "data": "*"
304
+ }
305
+ ],
306
+ "/lammem-existingResources/Vpc/FlowLog/FlowLog": [
307
+ {
308
+ "type": "aws:cdk:logicalId",
309
+ "data": "VpcFlowLog8FF33A73"
310
+ }
311
+ ],
312
+ "/lammem-existingResources/test-function/ServiceRole/Resource": [
313
+ {
314
+ "type": "aws:cdk:logicalId",
315
+ "data": "testfunctionServiceRoleFB85AD63"
316
+ }
317
+ ],
318
+ "/lammem-existingResources/lammem-existingResources/lammem-existingResources-cachesg/Resource": [
319
+ {
320
+ "type": "aws:cdk:logicalId",
321
+ "data": "lammemexistingResourceslammemexistingResourcescachesg832A8E40"
322
+ }
323
+ ],
324
+ "/lammem-existingResources/Vpc/FlowLog/IAMRole/Resource": [
325
+ {
326
+ "type": "aws:cdk:logicalId",
327
+ "data": "VpcFlowLogIAMRole6A475D41"
328
+ }
329
+ ],
330
+ "/lammem-existingResources/Vpc/FlowLog/IAMRole/DefaultPolicy": [
331
+ {
332
+ "type": "aws:cdk:analytics:construct",
333
+ "data": "*"
334
+ },
335
+ {
336
+ "type": "aws:cdk:analytics:method",
337
+ "data": {
338
+ "attachToRole": [
339
+ "*"
340
+ ]
341
+ }
342
+ },
343
+ {
344
+ "type": "aws:cdk:analytics:method",
345
+ "data": {
346
+ "attachToRole": [
347
+ "*"
348
+ ]
349
+ }
350
+ },
351
+ {
352
+ "type": "aws:cdk:analytics:method",
353
+ "data": {
354
+ "addStatements": [
355
+ {}
356
+ ]
357
+ }
358
+ }
359
+ ],
360
+ "/lammem-existingResources/Vpc/FlowLog/LogGroup/Resource": [
361
+ {
362
+ "type": "aws:cdk:logicalId",
363
+ "data": "VpcFlowLogLogGroup7B5C56B9"
364
+ }
365
+ ],
366
+ "/lammem-existingResources/Vpc/FlowLog/IAMRole/DefaultPolicy/Resource": [
367
+ {
368
+ "type": "aws:cdk:logicalId",
369
+ "data": "VpcFlowLogIAMRoleDefaultPolicy406FB995"
370
+ }
371
+ ]
372
+ }
@@ -336,7 +336,7 @@
336
336
  "S3Bucket": {
337
337
  "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
338
338
  },
339
- "S3Key": "7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200.zip"
339
+ "S3Key": "02b51ab524e7bcf8f477de3e71e5f9a72e448301b26ba62e9e75a14f9c55a093.zip"
340
340
  },
341
341
  "Timeout": 900,
342
342
  "MemorySize": 128,
@@ -347,7 +347,7 @@
347
347
  "Arn"
348
348
  ]
349
349
  },
350
- "Runtime": "nodejs22.x",
350
+ "Runtime": "nodejs24.x",
351
351
  "Description": "Lambda function for removing all inbound/outbound rules from the VPC default security group"
352
352
  },
353
353
  "DependsOn": [
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "50.0.0",
2
+ "version": "54.0.0",
3
3
  "files": {
4
4
  "21fbb51d7b23f6a6c262b46a9caee79d744a3ac019fd45422d988b96d44b2a22": {
5
5
  "displayName": "lammemexistingResourcesIntegDefaultTestDeployAssertD269DF67 Template",
@@ -0,0 +1,14 @@
1
+ {
2
+ "/lammem-existingResources/Integ/DefaultTest/DeployAssert/BootstrapVersion": [
3
+ {
4
+ "type": "aws:cdk:logicalId",
5
+ "data": "BootstrapVersion"
6
+ }
7
+ ],
8
+ "/lammem-existingResources/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion": [
9
+ {
10
+ "type": "aws:cdk:logicalId",
11
+ "data": "CheckBootstrapVersion"
12
+ }
13
+ ]
14
+ }