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.19.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 515edf9700c761fb68d12842805b8e8c855e4b748e66aa5315484cdbcea591ab |
|
MD5 | 933976f5cce0a71a98d06a231308c3c5 |
|
BLAKE2b-256 | 65d63aba5013d4ae0a80a7c6df1357ff5158673871866fa446ad07cd24005a8e |
Close
Hashes for cdk_lambda_layer_zip-2.0.19-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39184bc242dcf6022310a68109abee4c868e52a54eb90cba927aed873f2ae0db |
|
MD5 | 36afae1a94fca46143748438bc070f34 |
|
BLAKE2b-256 | 3c2040cecbb2f1192e473963e3bcc621efdd0409738c2988c499a44794b86aa8 |