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.347.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4cd40786b52760d962add19197e57261443f1c63deeb53449560b9842efd926 |
|
MD5 | 313c1c4d71de41b471d4c535f6eec79f |
|
BLAKE2b-256 | efab505c5a3ecfa046a3de21fe9cbfc208bd4b25c4c1fdc8f44ffc9c83710934 |
Close
Hashes for cdk_lambda_layer_zip-1.0.347-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1fa730cfdcda54efd85c3a1d9f1e2030147e3545e31859a653fa8eb7146dd40 |
|
MD5 | bb409d58c1154d6f3d5c8033a3c3ebde |
|
BLAKE2b-256 | a89ce9b5f6b18c42f58b343cdddfc788b3d8e74bd2ca3dacbe6f229717315cce |