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-1.0.117.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02baa2515d474d03e8a2b352651c675ab5cd15e926a7035425031650cc7a4315 |
|
MD5 | f048c14da7f12d20e7480ef0f5260029 |
|
BLAKE2b-256 | 8617a30bb98b3a1373ebe3b845a5f25b910eaac9eff141dfa7287dcd06c29b0f |
Close
Hashes for cdk_lambda_layer_zip-1.0.117-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19acff899e92653e0171354e6cf3f8183a219766eb41869546345cd55895d364 |
|
MD5 | 7a5662b09a3e2f995a004c53d6f7a0d6 |
|
BLAKE2b-256 | 0a8e5b17cf5dec5c18643042fffb7fd628db97327402f19f31aee3c0c31622ef |