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.82.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8114483445e23987613d04a7c3d367e0a165b87c8e88df4974bd87a815c6fd41 |
|
MD5 | 4d24936db2599f05255215f88c42a165 |
|
BLAKE2b-256 | 1d029694431b04f50cf15faca55cec980e4d5d2994dc7030cc8646aa023a2d8b |
Close
Hashes for cdk_lambda_layer_zip-2.0.82-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b9b7a120a31bed315e177c2f63f176d6f4e1ef9bf054c09e174e39db668fd50 |
|
MD5 | 0df6ceef4d5810d9c0a955150a3c29c7 |
|
BLAKE2b-256 | 9f30197a4e92c499b07cd92904e14fa75363196ab74c8b1826553cf513ae3c0b |