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.147.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43e98c6b90fe26b6fe4220e539751428331a72bdfe95f348f295cd05a6d5372b |
|
MD5 | 688525f6dfa61a25ff6fb259f76fdda7 |
|
BLAKE2b-256 | dc5aafbaeb0889bdc5a3d5b7e68400545f47fecfc471ab2749fb02dbae85b2ea |
Close
Hashes for cdk_lambda_layer_zip-2.0.147-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5cc069272a44066d5b7a2a828ad940fae07033d21108a56956f5bd140630361 |
|
MD5 | 0bdfeba29bf8d4ecf813801104212c5a |
|
BLAKE2b-256 | b4ba5e9f68323079ecc7579f740133d84e75479144a730af7ecb6e589be1878b |