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.327.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84978ed80075d0a6868c705d0f9791d506da700068a5cc9c877153ac91560872 |
|
MD5 | 1ef69bebc17593f5804e592cf82f13cd |
|
BLAKE2b-256 | 096a8d2da8760c56e29d31970f5b560a1b7c5c649db88ae236090d699a410bda |
Close
Hashes for cdk_lambda_layer_zip-1.0.327-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0636053abe5b039ab874c3d99d050ff59c9365fd7ebaa9894247fb8b87256d1 |
|
MD5 | 7a6758d3731e685c52ce9955169f5dca |
|
BLAKE2b-256 | 66d8ec612fdf0b170c59a920a28430acd0879074c92565f2a06e928fa5a13379 |