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.312.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1cbd71990d8a5895b1a4abc8613d0f7296dc44b59105ad171fa6d75458713c49 |
|
MD5 | 9986f6fc89312615a8ff4f90395a0639 |
|
BLAKE2b-256 | 01cf8e2e33cd0a2d82f888590b9837e281e8844fe1d90e81b925e4b0daf5c8f9 |
Close
Hashes for cdk_lambda_layer_zip-1.0.312-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f20fa434c9eb6576dcfab1f30f6b6090271fc54614ee3d0f49f0452dc67b6917 |
|
MD5 | 14e0515b74d177ef26b16b937efbadc0 |
|
BLAKE2b-256 | 608c682185343bdaba51dcaad2b2498696afd44e501823d7ba4357ee5264a6b8 |