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.238.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65107fe000ba8e6a97a5751f55b2575a5260832113ff51468724302b59ec61fe |
|
MD5 | 3e16f585e87bf33dfe626c3fba035793 |
|
BLAKE2b-256 | 1cd25b387a6e1ab4bf700f87679a21465c95752d13d5f1a33f4143e000cc5d3d |
Close
Hashes for cdk_lambda_layer_zip-1.0.238-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a61926d6b62cb137c93594b0d9c3ca2d6aa56e111c63fe01be7fbc70f86c431 |
|
MD5 | d9856f06530fe2d553b7534bb658f93e |
|
BLAKE2b-256 | d67b5f8e42fdee7d8c38c7831017c11d9a7741eefff8ddf53e0f0ee1f1e910b8 |