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.339.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5570deb318340c491448e7c7582e0e843e05021a1a1a07e4be5b6c3fcc6836a8 |
|
MD5 | f5cfa41f12efa48abbc801229604ec10 |
|
BLAKE2b-256 | 7f164fc6c74c83ef7e1b998f9bbdcd2ce040b886504868023b5ff01ca5b8988a |
Close
Hashes for cdk_lambda_layer_zip-1.0.339-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a5c22c4b2a0e1ec5ed2b7e0f94c7d6a9d61240ddc47dd69cf319d83820e0f06 |
|
MD5 | 48f9057c54ae064fa260009af58a7f07 |
|
BLAKE2b-256 | 1b9be5ffa54bea2df4c75b246c24f270e1f25a335c9dc6bce770d2d0d5daddce |