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.293.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c4d1ee26fb13fe9d9f722ff6f0bbd36c49a565b662b56916a8933cb6f93819f |
|
MD5 | cc4431730126735312004a6d517b16b3 |
|
BLAKE2b-256 | 4cd1714174ba05caf0b7474f923920844cfdf57c8751033e16b3ec4541ed5cad |
Close
Hashes for cdk_lambda_layer_zip-2.0.293-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e994d2f6e42cd3ea0386c542880585a2126088dc8becef5c0ae7aa7b8cee01d |
|
MD5 | 38088ca7c523fe8679505964597736f3 |
|
BLAKE2b-256 | 362d86c75873a889074a1d37adb698cd26fa9316bbb638565dc236bee0e07559 |