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.265.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0691af64c2aec292948a8eaf138f9fe4c03e4faef3149ea615720dea553ec65f |
|
MD5 | 737d89152d38f02fe6177f72a9f6f37c |
|
BLAKE2b-256 | 14fedd7f3784bb30b3fed52f765016f3cb2d0815eef56d93cebee5596fc22750 |
Close
Hashes for cdk_lambda_layer_zip-1.0.265-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b4477bbc32b1daec9c48d813f34b493fdb564d1b3148746565bcd3e98ccb9c4 |
|
MD5 | 90b52e2970bfa86bfa4975dd49436439 |
|
BLAKE2b-256 | e753c9412bdeaf4ef552ed87c1a97c87b7ca8274bcb8400d7d7343b0f5851c83 |