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.39.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca78ac39b58cf5f878c05aca043cc2b029b3b401f6c916c18e935d1906720151 |
|
MD5 | f596788355b1989ee8632c44d0717f70 |
|
BLAKE2b-256 | 4b66a09e1ab769b813568a08917d223bae1132374cba696e16347379f8c58a18 |
Close
Hashes for cdk_lambda_layer_zip-2.0.39-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a0822119e9775b86e2c15ab819d448dca146a5ab1d857538006ec42100d4623 |
|
MD5 | feb519b49397fb363a3b6da96708dc73 |
|
BLAKE2b-256 | 24c352c0e562644ee26b0ee2cdf95b544dd6649432edb27a1a9bec9686614a82 |