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.188.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a72872e94230e676a95920e6387f9da65b31922f17a7289dcd90d7e7b1e1ef6e |
|
MD5 | 037e57e93ae81dd39c73e3bdf1cbd6be |
|
BLAKE2b-256 | c4b5bb69603ed58d6bfe55988c473e4d448d41c240d4882218a04875d7e8b7f2 |
Close
Hashes for cdk_lambda_layer_zip-1.0.188-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1865d2abf0063ba799599cb6129c28d9aa53427ca8b5d056b947b00ad8c2994a |
|
MD5 | bb909b54f1cf340e2f8ee3e4cf5403c7 |
|
BLAKE2b-256 | db9270fa5329c0c8725703d2b53beb748c6e4c85217ad28ee917eaa8f4c4639f |