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.291.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51018c08cd77a0a8a14d49286003e8c33c18d7dddb2a83e3759e20717ce64bee |
|
MD5 | a654f26ae20acffc172a4347232f327e |
|
BLAKE2b-256 | ecdd81fa0a729f994c2025bd4e18382243076728232c567ca52129ee94bc31d6 |
Close
Hashes for cdk_lambda_layer_zip-1.0.291-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa0d2ee426d1e0927d79b283ed6fb39c061c643485d00005f21919e452c8665a |
|
MD5 | 5c9536eb8ebdc3aae54a7e748be8edeb |
|
BLAKE2b-256 | 9fdedaf17b105a6ae87c3a1e6f5b18531037ef2cc8082f1772a7018e886af9ac |