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.18.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c01beedb9e68acba01db39fcbe5c1f7c66b1d0b445f6443a6f38b051b62c77c |
|
MD5 | ac3765d90d8f85e54b13286d2e28d0f5 |
|
BLAKE2b-256 | f3e938be32536ef46af3d170d20811d693916dbfefcde870ab13a6b6449a5a10 |
Close
Hashes for cdk_lambda_layer_zip-2.0.18-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbe496fe1e5b6a902ddeb2e82b7a33333c18edc9a50abbdfc8ea0f23fcc15cda |
|
MD5 | 8187e03f7b56af89990d1e46b70aeff8 |
|
BLAKE2b-256 | 45a0140fc180a6c986e280f0adecca3d045b13aa9f85ab15fd89cad5fb8b1fbe |