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.101.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14db7e43273a029a374d3ab2762f973dacdae1143cd886dadf31ba58769a5a12 |
|
MD5 | 72799b3a372441f222e2aaf90ef8f2c2 |
|
BLAKE2b-256 | 36a0b0f55e89bf8afd1236da477848e5ecdb0393983a3e1ec52c23b8b0caa1cf |
Close
Hashes for cdk_lambda_layer_zip-1.0.101-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8870f37ee544bd3e4e286de1c24439424a5755ee95ea792fc097a41deaf46657 |
|
MD5 | 6993682164448c6dd6908e90689511ee |
|
BLAKE2b-256 | d98f1755f605dda301538d36b767c51bd4b7d1bb3e16423145538798af6f0a6b |