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.209.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88f30a27092bf3a409653acc841ea22c270a2e4c059ee085da9a5021a32a55f7 |
|
MD5 | fedc073e02fd3fc0b8068fdae3e4ebcd |
|
BLAKE2b-256 | 03c7ae2949fdb8973f09125b9bec2f4a45e015f98240e0a34ce46446fdbb95b2 |
Close
Hashes for cdk_lambda_layer_zip-2.0.209-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8dd5bbd8d1aee4b5396e152ef14a29fea1074cc9fe7eafe0380ab4593a3e780c |
|
MD5 | e9aa9836d29c44a17fbdca9bea79700b |
|
BLAKE2b-256 | 015ac52a15ba8f3b7b319da864fb13a7b01a1ba841f53e64b76a981ce7110d07 |