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.68.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc9c4f57a72ae98ca960da660f7c40bc6893493fb34a0cf90cee9ec23ce9409b |
|
MD5 | 022dfee731cd47f1a53ed7940e368c6b |
|
BLAKE2b-256 | 2e05005ed93b241fdce55d9e81ac28e9b8f9ac6329afd95f353d4d73bd485bf3 |
Close
Hashes for cdk_lambda_layer_zip-1.0.68-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e8a17df5fd573a6f50927d61a8e7e9850d06398c781391ee0e69b012006c3be |
|
MD5 | 899bacd9411792eb8841ecaf4a5ffd5b |
|
BLAKE2b-256 | f869b5281679442d74ccff32d7a2fcb935d3801625b61d25817a0257947179f9 |