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.22.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 774edb117dc8e2f80e8c177e93a5959d9acb0a4668a654053cefb9d1318599fe |
|
MD5 | d53a6c01413d0f6161d69ef5ef5a0cda |
|
BLAKE2b-256 | 1428caad6effd2bfa4bb519a16b74184677827e9b5331caad36fdccaa378412a |
Close
Hashes for cdk_lambda_layer_zip-1.0.22-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0550f5e6e1187b38307e43e08487805321ed8d2964521a13edfaee88b3803d4a |
|
MD5 | ebdcc3ee9a1666b55083613fc5f7b777 |
|
BLAKE2b-256 | 04f8d7677082c87769c376cc245a35964a0e52d8cf23eae025983af082099497 |