@aws-solutions-constructs/aws-lambda-elasticachememcached 2.79.0 → 2.80.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 +4 -43
  2. package/lib/index.js +1 -1
  3. package/package.json +6 -6
  4. package/test/integ.lammem-existingResources.js.snapshot/asset.69e370dcce5ccdf0f2e726ecb0826d434cccdb06e0814e8b0d907129183e5d36/index.js +21 -0
  5. package/test/integ.lammem-existingResources.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +1 -0
  6. package/test/integ.lammem-existingResources.js.snapshot/cdk.out +1 -1
  7. package/test/integ.lammem-existingResources.js.snapshot/integ.json +1 -1
  8. package/test/integ.lammem-existingResources.js.snapshot/lammem-existingResources.assets.json +9 -9
  9. package/test/integ.lammem-existingResources.js.snapshot/lammem-existingResources.template.json +6 -6
  10. package/test/integ.lammem-existingResources.js.snapshot/lammemexistingResourcesIntegDefaultTestDeployAssertD269DF67.assets.json +1 -1
  11. package/test/integ.lammem-existingResources.js.snapshot/manifest.json +256 -2
  12. package/test/integ.lammem-existingResources.js.snapshot/tree.json +231 -58
  13. package/test/integ.lammem-newResources.js.snapshot/asset.69e370dcce5ccdf0f2e726ecb0826d434cccdb06e0814e8b0d907129183e5d36/index.js +21 -0
  14. package/test/integ.lammem-newResources.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__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 +1 -1
  17. package/test/integ.lammem-newResources.js.snapshot/lammem-newResources.assets.json +9 -9
  18. package/test/integ.lammem-newResources.js.snapshot/lammem-newResources.template.json +6 -6
  19. package/test/integ.lammem-newResources.js.snapshot/lammemnewResourcesIntegDefaultTestDeployAssert30C906BF.assets.json +1 -1
  20. package/test/integ.lammem-newResources.js.snapshot/manifest.json +331 -2
  21. package/test/integ.lammem-newResources.js.snapshot/tree.json +276 -58
  22. package/test/integ.lammem-withClientProps.js.snapshot/asset.69e370dcce5ccdf0f2e726ecb0826d434cccdb06e0814e8b0d907129183e5d36/index.js +21 -0
  23. package/test/integ.lammem-withClientProps.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +1 -0
  24. package/test/integ.lammem-withClientProps.js.snapshot/cdk.out +1 -1
  25. package/test/integ.lammem-withClientProps.js.snapshot/integ.json +1 -1
  26. package/test/integ.lammem-withClientProps.js.snapshot/lammem-withClientProps.assets.json +9 -9
  27. package/test/integ.lammem-withClientProps.js.snapshot/lammem-withClientProps.template.json +6 -6
  28. package/test/integ.lammem-withClientProps.js.snapshot/lammemwithClientPropsIntegDefaultTestDeployAssertDB086BD1.assets.json +1 -1
  29. package/test/integ.lammem-withClientProps.js.snapshot/manifest.json +332 -2
  30. package/test/integ.lammem-withClientProps.js.snapshot/tree.json +277 -58
  31. package/test/integ.lammem-existingResources.js.snapshot/asset.c1b23d6af38c04acb744bda25a3dc7f4394daea942c67eaff40911a707a3c37a/index.js +0 -8
  32. package/test/integ.lammem-existingResources.js.snapshot/asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a/__entrypoint__.js +0 -1
  33. package/test/integ.lammem-newResources.js.snapshot/asset.c1b23d6af38c04acb744bda25a3dc7f4394daea942c67eaff40911a707a3c37a/index.js +0 -8
  34. package/test/integ.lammem-newResources.js.snapshot/asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a/__entrypoint__.js +0 -1
  35. package/test/integ.lammem-withClientProps.js.snapshot/asset.c1b23d6af38c04acb744bda25a3dc7f4394daea942c67eaff40911a707a3c37a/index.js +0 -8
  36. package/test/integ.lammem-withClientProps.js.snapshot/asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a/__entrypoint__.js +0 -1
  37. /package/test/integ.lammem-existingResources.js.snapshot/{asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a → asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200}/index.js +0 -0
  38. /package/test/integ.lammem-newResources.js.snapshot/{asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a → asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200}/index.js +0 -0
  39. /package/test/integ.lammem-withClientProps.js.snapshot/{asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a → asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200}/index.js +0 -0
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
5
+ * with the License. A copy of the License is located at
6
+ *
7
+ * http://www.apache.org/licenses/LICENSE-2.0
8
+ *
9
+ * or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
10
+ * OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
11
+ * and limitations under the License.
12
+ */
13
+
14
+ exports.handler = async function (event) {
15
+ console.log(`request:${JSON.stringify(event, undefined, 2)}`);
16
+ return {
17
+ statusCode: 200,
18
+ headers: { "Content-Type": "text/plain" },
19
+ body: `Hello, AWS Solutions Constructs! You've hit ${event.path}`,
20
+ };
21
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.external=void 0,exports.handler=handler,exports.withRetries=withRetries;const https=require("https"),url=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":"36.0.0"}
1
+ {"version":"39.0.0"}
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "36.0.0",
2
+ "version": "39.0.0",
3
3
  "testCases": {
4
4
  "lammem-withClientProps/Integ/DefaultTest": {
5
5
  "stacks": [
@@ -1,33 +1,33 @@
1
1
  {
2
- "version": "36.0.0",
2
+ "version": "39.0.0",
3
3
  "files": {
4
- "ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a": {
4
+ "7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200": {
5
5
  "source": {
6
- "path": "asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a",
6
+ "path": "asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200",
7
7
  "packaging": "zip"
8
8
  },
9
9
  "destinations": {
10
10
  "current_account-current_region": {
11
11
  "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
12
- "objectKey": "ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a.zip",
12
+ "objectKey": "7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200.zip",
13
13
  "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
14
14
  }
15
15
  }
16
16
  },
17
- "c1b23d6af38c04acb744bda25a3dc7f4394daea942c67eaff40911a707a3c37a": {
17
+ "69e370dcce5ccdf0f2e726ecb0826d434cccdb06e0814e8b0d907129183e5d36": {
18
18
  "source": {
19
- "path": "asset.c1b23d6af38c04acb744bda25a3dc7f4394daea942c67eaff40911a707a3c37a",
19
+ "path": "asset.69e370dcce5ccdf0f2e726ecb0826d434cccdb06e0814e8b0d907129183e5d36",
20
20
  "packaging": "zip"
21
21
  },
22
22
  "destinations": {
23
23
  "current_account-current_region": {
24
24
  "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
25
- "objectKey": "c1b23d6af38c04acb744bda25a3dc7f4394daea942c67eaff40911a707a3c37a.zip",
25
+ "objectKey": "69e370dcce5ccdf0f2e726ecb0826d434cccdb06e0814e8b0d907129183e5d36.zip",
26
26
  "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
27
27
  }
28
28
  }
29
29
  },
30
- "3e7674dcfa65f206ee5bc0bba8e5a4857449f0283a20b692f6795484f44f49b4": {
30
+ "eb2648a9ecf39ec8c020910dc73d1abc114fdf22a973ef4599605dae8a789c5e": {
31
31
  "source": {
32
32
  "path": "lammem-withClientProps.template.json",
33
33
  "packaging": "file"
@@ -35,7 +35,7 @@
35
35
  "destinations": {
36
36
  "current_account-current_region": {
37
37
  "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
38
- "objectKey": "3e7674dcfa65f206ee5bc0bba8e5a4857449f0283a20b692f6795484f44f49b4.json",
38
+ "objectKey": "eb2648a9ecf39ec8c020910dc73d1abc114fdf22a973ef4599605dae8a789c5e.json",
39
39
  "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
40
40
  }
41
41
  }
@@ -231,7 +231,7 @@
231
231
  "S3Bucket": {
232
232
  "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
233
233
  },
234
- "S3Key": "c1b23d6af38c04acb744bda25a3dc7f4394daea942c67eaff40911a707a3c37a.zip"
234
+ "S3Key": "69e370dcce5ccdf0f2e726ecb0826d434cccdb06e0814e8b0d907129183e5d36.zip"
235
235
  },
236
236
  "Environment": {
237
237
  "Variables": {
@@ -664,7 +664,7 @@
664
664
  "S3Bucket": {
665
665
  "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
666
666
  },
667
- "S3Key": "ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a.zip"
667
+ "S3Key": "7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200.zip"
668
668
  },
669
669
  "Timeout": 900,
670
670
  "MemorySize": 128,
@@ -757,10 +757,10 @@
757
757
  "value": "nodejs20.x"
758
758
  },
759
759
  "cn-north-1": {
760
- "value": "nodejs18.x"
760
+ "value": "nodejs20.x"
761
761
  },
762
762
  "cn-northwest-1": {
763
- "value": "nodejs18.x"
763
+ "value": "nodejs20.x"
764
764
  },
765
765
  "eu-central-1": {
766
766
  "value": "nodejs20.x"
@@ -811,10 +811,10 @@
811
811
  "value": "nodejs20.x"
812
812
  },
813
813
  "us-gov-east-1": {
814
- "value": "nodejs18.x"
814
+ "value": "nodejs20.x"
815
815
  },
816
816
  "us-gov-west-1": {
817
- "value": "nodejs18.x"
817
+ "value": "nodejs20.x"
818
818
  },
819
819
  "us-iso-east-1": {
820
820
  "value": "nodejs18.x"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "36.0.0",
2
+ "version": "39.0.0",
3
3
  "files": {
4
4
  "21fbb51d7b23f6a6c262b46a9caee79d744a3ac019fd45422d988b96d44b2a22": {
5
5
  "source": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "36.0.0",
2
+ "version": "40.0.0",
3
3
  "artifacts": {
4
4
  "lammemwithClientPropsIntegDefaultTestDeployAssertDB086BD1.assets": {
5
5
  "type": "cdk:asset-manifest",
@@ -66,7 +66,7 @@
66
66
  "validateOnSynth": false,
67
67
  "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
68
68
  "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}/3e7674dcfa65f206ee5bc0bba8e5a4857449f0283a20b692f6795484f44f49b4.json",
69
+ "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/eb2648a9ecf39ec8c020910dc73d1abc114fdf22a973ef4599605dae8a789c5e.json",
70
70
  "requiresBootstrapStackVersion": 6,
71
71
  "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
72
72
  "additionalDependencies": [
@@ -82,6 +82,15 @@
82
82
  "lammem-withClientProps.assets"
83
83
  ],
84
84
  "metadata": {
85
+ "/lammem-withClientProps/lammem-withClientProps/lammem-withClientProps-cachesg": [
86
+ {
87
+ "type": "aws:cdk:analytics:construct",
88
+ "data": {
89
+ "vpc": "*",
90
+ "allowAllOutbound": true
91
+ }
92
+ }
93
+ ],
85
94
  "/lammem-withClientProps/lammem-withClientProps/lammem-withClientProps-cachesg/Resource": [
86
95
  {
87
96
  "type": "aws:cdk:logicalId",
@@ -106,36 +115,219 @@
106
115
  "data": "lammemwithClientPropslammemwithClientPropscluster6611E8C2"
107
116
  }
108
117
  ],
118
+ "/lammem-withClientProps/lammem-withClientProps/LambdaFunctionServiceRole": [
119
+ {
120
+ "type": "aws:cdk:analytics:construct",
121
+ "data": {
122
+ "assumedBy": {
123
+ "principalAccount": "*",
124
+ "assumeRoleAction": "*"
125
+ },
126
+ "inlinePolicies": "*"
127
+ }
128
+ },
129
+ {
130
+ "type": "aws:cdk:analytics:method",
131
+ "data": {
132
+ "addToPolicy": [
133
+ {}
134
+ ]
135
+ }
136
+ },
137
+ {
138
+ "type": "aws:cdk:analytics:method",
139
+ "data": {
140
+ "addToPrincipalPolicy": [
141
+ {}
142
+ ]
143
+ }
144
+ },
145
+ {
146
+ "type": "aws:cdk:analytics:method",
147
+ "data": {
148
+ "attachInlinePolicy": [
149
+ "*"
150
+ ]
151
+ }
152
+ },
153
+ {
154
+ "type": "aws:cdk:analytics:method",
155
+ "data": {
156
+ "attachInlinePolicy": [
157
+ "*"
158
+ ]
159
+ }
160
+ },
161
+ {
162
+ "type": "aws:cdk:analytics:method",
163
+ "data": {
164
+ "addToPrincipalPolicy": [
165
+ {}
166
+ ]
167
+ }
168
+ }
169
+ ],
170
+ "/lammem-withClientProps/lammem-withClientProps/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole": [
171
+ {
172
+ "type": "aws:cdk:analytics:construct",
173
+ "data": "*"
174
+ }
175
+ ],
109
176
  "/lammem-withClientProps/lammem-withClientProps/LambdaFunctionServiceRole/Resource": [
110
177
  {
111
178
  "type": "aws:cdk:logicalId",
112
179
  "data": "lammemwithClientPropsLambdaFunctionServiceRole4A4D2BF6"
113
180
  }
114
181
  ],
182
+ "/lammem-withClientProps/lammem-withClientProps/LambdaFunctionServiceRole/DefaultPolicy": [
183
+ {
184
+ "type": "aws:cdk:analytics:construct",
185
+ "data": "*"
186
+ },
187
+ {
188
+ "type": "aws:cdk:analytics:method",
189
+ "data": {
190
+ "attachToRole": [
191
+ "*"
192
+ ]
193
+ }
194
+ },
195
+ {
196
+ "type": "aws:cdk:analytics:method",
197
+ "data": {
198
+ "attachToRole": [
199
+ "*"
200
+ ]
201
+ }
202
+ },
203
+ {
204
+ "type": "aws:cdk:analytics:method",
205
+ "data": {
206
+ "addStatements": [
207
+ {}
208
+ ]
209
+ }
210
+ },
211
+ {
212
+ "type": "aws:cdk:analytics:method",
213
+ "data": {
214
+ "addStatements": [
215
+ {}
216
+ ]
217
+ }
218
+ }
219
+ ],
115
220
  "/lammem-withClientProps/lammem-withClientProps/LambdaFunctionServiceRole/DefaultPolicy/Resource": [
116
221
  {
117
222
  "type": "aws:cdk:logicalId",
118
223
  "data": "lammemwithClientPropsLambdaFunctionServiceRoleDefaultPolicy50E02A22"
119
224
  }
120
225
  ],
226
+ "/lammem-withClientProps/lammem-withClientProps/ReplaceDefaultSecurityGroup-security-group": [
227
+ {
228
+ "type": "aws:cdk:analytics:construct",
229
+ "data": {
230
+ "vpc": "*",
231
+ "allowAllOutbound": true
232
+ }
233
+ }
234
+ ],
121
235
  "/lammem-withClientProps/lammem-withClientProps/ReplaceDefaultSecurityGroup-security-group/Resource": [
122
236
  {
123
237
  "type": "aws:cdk:logicalId",
124
238
  "data": "lammemwithClientPropsReplaceDefaultSecurityGroupsecuritygroup8BCBDD33"
125
239
  }
126
240
  ],
241
+ "/lammem-withClientProps/lammem-withClientProps/LambdaFunction": [
242
+ {
243
+ "type": "aws:cdk:analytics:construct",
244
+ "data": {
245
+ "role": "*",
246
+ "tracing": "Active",
247
+ "runtime": "*",
248
+ "handler": "*",
249
+ "code": "*",
250
+ "securityGroups": [
251
+ "*",
252
+ "*"
253
+ ],
254
+ "vpc": "*"
255
+ }
256
+ },
257
+ {
258
+ "type": "aws:cdk:analytics:method",
259
+ "data": {
260
+ "addEnvironment": [
261
+ "*",
262
+ "*",
263
+ {
264
+ "removeInEdge": true
265
+ }
266
+ ]
267
+ }
268
+ },
269
+ {
270
+ "type": "aws:cdk:analytics:method",
271
+ "data": {
272
+ "addEnvironment": [
273
+ "*",
274
+ "*"
275
+ ]
276
+ }
277
+ }
278
+ ],
127
279
  "/lammem-withClientProps/lammem-withClientProps/LambdaFunction/Resource": [
128
280
  {
129
281
  "type": "aws:cdk:logicalId",
130
282
  "data": "lammemwithClientPropsLambdaFunction28E6BF2F"
131
283
  }
132
284
  ],
285
+ "/lammem-withClientProps/Vpc": [
286
+ {
287
+ "type": "aws:cdk:analytics:construct",
288
+ "data": {
289
+ "natGateways": "*",
290
+ "subnetConfiguration": [
291
+ {
292
+ "cidrMask": "*",
293
+ "name": "*",
294
+ "subnetType": "Isolated"
295
+ }
296
+ ],
297
+ "ipAddresses": "*"
298
+ }
299
+ }
300
+ ],
133
301
  "/lammem-withClientProps/Vpc/Resource": [
134
302
  {
135
303
  "type": "aws:cdk:logicalId",
136
304
  "data": "Vpc8378EB38"
137
305
  }
138
306
  ],
307
+ "/lammem-withClientProps/Vpc/isolatedSubnet1": [
308
+ {
309
+ "type": "aws:cdk:analytics:construct",
310
+ "data": {
311
+ "availabilityZone": "*",
312
+ "vpcId": "*",
313
+ "cidrBlock": "*",
314
+ "mapPublicIpOnLaunch": false,
315
+ "ipv6CidrBlock": "*",
316
+ "assignIpv6AddressOnCreation": "*"
317
+ }
318
+ },
319
+ {
320
+ "type": "aws:cdk:analytics:construct",
321
+ "data": {
322
+ "availabilityZone": "*",
323
+ "vpcId": "*",
324
+ "cidrBlock": "*",
325
+ "mapPublicIpOnLaunch": false,
326
+ "ipv6CidrBlock": "*",
327
+ "assignIpv6AddressOnCreation": "*"
328
+ }
329
+ }
330
+ ],
139
331
  "/lammem-withClientProps/Vpc/isolatedSubnet1/Subnet": [
140
332
  {
141
333
  "type": "aws:cdk:logicalId",
@@ -154,6 +346,30 @@
154
346
  "data": "VpcisolatedSubnet1RouteTableAssociationD259E31A"
155
347
  }
156
348
  ],
349
+ "/lammem-withClientProps/Vpc/isolatedSubnet2": [
350
+ {
351
+ "type": "aws:cdk:analytics:construct",
352
+ "data": {
353
+ "availabilityZone": "*",
354
+ "vpcId": "*",
355
+ "cidrBlock": "*",
356
+ "mapPublicIpOnLaunch": false,
357
+ "ipv6CidrBlock": "*",
358
+ "assignIpv6AddressOnCreation": "*"
359
+ }
360
+ },
361
+ {
362
+ "type": "aws:cdk:analytics:construct",
363
+ "data": {
364
+ "availabilityZone": "*",
365
+ "vpcId": "*",
366
+ "cidrBlock": "*",
367
+ "mapPublicIpOnLaunch": false,
368
+ "ipv6CidrBlock": "*",
369
+ "assignIpv6AddressOnCreation": "*"
370
+ }
371
+ }
372
+ ],
157
373
  "/lammem-withClientProps/Vpc/isolatedSubnet2/Subnet": [
158
374
  {
159
375
  "type": "aws:cdk:logicalId",
@@ -172,24 +388,132 @@
172
388
  "data": "VpcisolatedSubnet2RouteTableAssociation25A4716F"
173
389
  }
174
390
  ],
391
+ "/lammem-withClientProps/Vpc/RestrictDefaultSecurityGroupCustomResource": [
392
+ {
393
+ "type": "aws:cdk:analytics:construct",
394
+ "data": "*"
395
+ }
396
+ ],
175
397
  "/lammem-withClientProps/Vpc/RestrictDefaultSecurityGroupCustomResource/Default": [
176
398
  {
177
399
  "type": "aws:cdk:logicalId",
178
400
  "data": "VpcRestrictDefaultSecurityGroupCustomResourceC73DA2BE"
179
401
  }
180
402
  ],
403
+ "/lammem-withClientProps/Vpc/FlowLog": [
404
+ {
405
+ "type": "aws:cdk:analytics:construct",
406
+ "data": {
407
+ "resourceType": "*"
408
+ }
409
+ }
410
+ ],
411
+ "/lammem-withClientProps/Vpc/FlowLog/IAMRole": [
412
+ {
413
+ "type": "aws:cdk:analytics:construct",
414
+ "data": {
415
+ "roleName": "*",
416
+ "assumedBy": {
417
+ "principalAccount": "*",
418
+ "assumeRoleAction": "*"
419
+ }
420
+ }
421
+ },
422
+ {
423
+ "type": "aws:cdk:analytics:method",
424
+ "data": {
425
+ "addToPrincipalPolicy": [
426
+ {}
427
+ ]
428
+ }
429
+ },
430
+ {
431
+ "type": "aws:cdk:analytics:method",
432
+ "data": {
433
+ "attachInlinePolicy": [
434
+ "*"
435
+ ]
436
+ }
437
+ },
438
+ {
439
+ "type": "aws:cdk:analytics:method",
440
+ "data": {
441
+ "attachInlinePolicy": [
442
+ "*"
443
+ ]
444
+ }
445
+ },
446
+ {
447
+ "type": "aws:cdk:analytics:method",
448
+ "data": {
449
+ "addToPrincipalPolicy": [
450
+ {}
451
+ ]
452
+ }
453
+ }
454
+ ],
455
+ "/lammem-withClientProps/Vpc/FlowLog/IAMRole/ImportIAMRole": [
456
+ {
457
+ "type": "aws:cdk:analytics:construct",
458
+ "data": "*"
459
+ }
460
+ ],
181
461
  "/lammem-withClientProps/Vpc/FlowLog/IAMRole/Resource": [
182
462
  {
183
463
  "type": "aws:cdk:logicalId",
184
464
  "data": "VpcFlowLogIAMRole6A475D41"
185
465
  }
186
466
  ],
467
+ "/lammem-withClientProps/Vpc/FlowLog/IAMRole/DefaultPolicy": [
468
+ {
469
+ "type": "aws:cdk:analytics:construct",
470
+ "data": "*"
471
+ },
472
+ {
473
+ "type": "aws:cdk:analytics:method",
474
+ "data": {
475
+ "attachToRole": [
476
+ "*"
477
+ ]
478
+ }
479
+ },
480
+ {
481
+ "type": "aws:cdk:analytics:method",
482
+ "data": {
483
+ "attachToRole": [
484
+ "*"
485
+ ]
486
+ }
487
+ },
488
+ {
489
+ "type": "aws:cdk:analytics:method",
490
+ "data": {
491
+ "addStatements": [
492
+ {}
493
+ ]
494
+ }
495
+ },
496
+ {
497
+ "type": "aws:cdk:analytics:method",
498
+ "data": {
499
+ "addStatements": [
500
+ {}
501
+ ]
502
+ }
503
+ }
504
+ ],
187
505
  "/lammem-withClientProps/Vpc/FlowLog/IAMRole/DefaultPolicy/Resource": [
188
506
  {
189
507
  "type": "aws:cdk:logicalId",
190
508
  "data": "VpcFlowLogIAMRoleDefaultPolicy406FB995"
191
509
  }
192
510
  ],
511
+ "/lammem-withClientProps/Vpc/FlowLog/LogGroup": [
512
+ {
513
+ "type": "aws:cdk:analytics:construct",
514
+ "data": "*"
515
+ }
516
+ ],
193
517
  "/lammem-withClientProps/Vpc/FlowLog/LogGroup/Resource": [
194
518
  {
195
519
  "type": "aws:cdk:logicalId",
@@ -208,6 +532,12 @@
208
532
  "data": "LatestNodeRuntimeMap"
209
533
  }
210
534
  ],
535
+ "/lammem-withClientProps/Custom::VpcRestrictDefaultSGCustomResourceProvider": [
536
+ {
537
+ "type": "aws:cdk:is-custom-resource-handler-customResourceProvider",
538
+ "data": true
539
+ }
540
+ ],
211
541
  "/lammem-withClientProps/Custom::VpcRestrictDefaultSGCustomResourceProvider/Role": [
212
542
  {
213
543
  "type": "aws:cdk:logicalId",