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.339.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea16729d324b6d75b61e965c125e38cbb24142c2a11e581c8fe8efcdc204f2c6 |
|
MD5 | e8a9ddc975d5e9df2186032c5113b202 |
|
BLAKE2b-256 | aa25c066ad9f7bbb5975ccde3c135be962da073f93b66f865f12a9993959a03b |
Close
Hashes for cdk_lambda_layer_zip-2.0.339-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25a8cd8a39dad25f5fe62026b1a377f203ec55b40f01eb8a73f0c35b1dd35c8f |
|
MD5 | 87ffaf39869ac3ce7cfd0534293d36d1 |
|
BLAKE2b-256 | 6254b6da480662d7ae8da1e6c7a127fd65502b4ceb9ccd05b8bc3d0857c5bfa7 |