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.152.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 394b5a432725484420da199c13566b857c87ac0794f5139e2a13c521cc533d51 |
|
MD5 | 4f5474fa7a3847e2684c0977d7c31cac |
|
BLAKE2b-256 | 9f80fed267d0395cb7bfbd6568d26420607439c350fbcde6b03cf53c421cb827 |
Close
Hashes for cdk_lambda_layer_zip-1.0.152-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5f3e6e43aac8c909bc3d72b72c37b88651fcad5b02596fa3ba08b86fceedf1a |
|
MD5 | febfdac20e0619b2e6c4abc58c767a25 |
|
BLAKE2b-256 | 2c33196a007a75cb0ee0ebd58d3bf761a44cfe65c30147bf28a8d106af24e04f |