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.64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1656973e836be3f9db2f0991339740cedd099de742ffb262f5b915cb62533fd |
|
MD5 | 336182f200a92b38aae71f1784271a32 |
|
BLAKE2b-256 | 2f3e6c09c329109e8be65481cc17d9774b8b72560d82473a08e2cb62a9142dfc |
Close
Hashes for cdk_lambda_layer_zip-1.0.64-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5df50a44f4ac5fa1412e18579c7876e9ca1d85d23b17c66db1d1594b8dc21ac |
|
MD5 | 3643ee96a9d521f6c21255ef95b31e5d |
|
BLAKE2b-256 | 5df05f8bcfd248e87971e22e51cb7c668fc151ba775f99c9e9a049938dbf72f8 |