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.62.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa5a23d2a601563f8e2504215f2551f279ca80822fa20d8654ae7cba23fb329a |
|
MD5 | a54eb790bd18af978836f47b0409fa70 |
|
BLAKE2b-256 | bad2cf2b644f1c36405a85f22439c89474f23bd030787e53d980880f8704d061 |
Close
Hashes for cdk_lambda_layer_zip-1.0.62-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70afb4bd65a8badb0ef5c58ccb8f9d0ad31316b853cb575d5e913bdf43026ac1 |
|
MD5 | c0f6e5dfc042b7d7c8e4cc40240c7351 |
|
BLAKE2b-256 | 41f4ca8b6c3836c08f0b8838b384dee252a1f47e13aa448b863cac70b4205206 |