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.242.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46bd1a10e367091fdc31e899a512516ef9ead8a16800aee0df22d090d3df09d2 |
|
MD5 | ccb5e24186e70a3e4e8e0e00780c4712 |
|
BLAKE2b-256 | b337b535e726ea13eef58adea4eb1cade75cf232b90bb650c51c9fae4a9645d6 |
Close
Hashes for cdk_lambda_layer_zip-1.0.242-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a124cdcfaf072360da86c7435543151124e1b6f911c5c4bd30856cb42bd63e5c |
|
MD5 | 4bfca565c10ce0d9c96dfb9b141b889a |
|
BLAKE2b-256 | 6f85c78846b1dd585a8d2bed423086e392be83b2565c471438be4173fa471cc5 |