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.47.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc17919adce2923ce04e1c1b4a63f342f0f2ef20828be1c154e2f641c6eaa1cd |
|
MD5 | 867588512775d47060f2335c6c839662 |
|
BLAKE2b-256 | 293874fd95a9b439f75d72c544f858d54d6b33c7f2a5ad7bf11086148c483556 |
Close
Hashes for cdk_lambda_layer_zip-2.0.47-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6663aac8ab681a713d393af7be64dd33eca85023cd6dbe75d217872558f6548 |
|
MD5 | c80068604df7a8ec4ec53dd4d048935d |
|
BLAKE2b-256 | 48cb470187976059e4eff72b949df0b9a24a37c92ed409e8d213e6fd4aee575a |