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.30.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e915e7f5a5bb3320742f05af9cb69faa0ad56be504ee265abe20ee2d74d97d6f |
|
MD5 | 5e96087d148c2a6318c662febcbb2f62 |
|
BLAKE2b-256 | b8a2c33d4073e6ab88cdb1890160ebdc021fe34c7fb28a20d21460e25eaddc35 |
Close
Hashes for cdk_lambda_layer_zip-2.0.30-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d3065b62adac5097c6512fbbded5b51e2fb641b9c73a9442efd0e5374d0848d |
|
MD5 | 5f69e8bb6350db76ef4746c5964afe05 |
|
BLAKE2b-256 | dc43d4d8edb46014dbd60b7c39649d2eb4ccd7dfd0b627f74a6094ae21688ddb |