AWS Lambda Layer with zip
Usage:
// ZipLayer bundles the tar gzip 7z in a lambda layer
import { ZipLayer } from 'cdk-lambda-layer-zip';
declare const fn: lambda.Function;
fn.addLayers(new ZipLayer(this, 'ZipLayer'));
import { ZipLayer } from 'cdk-lambda-layer-zip'
import * as lambda from 'aws-cdk-lib/aws-lambda'
new lambda.Function(this, 'MyLambda', {
code: lambda.Code.fromAsset(path.join(__dirname, 'my-lambda-handler')),
handler: 'index.main',
runtime: lambda.Runtime.PYTHON_3_9,
layers: [new ZipLayer(this, 'ZipLayer')]
});
Metadata
Release files for cdk-lambda-layer-zip 2.0.377
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cdk_lambda_layer_zip-2.0.377-py3-none-any.whl | Python 3 | none | any | Details |
Release files / cdk_lambda_layer_zip-2.0.377-py3-none-any.whl
| Download URL | cdk_lambda_layer_zip-2.0.377-py3-none-any.whl |
|---|---|
| Size | 6.8 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d247253783ee0db56e8c35e0f2519ea348f4308af1fd9a2b2a71182ea657450a
|
|
BLAKE2b-256 checksum How to use checksums |
af8a47e55e84fa8bf2af122b4cd16b2615dbf1454e8a3526202dd2b132d86ac4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|