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.115.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bec302337a73b66fd0e1f6a23b841499e6dd2297f188d13103f4d3d1800b5400 |
|
MD5 | 6bd66474cf70d2c8b1b947206389c2ff |
|
BLAKE2b-256 | 4a8777d1e3564170bf3d6a224c6513af9f68dbd9896d34108f2d4fdd3a9a1d5a |
Close
Hashes for cdk_lambda_layer_zip-2.0.115-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00f776d68f982495d3b0a6914edd0ab34121567fde1e7886a5527804cecb01e6 |
|
MD5 | 44b03b3c483ac6db89817cde0ca87257 |
|
BLAKE2b-256 | fd013e42b89ba28dc30e7dc386fbbc34979f39b6f37a5ee7829111a68265f83e |