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.180.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 638950a99f3a5ac76e16d48642827e0dac98cd353d78f20f7a145d26eb88d357 |
|
MD5 | 7f9db5b0b452b637b36ecdecbd054daf |
|
BLAKE2b-256 | edeb4af838bd35cb6d7d2391d286f8ad71220214efd2ce59e4f1736a52da800a |
Close
Hashes for cdk_lambda_layer_zip-1.0.180-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea72a3685895ea4a12ab67342a05b441bdfb03104d0aab90262467b0ddef9673 |
|
MD5 | 6b3e7cbb14609012f1725690083bf75e |
|
BLAKE2b-256 | 4cf8a6d1b3bf6dd5061a888db25dee9fb05052af75df2680e0555a285bcc39b6 |