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.132.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b60cd8016fde693211140c4bb206aeda9770684c01c37e232d47c7aeb4fb3064 |
|
MD5 | eb983a5f503a91d90683611b33f74892 |
|
BLAKE2b-256 | b245d0a794fd541b42687f5f1bc1f7a8bd9f0fa4b3b581663ef40d5a2f3302ab |
Close
Hashes for cdk_lambda_layer_zip-2.0.132-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a99d160b3c617901477d6df1261ec8f7a6e4c1836043f4b36289247e3b7af04c |
|
MD5 | b27380d5d77b4b4532bfcdc35168a351 |
|
BLAKE2b-256 | 8bdcaa3874fc36a2f3ce56cf11d0165048d5883adac0d7a24b911edaf5aa10ce |