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.13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1eb96d61199fc77fc8b0d55032e92fdfd18b12588bb96b1c0098ebb5d635da33 |
|
MD5 | 2de4a165ad71ca8f9c880bf60f3bc1e2 |
|
BLAKE2b-256 | 3ffb840d6cb1fd2822e4f039bd1dfcad02b42d0863fc5a4e90bd3bc81cb7ef6f |
Close
Hashes for cdk_lambda_layer_zip-2.0.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36e6e482291d2ef2674dd918d09073043d13c0303bf0d823876e58acbec3342a |
|
MD5 | 740cfa583ee007b1a4a99da23f5e9616 |
|
BLAKE2b-256 | 1d563c8925dda6f3e8189782b12821dcf59737bdbf951e89fcf6b25227df7f5b |