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.190.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c329b64d04324f2c399d35647335f7cb0e5d2f2c31595cb5b1d2cc86d268e71 |
|
MD5 | faa864437a3460bc7e929cafac2ef4ab |
|
BLAKE2b-256 | 49ef9b10ea2b31f7abea6d89981b3b0ee2968a5f90c7574cd62eb4ab6ef8da2d |
Close
Hashes for cdk_lambda_layer_zip-2.0.190-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 616dc5326caa4e4ae4c8853423f3e9a258a41bfb9a1991f4cc0bf2ea64b202e3 |
|
MD5 | faf910dd7b83f0e2c4fdcfc13a9d71bd |
|
BLAKE2b-256 | 174b618b87cb16b00b5b998f74888f802b9c37bd1102a89f8c33bdf82c1c009e |