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.111.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 659e562b60f39ddec4701473536af0961a19e135541af7254c83d724fb9b3764 |
|
MD5 | b7bfb357b824280d0bd622c03f295bc0 |
|
BLAKE2b-256 | ae9b6cf6de9c96c3702e6dff3c8bc4b0255d0ef695e126b897a6cdda667ad197 |
Close
Hashes for cdk_lambda_layer_zip-2.0.111-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 535b71bf851375ecfa9399921426a29f758f3c85e1bde3132be73b720ebd8dc8 |
|
MD5 | cfe1279c3526931d7a01a65b7d2ac8cd |
|
BLAKE2b-256 | a55ff445fa0c7380979eaf2730f4774ef7305f263902e57cabef1e2129074392 |