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.197.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f6917f45dc47c9d4a7e745b92c957502638150bceab8bbe575510a661951e3e |
|
MD5 | bba58568ba520a0e213b71722c8446bd |
|
BLAKE2b-256 | 46ce5dfe1a8375d198d5e2e3e3418b33472a9b84cd0e95f40486aac0f1012cf7 |
Close
Hashes for cdk_lambda_layer_zip-2.0.197-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b387e5be5b395f4072841e14d07ffbc527f508bc51df197fd743f3e3a0c3162a |
|
MD5 | cfb69636d61bc2987344cb9567d4e1c1 |
|
BLAKE2b-256 | da83c8783ffe5684e82b341fdc05c5f045483abb0a64342175081722a41bb6bf |