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.142.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7d2dff3c98b503b96baf8370eefdcb5b09a64454622c2c2a675c4361371eae2 |
|
MD5 | 5cd934f9ab5e42c43513b4c7071a6af3 |
|
BLAKE2b-256 | b6425d6e066926686e677919bf0025e347f34378a72c44cd73835ad7f69da13f |
Close
Hashes for cdk_lambda_layer_zip-2.0.142-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05693a5c45f28b71b0c658df81769c331f1b6f00829daf121e930908b242992d |
|
MD5 | ae5dab42a74d0ec368661571a3ee4bb5 |
|
BLAKE2b-256 | 477d8f0020792aa97f8ecef527e2afa1b759cfcec55199477aaeb64748223758 |