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.123.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12a26cacfc7cf05f4ca08305f7497236b08da3816d3b5ff27632c1106db98b8c |
|
MD5 | 002cfe05a9293e6a07253213bf1e5d4e |
|
BLAKE2b-256 | 9bda4da904ba773b8d8f767255220f68a0b874ba2b61e56a1204689a24d207e5 |
Close
Hashes for cdk_lambda_layer_zip-1.0.123-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | acc86a61d1ceb64ff54e4e083990a42cd02fca3dfe65519b7234867481e7da5d |
|
MD5 | 9a73780f9ece7dfce4081a5aa0af3209 |
|
BLAKE2b-256 | 57967af4428f2e16573f2befe31ab6739c69ff61b3c75433b8515dbbe0e3201c |