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.157.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb64548782a3334c75a39dffcaf8440ad330a15e6a1a34b1375cc6670a92f8ca |
|
MD5 | 669e241dffc98e9ac1bf5b10212cf5db |
|
BLAKE2b-256 | 66ced26db8826d8a79b7e6c3ad092a072a58b8322a9d671770344e45057903fc |
Close
Hashes for cdk_lambda_layer_zip-2.0.157-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c8f37d84b926d32f744e616cd377c1136804caa9aeecc19b76975f926bf9dcd |
|
MD5 | c49c5e17ee3b57d402bf87aa0d218409 |
|
BLAKE2b-256 | b788ef0ed37bd3fd73133d9473449ee4e7cd58743c52f47c41be10b893d40148 |