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.139.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00d582df0ed82e73e91f0ef86c914c2f200188b8e85a5d710fdd1fde74533d08 |
|
MD5 | a7f8cb42cadde22ac42cda34f2b1d5fe |
|
BLAKE2b-256 | e9916a87f3caa61465a3148231923c86e0d62eaba2f547bda6cdd210d16644e6 |
Close
Hashes for cdk_lambda_layer_zip-2.0.139-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03ba8cede00a02b65ef61e4fcf124bae399eeaec0e24f3cf8bc46835b7b1abb8 |
|
MD5 | 2acce0a17d162ac248164093813577f4 |
|
BLAKE2b-256 | 60a67341f49a6d0d19eb38fef4a8b2c7902f1a2138472de367c51f30eb3aef6b |