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.94.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61c1ea165d3aba8636cd5180c02ed0fec72f68b3edc1787434ab84f4218c0186 |
|
MD5 | 5f1baeae1014793d214d33a2705e672a |
|
BLAKE2b-256 | 32d39d8da5958c8e5e2d92a04d3c47b949f43ae64240f485ad7dd77986d432d0 |
Close
Hashes for cdk_lambda_layer_zip-2.0.94-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1715ded984fb7ed1fed18d6f2d6c87e3f9471bc65bb120c62eeb634c2346820d |
|
MD5 | 304b2e5d729feb5205912fe290d6bbaf |
|
BLAKE2b-256 | b0f99799a654ba2887994edbabefcb49da1b87c598652f4f1cf7934886cca0d4 |