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.377.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e78712f1e5b72bef1296285e5aea9dd3d5c604ba24db7a4c6b76d2be47791a2b |
|
MD5 | 97ffc0ab450df55af81119b5992cff3e |
|
BLAKE2b-256 | 693b4409f3d44a7ec6af94f654b87427ee932a7e5f4595c8414cb9f3f396c35c |
Close
Hashes for cdk_lambda_layer_zip-1.0.377-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78de94e2cb2c27e5578532f19f81e3789edf702826624cbfd66818d5bbde056e |
|
MD5 | a925d4422432b02f37638a1b967b27e2 |
|
BLAKE2b-256 | a3bca8e1024c576b5987239fec6682fe3a29050ec56a289ebdd632b06e4ae422 |