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.44.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18adb3a1dd238412c330249b27d8fd16ffc747d2bc206cdd10099bcb855b38bd |
|
MD5 | 5718571d169c3b63f482105f6c3279b3 |
|
BLAKE2b-256 | 4a25c6d2054e7a21e4df868994aaf2c0c039149b9cdb58130b09c30c31d2bd3d |
Close
Hashes for cdk_lambda_layer_zip-2.0.44-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2488aa0f77c90549e31340c16eb1f1a1d4d714a0fcf926440906583d9deb862e |
|
MD5 | d7a3baa60754f9975cfeb35743da670a |
|
BLAKE2b-256 | 083df5ed759bd0787d0ede3f03ef5a360e658eb31c8304cb9b89b5e955f13f58 |