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.338.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 044275e977fe961487512037eb3776e1340bf9ba896a75bb8ded0c7fc29db295 |
|
MD5 | 0f2a8140d88b1d9b221b24405472b674 |
|
BLAKE2b-256 | 7068bd99186209888e2305b6c3b2e5546068eb7c2e68a7654c3cbe2446087d06 |
Close
Hashes for cdk_lambda_layer_zip-2.0.338-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1b5f2d22fef0e809211918a7e4b7a9d39d9e94330b502420e22300273fb7a99 |
|
MD5 | 51933822a068f817eb3c5d12b3cfa63a |
|
BLAKE2b-256 | 6e991f12cadf753fcf7f59fb919b1e80a763e01904e07755e5a22943734dc17f |