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.246.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19d56454d2f71e95da4d0cc157796e0786208145a60dd41b8e568530c9d30c07 |
|
MD5 | d3b9e8f0f962afd166752f8968116481 |
|
BLAKE2b-256 | 587d07f137f70a3fa64531687a8603f42fede3c049759b7663d785a78a924f0a |
Close
Hashes for cdk_lambda_layer_zip-2.0.246-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f81fdff7535262a1e547729654f5a6baefc3114345ba96391d667f53b73ad691 |
|
MD5 | 8e0dd2b29e49aa00e41718a028fad95d |
|
BLAKE2b-256 | 42350d4e55ebbdc4f74dd5de61e4763607c41d7b06d1e66c2f9f13be674c6e15 |