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.236.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4dd1c2d6b72c658d56866b7c13f52357541584e471611b759c542aee4ad137ca |
|
MD5 | d055192656738597f1d620b3b84a5bba |
|
BLAKE2b-256 | 0620a0c59d08e9aed24bc09f6c0e6367d9500f6e5406d8b8e32a4cf8352d485b |
Close
Hashes for cdk_lambda_layer_zip-2.0.236-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2463bd2f1e2fd16a6848a2e94802bbdb51606d282498dc77b648bf020075da95 |
|
MD5 | 099442ac1cfc4ae6299fb408ac8530e0 |
|
BLAKE2b-256 | fb79fd2838f5512b894bf04d5aa510e451e556ec17df220e3c01b95937175661 |