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.282.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee7fe3ea19e982ce64b82fde81806127418b6cdf963558292a0e19d50dc21e4c |
|
MD5 | e7b4df8bd410dd6d274898390d4bcffd |
|
BLAKE2b-256 | f922b0d0ef03efe017914ce5bd25fc256d52bd6cec4e15631aa288409318872b |
Close
Hashes for cdk_lambda_layer_zip-1.0.282-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2c7d0e451298683dbc01d1b586eba864e1a8860f7dac6946544e1be498d7ad5 |
|
MD5 | 167988057d7218e5ffc143bfb09585f8 |
|
BLAKE2b-256 | 99c974b1c60c05438a5d5940b3de96ffb6603f3ce638199a127c38f243f93f49 |