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.280.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b8a218ab71073b5e49731878985fdae125e645c9cdaf6dfdcfbba1a595cf35b |
|
MD5 | 414533d0d5f2ac84b74e4d1fa7ab1b4b |
|
BLAKE2b-256 | 6dce4d907e972bc6781f6d9c0bd3e337ba673547dc371de1ea4f5d26be39fc58 |
Close
Hashes for cdk_lambda_layer_zip-2.0.280-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11f8b87644aa349b57b967dfd396dd7cc60e3bfca4f195baa48c3a5f8367f94a |
|
MD5 | 79deb9848ab86f60ac12d1daeb3dde8f |
|
BLAKE2b-256 | 40f48385dc426e79730d86aaa18f8ecbcdde589571a2402ab15127be43fff23c |