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.163.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3d97a45c139990f3abf633f5a3a358320f6b5a81aaaa9cb7bbb3bb89549d1e0 |
|
MD5 | b690b30c08be56a11fdba6162fbe3206 |
|
BLAKE2b-256 | 181c170c37c95f34281a540c7af870fd91af1efd47019a1c56d10a06aa87d71d |
Close
Hashes for cdk_lambda_layer_zip-2.0.163-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab4323942229bd9a438dbcbe00bb740228bb47764207298b3fb7e63be9836aa8 |
|
MD5 | e8faf2a5170d0d5915a1480393265116 |
|
BLAKE2b-256 | 7c149aa66147079ad500ce73722f60d1ccc4713f9bae8c3291361b7756356f0b |