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.99.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d722fea6e6bccadb888fbe96f937c4089cf07a293e07efebd965f9de26d67a0 |
|
MD5 | 9a39c60a2fcf70e49755f7f4d0f1a394 |
|
BLAKE2b-256 | b0c9a33c963b8d6d7e04a015749475a67d7d1e34270f68c19424f1d28f92ea44 |
Close
Hashes for cdk_lambda_layer_zip-1.0.99-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 912efa744ec254420655ef8d6e65f7f788ff5cb6407d2e12979a9d39d7f5c801 |
|
MD5 | 3ad0c0bdac4594a3ece43c1bd2bc0320 |
|
BLAKE2b-256 | 58bf2f6af358acffc94ced8eacdf54cd00a5704b9bee0fd75ad30ab30f205b42 |