@lambda-kata/cdk 0.1.3-rc.71 → 0.1.3-rc.73
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.
- package/out/dist/index.js +34 -34
- package/out/tsc/src/kata-wrapper.d.ts +0 -26
- package/package.json +2 -2
|
@@ -187,32 +187,6 @@ export declare function isNodejsRuntime(lambda: NodejsFunction | LambdaFunction)
|
|
|
187
187
|
* @internal
|
|
188
188
|
*/
|
|
189
189
|
export declare function getLambdaArchitecture(lambda: NodejsFunction | LambdaFunction): 'x86_64' | 'arm64';
|
|
190
|
-
/**
|
|
191
|
-
* Applies the Lambda Kata transformation to a Lambda function.
|
|
192
|
-
*
|
|
193
|
-
* This function modifies the Lambda construct in-place to:
|
|
194
|
-
* 1. Create and attach a config layer with the original handler path
|
|
195
|
-
* 2. Change the runtime to Python 3.12
|
|
196
|
-
* 3. Set the handler to the Lambda Kata handler
|
|
197
|
-
* 4. Attach the customer-specific Lambda Layer
|
|
198
|
-
* 5. Add additional environment variables for the Lambda Kata runtime
|
|
199
|
-
*
|
|
200
|
-
* @param lambda - The Lambda function to transform
|
|
201
|
-
* @param config - The transformation configuration
|
|
202
|
-
*
|
|
203
|
-
* @remarks
|
|
204
|
-
* Validates: Requirements 2.2, 2.3, 2.4, 3.3, 3.4, 4.1, 4.2, 5.4
|
|
205
|
-
* - 2.2: THE kata_Wrapper SHALL change the Lambda runtime from Node.js to Python 3.12
|
|
206
|
-
* - 2.3: THE kata_Wrapper SHALL set the Lambda handler to `lambdakata.optimized_handler.lambda_handler`
|
|
207
|
-
* - 2.4: THE kata_Wrapper SHALL attach the customer-specific Lambda_Layer ARN to the Lambda
|
|
208
|
-
* - 3.3: THE kata_Wrapper SHALL attach the Config_Layer to the transformed Lambda
|
|
209
|
-
* - 3.4: THE kata_Wrapper SHALL NOT set the `JS_HANDLER_PATH` environment variable
|
|
210
|
-
* - 4.1: THE kata_Wrapper SHALL NOT add the `JS_HANDLER_PATH` environment variable to transformed Lambdas
|
|
211
|
-
* - 4.2: WHEN `bundlePath` is specified, THE kata_Wrapper SHALL write it to the Config_Layer JSON as `bundle_path`
|
|
212
|
-
* - 5.4: THE compiled middleware SHALL be included in the Config_Layer at `/opt/.kata/middleware.js`
|
|
213
|
-
*
|
|
214
|
-
* @internal
|
|
215
|
-
*/
|
|
216
190
|
export declare function applyTransformation(lambda: NodejsFunction | LambdaFunction, config: TransformationConfig): void;
|
|
217
191
|
/**
|
|
218
192
|
* Handles the case when an account is not licensed.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lambda-kata/cdk",
|
|
3
|
-
"version": "0.1.3-rc.
|
|
3
|
+
"version": "0.1.3-rc.73",
|
|
4
4
|
"description": "AWS CDK integration for Lambda Kata - Node.js Lambdas running via Lambda Kata runtime",
|
|
5
5
|
"main": "out/dist/index.js",
|
|
6
6
|
"types": "out/tsc/src/index.d.ts",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"@aws-sdk/client-lambda": "^3.500.0",
|
|
58
58
|
"@aws-sdk/client-s3": "^3.500.0",
|
|
59
59
|
"@aws-sdk/client-sts": "^3.500.0",
|
|
60
|
-
"@lambda-kata/licensing": "0.1.
|
|
60
|
+
"@lambda-kata/licensing": "0.1.30",
|
|
61
61
|
"dotenv": "^17.2.3",
|
|
62
62
|
"reflect-metadata": "^0.2.2"
|
|
63
63
|
},
|