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.47.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81791e173d6458f748e9c5a94a1792f93c94876eb7b8c5fe2ad0d87a1b899818 |
|
MD5 | 3727560f94f6a495d662e72fa7958a6a |
|
BLAKE2b-256 | 9d4166711121be6c898102da1927763e9458932f1594e8f691eb6068b83d0463 |
Close
Hashes for cdk_lambda_layer_zip-1.0.47-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d5c0ab0699bc4ec5d0c236f170cff6ffe2f388920cd946fa7be1c0080c1b68a |
|
MD5 | c9185334563c8b9ea77c5ef25999c140 |
|
BLAKE2b-256 | 74558a95ebd9c95b8dc61b0afda6237f6ffa6b9a2e61015b7bdc44909555035e |