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.374.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c8892a12b15be53f25ce352b117bb8b9e5ce101c25b3d143229f6e458a8e4ca |
|
MD5 | 3ca5882c5c0e58ee470b6ac5a00f2b06 |
|
BLAKE2b-256 | e0ca77708a494b46028836aa081f54920aab4a5f42dd78ca4f24f93c7e7b738a |
Close
Hashes for cdk_lambda_layer_zip-2.0.374-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3ea2c8f37ac81e9e59160c3eacee8f5918a25a9f23a2704310e3581f248af7f |
|
MD5 | 8bd13ebb68de3290e4dd18677ab4bf48 |
|
BLAKE2b-256 | 5d56b737c12059b07c3cfdc5477262835d217424f9563194605a3fd9dbb73489 |