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.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd46694cac1ed66a6818fba1705ace076eec5f3ce211b4de9f0c82c63372cbf3 |
|
MD5 | 68987c20b4dcf30137512315235e0758 |
|
BLAKE2b-256 | 197d5f90176fa1ae41cbb72868542c088522f15dfad3727865ca11228772b24f |
Close
Hashes for cdk_lambda_layer_zip-1.0.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f7edd5f1c978ea43a7dceb54c8194cd15c8c22db2d366f5b4503b990b1901af |
|
MD5 | 1417fe893e8730bf620a2c92cab8c6c7 |
|
BLAKE2b-256 | c749ed48a17422c3cee8e958c270f1c986c0fa4dfc0888f0c5df43879153d635 |