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.288.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa59d3fa68d432dc6b96294310b03d12b5bb46820592124eaef86aab63dfc7a6 |
|
MD5 | 50d71299f67d6346e09a620da5a383f8 |
|
BLAKE2b-256 | 9847a0c782794bc14925f60d069af2ed565c97620d763296f69caa5298e5c354 |
Close
Hashes for cdk_lambda_layer_zip-2.0.288-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57c865a67163df458024d35477c424e356c5215ab07e465713fb74bf7a6a0129 |
|
MD5 | 0aa25839d13cdb7a8c06f89f54f16c41 |
|
BLAKE2b-256 | 9e508b87a1cfa24a31fc9cf344de439f4e36740216ca2d840556eecbfba3247c |