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.329.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a12de456ff94dae499b25fdb09a850bb94df37c93128bd05d27b0e03c4c93148 |
|
MD5 | 50965af4ef4db1895ff5a8041eb24471 |
|
BLAKE2b-256 | 371848815df62eac93ffc5e402122d906575d8ef5cf5a22c684f6f06af21f2ae |
Close
Hashes for cdk_lambda_layer_zip-1.0.329-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0ddba10c26055358ff5d34e0dcd91a255fc4065ad7b48813217b426e611fd13 |
|
MD5 | d998dc2290dd661bb9498670fab20351 |
|
BLAKE2b-256 | f26273cd6188e9920c28c0067330c17035e97d0ac76282de385669ac732286fa |