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.274.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9c4f5ecb97d8baad45f922e6677f4a6be323e6aa134a3b24cad45c57a169e6e |
|
MD5 | 236d082f06151366c3e49680ffa3fe37 |
|
BLAKE2b-256 | 374c7b200fd619dccc562519e2573a4f4e7267cf3768512c2ce5518ca423445a |
Close
Hashes for cdk_lambda_layer_zip-1.0.274-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d076b427cccf4f49c461796107bc3272e9fa10ad7df615c11548171b8f04a2ef |
|
MD5 | 11ff8fea6b3dc74ca7e437865e949a4d |
|
BLAKE2b-256 | 2efde427463f7eef2a1a3c86af00fa5a80056c6702f12a85975dd2d236f5994c |