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.197.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7cd3901186fffc03776275da42abc5f3d67d4c31cede740753b00da82bbc06e1 |
|
MD5 | 645426dcf9f03a928f1e568ddc2df87c |
|
BLAKE2b-256 | 1551e28a5eaa9077e452954132c0670eff5e8b55d2935bc9fb0966f01d9fef80 |
Close
Hashes for cdk_lambda_layer_zip-1.0.197-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c01fb0bb6723bc4897c6ebe351a4c815282e4356038696f8913d439b044555c1 |
|
MD5 | 54a96413444ab0fc64b50ded90a2b6c7 |
|
BLAKE2b-256 | 24066c3d71f6d07e358127bae871000490792bbbef032dce75140eba2edccd18 |