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.105.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa9f1f89a019627dd6e814647815c89fadbe33a99714f31f64372c0ee520ac7c |
|
MD5 | 9a25b43edb2962f072be5c4b60c3f991 |
|
BLAKE2b-256 | 4621cbd7003cf73cdc0548102fcb776a5298ab70895bc8a8c3fb152e552e0348 |
Close
Hashes for cdk_lambda_layer_zip-1.0.105-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbaad1f9c88c763e10c27a3e2ec27f166d0c7dcfc4812dfb5e5028e19ff0028f |
|
MD5 | c32b6a048a05eb3c6ec09e1710b46448 |
|
BLAKE2b-256 | 3f1caaa24a69f2e3fc16864089fef552f4de1a4caeb7fd1e4689bc037eecb5d1 |