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.80.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 057211000c5226fd84b97bec7694ef5b2e73990b4276b57c2a53ee29788d1eec |
|
MD5 | 4dbb09a0f96ed21efa670ce61c900d1a |
|
BLAKE2b-256 | bd47ff6f7ad9cf46d6b6d207fcce197e25bccc0fe5207458f2a599023094df1c |
Close
Hashes for cdk_lambda_layer_zip-2.0.80-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14269976c972f39f21b46f118101e29dc435ecfd5a487728a6781fd9aa19aa08 |
|
MD5 | cbccef63a2b3d7cbbb92d6c1e391d826 |
|
BLAKE2b-256 | f395022ec35085e8d109ad2dbea86f4f40dcee92c8b1ec84195f5e6da62beede |