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.17.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c86e1b224795040954858e9c149f0e9cd2305f0e55300c959c061a0e2831a56 |
|
MD5 | d31c485d6536d73537be49920d00abfb |
|
BLAKE2b-256 | 10a15ec68b9e3de8476f1d69b37b3d045d401be948e26cc74a7824b78eed6826 |
Close
Hashes for cdk_lambda_layer_zip-2.0.17-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89b5994bb51f785c4d8f88fc541a20983e472cc183a2aab10ee640e458c316e0 |
|
MD5 | 05945621fadc805d58c66650cf776f9b |
|
BLAKE2b-256 | 0bff5a7695a3edc86863ef5cf40b72019a6908f4a538ecfebfd5d0c4e0a503e0 |