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.256.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6f78f5045fd3fa9305faba056e201e8122fe1a682ae9a7b4ded0ad983bca41a |
|
MD5 | 97518d5ebcd12801cd6ca929c7ab1002 |
|
BLAKE2b-256 | 1355f583ff546be87e3f1c4f5a015a6372f4ab0c9b18a309bcbe55366a59d65c |
Close
Hashes for cdk_lambda_layer_zip-2.0.256-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5952eaac98e3b1b105c4512f9679011b5deb2f1570bf96b6d53a4721eb161e92 |
|
MD5 | b3b30ed198090b4a8e90acbb2f1cff25 |
|
BLAKE2b-256 | 7e5151ac58017cb90d17def72b478afd7c2d03aae70d39e64453aaba6473d4c8 |