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.280.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 500645f6a25a1f1005fd04bb5cc02ad2936eae261ffa6134bbfde7b2f053a3ea |
|
MD5 | 176a4f26489d17a7f0feea460f1a7c20 |
|
BLAKE2b-256 | bec7617fdc8b26e02c766445a4e1556800dfe27c5adb595abeb7ff989867f064 |
Close
Hashes for cdk_lambda_layer_zip-1.0.280-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bd93e0a8ab05bd6f8e30f715a52b7d327c55d31631dcbb9ef4f7f199b2dcaa5 |
|
MD5 | 49004ec9bf0a360aa44ded5aa20ed276 |
|
BLAKE2b-256 | b46d828fb4e3560330215261a06e8961c9e3c2f0f5d8edfe0bcda9e36f9f5d9d |