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.104.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3997b4516717bb156538574076463247026a47559ef51386024a4ade6e6638ff |
|
MD5 | 7b3011f788f593e91a5e3e4691cb99a9 |
|
BLAKE2b-256 | 8894a60f6e6954c13455c36e766794a3f5d181864fe1ad51d261f4bb9b609acc |
Close
Hashes for cdk_lambda_layer_zip-2.0.104-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9a4f76383a97deb587e0196c423d49b1bf1642d28863f64672aa8ba284363da |
|
MD5 | 7de9e4e18fe6a3f2346abb09de1c2f4c |
|
BLAKE2b-256 | 454fc325e04b3306fd0debd7b6bd8596021d5bb322a7db043e055bc18031ea42 |