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.202.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ed78501baa9ab470c0a62905d23f758ef5a587e44c44413308ab5e9b4dece13 |
|
MD5 | 6fd70ebc88716875f1db6ad354167230 |
|
BLAKE2b-256 | b17a5b368fd024b1eb230492930eff828b528b6caefdbc76b7de95a40623181e |
Close
Hashes for cdk_lambda_layer_zip-1.0.202-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4caa23699a10fbe905bc6c9f3f3d65aa9020c9245939b3c3448493d41b35e5c |
|
MD5 | 9e208c75a265a6bae5b06575c453ebfa |
|
BLAKE2b-256 | 643e676d89ff741de731664fd44f0ccd8499f93ab152fd66a94dc6396ad9fb35 |