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.358.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 873305f81f0ce5fb7c204e4f7633f51eb4ccbe7cec4448941f4b429b33fd7a15 |
|
MD5 | de62d6e68d353e1a1895d7dfad3541cd |
|
BLAKE2b-256 | e7bb409ed38eddb3d22e75d8b044ed507bc1fc7f0f12559b8ea4df26311e42dd |
Close
Hashes for cdk_lambda_layer_zip-2.0.358-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76b9c1a24e353cab29aec16119e9bfd337c7271e7c932b3b8c864effdf772ff7 |
|
MD5 | 9b857d87ceb1389b4f13e8325fce6195 |
|
BLAKE2b-256 | 027e10ef43d5d0e142e1c2469c408fa448dee3bf857247af52d9ebc26cadaa99 |