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-2.0.205.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29610a6ea226db19fa0deb71a7688691564391908aedfe8c5f2bbec9175904e6 |
|
MD5 | 907164ee9eb4c51bf0573915b1f1a729 |
|
BLAKE2b-256 | 5222b6a654672a5ba05d2c890447538c6901088cf0ed7b673eb7901c2710d6fb |
Close
Hashes for cdk_lambda_layer_zip-2.0.205-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcc98ebc46a14ccf86f04850332d2b4cb6094b4bd7059babe1702a0ad8c08a2f |
|
MD5 | 43119619363a3ef95e836d0d605435fc |
|
BLAKE2b-256 | b51db8113c685464471f08095508b1509d234e9da6a0164f5430609ab7dd0734 |