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.160.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b14fbffd6ace3b09c2182ef453c894553d0ac5c9339e0a5aa297ced89b0b607 |
|
MD5 | 20d6eace84f8e1d8c742122a015e07da |
|
BLAKE2b-256 | 475c490b9b5ad4fa8a2aa3d1f14dbfd822af6b51977bea54762c99939e071b0f |
Close
Hashes for cdk_lambda_layer_zip-2.0.160-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1224b19be8c0acd58f86c2d289b57ade8ee219d968dc240a48f702361430a6c3 |
|
MD5 | 2a6e771e9750606e8b320bcdccd70c0b |
|
BLAKE2b-256 | f79151eb04101c8f74650c55a00eb2be27eb705953fa1ab0fe7911fc6feee2e1 |