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.137.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64f87436c4f1d0b55c9cbae322486fc70687ee5648502200fbc852324e90d725 |
|
MD5 | e46a52e1e13eb349978ff4d35c3ed35b |
|
BLAKE2b-256 | 37ecfd0346c1fe63f45cb3a2b8b519d289b0e1539e7d7947918dc7cff7e79f01 |
Close
Hashes for cdk_lambda_layer_zip-2.0.137-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a52e9826114f9aa6eaa7b637a9893f71c16d34b9408ec7c2a93f68822b391cd |
|
MD5 | 9dc29d1131bd89951c11e5a9ca1d49cf |
|
BLAKE2b-256 | b84e3cd1dbc71512163016e8c6e6dc1b87225467b6768f8534deaf53fe6d407b |