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.116.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3375b84b4a7cd7dce96b2fd0c572e2eeb4acfe64f8dc7af9177df70f7ae481a7 |
|
MD5 | 06b19d5b0112318bfd7588aee55e0ac8 |
|
BLAKE2b-256 | ad051b3dafecca604c206e54c42ea4044ca5a2865ed168b7ff458ac3beae1f21 |
Close
Hashes for cdk_lambda_layer_zip-2.0.116-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 593da122daa17e5b19ee4b70e1cb512637256e0406ab48c12303aaba1472b475 |
|
MD5 | e8eaa08b012e2eeb34d772d84b993a46 |
|
BLAKE2b-256 | eb43a3b313bd38e5d5e91648b0004edc66eed37300d9359c6be0ce9979943260 |