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.299.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d43dc591ea047227d6305f718178f6c04db9519481b36b7fc33a84c607a4607a |
|
MD5 | a5ec89e5b0d11a94813bd953154a211e |
|
BLAKE2b-256 | 064536a7b240481f8c86cc3e9d9b332b34ff60213f8081fa17706a4c9d6a42d7 |
Close
Hashes for cdk_lambda_layer_zip-2.0.299-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1d036f70cf55dd0b502b85e0247c35935c7be6872f5dd40ee80b511a52572b3 |
|
MD5 | cb60710010374dc26a41069bf525a1e0 |
|
BLAKE2b-256 | 48d937c931f0c3c029587d675118e7552971b3445774e22c49ba241985504829 |