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.353.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9a8ad8a426ac07113784ba533e3a1208477ba9e3ec78bbd4ed15891358a0fc6 |
|
MD5 | 68fe1d69b6fc5c69b9aef0ebc1216287 |
|
BLAKE2b-256 | 943d9420d48cc4fdcd60fbc31747a4dfad4dad0d5e60febf00000eebb53b6be1 |
Close
Hashes for cdk_lambda_layer_zip-2.0.353-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76fb2830508858bcc9923375e1b685f9d1749631e3beafcbb181d673b231fd4f |
|
MD5 | 7138701a97643ba73b0672799358c7ee |
|
BLAKE2b-256 | 865b437d3921b52b8309fb58e8a5a9c24ce89804bdd849dbe2a887ee85f2fbc6 |