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.173.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b2ea5f1c4b1874959b8d335ea91badc6808326fbe1ead3665233d6696aea5d7 |
|
MD5 | 3d8dbbe3066db04547061dc162816b42 |
|
BLAKE2b-256 | dede559ec5aaa2dee53519fc751802723246b3862a5ffb55995caecee92f2a3b |
Close
Hashes for cdk_lambda_layer_zip-2.0.173-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ee11a4db16d0cfa646eee9dd5f9c7385b678f29e9d9d0cac46dab7db9dc6982 |
|
MD5 | 0289fa01240626015fb10c525168716d |
|
BLAKE2b-256 | c5fed32a162130483a11ad743739841a310bb367fe4973e9c4cc222ab412a445 |