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.341.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 290fb7d5b58cbd9be2063a9520918bf33df81517e7e04693f108c0dd1164d520 |
|
MD5 | 066867299945406fb9dbbca2a12c649b |
|
BLAKE2b-256 | 1a905d7a3ff3700379887c8777de5e52cd888b59a2e78d57b6e86d4be3b73d38 |
Close
Hashes for cdk_lambda_layer_zip-2.0.341-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2bcffe68c8ac7c89865be3724dc3de83133d260457ac38d5c39d9673ba9df2e3 |
|
MD5 | e45367cd40ac2a9d2745357852e3726a |
|
BLAKE2b-256 | 60cc3288f71bda64e11577b72449a70637496cbb4080981df4c7b65bd50a6ed7 |