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.247.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3dd7d899ed4e2f3b2d1d275ef18e12af3a3b561c2aba4b6570b2ef22cdb62462 |
|
MD5 | 0738e3a11327225ecf4e7ad4bd08c0e2 |
|
BLAKE2b-256 | c3d4bebee49392ad7bd84110983e1a4e415397998ea9fd309f1331b1fcfa7302 |
Close
Hashes for cdk_lambda_layer_zip-2.0.247-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b147615aeb232c04b76de66f45b9e0a76d6c60461d5c6b780e290367a232465e |
|
MD5 | 015161924415fb5141d6fd53516113ad |
|
BLAKE2b-256 | 3e512d493dfd9c825e42e59f1b6192bd29b552cbab9af021c9c6d301304cd2e1 |