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.296.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f1ac882ffc1979cf540d297974dc63f2a97b03fc45b27353bd21ff5e892e2b3 |
|
MD5 | d0322c314008a1e4779d55042abf68bb |
|
BLAKE2b-256 | f306dfbe5144114c3d0e39053538bcd691e799b4d86005bb7e4ceb13f546c299 |
Close
Hashes for cdk_lambda_layer_zip-1.0.296-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0a425d95164cd4889edd480162dd4c920c785667edfb36fa0152d33659ea0ff |
|
MD5 | 99ce4dc21e65b1e1e2c0c1b1c0c0ecfc |
|
BLAKE2b-256 | 003d64bba13c4f84a6b3e0064392fb3df9c7014685aa69332f8967bdd8ecbed7 |