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.218.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40769ab37c5edaab407f8ec6e0750355f4f82d60527c2bb9b31480cbb2a6ed97 |
|
MD5 | 1c38dfd1fe8895f2ef3a813e6f945e2e |
|
BLAKE2b-256 | be8eac8f5a35886ef71178983fa4ce46d117331cd1bc255a9070a4a6cd2b9d27 |
Close
Hashes for cdk_lambda_layer_zip-2.0.218-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2491a595e7e11bb601717929a3f995bb39b8a0e160eda49128290aecfa5eeaf9 |
|
MD5 | 2bad496d9f748c116babf27d1ccc0b26 |
|
BLAKE2b-256 | 5afde8b8d43ce7562759922d1893f03eda33bb1f38427e71560690f9f8a2294b |