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.225.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f511224d1ac08aea56bb8deb0a2d5c0bbba9791b631d0774b714b5267f7820b |
|
MD5 | 140a6f0cb186f20d3596ed41de3a136d |
|
BLAKE2b-256 | bd897d35205cc715ad7c436730dd1fa97093a8cda9d220384e7bd8e91ac0455d |
Close
Hashes for cdk_lambda_layer_zip-2.0.225-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29951d793bfa47927a83cbda9023b31a78461f0fd857aec0924ae5e7d1210102 |
|
MD5 | 60d0a614f0e5b1d76ab1ad49828d1544 |
|
BLAKE2b-256 | 39b01ef4ad91e7796ac33efcb62247d728ca4b6a36217b334b03d6297bb3afd4 |