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-1.0.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb51b84aceb7a96b8e8fbc8f3e436cf11194f7a59dc18217860c265126df9754 |
|
MD5 | b547d954b1228109eb09ec27aec50566 |
|
BLAKE2b-256 | 69fb213de6c1e32b74b6f45e6dd787094c1d69fa7829ea36e8530a5aa83a53ea |
Close
Hashes for cdk_lambda_layer_zip-1.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 486b655b34199952b4f465a179149237e3e2b12ff0a163fdf0964ec0bd1c6ee5 |
|
MD5 | 0db7d951d138d943f2db89abbbb4d4fd |
|
BLAKE2b-256 | b08016efc780488f5b6a6ba4788a704397ad04d7a645c0eceb2b47cdf7da57a6 |