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.53.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a702f20f90ccfa5192fd643706c3cb13a4b0c40045e9a6e5057f2f6fcf2c9718 |
|
MD5 | ed6cdcc04a094b84cc7a5ea80ae56057 |
|
BLAKE2b-256 | 38a2f27df673649a0d2252373591687aacf5ab2294a3dc17f9280ef13f2ccfca |
Close
Hashes for cdk_lambda_layer_zip-2.0.53-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18c3ea1f5447331c325b314c2ce2401a01c67b977990639f83f8edc2dac2fce1 |
|
MD5 | 3e0bdcf89204192a9b288a156d596d78 |
|
BLAKE2b-256 | a2b15b218e2151b4d29a08f9d47906e30ee0833ad5ec2148cec62e110466c581 |