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.270.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e1f71b3afb38d387d2278d989243e906817c4b3773929fc616fb00850138735 |
|
MD5 | 03b2b073db0ff7963bfbef576908ba67 |
|
BLAKE2b-256 | 9c31a82bfa37d8f263e29a8497ba6ccd78d0ae37db7ec1b2c37101bfad25dc97 |
Close
Hashes for cdk_lambda_layer_zip-1.0.270-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7980a9c116a307b2c15cb6b9e62754e278025935ba2f03fa0423161c6d58039f |
|
MD5 | ff063cd4d2fe3212d4418a3f7c26a68e |
|
BLAKE2b-256 | 8360c03d3779e17edcaf2188ab77ff09a85484853fc94b4f74fe372a2e1105d1 |