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.53.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d9c7ae2b95c0ebba6325bcac5be117976e17be98387539a8046a4cd5514b193 |
|
MD5 | ab8ae1f60a54db167b6fae5c7440c76d |
|
BLAKE2b-256 | e49de0381cb72b6d76bf7468a393d0c104278c3b7b4b04df510573e5c9504bb8 |
Close
Hashes for cdk_lambda_layer_zip-1.0.53-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88eed35aec9183c8f1dd318b98c54630e4dcad22f3f55b92b6b5d200943d98bb |
|
MD5 | 5d81d48a9d68ee4168766e173e00f157 |
|
BLAKE2b-256 | 025585d82114c1f196210401032fba3fe1f7a7cce8be85f350aa909f6f8a537d |