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.292.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45db6f5bfa82475b1c785a08dc1252d7b76e1dc1851b294c5f5e35eb6333d60c |
|
MD5 | c5a7da1afb6b0fefd4fdfa029a0547b8 |
|
BLAKE2b-256 | e1d7af78aec5c7aacc73311599e229725708b4952f931512974dcf07a2082523 |
Close
Hashes for cdk_lambda_layer_zip-2.0.292-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d68683b5e3929c4ae49913fbbbdef6e77cd4c1e8a1c2c2384af85ee0d5168a0 |
|
MD5 | 88329671ec803e10382a3aa55ec80575 |
|
BLAKE2b-256 | b851505dbc83bce3b662f6edf128a89c47328ac1e636e908c43afc715eac63ee |