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.76.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c72df05a660f3457962b254c9aa1ac3880e0bfc768a2a605b406bce0224c8c3f |
|
MD5 | dc45e94c2bcf8295717a3e6b8e5889b2 |
|
BLAKE2b-256 | 1f2dac2a6f56e6c8927c79f0ccec2deb93fbcec320e33ddd95a9fdc470b56fec |
Close
Hashes for cdk_lambda_layer_zip-2.0.76-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57ecdedcd71bafa05a649a0ecb16259f192d2e3dd6f2878b6452ae210e90a9fe |
|
MD5 | 9ce9d5b0d2301494cc348ddf58396579 |
|
BLAKE2b-256 | cffb53c641c6d0a9ae2fd3cdfed0d32fb553cebb85b4259eb30f1c8adde93bcb |