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.309.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b9651639a557e979e70194a84ed72436d331a52adb464ee7fefc48096a80c41 |
|
MD5 | d7337d790aeb22b4b07d2d15d080acbb |
|
BLAKE2b-256 | 368de7ed753fe536e2672390d43ce77ff30c8fc00f4f3e97945157f908122eed |
Close
Hashes for cdk_lambda_layer_zip-2.0.309-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 219b7d7d3e6154ed0bc4b960395e1d5dfb1f6ca9e98b8e936bc9f75330756c08 |
|
MD5 | a96a1b37a924892e794231eb87a82b5b |
|
BLAKE2b-256 | 8185564f28802ee8f04b1a23bcc36d791dd440dfd3ffcad8d2a4fbdeb93cd601 |