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.359.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90e68bc1998a715ec17e02f999649b3badc038bc23ce7d510e89168f4192df4d |
|
MD5 | 9b50fcefd3059ccd0917ab4a0f8aa76b |
|
BLAKE2b-256 | c7a855523bf503ae4260697f1403ae024b6a232c9185ca820fc178386f439b27 |
Close
Hashes for cdk_lambda_layer_zip-2.0.359-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b5eaf167ff80ddaa55e58371ffe6e292dfcb618ce16cbda1e3d0d8fb98b4389 |
|
MD5 | d8ebfbcac478d484ffd6916d709595cc |
|
BLAKE2b-256 | e01062c639bcb5196df4975a29a4dcd35fb8d40cf47bc30755e1a2ee3523763f |