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.132.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 844311739467f5e4d55b8fa4f90e1f57257cfa0ab6e8e585ae8ed9c600a29f07 |
|
MD5 | fe5199bb7ae4c49f30b1604597a82670 |
|
BLAKE2b-256 | 29e6b9162427a8b6cb35ad4681d9fe335f624e79418bc211210b39c65f193876 |
Close
Hashes for cdk_lambda_layer_zip-1.0.132-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bccdafe6d0f5493640d53ddec61b7eae9f79ded41763b1d474dc980f67887096 |
|
MD5 | 47f5619a82c51f846ecfb9244b5d63cf |
|
BLAKE2b-256 | 43f52799003713316dc1a3012afe32eb6bb7ee5de947ca411dc98e17d3cafd33 |