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.135.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5958515cadeec38dc8c6b373ad455b7e38847393974fe1b7afc0a18abd2d1f26 |
|
MD5 | 02bdc49eac4672f077b8d4b848f409d7 |
|
BLAKE2b-256 | a1a5b51d22a7c25f53df7e46c39abae287a75090d6b474513f9b5af6eca277d6 |
Close
Hashes for cdk_lambda_layer_zip-1.0.135-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2d2e8ea091b6ae341d8830634262ec1ef44316b057497d86ad9c7545b8e53d1 |
|
MD5 | cc9d85fdb6c6005d1bdaefbd60e77802 |
|
BLAKE2b-256 | b146d10a0c4e96d8d60c8ad9c4ad10dc9c9e68eeddfefe08e3baa16e51db339a |