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.178.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce775443eeee7c3f5fa70ab5f4b21ea3be264377f1f88344a1348bd863251eab |
|
MD5 | b0484301f74baae78eae9832364ae043 |
|
BLAKE2b-256 | 8dae51729d1ef6515e7dc25dad3e3ea3f47f306042e7bb6d23333f3d810302eb |
Close
Hashes for cdk_lambda_layer_zip-1.0.178-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7559f14bd1cfb8c4eff807ca97e21ecbcbc1f0b698dff12400932743dd218fd |
|
MD5 | dd98ae0dd069e5d0080482fe75e0f3c5 |
|
BLAKE2b-256 | 9c7374a9b13aeb9ff90552148e7babed5e1865a627b0233b5ab2342cff5f86d4 |