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.41.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7159eff56427ec7c471d7f73cf4c55c104a5160745dcfca60f6d3ae5b373f6ac |
|
MD5 | 9df21dc383fe305ccf1a964b707bd11d |
|
BLAKE2b-256 | 96421538d8a745e400dae51b96488cc572eed15725793731984ab4e3c64a6f84 |
Close
Hashes for cdk_lambda_layer_zip-2.0.41-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99fe4c8ea28dc2f78e7605e32ff87ac2e4e7b5454e281e6bf4722da2f0eba506 |
|
MD5 | c4667a85bb76b818e6dbaec16a61500e |
|
BLAKE2b-256 | ea299be394805e09a293e1975a203ca88182b5b0e2358cdd62f0e7b1499229e3 |