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.136.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4ce6bcd5218df91d4fa9eb814f2e9299b3f89b88d0df653335ad864046b9300 |
|
MD5 | f8fb6661697d92d94a9a0563a5412052 |
|
BLAKE2b-256 | 4c815ab44bee028411a52505ccfe1168d4bcc771146358ed0f5f589a554f6b48 |
Close
Hashes for cdk_lambda_layer_zip-2.0.136-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db45f4babcb16c78b2c98e2b709c2c5d07fce87e54936c40194bc72d09fcdc8f |
|
MD5 | 2621e06c5731a16046ccd79c2aa19a0b |
|
BLAKE2b-256 | 643c8808a8cbe7b8f610f073fc6c5709122013a40dd7e8cc2b9b3813cae61dba |