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.323.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0e79517a1d8561a356fa194634c15dbe2374919881235d3ab51b7733e2dee19 |
|
MD5 | 071ee4e875028634f8a4463b1ee7bf8a |
|
BLAKE2b-256 | 2520649307a169d6eaf918e010cab6d056823629f1ab46cf404cf44805ebe733 |
Close
Hashes for cdk_lambda_layer_zip-2.0.323-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52a80e54ec300d02e9574e47a9b3eade9486f3430d1e65a3444033b1aa9c4c36 |
|
MD5 | 3d98c04ef6d1ca399a996d4a55ad2e48 |
|
BLAKE2b-256 | 0d98a4a7b30da1637acaeb8ab89a443cd8cbc8b8f11b7017a1e9398e5506901c |