Lambda Layer for tar gz 7z
Project description
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')]
});
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for cdk-lambda-layer-zip-2.0.43.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82b5c63723d4a31f6cff1364f72d0bf869219dc2c0c1a6712078d2def1c41271 |
|
MD5 | 3d70cecf6e9d3689d6b9700e12d74425 |
|
BLAKE2b-256 | 4f3382bc57f34189fe5dd8f586917c37688fa30acf0bac0535d7fe94fb90e1e2 |
Close
Hashes for cdk_lambda_layer_zip-2.0.43-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f74e8d5814776a9704be0b1d27fe1b8d91a93684cc42a5d27983f3f05e5cb2da |
|
MD5 | c37b198f91d4c4c8d0d9a59b1f594cad |
|
BLAKE2b-256 | ea72851aecc44bc5c5f823c4792c662db7c210661fc5ca810187cd294fcc39b3 |