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.61.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7051b9354945674086bf8c7420f5701187f80b5b5740cb1ce5c255bf7dda4da |
|
MD5 | 4a9a6d8ace330eae9f775b93fcfe01c4 |
|
BLAKE2b-256 | 5197f3e3949d9c9e74a7be41af19be35134e0278a39f0ac50944d8cd6390ae24 |
Close
Hashes for cdk_lambda_layer_zip-1.0.61-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9164752accc7895457cab37b46ff9e580fa33ab436d9fd834ab1378e78de1f10 |
|
MD5 | 45ca6213ece88507be915158c5dcf611 |
|
BLAKE2b-256 | 153508e55bc9bc4a6d1eb56fd05b31d429e4de68fe296f1b273372e5d3ceb4d4 |