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.144.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2ff651a64eb429aeacb71199b4a352858f94cf195f0995489c32d1af57d3c88 |
|
MD5 | 1ad9f59d0eb5e82e900104b043acdb89 |
|
BLAKE2b-256 | 1cd4f4d78dd4325af4fdef1f7b6de813a0f13b1fd1e53b62248247d3a2f0b578 |
Close
Hashes for cdk_lambda_layer_zip-2.0.144-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 189fbf149ece12c1b06765a6ed68661b872e0b8ca462187b45ccbf23d35de25c |
|
MD5 | a35902690ed19ce6ef9510c81c247545 |
|
BLAKE2b-256 | bf578322fd7ede8b8f32b78b53cd8cd616bb6c925aa027330d83dc3646a38cc0 |