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.332.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9311f634d4fd8fcd09d0c7e7e53ae7749b7877816445ba5c30579d056adbcef |
|
MD5 | 238a262b82c93818c5a467e4e32661a1 |
|
BLAKE2b-256 | aed0ca831ed0a81602b5d3f2bd8594dc0432c9f0db74b437945b866d7cef7e48 |
Close
Hashes for cdk_lambda_layer_zip-1.0.332-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49e1b23a4bccc211ee8a6163a816b3bc82bb6e0f4dc1b532067f8e25978b265f |
|
MD5 | ec9a2244786b99ec55e92603b03177c2 |
|
BLAKE2b-256 | e1f3a6b3979f3a36decd4c4fbc8990c2ad95a9d3f477399fd05f5e77ee1cb981 |