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.281.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ef43b4850b9851894c0acc4933d0d878fc7681ca8227dfb2a6e06738d1a12e5 |
|
MD5 | 2eeb47c74ac2411d78ad0893259dc971 |
|
BLAKE2b-256 | 91394b8db9e8145640d0438d19326a8e552d3bd920614a8fcd82f79582d51acc |
Close
Hashes for cdk_lambda_layer_zip-2.0.281-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af05fccdabc1074ecf2a642fa6ef1882dc8c807cb738f410eaab3af6b21d1dce |
|
MD5 | 113c1d6edd3fdfe8dfbfbd3481076d02 |
|
BLAKE2b-256 | 4e4a21d742ce4f7ef6edc8ea34b3e898740da5af15f355983c3da16e036ae78c |