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.12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f055e2fc25d6e5315ac445762709915bdbef6ee560066550f27c354b897cf64 |
|
MD5 | 642140e373f5a013ef5a86bc7589d955 |
|
BLAKE2b-256 | 9bb55ca69571cd2a05306ec22602eeb98eab3f4bd90a85c7c05ef0eff7265767 |
Close
Hashes for cdk_lambda_layer_zip-2.0.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 956e30d8ccf35341676ef4e5b1a770d718809d20c0960d4f2bb1f60224cbc67f |
|
MD5 | c948072b5eac53b6f47e0c1f42902e3a |
|
BLAKE2b-256 | 00ab1f00c49b9d6fd30ab20128ff376cab08b3f9272349f45de69434aaa16d21 |