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.257.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 963e1bb66e77b0831bb6e7634878566632f4967f0c3b4c26ca108a25e9da6262 |
|
MD5 | 437c31353f4643a79d74964f50e815f3 |
|
BLAKE2b-256 | 1bdd89fc4428c49b325eb5afe5df907176aa870144d3cef693596a6cd46482eb |
Close
Hashes for cdk_lambda_layer_zip-2.0.257-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a5ad1e6228d3981f8e9211edc13b7ab644592576465449fa5d7fe8a13e3a228 |
|
MD5 | 6cbb5469d20aee93cd976d27ad679de4 |
|
BLAKE2b-256 | 22211dddbc132f7a162f71ad689cb3b002f73dc8f7c7f414ca78b304358e07fe |