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.108.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67832a83b4c9ae3d5674f932f7e03ef97a036506e66908bcf94d7e0e7f491608 |
|
MD5 | 5b49c8a93f763aa7fdd7b7c1a1c976a8 |
|
BLAKE2b-256 | ebc0024c74003e50f990555d841a334789ba0e1e61d45d4009e006f9ed6bfdb4 |
Close
Hashes for cdk_lambda_layer_zip-1.0.108-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95baaf7a6c75fed5dde407147cbcabce5c7103a79541d86d73947431264795dc |
|
MD5 | d78ce8f7ed6454c6d360500ce84c4bfa |
|
BLAKE2b-256 | 037dd781d8a21eecdc4ca7fae4231417dc6b87fcbc676ba41295708f0da91f96 |