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-2.0.55.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf6e7d4ce30983908a23c548b584c30ddf65fbd3a73628c006adf67c34c4a308 |
|
MD5 | ff6c00d3361c0ac56fcc4edd27f4e90f |
|
BLAKE2b-256 | cb7850402e6bc4ecb804b65ebc8fc364fe2a17330f5a98805f8b0545ae8d8c16 |
Close
Hashes for cdk_lambda_layer_zip-2.0.55-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86ded74fa56229731b74cd7fc73ffd7033b3c4badd90c85bbaf682ba0a961b48 |
|
MD5 | cffaeb78d4a2a919d0eaa081a4768f1f |
|
BLAKE2b-256 | cd840f7f9d978f0a2da1478079a813643def469db056d3ea79907e4afd16c529 |