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.193.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0eea191ee53ba089b4210c93a10cd94405a6b92ec7e0f6b86410dd28a97ed42c |
|
MD5 | 33d1eee673d48c5c9eb5074124ab9eeb |
|
BLAKE2b-256 | a35238722fa98ece0489ab6131b6a1a723c8415c557b1b887fa8af370bfb9865 |
Close
Hashes for cdk_lambda_layer_zip-2.0.193-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ede128dc6d448cd25d93b96e91219984cfb86787f2391f708c267be0c4c97de0 |
|
MD5 | c0e15f4cf4ec4de31223d87a7c0e62bf |
|
BLAKE2b-256 | c344357e81ff9c28a82c3ccc7519fef4110e3356888f4ba73f92d31a79c74819 |