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.321.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cda11f557a7bed5cf0b1b01cb9c33904a90a4049730fe41016079122e4de589 |
|
MD5 | b63f8eef028cf26a8d8546de934f0f41 |
|
BLAKE2b-256 | 210d474c140a5442b3d164fd98328f884e844909aa2c3452b1f6053024b86af7 |
Close
Hashes for cdk_lambda_layer_zip-2.0.321-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bbe5a503d594b2fd2971895f03a5fa1d05a56c0133a18c071b40a336ed6469b |
|
MD5 | ad8fe2a6bfc32c9ad5e8bfa3f844c2bf |
|
BLAKE2b-256 | 3a4b7502ec09b3d13d91b25835576480be247e7396a486070c1d3503b668fd94 |