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.57.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78f736fb7af2e583d626adeaf19cd6e515e145d47106a714f8582836a497eec3 |
|
MD5 | b197f8f4e6e876b0d7055c8a080f8001 |
|
BLAKE2b-256 | 329735bce7f94ff30a0b17c27df5cf3bcad379d353ca4302f5e22b0f3b820511 |
Close
Hashes for cdk_lambda_layer_zip-2.0.57-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a113033ac8ae73c4d67edc96546ea80c9b6f0bf0cd61b67db8d5a43256b218b |
|
MD5 | 550534fc31c872357fcf1ad558325c4e |
|
BLAKE2b-256 | 90137892fe70a0790587e5d45b7a3108d89bfb66f558a713d87438b181df05cd |