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.149.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6244e5d31093494d352f97c11efb98bf6e4446c9250f7a58e7eee4fb89936ff6 |
|
MD5 | e83640ea9a8a056efdf7df0fff416a36 |
|
BLAKE2b-256 | d3102b76557b48151f3d1e215b0ea29d1ecd689a70ababbc7799f433af84ac7c |
Close
Hashes for cdk_lambda_layer_zip-1.0.149-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b14f40746118544b1e59c8877a84cb25c90a03be935a62fb8dfcef095c96421d |
|
MD5 | 6f1bd117f8e6e0fdbdd01bec9e258c36 |
|
BLAKE2b-256 | 3813ef3e629d2687755ad4efe08b063c3db772ca621e4f42fa91e7572751b5db |