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.330.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae021e22f78edd7f7bfe730060fc22f6fbf6468ac2f8ba21e150de3c66f5267e |
|
MD5 | c5a8a418dc6669a72a1f0605e62f3fc2 |
|
BLAKE2b-256 | 170307d569bc0e18318aa66ea02848ffdf051b597f8173f36e1eb8809b3ceaab |
Close
Hashes for cdk_lambda_layer_zip-1.0.330-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfeeea06302102121dd8c2cd8d90447fcf002fb15daa22dcca2d6f50eba5d0ac |
|
MD5 | 9abe78badd86cfa4603ed80c6f927d30 |
|
BLAKE2b-256 | 0612230ff320773642c2ddf0d3be2a7d891e6f885630f430f0eea5540726fbec |