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-2.0.237.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7213dabd03a9ecad1754990b9184f8b8cb41bd2da632d5e30671603812f12a2a |
|
MD5 | af8fe36f13d25d49b5f3508febf55f77 |
|
BLAKE2b-256 | 688098042e2b6bb3edc78ca64779e9145b5b680afdd4968ed4c0eda672e1ce23 |
Close
Hashes for cdk_lambda_layer_zip-2.0.237-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a207a54a5211cbf2c3600400b4b1baca256a80730e3266bbc50c3e461c35f096 |
|
MD5 | 74bd41714947e6eaed7d9230a8f2e114 |
|
BLAKE2b-256 | c2ff4596a260cd8df329182dd3e256e7353b019204bef481b7966e4b872f7c04 |