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.369.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56f6d59075cbcda92329c2e8f9b878574157a5a799db0094a8052909dbc635ea |
|
MD5 | 7d50894833e810fd2912626a8485fc8b |
|
BLAKE2b-256 | f7754ec8e6ad70d17d27bb059560db6e2b170d70cb0f8ff50147f8907b0ddddf |
Close
Hashes for cdk_lambda_layer_zip-1.0.369-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 520126c1b6a1d9813bdbf866dde91ced0cb936e03cb421b7048214f5ed96548b |
|
MD5 | a77a83e4877b428f03fa043bb1786ad4 |
|
BLAKE2b-256 | c9b6b2d026818f7e4235a5c81022fe162040f18a36923c3e5a71248b8fb1afb0 |