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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96f606cf5f63a15a2e60e9cfea8cc512c41e47b85edaea5d1e662c3b9ac6095d |
|
MD5 | 3fb44e1a2a0552c2ff334f722a37e7af |
|
BLAKE2b-256 | 8b9650b98188e37573192b0c28ec868da745278deecefe96d7351375bb20b59b |
Close
Hashes for cdk_lambda_layer_zip-2.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af684cd5b85a023eb0f14239db7bfe01d44b9a4cc39665610b8051ac482ade06 |
|
MD5 | 17ab28b31e2134d81db46d8cad34f4cd |
|
BLAKE2b-256 | e4bceb925b84e3dcb97e2521f40f1fd9145f37ff378d834e22351fa7e2e55527 |