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.402.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b764d20bc91e57ec78b2345ec8cf014f708bcc285e3f2d5722bc0d921dea3a6 |
|
MD5 | 573dcb7245af50185a6f220f2ca19ca5 |
|
BLAKE2b-256 | 6a7b17fcb65865f1fd197be23857f606efb5b011e8c772a0b9caced1d4f524b1 |
Close
Hashes for cdk_lambda_layer_zip-1.0.402-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38dceb9fe7507c954fa4092ac026c30256c8e40b9270a4823314a05aaec326ba |
|
MD5 | c114b56bf63b2f2f35284dae0cba5a9e |
|
BLAKE2b-256 | 7f32c2ef2cd0a6d13ef26a01dc02adc04e8838dc071744a5577214188f558fa0 |