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.227.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f622970d7df76d13fea8bc7c92b56bcf0d79f14dd50dfa13c15f76e4392f595 |
|
MD5 | 69a701afadd23ad51a5a8b073a5a88ab |
|
BLAKE2b-256 | 3a563b1fe2e2321444dfa64290b35db8118bab25cec01ac6aa67e3f353145176 |
Close
Hashes for cdk_lambda_layer_zip-2.0.227-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71f66a06ef6f0dbc662477aafb3a78e339eb057754144499fb5260ca2acaa878 |
|
MD5 | cc0b210b8564cc0e3404abdba5237351 |
|
BLAKE2b-256 | fdf46bd23ecfa00e98beac20e39c98bb72bf8a81339428b9fd61dacdb2b97b9b |