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.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2316a5674d14766584c01317b45718bc411216a64feff12f422c1d2e55a258b6 |
|
MD5 | 61554e245f418550ba0f8fdc1b0a8456 |
|
BLAKE2b-256 | 03b248e98e16d78e235bf34e6194d9d90eacc692d8c729eef1e1830707e6e355 |
Close
Hashes for cdk_lambda_layer_zip-2.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2cc9c03b62d50b34513f66beb1ccdb8b9ca66177773e48cbf8378ae22c03c9e |
|
MD5 | 03da9d2f9bcb7dea869e6a21cf5741f3 |
|
BLAKE2b-256 | bbe20ed0a020ada9a958ffe3fb48bfe2a7521b15c52964d787536c241c65ee4a |