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.198.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a71a32f0657a045d96a81d3b7d6772a4ec9fb68a845958c3c8c1b70b24070ac |
|
MD5 | 4d88a7cb87ac17a75a050aa38fcc77f0 |
|
BLAKE2b-256 | c1115fe880f5801e22f48d63a9ff6f3565688228e9b7b03569347593f3673cf6 |
Close
Hashes for cdk_lambda_layer_zip-1.0.198-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 889038eee2266050cc3a3e37a7488f8cfe5b04e5179e74ceaf5cdac7d2ec8ab8 |
|
MD5 | fa151c9943da3d359dc22ace283234ab |
|
BLAKE2b-256 | 765f62efd5e3a497ddbd3c067c1426dad8feb4f5fa11dbfaea3ac4e488122e65 |