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.164.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4c4d8fb7642a90b3950a273e57eb5b57be9eccb2136c446f22c17d131065a93 |
|
MD5 | 6807a3982d96e900ded652a7474d9d4e |
|
BLAKE2b-256 | f7e3fd3ed8c00d75062f911e448061f4e8bf553aa68290eba64722dcf2dd24f3 |
Close
Hashes for cdk_lambda_layer_zip-1.0.164-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a21fb6638c25d9404443841bfb39ee2c06444b572ab3d0ecc252d15673bdb3a9 |
|
MD5 | ef61e2d12bdc736188c9870840ceff31 |
|
BLAKE2b-256 | cc245f34a79fefc48c0b30f3eff745a5e6fa91cbff74199803cf0b8e4a302cf8 |