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.48.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa6ea307f6977904ec1f0c26aa879b76c769f2e50537ee4278f762b11537c9fd |
|
MD5 | 46620e268613de25d57c46cd96697ad1 |
|
BLAKE2b-256 | df2aa650549a022f33a0575db0ad31288e1567bec891abf1ce201ac0c486ed1c |
Close
Hashes for cdk_lambda_layer_zip-1.0.48-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d088d6d14c2c17703d1e816ec8b6b7b0f0e4a3c938c7ac0df9fc34d3fe9079db |
|
MD5 | 95baa1c5068a4ab1d7da2403a4269c17 |
|
BLAKE2b-256 | c320bd0b3c78136ac4fef766a20644c7b28be409b9d7049bf3622838578d01d0 |