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.158.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d49d7f38df0622dd387cfd95cfdab8ef9d3eeede5b79f106b92ac2a62e2ebeea |
|
MD5 | 3c2092570bd3daaa695196fde53c8498 |
|
BLAKE2b-256 | 3b1f189bb783313808a9ae2e79e9bcb73ffd6b3d3f4e94edac5098cf254a73b4 |
Close
Hashes for cdk_lambda_layer_zip-2.0.158-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a16921d6c18a600a81f9b51ccc97a04069d63f3c1ca54180c7f879981e86383a |
|
MD5 | 0758de93a5cf55be2e2fde04b8e63609 |
|
BLAKE2b-256 | 5ba1c08909e00cd9e6bbe2a48619734a276f6ab6d2b71b64bd079ffa46db30b6 |