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-1.0.355.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 819b534b6e51fcd60887559a7e796125550b294c2641ecac52d816f18395f817 |
|
MD5 | 9f1068c4547a2c6ad9697a5281d65bd4 |
|
BLAKE2b-256 | 0ecec7f14d75b92fa1f9c666e5d1a2c0d6cccb5088ea77f6a26481e9f3b6ab59 |
Close
Hashes for cdk_lambda_layer_zip-1.0.355-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb16a56ec43610d07d1cabaf12b8c6d4e8bff3cc1734ac06e438335b516a55c9 |
|
MD5 | 0e93d153a3df41adf7cc9b77455d00b6 |
|
BLAKE2b-256 | 01d958d195f590d6aa249d65dd0ac4497e94d05fb4a060fdbf75997829b20af9 |