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.267.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fe9099eaf22a12972f6f16c0e5f2ad604aaf00f6dda2b8aeb1695f2e38c995e |
|
MD5 | 8a8e1adfd0a41bdc6da723ee81be3114 |
|
BLAKE2b-256 | 46eb956022f40801333405f8948cc1eebe5e6f840e32151260ee79f2f720b4fc |
Close
Hashes for cdk_lambda_layer_zip-2.0.267-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c147cb63b9fb0524d4bba5f941a908e3f0f097371e14a5432b11f92cf10200d |
|
MD5 | e53d9bd16e15a767ab3789a612648ebb |
|
BLAKE2b-256 | 237ae398bdd4808b2bf70a95ad754d86b19f3c3949627cfca8c51576b7e4ecea |