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.110.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1f7d20fcfbaf4e21576d6092e959aab814758c47305374ee63341ac5797b8e8 |
|
MD5 | 603736791c8752325d40172b8b058067 |
|
BLAKE2b-256 | e747454c27310e1544f7dfc80a1aa7bbabbb084d9ca96c4a0d50de236030084c |
Close
Hashes for cdk_lambda_layer_zip-1.0.110-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e744b7c0b1196cbe811c35d41d4adb03bce786c5a44933ea246b5582ae7635fd |
|
MD5 | 49df03b3eebf34cedbeaf7c57cba5e29 |
|
BLAKE2b-256 | de6f788663797800ff74526f4fd8315e3e5e580ddc3ce9409a907af237384d28 |