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.175.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba3b6de71f51198739c95ad001217ad2f862d647ba05530de80d277b3ffcccca |
|
MD5 | a34361bc160b00e7432781c055e41342 |
|
BLAKE2b-256 | 37140c9930fa691f1a50a14dd682e7e5d4d58e8aac7e71624ee4d067c6657e02 |
Close
Hashes for cdk_lambda_layer_zip-1.0.175-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f495d3207e7e4e91a970cb05eaf7f7cb02c7a97ae6839ada15f247f6c0f32ab5 |
|
MD5 | 2252d3febce18f7e7bc73a94e25fb2e0 |
|
BLAKE2b-256 | e84443575ab6d8d3af5d2260b52c6cc42e8f76e403d5e1cb8270cdae7230cbc8 |