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.61.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a511bd40f01f12bb5a2a394c46140eb2f8ac870ab2c09bea53bc8e34b03a25b5 |
|
MD5 | 86312f2eae6363a25dfe3f2c7e03cc7b |
|
BLAKE2b-256 | e614711d6455ee99869cf67f61a59668d2c6c735f4a541c08e7a27e47f6fc85b |
Close
Hashes for cdk_lambda_layer_zip-2.0.61-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05281b4a9c66372e1c9d7c11d77609a3d2de237bb194e973c81661481287f8b4 |
|
MD5 | 7e9e1419f5ddd05435e4547d3f8300bd |
|
BLAKE2b-256 | 2339024a09d1b4d033365dd89b8c8753c82311cb0882550c174f9a201802ed7e |