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-1.0.195.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b36ed738c2ed49756ba6560f25f55ebe1e61fffd75f45e5cca33bf1d3ec0df5 |
|
MD5 | e54f3d1865760c14d5aeeb818316065f |
|
BLAKE2b-256 | 20a9eab1fa8d6fea19890aa4ad922c76e887c1bffa489ac54e658f2a26e564a2 |
Close
Hashes for cdk_lambda_layer_zip-1.0.195-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b14a8c2e7f4717743d7463abf5f440128c0ffa56bd05798d2fddee6dacfa2d2b |
|
MD5 | c07ee186ac99a13cb46d33a4079808c8 |
|
BLAKE2b-256 | 2a47e0aa619eae6bc00b08b3afe4176694be9ed156afe8e3bf4839ae9c330e16 |