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.150.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49f734e47dffe7eae16fa5fbdcddb240948d42b7fca003dc2bd04c9a181cd530 |
|
MD5 | 50ea8e938b760eb51ee813f24c3caf09 |
|
BLAKE2b-256 | 37d54879d32dfd3b9e6a80f7d0bc0a8b8b8a46f055a5bec46f0d61d462c577ec |
Close
Hashes for cdk_lambda_layer_zip-1.0.150-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13bb9f4c6ac24b709b453e4925cd55933fea885a5b45c3859eb7f76a1f29004e |
|
MD5 | f56ff3dbffff14a12c831d33abe531a6 |
|
BLAKE2b-256 | 89acb8b9d50497f985dcb42310de5e2d37dd18ebe605a2166e3ca941e4d94c69 |