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.51.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d311faefc0680b04e685e405110bcbcb9c7d2bb4d9058574aaa75ec7187ca1e |
|
MD5 | cc300cd407d0d45d1eabadfedb7c98fc |
|
BLAKE2b-256 | 631d4467850ed6ab39712daccff221cf6a72e3b172b077db2fb4d6d2a5766dc7 |
Close
Hashes for cdk_lambda_layer_zip-2.0.51-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b0f5529177bcc58255c1d2b6c1cec825d981285633a3a0360712470fd7a5be1 |
|
MD5 | 34c308c1d34d8389f588b32939fb3172 |
|
BLAKE2b-256 | a8efb8d9e4171120da9ce7d37989ca7673bc114b868c5c74fc150e5c52863d55 |