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.306.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0debf6904cae33201441eb64b511f61f0108613154872b4e1561ac4ebc0ff00 |
|
MD5 | f9c43e8c321c2d089e4dd614e536a0d4 |
|
BLAKE2b-256 | 8de351ea6041a350ccc3a1679887ba1eb0eca183b3b2ac4cfadbb85af200e896 |
Close
Hashes for cdk_lambda_layer_zip-2.0.306-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8c2d387b57247088e4ce90f75d585aed10fd543ea1ae6416c5060cf85bc6c2a |
|
MD5 | 483642bf344e12f5ee5c71d6cb024311 |
|
BLAKE2b-256 | c9e060516228ccca00015920e8f6682be06eceb84d27b6cb5274615d320baec9 |