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.211.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b0b91e290dd4b05ede847f2c53ec095f4f83cf0398b8eb512251c003970e76c |
|
MD5 | 000f958a79dfff8e0727b11f419c6bf2 |
|
BLAKE2b-256 | 93c489117d56b04c44473048be683f018500900224cd83ddeec1f7cfbb903dbe |
Close
Hashes for cdk_lambda_layer_zip-2.0.211-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b553108a7cff1ba6c059cc8ccbcd5bca557ac36191252e301de66eff1df0df30 |
|
MD5 | bf886094ac1659cb145a4f32491a43c5 |
|
BLAKE2b-256 | 3ec1654742a0b742397573a56aa6881f220f0539ffe09b6f5b882faf5f31ea2c |