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.52.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73ba36c2bff1d6727727f4b2ebc58ed3bcc3d1bfe28e5e99c084349f43a9d19f |
|
MD5 | ef5d531e61a972ec04b726ef9e1f9dca |
|
BLAKE2b-256 | 35dd1348dcc918ece79c3549c3c565bff252c8d57f2016da4b77fa2e89735e86 |
Close
Hashes for cdk_lambda_layer_zip-1.0.52-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7fc6bc1a919a33f00b495aadedd34453b9d5f5d8567cf2da6f51ca3ee68e3d6d |
|
MD5 | be95158ed21b1161c857cd9441567385 |
|
BLAKE2b-256 | 73623db31ca1885acebb90dae39489bff4181fdbc58cc0c4a93e77d79aa1b72c |