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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1517c4b7ff442db445b4fbaa8cf1df66bfb5db6b0bf056088b2dcd72bc581bcd |
|
MD5 | ec8eb478522a6925f4577bcde7f87377 |
|
BLAKE2b-256 | a6d5cf4f5f9d4cff198d8c720ae69db59489ecb49704581c3872dbece44a16f1 |
Close
Hashes for cdk_lambda_layer_zip-1.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 333fe81fbc2f3abfc36030d986c90df73d4eeb3208f81a7457011e29d289a72a |
|
MD5 | 813ac0976ce3b8e7bc9e3589db6ebe01 |
|
BLAKE2b-256 | 6762f9477ed0d636dea90efd04fafab763c757ea98f19b82bcfdaa5576a71ce4 |