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.15.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9103cd482d7d35ab874303538875daa589e2f2a951353ace7c54d435d58cccb |
|
MD5 | e2819dc0e4777e06f0f3aab451ef2fc5 |
|
BLAKE2b-256 | c51a84202f0552cbf9f6c94b48b9a4ee515d2137c295fef6ef86e461a9048a9e |
Close
Hashes for cdk_lambda_layer_zip-1.0.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa3395e7a446a4b1dda8d28a3ff57ca1cda9d095b2e8a47b9e100e165a2e5d33 |
|
MD5 | 61806e2b955c088183db4c11c1e8e162 |
|
BLAKE2b-256 | c3b927ba6776c8628cfbe244053c8ff8c44fc7612f7870b786b08cebeb2f54b1 |