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.282.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3ef4d3a10af827d1fdc138d1273fd99743d3dd595044361f0a1ce00ffb344b0 |
|
MD5 | 7e319c87f44a7f961d79bb8e512df235 |
|
BLAKE2b-256 | f6bfe98efa771b15fccef7cca6bc72e4dbbf0c3985be635fe042b648076a904d |
Close
Hashes for cdk_lambda_layer_zip-2.0.282-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a916162017e6ee611d1ba1d0057365bcf6f97dc750cf7aa27edaaaaef8f3682b |
|
MD5 | 628f58cc696c167786c8af1b7a7c20be |
|
BLAKE2b-256 | 6887bd1ed6a8cbdfc8df8f1aa6edfb3c71f0c705c35e60e680667b04110640ce |