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.20.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bcd1656ea09ad4ee96710c77896dcbd0c8bd01d33a3e132c8e2b08d5c0728f9 |
|
MD5 | 5e09cbdb3e1e76ec196922c94e9cad3f |
|
BLAKE2b-256 | 0ed683aaab2f203800b1ad7fd2b24f5903c4d2e428b4720d132a402bef8a2a12 |
Close
Hashes for cdk_lambda_layer_zip-1.0.20-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 909ce49ac0bc80930812ba8df341115cb56e9872eab25edfcb80350fc6b44ead |
|
MD5 | ef71017cd2b47a078497cf8783ea8c5a |
|
BLAKE2b-256 | 0a727f2debe4e3cc5ed76106302ab681bc313dee99ef854684bf158f2caae99b |