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.253.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 223e031df22d791081d3fbfcaca2b0b13cd27eaeb17a28a69607e9e281604bf0 |
|
MD5 | 639548a7bfc12ac2efd56eb4a82c650e |
|
BLAKE2b-256 | 525117a5a1f45fd489e36ede748a082c626d08f436a1677fb41388d301469351 |
Close
Hashes for cdk_lambda_layer_zip-2.0.253-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c78e070080581b81fc4bc15a68d51e6d12e1f5de1978d9b9aceb3ca322f56c6f |
|
MD5 | 9cd17d7977ad52da8f4cbb115674d951 |
|
BLAKE2b-256 | 7837ce0c9f22fc9775605fba7f6c26cbf00cc0fa569d44fdc2f7913569a4ee74 |