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.140.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f85b1b4cfa63a19733425b66f680aff6f9f6291cb10e86ca4be5187652928aa |
|
MD5 | fdd1809fd3def975793477c665e1c063 |
|
BLAKE2b-256 | e4269c40043402ac5871d4e663d51ec5d46324403841e9556a692743b080f1d1 |
Close
Hashes for cdk_lambda_layer_zip-1.0.140-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37c0232eb65446aa56e48af335736934f124f6a4c0307545704e7b2ae466166b |
|
MD5 | a42fb68b21ba3392aeb9c0564a5160f5 |
|
BLAKE2b-256 | 660d710be656e140bfb20b42a01889a2a65bf886fd16d69da226b997f6229c9f |