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.345.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc2643f168a70310e2346211966f1a2af84c7edb1da5efb03973c1b22427e6f3 |
|
MD5 | eacb501247b6e2d3c9a8878cf891cf86 |
|
BLAKE2b-256 | 452b650505987ef0eaecb67da26c6a34bef3779a942eb6f486fb8a78dd63569c |
Close
Hashes for cdk_lambda_layer_zip-1.0.345-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d971bd92bcae5dd358c35e39d8781b6c56a12b12e27dd9cffaca7b4564cde00 |
|
MD5 | 82cb0d82e47559890f43ed28f607bd6c |
|
BLAKE2b-256 | 002b8e3f4dfb55d8646d5931a20edd544d54964ecd21986b107b7540c38d762a |