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.106.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c82e89963abce461702552de74db55288990afa9b4e5ca29f957d78102a3866f |
|
MD5 | 2d48a5d96a8d2eb9060360731aefd97d |
|
BLAKE2b-256 | 64bc3bb87819b494b75b910e716388c25622f0eaea043a8f443160efca5e95a0 |
Close
Hashes for cdk_lambda_layer_zip-2.0.106-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2751af45b8913c6b2a29ec62507e773d551fcbfe59079b1134a41da829dea72d |
|
MD5 | 650ebefe883da2b2e3bf42a716006d23 |
|
BLAKE2b-256 | b6c9b46855a6f8c2dff28aba42480ff3daf37758214bd5e8172fd5735e85b1a6 |