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.233.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56be6e26742e8072f88b81240fcf04e34d969eb3a5139599e0dbddb0d1cfd146 |
|
MD5 | 59918211382afbe3427b03ee82715ab2 |
|
BLAKE2b-256 | 2bc5f1e364eb568b894161d196af9a119d9781a01f179da165ff7326f49a61cb |
Close
Hashes for cdk_lambda_layer_zip-2.0.233-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ec464c686ee8a6b2564447575eea008f059c4c253f9bca2359b4bdafaaffc88 |
|
MD5 | c64338e834349604d970a71ffbb20955 |
|
BLAKE2b-256 | 4dc96cc8a82d8ed0d0ba3b49081208e2526a2aa7384e2409ab06901043d86147 |