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.124.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98d1b49b86bc9ebcb9ad25e64c1e7caf446295f733d4d3b9f9bfae7ec6d53818 |
|
MD5 | a64dc4ab979fe607af072d543ca48d6b |
|
BLAKE2b-256 | 07cffce2cc84efc070256181724b8af72d6cb4858077bd9461bd94b80469fe4f |
Close
Hashes for cdk_lambda_layer_zip-2.0.124-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17e2d3200dcc0314e0d855e9285ca96bf61cc15f52741c301ae4bef93bff5579 |
|
MD5 | 1512f3ca17ef7e7c3a9df6af45adc11f |
|
BLAKE2b-256 | 3616319cc9440018d7480b14865bc05d80f42a1a03ae45355571ab95f5d6cf4f |