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.327.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | abe4d47f4613b7ee6419eccc45b13bcc96eaec95b1ac80b30f16d4fafb914e5e |
|
MD5 | 10f23c8e5d8efc67b31571347256a624 |
|
BLAKE2b-256 | 7321a43b027407003c68e94bac0e723cb8aa8f98fff6a83a8ee06da5cec4cd6d |
Close
Hashes for cdk_lambda_layer_zip-2.0.327-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4267793f24b0fd7ffcc2e49e791e6d7b66c6ac8bfb6a3002529fa92ebb4c3131 |
|
MD5 | 816de87921eb8899ccaf9c2c291859a2 |
|
BLAKE2b-256 | 0dd510814ba958984b836f22d3c64f0f624c8e2631f62fc2591cbc5d4cad0842 |