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-1.0.204.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39edf938f9502bc62b49805f21a01deaa7fb31d0a4333eeab12aa7182443afc0 |
|
MD5 | 2ba5a8b8baf1796a3c833334ca0cd37a |
|
BLAKE2b-256 | 26ae74dcede7ea6a9d9b6720cf2199c3104dcaa9aa9c488600193d5486890520 |
Close
Hashes for cdk_lambda_layer_zip-1.0.204-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8164a3159d723aefe3df8f67a869dea5bd79a76dc99da3d03e62ccb4f078131b |
|
MD5 | ed35f797a724e39b4a1709af39e3ddff |
|
BLAKE2b-256 | 29cbaf6498d622664a8558cf4909d0c10c8c159efc92a33725f206adb44c1086 |