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.395.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fa016c4ce396fcd9efb8e083994f8c8bb4f4d5f521308cce2d147462d5d42f6 |
|
MD5 | f0e55ac95cd9f28afc4a5ab1536d7b52 |
|
BLAKE2b-256 | cf4a33efac48af0507695e816b7dfa5e831e4bfeb9caf06d6082c9926b6f38fb |
Close
Hashes for cdk_lambda_layer_zip-1.0.395-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60b7d6a9711c4e4641ac23b79cbe8602c1556d66029f234bc378f160482dbe23 |
|
MD5 | 99c9e327631fd9fb23dc5c8761ccb17b |
|
BLAKE2b-256 | 6e9ec9417b7d9d89812c17e0aeae9bec70336b3e07aeb98e728de195f333185f |