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-1.0.56.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f13ebca8dedb1c35b1d4867ad30d17d2b8654a3f53fb1810d4121e53022177cf |
|
MD5 | 2e8cf15d9ede36dc5cc1ed2a6881cce5 |
|
BLAKE2b-256 | 3072271af67c54dd44f2f0b75bbcebbfc91b449534be23809e13b331ddb6e707 |
Close
Hashes for cdk_lambda_layer_zip-1.0.56-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce1a13a63ad482174c2cdf801d39133016ea734e291912039a309078ae4683e9 |
|
MD5 | 5417f17413e4049e5103b17793ca4782 |
|
BLAKE2b-256 | aebdf6fb9542ef3d1020e873647c0809eabaf3d7c5c33ed1137ed0020d1dacb7 |