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.95.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fed825d4f3732c13042e6c0fe8814a118af2760f804941f6c40be2cb82ccf75b |
|
MD5 | 6c7b9583691c2abaf13c49d21830ada4 |
|
BLAKE2b-256 | 8949a807abae45d5acd5a0f3d76f735be722fbb6c8eb8726bb2faad54ffa3ddc |
Close
Hashes for cdk_lambda_layer_zip-1.0.95-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91cd74bb58859a1c0e11cce3a360b1fd807f565b682c4392633a00ab82038756 |
|
MD5 | 4714cffab138462aa725de9912be0a12 |
|
BLAKE2b-256 | 74178871928e6f923ef63fa62afcef1ef9914340c085154d5ea50e634ffb4992 |