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.33.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6abfff41f1bdce2ddc034397fdb187e529cada90c1ab35c360f30e293793aee9 |
|
MD5 | eb11bddc648ac8caf7ea79afcddd94b1 |
|
BLAKE2b-256 | f94016e1f703976c36d54bf603070b8a7621179406df359dd64ee210fe0d3312 |
Close
Hashes for cdk_lambda_layer_zip-2.0.33-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ae37a2496dcb131d709706c75187ab9ed686ed1504efad649c0645b924fbee0 |
|
MD5 | d9912f74239eb832906f9df566c5da50 |
|
BLAKE2b-256 | 285737130477928830b72e81fe28c011fb3b8e1da370ae7aa7137c610b10e646 |