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.326.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79f8f58a74c9adda3e3b9630445ab065a5bd647085933cc978b795ba78d9bdd9 |
|
MD5 | f326cfb9369968f5872b6768c677bc45 |
|
BLAKE2b-256 | 10ec1c68cb3c1081eee41341f5458b9249f9e4e34498ff287f135ba65af40fb5 |
Close
Hashes for cdk_lambda_layer_zip-1.0.326-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c180e734d2b215c48d4fd8be63833bd588a463108675af8c3802b7ba305f3e58 |
|
MD5 | 6d43065e98ab23f96d23cb6e89872a09 |
|
BLAKE2b-256 | 616e5da285429e3ca531347b4b631fa83cdf27bc024e48334e9de7e1bd069652 |