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.348.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80c8fe111c3184b126b20c04a18d135de629d8dad80a0155cb6bb615cea2af95 |
|
MD5 | ebe3c0d9d24560c673fc33dc86e1511a |
|
BLAKE2b-256 | e1f1c50c84d21a3a98f2eec263207130cae7d3eb7b9fab518d7f578d6097766f |
Close
Hashes for cdk_lambda_layer_zip-2.0.348-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c19ddb3f01a9691f1e54013de1ceaf3c344522b963c79dea24c46af72ebc4bab |
|
MD5 | e31178dd6cc15496a7cfc2fc1aa2ee1b |
|
BLAKE2b-256 | 9f94bb31cbc655e5ffa546e75dd5e6af65ef956423cfb027899acfd792d25ce0 |