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.230.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 004571999c1934478143231501713b07cd4712b366d037b70136afb1b2728ae9 |
|
MD5 | f0fada2f9409907b7f99696f0472a6dc |
|
BLAKE2b-256 | e535160df496a7690d6634f2d08ad6a25ca354d16565e445a58ba07c42352c02 |
Close
Hashes for cdk_lambda_layer_zip-1.0.230-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48f81231588d58c590539913cc330b35830c4fd30efd329a6464b96ea4c2ad29 |
|
MD5 | 47b89ed1448b72571f875ab7b665a45e |
|
BLAKE2b-256 | 78b5d91a9dc7ee86fb967af291c81252a75acbe409f52482f202cf21c0181669 |