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.201.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fee34573baff9bee030d2ca73c4b333a8407a46c04e699d91d1d42742a4aa5d |
|
MD5 | c02327be654844949380f92a29b75506 |
|
BLAKE2b-256 | 5a0038fbee603e3ca4fc5a86a5d7d592080914676f7b757b3592325e85c641d1 |
Close
Hashes for cdk_lambda_layer_zip-2.0.201-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f37cf02dea174bdd9eb6186aa69bc1fa0aaa41b18a74c215770c0ca83c3dde7 |
|
MD5 | 8ca130af6430a5161034cd51e97d90dc |
|
BLAKE2b-256 | a4656ce404d4ead3cc46b9c114631a7c61d44472a44bb9c8898d960b200ce3b4 |