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.52.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0158749df268931ab8d78b58b70e9e4eca941a6caa761afd2181eddb522261b7 |
|
MD5 | 324ad2a299655ac8db29a94b5b40eb03 |
|
BLAKE2b-256 | c8cade2a37bfeb85c8f456e84b9ca0dcd32d666d1b43d1edb7b6b156e568d904 |
Close
Hashes for cdk_lambda_layer_zip-2.0.52-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1e810672ebb1cd7791d0f74672089c75229dd7b55b9b3da5ec03faf82f4103d |
|
MD5 | 9c4149c6be6d41a8c1fd2733b4606d03 |
|
BLAKE2b-256 | 23a5d9c3d7788b53ec224e7635ee856c78a7347a3d0181e1d243ec335dd30dc3 |