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.384.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e0e0c977e309b0bd5f0a99d9a6f9b4e5675a83e592cce9770f1743968021408 |
|
MD5 | 22b54d5828a492df108e1d2310325596 |
|
BLAKE2b-256 | 51decaebc52c5105e801602a4160bd6733778a49b88111d2946f14e1c3c628d2 |
Close
Hashes for cdk_lambda_layer_zip-1.0.384-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c4ec63b673092b02ad0a363d98d0edacefbcfa5f1bc069214f07fa08f0c72ca |
|
MD5 | 82f6275a98997d0338b6cb9e5dc632b7 |
|
BLAKE2b-256 | 58d99d83569d6d1303fefbf152e0d045f133bfc38ef10160aecf37ad92e49f50 |