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.234.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1146fcdc90cb333c30c20e358443daed937cfbd16760cdae60c30f7947b71afc |
|
MD5 | ac9281b7826e9dbe68d30f17569213e1 |
|
BLAKE2b-256 | eafb3ff7d6631f087d03822ca8464e935e606d0b633de7a9c886400d580f18ad |
Close
Hashes for cdk_lambda_layer_zip-1.0.234-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d38a3823d14b6876ad1865c16f87e02ce929c474e2b1c7215f21e0ede9d441b |
|
MD5 | e8b46aaec2e80798739a992f85099ea1 |
|
BLAKE2b-256 | 612afe0e7dbcb4618ef94e2bd56043228a66ab80fbf580b34a274ec38df5d3ec |