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.387.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 487e6a4766955acc14f7321327dbabbd749ca4267c984919a0523e8c26f6a14d |
|
MD5 | 8df9a0b032322eb8c2d9e8f6e4ced77f |
|
BLAKE2b-256 | 775eadb6d3cef2972829ec6daf1cda4a4fd06a555e3511cc4492a028b87257ce |
Close
Hashes for cdk_lambda_layer_zip-1.0.387-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aad0bee262318e4d3cd0860fb7c7c67e8bb6b4e02ce13537e5e556281242ebb5 |
|
MD5 | 1f07753671cd4ec391166585b748984a |
|
BLAKE2b-256 | d01737a5d2c17aefa02ad6a6672eeeacbcce3d83bfb6b78383971661e126a36f |